From 6e9cffa5e9d70a0b2ffc2db633e162826ddbc766 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Thu, 7 Jan 2016 23:32:10 +0100 Subject: [PATCH] [BUGFIX] Fix missing = in canny edge. --- canny_edge_machine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/canny_edge_machine.cpp b/canny_edge_machine.cpp index 00cd60f..eeb7724 100644 --- a/canny_edge_machine.cpp +++ b/canny_edge_machine.cpp @@ -255,7 +255,7 @@ class CannyEdgeMachine { int y_l = std::max(y-1, 0); int y_r = std::min(y+1, this->height-1); for(int x=x_l; x<=x_r; x++) { - for(int y=y_l; ymaximum_magnitude[y*this->width + x] >= this->t_high) && (this->binary_edge_pixels[y*this->width + x] == 0)) { this->traceAndThreshold(x, y);