Class GaussianImageSource


public class GaussianImageSource extends ImageFilter
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
  • 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

      protected static long getCPtr(GaussianImageSource obj)
    • swigRelease

      protected static long swigRelease(GaussianImageSource obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class ImageFilter
    • delete

      public void delete()
      virtual itk::simple::GaussianImageSource::~GaussianImageSource() Destructor
      Overrides:
      delete in class ImageFilter
    • setOutputPixelType

      public void setOutputPixelType(PixelIDValueEnum OutputPixelType)
      Self& itk::simple::GaussianImageSource::SetOutputPixelType(PixelIDValueEnum OutputPixelType)
    • getOutputPixelType

      public PixelIDValueEnum getOutputPixelType()
      PixelIDValueEnum itk::simple::GaussianImageSource::GetOutputPixelType() const
    • setSize

      public void setSize(VectorUInt32 Size)
      Self& itk::simple::GaussianImageSource::SetSize(std::vector< unsigned int > Size)
    • getSize

      public VectorUInt32 getSize()
      std::vector<unsigned int> itk::simple::GaussianImageSource::GetSize() const
    • setSigma

      public void setSigma(VectorDouble Sigma)
      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

      public VectorDouble getSigma()
      std::vector<double> itk::simple::GaussianImageSource::GetSigma() const Set/Get the standard deviation in each direction.
    • setMean

      public void setMean(VectorDouble Mean)
      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

      public VectorDouble 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

      public void setOrigin(VectorDouble Origin)
      Self& itk::simple::GaussianImageSource::SetOrigin(std::vector< double > Origin)
    • getOrigin

      public VectorDouble getOrigin()
      std::vector<double> itk::simple::GaussianImageSource::GetOrigin() const
    • setSpacing

      public void setSpacing(VectorDouble Spacing)
      Self& itk::simple::GaussianImageSource::SetSpacing(std::vector< double > Spacing)
    • getSpacing

      public VectorDouble getSpacing()
      std::vector<double> itk::simple::GaussianImageSource::GetSpacing() const
    • setDirection

      public void setDirection(VectorDouble Direction)
      Self& itk::simple::GaussianImageSource::SetDirection(std::vector< double > Direction)
    • getDirection

      public VectorDouble 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

      public String getName()
      std::string itk::simple::GaussianImageSource::GetName() const Name of this class
      Overrides:
      getName in class ProcessObject
    • toString

      public String toString()
      std::string itk::simple::GaussianImageSource::ToString() const Print ourselves out
      Overrides:
      toString in class ProcessObject
    • execute

      public Image execute()
      Image itk::simple::GaussianImageSource::Execute() Execute the filter on the input image