Class DiscreteGaussianImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.DiscreteGaussianImageFilter
Blurs an image by separable convolution with discrete gaussian
kernels. This filter performs Gaussian blurring by separable
convolution of an image and a discrete Gaussian operator (kernel).
The Gaussian operator used here was described by Tony Lindeberg
(Discrete Scale-Space Theory and the Scale-Space Primal Sketch.
Dissertation. Royal Institute of Technology, Stockholm, Sweden. May
1991.) The Gaussian kernel used here was designed so that smoothing
and derivative operations commute after discretization.
The variance or standard deviation (sigma) will be evaluated as pixel
units if SetUseImageSpacing is off (false) or as physical units if
SetUseImageSpacing is on (true, default). The variance can be set
independently in each dimension.
When the Gaussian kernel is small, this filter tends to run faster
than itk::RecursiveGaussianImageFilter .
See:
 GaussianOperator
 Image
 Neighborhood
 NeighborhoodOperator
 RecursiveGaussianImageFilter
 itk::simple::DiscreteGaussian for the procedural interface
 itk::DiscreteGaussianImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkDiscreteGaussianImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::DiscreteGaussianImageFilter::DiscreteGaussianImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedDiscreteGaussianImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::DiscreteGaussianImageFilter::~DiscreteGaussianImageFilter() DestructorImage itk::simple::DiscreteGaussianImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()protected static longstd::vector<double> itk::simple::DiscreteGaussianImageFilter::GetMaximumError() const The algorithm will size the discrete kernel so that the error resulting from truncation of the kernel is no greater than MaximumError.longunsigned int itk::simple::DiscreteGaussianImageFilter::GetMaximumKernelWidth() const Set the kernel to be no wider than MaximumKernelWidth pixels, even if MaximumError demands it.getName()std::string itk::simple::DiscreteGaussianImageFilter::GetName() const Name of this classbooleanbool itk::simple::DiscreteGaussianImageFilter::GetUseImageSpacing() const Set/Get whether or not the filter will use the spacing of the input image in its calculations.std::vector<double> itk::simple::DiscreteGaussianImageFilter::GetVariance() const The variance for the discrete Gaussian kernel.voidsetMaximumError(double value) Self& itk::simple::DiscreteGaussianImageFilter::SetMaximumError(std::vector< double > MaximumError)voidsetMaximumError(VectorDouble MaximumError) Self& itk::simple::DiscreteGaussianImageFilter::SetMaximumError(std::vector< double > MaximumError)voidsetMaximumKernelWidth(long MaximumKernelWidth) Self& itk::simple::DiscreteGaussianImageFilter::SetMaximumKernelWidth(unsigned int MaximumKernelWidth) Set the kernel to be no wider than MaximumKernelWidth pixels, even if MaximumError demands it.voidsetUseImageSpacing(boolean UseImageSpacing) Self& itk::simple::DiscreteGaussianImageFilter::SetUseImageSpacing(bool UseImageSpacing) Set/Get whether or not the filter will use the spacing of the input image in its calculations.voidsetVariance(double value) Self& itk::simple::DiscreteGaussianImageFilter::SetVariance(std::vector< double > Variance)voidsetVariance(VectorDouble Variance) Self& itk::simple::DiscreteGaussianImageFilter::SetVariance(std::vector< double > Variance)protected static longtoString()std::string itk::simple::DiscreteGaussianImageFilter::ToString() const Print ourselves outvoidSelf& itk::simple::DiscreteGaussianImageFilter::UseImageSpacingOff()voidSelf& itk::simple::DiscreteGaussianImageFilter::UseImageSpacingOn() Set the value of UseImageSpacing to true or false respectfully.Methods 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- 
DiscreteGaussianImageFilterprotected DiscreteGaussianImageFilter(long cPtr, boolean cMemoryOwn) 
- 
DiscreteGaussianImageFilterpublic DiscreteGaussianImageFilter()itk::simple::DiscreteGaussianImageFilter::DiscreteGaussianImageFilter() 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::DiscreteGaussianImageFilter::~DiscreteGaussianImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setVarianceSelf& itk::simple::DiscreteGaussianImageFilter::SetVariance(std::vector< double > Variance)
- 
setVariancepublic void setVariance(double value) Self& itk::simple::DiscreteGaussianImageFilter::SetVariance(std::vector< double > Variance)
- 
getVariancestd::vector<double> itk::simple::DiscreteGaussianImageFilter::GetVariance() const The variance for the discrete Gaussian kernel. Sets the variance independently for each dimension, but see also SetVariance(const double v) . The default is 0.0 in each dimension. If UseImageSpacing is true, the units are the physical units of your image. If UseImageSpacing is false then the units are pixels.
- 
setMaximumKernelWidthpublic void setMaximumKernelWidth(long MaximumKernelWidth) Self& itk::simple::DiscreteGaussianImageFilter::SetMaximumKernelWidth(unsigned int MaximumKernelWidth) Set the kernel to be no wider than MaximumKernelWidth pixels, even if MaximumError demands it. The default is 32 pixels.
- 
getMaximumKernelWidthpublic long getMaximumKernelWidth()unsigned int itk::simple::DiscreteGaussianImageFilter::GetMaximumKernelWidth() const Set the kernel to be no wider than MaximumKernelWidth pixels, even if MaximumError demands it. The default is 32 pixels.
- 
setMaximumErrorSelf& itk::simple::DiscreteGaussianImageFilter::SetMaximumError(std::vector< double > MaximumError)
- 
setMaximumErrorpublic void setMaximumError(double value) Self& itk::simple::DiscreteGaussianImageFilter::SetMaximumError(std::vector< double > MaximumError)
- 
getMaximumErrorstd::vector<double> itk::simple::DiscreteGaussianImageFilter::GetMaximumError() const The algorithm will size the discrete kernel so that the error resulting from truncation of the kernel is no greater than MaximumError. The default is 0.01 in each dimension.
- 
setUseImageSpacingpublic void setUseImageSpacing(boolean UseImageSpacing) Self& itk::simple::DiscreteGaussianImageFilter::SetUseImageSpacing(bool UseImageSpacing) Set/Get whether or not the filter will use the spacing of the input image in its calculations. Use On to take the image spacing information into account and to specify the Gaussian variance in real world units; use Off to ignore the image spacing and to specify the Gaussian variance in voxel units. Default is On.
- 
useImageSpacingOnpublic void useImageSpacingOn()Self& itk::simple::DiscreteGaussianImageFilter::UseImageSpacingOn() Set the value of UseImageSpacing to true or false respectfully.
- 
useImageSpacingOffpublic void useImageSpacingOff()Self& itk::simple::DiscreteGaussianImageFilter::UseImageSpacingOff()
- 
getUseImageSpacingpublic boolean getUseImageSpacing()bool itk::simple::DiscreteGaussianImageFilter::GetUseImageSpacing() const Set/Get whether or not the filter will use the spacing of the input image in its calculations. Use On to take the image spacing information into account and to specify the Gaussian variance in real world units; use Off to ignore the image spacing and to specify the Gaussian variance in voxel units. Default is On.
- 
getNamestd::string itk::simple::DiscreteGaussianImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::DiscreteGaussianImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-