We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I get a StackOverflowError with mapwindow:
mapwindow
julia> mapwindow(median!, rand(300,300,500), (1,1,11)) ERROR: StackOverflowError: Stacktrace: [1] CartesianIndex at ./multidimensional.jl:65 [inlined] [2] CartesianIndex at ./multidimensional.jl:68 [inlined] [3] CartesianIndex at ./multidimensional.jl:76 [inlined] [4] nextedgeitem(::TiledIteration.EdgeIterator{3,Tuple{Base.OneTo{Int64},Base.OneTo{Int64},Base.OneTo{Int64}},Tuple{UnitRange{Int64},UnitRange{Int64},UnitRange{Int64}}}, ::CartesianIndex{3}) at /home/donghoon/.julia/packages/TiledIteration/7kjuN/src/TiledIteration.jl:110 [5] nextedgeitem(::TiledIteration.EdgeIterator{3,Tuple{Base.OneTo{Int64},Base.OneTo{Int64},Base.OneTo{Int64}},Tuple{UnitRange{Int64},UnitRange{Int64},UnitRange{Int64}}}, ::CartesianIndex{3}) at /home/donghoon/.julia/packages/TiledIteration/7kjuN/src/TiledIteration.jl:111 (repeats 79983 times)
but it works with a bit smaller array or a larger filtering window.
#Both work: mapwindow(median!, rand(300,300,400), (1,1,11)) mapwindow(median!, rand(300,300,500), (3,3,11))
Does anyone have any idea on this issue?
The text was updated successfully, but these errors were encountered:
I encountered a similar situation with:
julia> arr = randn((3, 620, 620, 18, 1)); julia> mapwindow(median, arr, (1, 1, 3, 3, 1)) ERROR: StackOverflowError: Stacktrace: [1] map @ ./tuple.jl:236 [inlined] [2] in @ ./multidimensional.jl:443 [inlined] [3] nextedgeitem(iter::TiledIteration.EdgeIterator{5, NTuple{5, Base.OneTo{Int64}}, NTuple{5, UnitRange{Int64}}}, I::CartesianIndex{5}) @ TiledIteration ~/.julia/packages/TiledIteration/4pU9I/src/TiledIteration.jl:66 [4] nextedgeitem(iter::TiledIteration.EdgeIterator{5, NTuple{5, Base.OneTo{Int64}}, NTuple{5, UnitRange{Int64}}}, I::CartesianIndex{5}) (repeats 58142 times) @ TiledIteration ~/.julia/packages/TiledIteration/4pU9I/src/TiledIteration.jl:69 [5] iterate(iter::TiledIteration.EdgeIterator{5, NTuple{5, Base.OneTo{Int64}}, NTuple{5, UnitRange{Int64}}}, state::CartesianIndex{5}) @ TiledIteration ~/.julia/packages/TiledIteration/4pU9I/src/TiledIteration.jl:60 [6] mapwindow_kernel!(f::typeof(median), out::Array{Float64, 5}, img::Array{Float64, 5}, window::NTuple{5, UnitRange{Int64}}, border::Pad{0}, imginds::NTuple{5, Base.OneTo{Int64}}) @ ImageFiltering.MapWindow ~/.julia/packages/ImageFiltering/bTMw9/src/mapwindow.jl:292 [7] _mapwindow(f::typeof(median), img::Array{Float64, 5}, window::NTuple{5, UnitRange{Int64}}, border::Pad{0}, imginds::NTuple{5, Base.OneTo{Int64}}) @ ImageFiltering.MapWindow ~/.julia/packages/ImageFiltering/bTMw9/src/mapwindow.jl:93 [8] mapwindow(f::typeof(median), img::Array{Float64, 5}, window::NTuple{5, Int64}; border::String, indices::NTuple{5, Base.OneTo{Int64}}, callmode::Symbol) @ ImageFiltering.MapWindow ~/.julia/packages/ImageFiltering/bTMw9/src/mapwindow.jl:69 [9] mapwindow(f::typeof(median), img::Array{Float64, 5}, window::NTuple{5, Int64}) @ ImageFiltering.MapWindow ~/.julia/packages/ImageFiltering/bTMw9/src/mapwindow.jl:66 [10] top-level scope @ REPL[24]:1
Sorry, something went wrong.
No branches or pull requests
Hi,
I get a StackOverflowError with
mapwindow
:but it works with a bit smaller array or a larger filtering window.
Does anyone have any idea on this issue?
The text was updated successfully, but these errors were encountered: