sightmachine / SimpleCV

The Open Source Framework for Machine Vision
http://simplecv.org
BSD 3-Clause "New" or "Revised" License
2.68k stars 798 forks source link

Break DFT filter creation out to a separate class. #353

Closed kscottz closed 10 years ago

kscottz commented 11 years ago

Create a factory class and to generate DFT filters, and provide a clean quick interface to the most common filters (high/low/band pass, butterworth, etc).

jayrambhia commented 11 years ago

@kscottz I have made a draft regarding this. https://github.com/jayrambhia/SimpleCV/blob/Features/DFT/SimpleCV/DFT.py How does this look?

flt = DFT()
gauss = flt.createGaussianFilter()
print gauss
# <SimpleCV.DFT Object Filter type: Gaussian, size:(64, 64)>
xamox commented 10 years ago

Appears to have been merged.