[BUGFIX] Fix missing = in canny edge.

This commit is contained in:
Jan Philipp Timme 2016-01-07 23:32:10 +01:00
parent 4dd5fea5aa
commit 6e9cffa5e9
1 changed files with 1 additions and 1 deletions

View File

@ -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);