image-rs / imageproc

Image processing operations
MIT License
743 stars 146 forks source link

Add 2D Butterworth #543

Open altunenes opened 12 months ago

altunenes commented 12 months ago

I can add the Butterworth filter if you think it may be useful. I frequently use this filter in my research field...

image B low is the filter response (Butterworth) D(u,v) represents the distance from the origin in the frequency domain. D_0 is the cutoff frequency n is the order of the filter.

ref: Sonka, M., Hlavac, V.,, Boyle, R. (1998). Image Processing: Analysis and Machine Vision. CL-Engineering. ISBN: 053495393X

altunenes commented 11 months ago

the question is should I implement only the filter or full implementation (I mean 1- converting the 2D image to the frequency domain 2 applying the filter 3- then converting back to an image to get the output image)