Skip to content

Commit e19ca9f

Browse files
Merge pull request #57 from yuripourre/patch-2
Fix typo in comment
2 parents f1de9b9 + 9a25cde commit e19ca9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Catalano.Image/src/Catalano/Imaging/Filters/CannyEdgeDetector.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ else if ( orientation < 157.5 )
243243

244244
p = 0;
245245

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

0 commit comments

Comments
 (0)