pffft icon indicating copy to clipboard operation
pffft copied to clipboard

Support for 2D?

Open emmenlau opened this issue 2 years ago • 5 comments

Thanks for this great library! Is there a plan to support also 2D transforms? It would be quite helpful.

emmenlau avatar Mar 09 '22 10:03 emmenlau

sorry, there are no such plans. but pull requests would be welcome ..

hayguen avatar Mar 09 '22 12:03 hayguen

I see! That's very sad. We can possibly implement a 2D transform based on repeated application of the 1D transform, but I guess that will not give the best possible performance (?) Do you know instructions how to implement the 2D transform efficiently?

emmenlau avatar Mar 09 '22 12:03 emmenlau

sorry, i have absolutely no clue: never used 2D FFT and never thought about it's implementation. i need/use FFT only for signal/audio processing - not on images. and i fear @marton78 also has no knowledge on 2D FFTs

hayguen avatar Mar 09 '22 12:03 hayguen

That is correct unfortunately, I've never used 2D FFT, I'm sorry.

marton78 avatar Mar 09 '22 13:03 marton78

Ok, thanks a lot for the quick feedback. I'll try and see what we can do, but implementing an efficient 2D transform may not be so easy.

emmenlau avatar Mar 09 '22 13:03 emmenlau