Package org.itk.simple
Class GaborImageSource
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.GaborImageSource
Generate an n-dimensional image of a Gabor filter.
GaborImageSource generates an image of either the real (i.e. symmetric) or complex
(i.e. antisymmetric) part of the Gabor filter with the orientation
directed along the x-axis. The GaborKernelFunction is used to evaluate the contribution along the x-axis whereas a non-
normalized 1-D Gaussian envelope provides the contribution in each of
the remaining N dimensions. Orientation can be manipulated via the Transform classes of the toolkit.
The output image may be of any dimension.
This implementation was contributed as a paper to the Insight Journal https://www.insight-journal.org/browse/publication/150
See:
itk::simple::GaborSource for the procedural interface
itk::GaborImageSource for the Doxygen on the original ITK class.
C++ includes: sitkGaborImageSource.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::GaborImageSource::GaborImageSource() Default Constructor that takes no arguments and initializes default parametersprotected
GaborImageSource
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::GaborImageSource::~GaborImageSource() Destructorexecute()
Image itk::simple::GaborImageSource::Execute() Execute the filter on the input imageprotected void
finalize()
protected static long
getCPtr
(GaborImageSource obj) std::vector<double> itk::simple::GaborImageSource::GetDirection() constdouble
double itk::simple::GaborImageSource::GetFrequency() const Set/Get the modulation frequency of the sine or cosine component.getMean()
std::vector<double> itk::simple::GaborImageSource::GetMean() const Set/Get the mean in each direction.getName()
std::string itk::simple::GaborImageSource::GetName() const Name of this classstd::vector<double> itk::simple::GaborImageSource::GetOrigin() constPixelIDValueEnum itk::simple::GaborImageSource::GetOutputPixelType() constgetSigma()
std::vector<double> itk::simple::GaborImageSource::GetSigma() const Set/Get the the standard deviation in each direction.getSize()
std::vector<unsigned int> itk::simple::GaborImageSource::GetSize() conststd::vector<double> itk::simple::GaborImageSource::GetSpacing() constvoid
setDirection
(VectorDouble Direction) Self& itk::simple::GaborImageSource::SetDirection(std::vector< double > Direction)void
setFrequency
(double Frequency) Self& itk::simple::GaborImageSource::SetFrequency(double Frequency) Set/Get the modulation frequency of the sine or cosine component.void
setMean
(double value) Self& itk::simple::GaborImageSource::SetMean(std::vector< double > Mean) Set/Get the mean in each direction.void
setMean
(VectorDouble Mean) Self& itk::simple::GaborImageSource::SetMean(std::vector< double > Mean) Set/Get the mean in each direction.void
setOrigin
(VectorDouble Origin) Self& itk::simple::GaborImageSource::SetOrigin(std::vector< double > Origin)void
setOutputPixelType
(PixelIDValueEnum OutputPixelType) Self& itk::simple::GaborImageSource::SetOutputPixelType(PixelIDValueEnum OutputPixelType)void
setSigma
(double value) Self& itk::simple::GaborImageSource::SetSigma(std::vector< double > Sigma) Set/Get the the standard deviation in each direction.void
setSigma
(VectorDouble Sigma) Self& itk::simple::GaborImageSource::SetSigma(std::vector< double > Sigma) Set/Get the the standard deviation in each direction.void
setSize
(VectorUInt32 Size) Self& itk::simple::GaborImageSource::SetSize(std::vector< unsigned int > Size)void
setSpacing
(VectorDouble Spacing) Self& itk::simple::GaborImageSource::SetSpacing(std::vector< double > Spacing)protected static long
toString()
std::string itk::simple::GaborImageSource::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigRelease
Methods inherited from class org.itk.simple.ProcessObject
abort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
-
Constructor Details
-
GaborImageSource
protected GaborImageSource(long cPtr, boolean cMemoryOwn) -
GaborImageSource
public GaborImageSource()itk::simple::GaborImageSource::GaborImageSource() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalize
in classImageFilter
-
delete
public void delete()virtual itk::simple::GaborImageSource::~GaborImageSource() Destructor- Overrides:
delete
in classImageFilter
-
setOutputPixelType
Self& itk::simple::GaborImageSource::SetOutputPixelType(PixelIDValueEnum OutputPixelType) -
getOutputPixelType
PixelIDValueEnum itk::simple::GaborImageSource::GetOutputPixelType() const -
setSize
Self& itk::simple::GaborImageSource::SetSize(std::vector< unsigned int > Size) -
getSize
std::vector<unsigned int> itk::simple::GaborImageSource::GetSize() const -
setSigma
Self& itk::simple::GaborImageSource::SetSigma(std::vector< double > Sigma) Set/Get the the standard deviation in each direction. -
setSigma
public void setSigma(double value) Self& itk::simple::GaborImageSource::SetSigma(std::vector< double > Sigma) Set/Get the the standard deviation in each direction. -
getSigma
std::vector<double> itk::simple::GaborImageSource::GetSigma() const Set/Get the the standard deviation in each direction. -
setMean
Self& itk::simple::GaborImageSource::SetMean(std::vector< double > Mean) Set/Get the mean in each direction. -
setMean
public void setMean(double value) Self& itk::simple::GaborImageSource::SetMean(std::vector< double > Mean) Set/Get the mean in each direction. -
getMean
std::vector<double> itk::simple::GaborImageSource::GetMean() const Set/Get the mean in each direction. -
setFrequency
public void setFrequency(double Frequency) Self& itk::simple::GaborImageSource::SetFrequency(double Frequency) Set/Get the modulation frequency of the sine or cosine component. -
getFrequency
public double getFrequency()double itk::simple::GaborImageSource::GetFrequency() const Set/Get the modulation frequency of the sine or cosine component. -
setOrigin
Self& itk::simple::GaborImageSource::SetOrigin(std::vector< double > Origin) -
getOrigin
std::vector<double> itk::simple::GaborImageSource::GetOrigin() const -
setSpacing
Self& itk::simple::GaborImageSource::SetSpacing(std::vector< double > Spacing) -
getSpacing
std::vector<double> itk::simple::GaborImageSource::GetSpacing() const -
setDirection
Self& itk::simple::GaborImageSource::SetDirection(std::vector< double > Direction) -
getDirection
std::vector<double> itk::simple::GaborImageSource::GetDirection() const -
getName
std::string itk::simple::GaborImageSource::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::GaborImageSource::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::GaborImageSource::Execute() Execute the filter on the input image
-