Skip to content

Commit

Permalink
Fix typos (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
pitmonticone authored Aug 4, 2023
1 parent d7ff8a6 commit bf6c486
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/EdgeDetectionAPI/EdgeDetectionAPI.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ include("edge_detection.jl")
include("edge_thinning.jl")

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

end # module EdgeDetectionAPI
4 changes: 2 additions & 2 deletions src/algorithms/canny.jl
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function (f::Canny)(out::GenericGrayImage, img::GenericGrayImage)
# “hysteresis thresholding”. Edge pixels whose gradient magnitude is below
# the low threshold are removed; edge pixels whose gradient magnitudes are
# above (or equal to) the high threshold are retained, and edge pixels whose
# gradient magnituded are between the low and high threshold are only
# gradient magnitude are between the low and high threshold are only
# retained if they are connected to edge pixels whose gradient magnitudes
# are above or equal to the high threshold.
edges = zeros(Bool, axes(img))
Expand Down Expand Up @@ -157,7 +157,7 @@ function (f::Canny)(out₁::GenericGrayImage, out₂::AbstractArray{<:StaticVect
# “hysteresis thresholding”. Edge pixels whose gradient magnitude is below
# the low threshold are removed; edge pixels whose gradient magnitudes are
# above (or equal to) the high threshold are retained, and edge pixels whose
# gradient magnituded are between the low and high threshold are only
# gradient magnitude are between the low and high threshold are only
# retained if they are connected to edge pixels whose gradient magnitudes
# are above or equal to the high threshold.
edges = zeros(Bool, axes(img))
Expand Down

0 comments on commit bf6c486

Please sign in to comment.