Skip to content

Commit bf6c486

Browse files
authored
Fix typos (#28)
1 parent d7ff8a6 commit bf6c486

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/EdgeDetectionAPI/EdgeDetectionAPI.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ include("edge_detection.jl")
2626
include("edge_thinning.jl")
2727

2828
# we do not export any symbols since we don't require
29-
# package developers to implemente all the APIs
29+
# package developers to implement all the APIs
3030

3131
end # module EdgeDetectionAPI

src/algorithms/canny.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function (f::Canny)(out::GenericGrayImage, img::GenericGrayImage)
108108
# “hysteresis thresholding”. Edge pixels whose gradient magnitude is below
109109
# the low threshold are removed; edge pixels whose gradient magnitudes are
110110
# above (or equal to) the high threshold are retained, and edge pixels whose
111-
# gradient magnituded are between the low and high threshold are only
111+
# gradient magnitude are between the low and high threshold are only
112112
# retained if they are connected to edge pixels whose gradient magnitudes
113113
# are above or equal to the high threshold.
114114
edges = zeros(Bool, axes(img))
@@ -157,7 +157,7 @@ function (f::Canny)(out₁::GenericGrayImage, out₂::AbstractArray{<:StaticVect
157157
# “hysteresis thresholding”. Edge pixels whose gradient magnitude is below
158158
# the low threshold are removed; edge pixels whose gradient magnitudes are
159159
# above (or equal to) the high threshold are retained, and edge pixels whose
160-
# gradient magnituded are between the low and high threshold are only
160+
# gradient magnitude are between the low and high threshold are only
161161
# retained if they are connected to edge pixels whose gradient magnitudes
162162
# are above or equal to the high threshold.
163163
edges = zeros(Bool, axes(img))

0 commit comments

Comments
 (0)