[BUGFIX] Fix missing = in canny edge.
This commit is contained in:
parent
4dd5fea5aa
commit
6e9cffa5e9
|
@ -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; y<y_r; y++) {
|
||||
for(int y=y_l; y<=y_r; y++) {
|
||||
if((this->maximum_magnitude[y*this->width + x] >= this->t_high)
|
||||
&& (this->binary_edge_pixels[y*this->width + x] == 0)) {
|
||||
this->traceAndThreshold(x, y);
|
||||
|
|
Loading…
Reference in New Issue