OTB
9.0.0
Orfeo Toolbox
|
#include <otbGaborFilterGenerator.h>
Public Types | |
typedef itk::Array< PrecisionType > | ArrayType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::SmartPointer< Self > | Pointer |
typedef TPrecision | PrecisionType |
typedef itk::Size< 2 > | RadiusType |
typedef GaborFilterGenerator | Self |
typedef itk::Object | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
This class allows generating a gabor filter convolution mask. The mask is stored in a linear buffer of type itk::Array returned by the GetFilter() method.
When calling the GetFilter() method, if the filter has to be regenerated, it will be done seamlessly.
Gabor filters are commonly used in image processing for textures description for instance The complex Gabor function is the product in spatial domain of a complex sinusoidal, also known as the carrier, and a gaussian-shaped function, also knwown as the envelop.
Please note that this helper class generates a filter whose coefficients are the real part of a complex Gabor function.
The formula used to compute these coefficients is as follows:
with:
and
Where:
Definition at line 73 of file otbGaborFilterGenerator.h.
typedef itk::Array<PrecisionType> otb::GaborFilterGenerator< TPrecision >::ArrayType |
Definition at line 88 of file otbGaborFilterGenerator.h.
typedef itk::SmartPointer<const Self> otb::GaborFilterGenerator< TPrecision >::ConstPointer |
Definition at line 80 of file otbGaborFilterGenerator.h.
typedef itk::SmartPointer<Self> otb::GaborFilterGenerator< TPrecision >::Pointer |
Definition at line 79 of file otbGaborFilterGenerator.h.
typedef TPrecision otb::GaborFilterGenerator< TPrecision >::PrecisionType |
Definition at line 84 of file otbGaborFilterGenerator.h.
typedef itk::Size<2> otb::GaborFilterGenerator< TPrecision >::RadiusType |
Definition at line 89 of file otbGaborFilterGenerator.h.
typedef GaborFilterGenerator otb::GaborFilterGenerator< TPrecision >::Self |
Definition at line 77 of file otbGaborFilterGenerator.h.
typedef itk::Object otb::GaborFilterGenerator< TPrecision >::Superclass |
Definition at line 78 of file otbGaborFilterGenerator.h.
|
protected |
constructor
Definition at line 31 of file otbGaborFilterGenerator.hxx.
|
inlineoverrideprotected |
destructor
Definition at line 116 of file otbGaborFilterGenerator.h.
|
privatedelete |
Radius of the filter
virtual::itk::LightObject::Pointer otb::GaborFilterGenerator< TPrecision >::CreateAnother | ( | void | ) | const |
|
protected |
Generate the filter coefficients
Definition at line 53 of file otbGaborFilterGenerator.hxx.
References otb::CONST_2PI, otb::CONST_PI, and otb::CONST_PI_180.
|
virtual |
Radius of the filter
|
virtual |
Radius of the filter
const GaborFilterGenerator< TPrecision >::ArrayType & otb::GaborFilterGenerator< TPrecision >::GetFilter |
Get The generated filter
Definition at line 43 of file otbGaborFilterGenerator.hxx.
|
virtual |
|
virtual |
Radius of the filter
|
virtual |
Radius of the filter
|
virtual |
Radius of the filter
|
virtual |
Radius of the filter
|
virtual |
Radius of the filter
|
overrideprotected |
Reimplement the Modified() method to set the NeedToGenerateFilter to true
Definition at line 78 of file otbGaborFilterGenerator.hxx.
|
static |
|
privatedelete |
Radius of the filter
|
overrideprotected |
PrintSelf method
Definition at line 85 of file otbGaborFilterGenerator.hxx.
|
virtual |
Setters/Getters
|
virtual |
Radius of the filter
|
virtual |
Radius of the filter
|
virtual |
Radius of the filter
|
virtual |
Radius of the filter
|
virtual |
Radius of the filter
|
virtual |
Radius of the filter
|
private |
Gabor parameters
Definition at line 138 of file otbGaborFilterGenerator.h.
|
private |
Radius of the filter
Definition at line 139 of file otbGaborFilterGenerator.h.
|
private |
Output filter coefficient array
Definition at line 146 of file otbGaborFilterGenerator.h.
|
mutableprivate |
Whether we need to regenerate the filter
Definition at line 149 of file otbGaborFilterGenerator.h.
|
private |
Radius of the filter
Definition at line 143 of file otbGaborFilterGenerator.h.
|
private |
Radius of the filter
Definition at line 135 of file otbGaborFilterGenerator.h.
|
private |
Radius of the filter
Definition at line 140 of file otbGaborFilterGenerator.h.
|
private |
Radius of the filter
Definition at line 141 of file otbGaborFilterGenerator.h.
|
private |
Radius of the filter
Definition at line 142 of file otbGaborFilterGenerator.h.