142 edge_detection.ComputeDerivativeXCentral(
I_xx,
I_x);
143 edge_detection.ComputeDerivativeYCentral(
I_xy,
I_x);
144 edge_detection.ComputeDerivativeYCentral(
I_yy,
I_y);
147 const std::size_t width =
input[0].
size();
148 float min = std::numeric_limits<float>::max();
149 float max = std::numeric_limits<float>::min();
151 for (std::size_t i = 0; i < height; i++) {
153 for (std::size_t j = 0; j < width; j++) {
167 output[height - 1].resize(width);
168 for (std::size_t i = 1; i < height - 1; i++) {
170 for (std::size_t j = 1; j < width - 1; j++) {