ITK
5.2.0
Insight Toolkit
|
#include <itkDiscreteGaussianImageFilter.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static void | SetGlobalDefaultDirectionTolerance (double) |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static double | GetGlobalDefaultCoordinateTolerance () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
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.
Definition at line 63 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::ArrayType = FixedArray<double, Self::ImageDimension> |
Typedef of double containers
Definition at line 112 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::BoundaryConditionType = ImageBoundaryCondition<TInputImage> |
Typedef to describe the boundary condition.
Definition at line 105 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 72 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::InputBoundaryConditionPointerType = BoundaryConditionType * |
Definition at line 106 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::InputDefaultBoundaryConditionType = ZeroFluxNeumannBoundaryCondition<TInputImage> |
Definition at line 107 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
Image type information.
Definition at line 81 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::InputInternalPixelType = typename TInputImage::InternalPixelType |
Definition at line 89 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::InputPixelType = typename TInputImage::PixelType |
Definition at line 88 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::InputPixelValueType = typename NumericTraits<InputPixelType>::ValueType |
Pixel value type for Vector pixel types
Definition at line 92 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Definition at line 82 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::OutputInternalPixelType = typename TOutputImage::InternalPixelType |
Definition at line 87 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::OutputPixelType = typename TOutputImage::PixelType |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 86 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::OutputPixelValueType = typename NumericTraits<OutputPixelType>::ValueType |
Definition at line 93 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 71 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::RealBoundaryConditionPointerType = ImageBoundaryCondition<RealOutputImageType> * |
Definition at line 108 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::RealDefaultBoundaryConditionType = ZeroFluxNeumannBoundaryCondition<RealOutputImageType> |
Definition at line 109 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::RealOutputImageType = Image<OutputPixelType, ImageDimension> |
Definition at line 101 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::RealOutputPixelType = typename NumericTraits<OutputPixelType>::RealType |
Type of the pixel to use for intermediate results
Definition at line 100 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::RealOutputPixelValueType = typename NumericTraits<RealOutputPixelType>::ValueType |
Definition at line 102 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::ScalarRealType = double |
Definition at line 114 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::Self = DiscreteGaussianImageFilter |
Standard class type aliases.
Definition at line 69 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::SigmaArrayType = ArrayType |
Definition at line 113 of file itkDiscreteGaussianImageFilter.h.
using itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::Superclass = ImageToImageFilter<TInputImage, TOutputImage> |
Definition at line 70 of file itkDiscreteGaussianImageFilter.h.
|
inlineprotected |
The variance of the gaussian blurring kernel in each dimensional direction.
Definition at line 323 of file itkDiscreteGaussianImageFilter.h.
|
overrideprotecteddefault |
The variance of the gaussian blurring kernel in each dimensional direction.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
Reimplemented in itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >, and itk::GPUImageToImageFilter< TInputImage, TOutputImage, DiscreteGaussianImageFilter< TInputImage, TOutputImage > >.
|
overrideprotectedvirtual |
Standard pipeline method. While this class does not implement a ThreadedGenerateData(), its GenerateData() delegates all calculations to an NeighborhoodOperatorImageFilter. Since the NeighborhoodOperatorImageFilter is multithreaded, this filter is multithreaded by default.
Reimplemented from itk::ImageSource< TOutputImage >.
Reimplemented in itk::GPUImageToImageFilter< TInputImage, TOutputImage, DiscreteGaussianImageFilter< TInputImage, TOutputImage > >.
|
overridevirtual |
DiscreteGaussianImageFilter needs a larger input requested region than the output requested region (larger by the size of the Gaussian kernel). As such, DiscreteGaussianImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set the number of dimensions to smooth. Defaults to the image dimension. Can be set to less than ImageDimension, smoothing all the dimensions less than FilterDimensionality. For instance, to smooth the slices of a volume without smoothing in Z, set the FilterDimensionality to 2.
|
virtual |
The variance of the gaussian blurring kernel in each dimensional direction.
|
virtual |
The variance of the gaussian blurring kernel in each dimensional direction.
|
virtual |
Set the kernel to be no wider than MaximumKernelWidth pixels, even if MaximumError demands it. The default is 32 pixels.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >, and itk::GPUImageToImageFilter< TInputImage, TOutputImage, DiscreteGaussianImageFilter< TInputImage, TOutputImage > >.
|
virtual |
The variance of the gaussian blurring kernel in each dimensional direction.
|
inline |
Get the Sigma scalar. If the Sigma is anisotropic, we will just return the Sigma along the first dimension.
Definition at line 233 of file itkDiscreteGaussianImageFilter.h.
|
inline |
Get the Sigma value.
Definition at line 219 of file itkDiscreteGaussianImageFilter.h.
|
virtual |
The variance of the gaussian blurring kernel in each dimensional direction.
|
virtual |
The variance of the gaussian blurring kernel in each dimensional direction.
itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::itkLegacyMacro | ( | unsigned int GetInternalNumberOfStreamDivisions() const | ) |
Set/Get number of pieces to divide the input for the internal composite pipeline. The upstream pipeline will not be effected.
The default value is $ImageDimension^2$.
This parameter was introduced to reduce the memory used by images internally, at the cost of performance.
itk::DiscreteGaussianImageFilter< TInputImage, TOutputImage >::itkLegacyMacro | ( | void | SetInternalNumberOfStreamDivisionsunsigned int | ) |
The variance of the gaussian blurring kernel in each dimensional direction.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
The variance of the gaussian blurring kernel in each dimensional direction.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >, and itk::GPUImageToImageFilter< TInputImage, TOutputImage, DiscreteGaussianImageFilter< TInputImage, TOutputImage > >.
|
virtual |
The variance of the gaussian blurring kernel in each dimensional direction.
|
virtual |
Set/get the boundary condition.
|
virtual |
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.
|
inline |
The variance of the gaussian blurring kernel in each dimensional direction.
Definition at line 239 of file itkDiscreteGaussianImageFilter.h.
|
inline |
The variance of the gaussian blurring kernel in each dimensional direction.
Definition at line 251 of file itkDiscreteGaussianImageFilter.h.
|
inline |
The variance of the gaussian blurring kernel in each dimensional direction.
Definition at line 166 of file itkDiscreteGaussianImageFilter.h.
|
virtual |
The variance of the gaussian blurring kernel in each dimensional direction.
|
virtual |
The variance of the gaussian blurring kernel in each dimensional direction.
|
inline |
The variance of the gaussian blurring kernel in each dimensional direction.
Definition at line 211 of file itkDiscreteGaussianImageFilter.h.
|
inline |
Set the standard deviation of the Gaussian used for smoothing. Sigma is measured in the units of image spacing. You may use the method SetSigma to set the same value across each axis or use the method SetSigmaArray if you need different values along each axis.
Definition at line 201 of file itkDiscreteGaussianImageFilter.h.
|
virtual |
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 gnore the image spacing and to specify the Gaussian variance in voxel units. Default is On.
|
virtual |
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.
|
inline |
The variance of the gaussian blurring kernel in each dimensional direction.
Definition at line 173 of file itkDiscreteGaussianImageFilter.h.
|
inline |
The variance of the gaussian blurring kernel in each dimensional direction.
Definition at line 185 of file itkDiscreteGaussianImageFilter.h.
|
inline |
Convenience Set methods for setting all dimensional parameters to the same values.
Definition at line 158 of file itkDiscreteGaussianImageFilter.h.
|
virtual |
The variance of the gaussian blurring kernel in each dimensional direction.
|
virtual |
The variance of the gaussian blurring kernel in each dimensional direction.
|
staticconstexpr |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 97 of file itkDiscreteGaussianImageFilter.h.
|
private |
Number of dimensions to process. Default is all dimensions
Definition at line 361 of file itkDiscreteGaussianImageFilter.h.
|
private |
Pointer to a persistent boundary condition object used for the image iterator.
Definition at line 368 of file itkDiscreteGaussianImageFilter.h.
|
private |
Default boundary condition
Definition at line 371 of file itkDiscreteGaussianImageFilter.h.
|
private |
The maximum error of the gaussian blurring kernel in each dimensional direction. For definition of maximum error, see GaussianOperator.
Definition at line 354 of file itkDiscreteGaussianImageFilter.h.
|
private |
Maximum allowed kernel width for any dimension of the discrete Gaussian approximation
Definition at line 358 of file itkDiscreteGaussianImageFilter.h.
|
private |
Boundary condition use for the intermediate filters
Definition at line 374 of file itkDiscreteGaussianImageFilter.h.
|
private |
Default boundary condition use for the intermediate filters
Definition at line 377 of file itkDiscreteGaussianImageFilter.h.
|
private |
Flag to indicate whether to use image spacing
Definition at line 364 of file itkDiscreteGaussianImageFilter.h.
|
private |
The variance of the gaussian blurring kernel in each dimensional direction.
Definition at line 349 of file itkDiscreteGaussianImageFilter.h.