Package org.itk.simple
Class GaussianImageSource
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.GaussianImageSource
Generate an n-dimensional image of a Gaussian.
GaussianImageSource generates an image of a Gaussian. m_Normalized determines whether or
not the Gaussian is normalized (whether or not the sum over infinite
space is 1.0) When creating an image, it is preferable to not
normalize the Gaussian m_Scale scales the output of the Gaussian to
span a range larger than 0->1, and is typically set to the maximum
value of the output data type (for instance, 255 for uchars)
The output image may be of any dimension.
See:
itk::simple::GaussianSource for the procedural interface
itk::GaussianImageSource for the Doxygen on the original ITK class.
C++ includes: sitkGaussianImageSource.h
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::GaussianImageSource::GaussianImageSource() Default Constructor that takes no arguments and initializes default parametersprotected
GaussianImageSource
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::GaussianImageSource::~GaussianImageSource() Destructorexecute()
Image itk::simple::GaussianImageSource::Execute() Execute the filter on the input imageprotected void
finalize()
protected static long
std::vector<double> itk::simple::GaussianImageSource::GetDirection() constgetMean()
std::vector<double> itk::simple::GaussianImageSource::GetMean() const Set/Get the mean in each direction.getName()
std::string itk::simple::GaussianImageSource::GetName() const Name of this classboolean
bool itk::simple::GaussianImageSource::GetNormalized() const Set/Get whether or not to normalize the Gaussian.std::vector<double> itk::simple::GaussianImageSource::GetOrigin() constPixelIDValueEnum itk::simple::GaussianImageSource::GetOutputPixelType() constdouble
getScale()
double itk::simple::GaussianImageSource::GetScale() const Gets and sets for Gaussian parameters Set/Get the scale factor to multiply the true value of the Gaussian.getSigma()
std::vector<double> itk::simple::GaussianImageSource::GetSigma() const Set/Get the standard deviation in each direction.getSize()
std::vector<unsigned int> itk::simple::GaussianImageSource::GetSize() conststd::vector<double> itk::simple::GaussianImageSource::GetSpacing() constvoid
Self& itk::simple::GaussianImageSource::NormalizedOff()void
Self& itk::simple::GaussianImageSource::NormalizedOn() Set the value of Normalized to true or false respectfully.void
setDirection
(VectorDouble Direction) Self& itk::simple::GaussianImageSource::SetDirection(std::vector< double > Direction)void
setMean
(double value) Self& itk::simple::GaussianImageSource::SetMean(std::vector< double > Mean) Set/Get the mean in each direction.void
setMean
(VectorDouble Mean) Self& itk::simple::GaussianImageSource::SetMean(std::vector< double > Mean) Set/Get the mean in each direction.void
setNormalized
(boolean Normalized) Self& itk::simple::GaussianImageSource::SetNormalized(bool Normalized) Set/Get whether or not to normalize the Gaussian.void
setOrigin
(VectorDouble Origin) Self& itk::simple::GaussianImageSource::SetOrigin(std::vector< double > Origin)void
setOutputPixelType
(PixelIDValueEnum OutputPixelType) Self& itk::simple::GaussianImageSource::SetOutputPixelType(PixelIDValueEnum OutputPixelType)void
setScale
(double Scale) Self& itk::simple::GaussianImageSource::SetScale(double Scale) Gets and sets for Gaussian parameters Set/Get the scale factor to multiply the true value of the Gaussian.void
setSigma
(double value) Self& itk::simple::GaussianImageSource::SetSigma(std::vector< double > Sigma) Set/Get the standard deviation in each direction.void
setSigma
(VectorDouble Sigma) Self& itk::simple::GaussianImageSource::SetSigma(std::vector< double > Sigma) Set/Get the standard deviation in each direction.void
setSize
(VectorUInt32 Size) Self& itk::simple::GaussianImageSource::SetSize(std::vector< unsigned int > Size)void
setSpacing
(VectorDouble Spacing) Self& itk::simple::GaussianImageSource::SetSpacing(std::vector< double > Spacing)protected static long
toString()
std::string itk::simple::GaussianImageSource::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
-
GaussianImageSource
protected GaussianImageSource(long cPtr, boolean cMemoryOwn) -
GaussianImageSource
public GaussianImageSource()itk::simple::GaussianImageSource::GaussianImageSource() 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::GaussianImageSource::~GaussianImageSource() Destructor- Overrides:
delete
in classImageFilter
-
setOutputPixelType
Self& itk::simple::GaussianImageSource::SetOutputPixelType(PixelIDValueEnum OutputPixelType) -
getOutputPixelType
PixelIDValueEnum itk::simple::GaussianImageSource::GetOutputPixelType() const -
setSize
Self& itk::simple::GaussianImageSource::SetSize(std::vector< unsigned int > Size) -
getSize
std::vector<unsigned int> itk::simple::GaussianImageSource::GetSize() const -
setSigma
Self& itk::simple::GaussianImageSource::SetSigma(std::vector< double > Sigma) Set/Get the standard deviation in each direction. -
setSigma
public void setSigma(double value) Self& itk::simple::GaussianImageSource::SetSigma(std::vector< double > Sigma) Set/Get the standard deviation in each direction. -
getSigma
std::vector<double> itk::simple::GaussianImageSource::GetSigma() const Set/Get the standard deviation in each direction. -
setMean
Self& itk::simple::GaussianImageSource::SetMean(std::vector< double > Mean) Set/Get the mean in each direction. -
setMean
public void setMean(double value) Self& itk::simple::GaussianImageSource::SetMean(std::vector< double > Mean) Set/Get the mean in each direction. -
getMean
std::vector<double> itk::simple::GaussianImageSource::GetMean() const Set/Get the mean in each direction. -
setScale
public void setScale(double Scale) Self& itk::simple::GaussianImageSource::SetScale(double Scale) Gets and sets for Gaussian parameters Set/Get the scale factor to multiply the true value of the Gaussian. -
getScale
public double getScale()double itk::simple::GaussianImageSource::GetScale() const Gets and sets for Gaussian parameters Set/Get the scale factor to multiply the true value of the Gaussian. -
setOrigin
Self& itk::simple::GaussianImageSource::SetOrigin(std::vector< double > Origin) -
getOrigin
std::vector<double> itk::simple::GaussianImageSource::GetOrigin() const -
setSpacing
Self& itk::simple::GaussianImageSource::SetSpacing(std::vector< double > Spacing) -
getSpacing
std::vector<double> itk::simple::GaussianImageSource::GetSpacing() const -
setDirection
Self& itk::simple::GaussianImageSource::SetDirection(std::vector< double > Direction) -
getDirection
std::vector<double> itk::simple::GaussianImageSource::GetDirection() const -
setNormalized
public void setNormalized(boolean Normalized) Self& itk::simple::GaussianImageSource::SetNormalized(bool Normalized) Set/Get whether or not to normalize the Gaussian. Default is false. -
normalizedOn
public void normalizedOn()Self& itk::simple::GaussianImageSource::NormalizedOn() Set the value of Normalized to true or false respectfully. -
normalizedOff
public void normalizedOff()Self& itk::simple::GaussianImageSource::NormalizedOff() -
getNormalized
public boolean getNormalized()bool itk::simple::GaussianImageSource::GetNormalized() const Set/Get whether or not to normalize the Gaussian. Default is false. -
getName
std::string itk::simple::GaussianImageSource::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::GaussianImageSource::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::GaussianImageSource::Execute() Execute the filter on the input image
-