I have data in integer and integer kernel.
after run imfilter on such data got this
ERROR: InexactError()
in unsafe_setindex! at /home/slava/.julia/v0.5/OffsetArrays/src/OffsetArrays.jl:153 [inlined]
in __imfilter_inbounds!(::ComputationalResources.CPU1{ImageFiltering.Algorithm.FIRTiled{2}}, ::Array{Int16,2}, ::OffsetArrays.OffsetArray{Float64,2,Array{Float64,2}}, ::OffsetArrays.OffsetArray{Float64,2,Array{Float64,2}}, ::ImageFiltering.NoPad{ImageFiltering.Pad{0}}, ::CartesianRange{CartesianIndex{2}}, ::Float64) at /home/slava/.julia/v0.5/ImageFiltering/src/imfilter.jl:532
in _imfilter_inbounds!(::ComputationalResources.CPU1{ImageFiltering.Algorithm.FIRTiled{2}}, ::Array{Int16,2}, ::OffsetArrays.OffsetArray{Float64,2,Array{Float64,2}}, ::OffsetArrays.OffsetArray{Float64,2,Array{Float64,2}}, ::ImageFiltering.NoPad{ImageFiltering.Pad{0}}, ::Tuple{UnitRange{Int64},UnitRange{Int64}}) at /home/slava/.julia/v0.5/ImageFiltering/src/imfilter.jl:499
in imfilter!(::ComputationalResources.CPU1{ImageFiltering.Algorithm.FIRTiled{2}}, ::Array{Int16,2}, ::OffsetArrays.OffsetArray{Float64,2,Array{Float64,2}}, ::OffsetArrays.OffsetArray{Float64,2,Array{Float64,2}}, ::ImageFiltering.NoPad{ImageFiltering.Pad{0}}, ::Tuple{UnitRange{Int64},UnitRange{Int64}}) at /home/slava/.julia/v0.5/ImageFiltering/src/imfilter.jl:483
in _imfilter_tiled!(::ComputationalResources.CPU1{ImageFiltering.Algorithm.FIRTiled{2}}, ::Array{Int16,2}, ::OffsetArrays.OffsetArray{Int16,2,Array{Int16,2}}, ::Tuple{OffsetArrays.OffsetArray{Float64,2,Array{Float64,2}},OffsetArrays.OffsetArray{Float64,2,Array{Float64,2}}}, ::ImageFiltering.NoPad{ImageFiltering.Pad{0}}, ::Array{Array{Float64,2},1}, ::Tuple{Base.OneTo{Int64},Base.OneTo{Int64}}) at /home/slava/.julia/v0.5/ImageFiltering/src/imfilter.jl:346
in imfilter!(::ComputationalResources.CPU1{ImageFiltering.Algorithm.FIRTiled{2}}, ::Array{Int16,2}, ::OffsetArrays.OffsetArray{Int16,2,Array{Int16,2}}, ::Tuple{OffsetArrays.OffsetArray{Float64,2,Array{Float64,2}},OffsetArrays.OffsetArray{Float64,2,Array{Float64,2}}}, ::ImageFiltering.NoPad{ImageFiltering.Pad{0}}, ::Tuple{Base.OneTo{Int64},Base.OneTo{Int64}}) at /home/slava/.julia/v0.5/ImageFiltering/src/imfilter.jl:278
in imfilter!(::ComputationalResources.CPU1{ImageFiltering.Algorithm.FIRTiled{2}}, ::Array{Int16,2}, ::Array{Int16,2}, ::Tuple{OffsetArrays.OffsetArray{Float64,2,Array{Float64,2}},OffsetArrays.OffsetArray{Float64,2,Array{Float64,2}}}, ::ImageFiltering.Pad{0}) at /home/slava/.julia/v0.5/ImageFiltering/src/imfilter.jl:220
in imfilter!(::Array{Int16,2}, ::Array{Int16,2}, ::Tuple{OffsetArrays.OffsetArray{Float64,2,Array{Float64,2}},OffsetArrays.OffsetArray{Float64,2,Array{Float64,2}}}, ::ImageFiltering.Pad{0}, ::ImageFiltering.Algorithm.FIRTiled{2}) at /home/slava/.julia/v0.5/ImageFiltering/src/imfilter.jl:143
in imfilter(::Array{Int16,2}, ::OffsetArrays.OffsetArray{Int16,2,Array{Int16,2}}) at /home/slava/.julia/v0.5/ImageFiltering/src/imfilter.jl:5
if I convert integer array data into float then it's ok - no error.