Open balwierz opened 3 years ago
Hi there! :)
Thanks for pointing this out. Actually, the error comes from the upstream function fftwtools::fftw2d
. Would you mind reporting this to the maintainer of fftwtools?
Cheers! Andrzej
Thanks :) Reported as https://github.com/krahim/fftwtools/issues/14
Hi,
I am getting an error while running filter2 on a 1-column matrix:
EBImage::filter2(matrix(rnorm(10), ncol = 1), filter = matrix(c(0.25, 0.5, 0.25), ncol = 1))
There is no problem with a "transposed" (horizontal) call:
EBImage::filter2(matrix(rnorm(10), nrow = 1), filter = matrix(c(0.25, 0.5, 0.25), nrow = 1))
Nor is there a problem with applying a 1-column filter on a multi-dimensional data:
EBImage::filter2(matrix(rnorm(10), ncol = 2), filter = matrix(c(0.25, 0.5, 0.25), ncol = 1))