ImageFiltering.jl
ImageFiltering.jl copied to clipboard
Julia implementations of multidimensional array convolution and nonlinear stencil operations
ref. https://discourse.julialang.org/t/images-kernel-sizes-and-imageaxes/ In the following example, the kernel size is calculated based on array indices, not the provided physical dimensions of the image. ``` using AxisArrays, Unitful julia> img =...
An Julia internal error occurs during precompilation. More specifically, after disabling `include("precompile.jl")` the following is a way to reproduce the error ```julia juliaa> using ImageFiltering, OffsetArrays julia> A = OffsetArray([1.625,...
```julia julia> findlocalmaxima([1 2 3 2 1]) 1-element Vector{CartesianIndex{2}}: CartesianIndex(1, 3) julia> findlocalmaxima([1 2 3 3 1]) CartesianIndex{2}[] ```` I'm not sure whether it is a bug or I need...
I'm assuming this is due to FFTW's auto planning making different decisions. If so, it would be good to expose the plan settings, if possible. I'm seeing unexplained significant slowdown...
```julia using ImageFiltering @assert imfilter( [0, 0, 1, 0, 0], [1, 1]) == [ 1, 1 , 0, 0 , 0] @assert imfilter(Float64[0, 0, 1, 0, 0], [1, 1]) ≈...
Didn't explore it in depth, but the following hand-written version in 5mins is faster than what `mapwindow` provides, so I believe there are still room for performance tweak: ```julia #...
In response to feature request #240 Please let me know if there are any fixes to be done on the code.
When one needs to compute the sum/average of all blocks extracted from an image, pre-building the integral array usually provides a more efficient computation. ``` using BenchmarkTools, IntegralArrays # simplified...
Hi, I can't find a butterworth kernel in the Images, and think would be a nice addition to the package. The `DSP.jl` do have a Butterworth filter design, maybe could...
Hi, I was wondering if `mapwindow` can work with multi-threads. Best,