Skip to content

Commit

Permalink
Merge pull request #57 from yuripourre/patch-2
Browse files Browse the repository at this point in the history
Fix typo in comment
  • Loading branch information
DiegoCatalano authored Jan 29, 2019
2 parents f1de9b9 + 9a25cde commit e19ca9f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ else if ( orientation < 157.5 )

p = 0;

// STEP 3 - suppres non maximums
// STEP 3 - suppress non maximums
for (int x = 1; x < height - 1; x++) {
for (int y = 1; y < width - 1; y++, p++) {
// get two adjacent pixels
Expand Down Expand Up @@ -286,4 +286,4 @@ else if ( orientation < 157.5 )
throw new IllegalArgumentException("CannyEdgeDetector only works in grayscale images.");
}
}
}
}

0 comments on commit e19ca9f

Please sign in to comment.