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 parametersprotectedGaussianImageSource(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier 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.ImageFilter
getCPtr, swigReleaseMethods 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:
finalizein classImageFilter
-
delete
public void delete()virtual itk::simple::GaussianImageSource::~GaussianImageSource() Destructor- Overrides:
deletein 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:
getNamein classProcessObject
-
toString
std::string itk::simple::GaussianImageSource::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
Image itk::simple::GaussianImageSource::Execute() Execute the filter on the input image
-