Closed mauro3 closed 6 years ago
julia> felzenszwalb(rand(Bool, 10, 10), 10) Segmented Image with: labels map: 10×10 Array{Int64,2} number of labels: 3 julia> felzenszwalb(rand(Bool, 10, 10), 10, 10) ERROR: InexactError() Stacktrace: [1] convert(::Type{Int64}, ::Float64) at ./float.jl:679 [2] setindex!(::Dict{Int64,Int64}, ::Float64, ::Int64) at ./dict.jl:420 [3] felzenszwalb(::Array{Bool,2}, ::Int64, ::Int64) at /home/mauro/.julia/v0.6/ImageSegmentati on/src/felzenszwalb.jl:114