ImageMorphology.jl icon indicating copy to clipboard operation
ImageMorphology.jl copied to clipboard

extreme_filter: empty interior region

Open johnnychen94 opened this issue 2 years ago • 0 comments

julia> erode(rand(3, 3), centered(rand(Bool, 7, 7)))
ERROR: DimensionMismatch("0×0 CartesianIndices{2, Tuple{UnitRange{Int64}, UnitRange{Int64}}} must be in the interior of CartesianIndex{2}[CartesianIndex(1, 1) CartesianIndex(1, 2) CartesianIndex(1, 3); CartesianIndex(2, 1) CartesianIndex(2, 2) CartesianIndex(2, 3); CartesianIndex(3, 1) CartesianIndex(3, 2) CartesianIndex(3, 3)]")

johnnychen94 avatar Jul 14 '22 17:07 johnnychen94