image-rs / imageproc

Image processing operations
MIT License
758 stars 149 forks source link

Add 2D Butterworth #543

Open altunenes opened 1 year ago

altunenes commented 1 year 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 1 year 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)