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 SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::GaussianImageSource::GaussianImageSource() Default Constructor that takes no arguments and initializes default parametersprotectedGaussianImageSource(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::GaussianImageSource::~GaussianImageSource() Destructorexecute()Image itk::simple::GaussianImageSource::Execute() Execute the filter on the input imageprotected voidfinalize()protected static longstd::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 classbooleanbool 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() constdoublegetScale()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() constvoidSelf& itk::simple::GaussianImageSource::NormalizedOff()voidSelf& itk::simple::GaussianImageSource::NormalizedOn() Set the value of Normalized to true or false respectfully.voidsetDirection(VectorDouble Direction) Self& itk::simple::GaussianImageSource::SetDirection(std::vector< double > Direction)voidsetMean(double value) Self& itk::simple::GaussianImageSource::SetMean(std::vector< double > Mean) Set/Get the mean in each direction.voidsetMean(VectorDouble Mean) Self& itk::simple::GaussianImageSource::SetMean(std::vector< double > Mean) Set/Get the mean in each direction.voidsetNormalized(boolean Normalized) Self& itk::simple::GaussianImageSource::SetNormalized(bool Normalized) Set/Get whether or not to normalize the Gaussian.voidsetOrigin(VectorDouble Origin) Self& itk::simple::GaussianImageSource::SetOrigin(std::vector< double > Origin)voidsetOutputPixelType(PixelIDValueEnum OutputPixelType) Self& itk::simple::GaussianImageSource::SetOutputPixelType(PixelIDValueEnum OutputPixelType)voidsetScale(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.voidsetSigma(double value) Self& itk::simple::GaussianImageSource::SetSigma(std::vector< double > Sigma) Set/Get the standard deviation in each direction.voidsetSigma(VectorDouble Sigma) Self& itk::simple::GaussianImageSource::SetSigma(std::vector< double > Sigma) Set/Get the standard deviation in each direction.voidsetSize(VectorUInt32 Size) Self& itk::simple::GaussianImageSource::SetSize(std::vector< unsigned int > Size)voidsetSpacing(VectorDouble Spacing) Self& itk::simple::GaussianImageSource::SetSpacing(std::vector< double > Spacing)protected static longtoString()std::string itk::simple::GaussianImageSource::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFiltergetCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObjectabort, 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- 
GaussianImageSourceprotected GaussianImageSource(long cPtr, boolean cMemoryOwn) 
- 
GaussianImageSourcepublic GaussianImageSource()itk::simple::GaussianImageSource::GaussianImageSource() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ImageFilter
 
- 
deletepublic void delete()virtual itk::simple::GaussianImageSource::~GaussianImageSource() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setOutputPixelTypeSelf& itk::simple::GaussianImageSource::SetOutputPixelType(PixelIDValueEnum OutputPixelType)
- 
getOutputPixelTypePixelIDValueEnum itk::simple::GaussianImageSource::GetOutputPixelType() const
- 
setSizeSelf& itk::simple::GaussianImageSource::SetSize(std::vector< unsigned int > Size)
- 
getSizestd::vector<unsigned int> itk::simple::GaussianImageSource::GetSize() const
- 
setSigmaSelf& itk::simple::GaussianImageSource::SetSigma(std::vector< double > Sigma) Set/Get the standard deviation in each direction.
- 
setSigmapublic void setSigma(double value) Self& itk::simple::GaussianImageSource::SetSigma(std::vector< double > Sigma) Set/Get the standard deviation in each direction.
- 
getSigmastd::vector<double> itk::simple::GaussianImageSource::GetSigma() const Set/Get the standard deviation in each direction.
- 
setMeanSelf& itk::simple::GaussianImageSource::SetMean(std::vector< double > Mean) Set/Get the mean in each direction.
- 
setMeanpublic void setMean(double value) Self& itk::simple::GaussianImageSource::SetMean(std::vector< double > Mean) Set/Get the mean in each direction.
- 
getMeanstd::vector<double> itk::simple::GaussianImageSource::GetMean() const Set/Get the mean in each direction.
- 
setScalepublic 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.
- 
getScalepublic 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.
- 
setOriginSelf& itk::simple::GaussianImageSource::SetOrigin(std::vector< double > Origin)
- 
getOriginstd::vector<double> itk::simple::GaussianImageSource::GetOrigin() const
- 
setSpacingSelf& itk::simple::GaussianImageSource::SetSpacing(std::vector< double > Spacing)
- 
getSpacingstd::vector<double> itk::simple::GaussianImageSource::GetSpacing() const
- 
setDirectionSelf& itk::simple::GaussianImageSource::SetDirection(std::vector< double > Direction)
- 
getDirectionstd::vector<double> itk::simple::GaussianImageSource::GetDirection() const
- 
setNormalizedpublic void setNormalized(boolean Normalized) Self& itk::simple::GaussianImageSource::SetNormalized(bool Normalized) Set/Get whether or not to normalize the Gaussian. Default is false.
- 
normalizedOnpublic void normalizedOn()Self& itk::simple::GaussianImageSource::NormalizedOn() Set the value of Normalized to true or false respectfully.
- 
normalizedOffpublic void normalizedOff()Self& itk::simple::GaussianImageSource::NormalizedOff()
- 
getNormalizedpublic boolean getNormalized()bool itk::simple::GaussianImageSource::GetNormalized() const Set/Get whether or not to normalize the Gaussian. Default is false.
- 
getNamestd::string itk::simple::GaussianImageSource::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::GaussianImageSource::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
executeImage itk::simple::GaussianImageSource::Execute() Execute the filter on the input image
 
-