Catalano.Imaging.Filters
Class HomomorphicFilter
- java.lang.Object
-
- Catalano.Imaging.Filters.HomomorphicFilter
-
- All Implemented Interfaces:
- IApplyInPlace
public class HomomorphicFilter extends java.lang.Object implements IApplyInPlace
Is a frequency domain filtering process that compresses the brightness, while enhancing the contrast. Homomorphic filtering process: Image -> A natural log transform (base e) -> Fourier Transform -> Frequency filter -> Inverse Fourier Transform -> Inverse log function (the exponencial).
-
-
Constructor Summary
Constructors Constructor and Description HomomorphicFilter()Initialize a new instance of the HomomorphicFilter class.HomomorphicFilter(int min, int max)Initialize a new instance of the HomomorphicFilter class.HomomorphicFilter(IntRange range)Initialize a new instance of the HomomorphicFilter class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidapplyInPlace(FastBitmap fastBitmap)Apply filter to an image.
-
-
-
Constructor Detail
-
HomomorphicFilter
public HomomorphicFilter()
Initialize a new instance of the HomomorphicFilter class.
-
HomomorphicFilter
public HomomorphicFilter(int min, int max)Initialize a new instance of the HomomorphicFilter class.- Parameters:
min- Minimum value of frequencies to keep.max- Maximum value of frequencies to keep.
-
HomomorphicFilter
public HomomorphicFilter(IntRange range)
Initialize a new instance of the HomomorphicFilter class.- Parameters:
range- Range of frequencies to keep.
-
-
Method Detail
-
applyInPlace
public void applyInPlace(FastBitmap fastBitmap)
Description copied from interface:IApplyInPlaceApply filter to an image.- Specified by:
applyInPlacein interfaceIApplyInPlace- Parameters:
fastBitmap- Image to be processed.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG