![]() |
ITK
5.4.0
Insight Toolkit
|
#include <itkGPUDiscreteGaussianImageFilter.h>
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). GPUNeighborhoodOperatorImageFilter is used to compute 1D directional discrete Gaussian filtering for each axis.
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 51 of file itkGPUDiscreteGaussianImageFilter.h.
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TOutputImage::ImageDimension |
![]() | |
static constexpr unsigned int | InputImageDimension |
static constexpr unsigned int | OutputImageDimension |
![]() | |
static constexpr unsigned int | ImageDimension |
![]() | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
![]() | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
FirstFilterType::Pointer | m_FirstFilter {} |
std::vector< typename IntermediateFilterType::Pointer > | m_IntermediateFilters {} |
LastFilterType::Pointer | m_LastFilter {} |
SingleFilterType::Pointer | m_SingleFilter {} |
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 62 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::CPUSuperclass = DiscreteGaussianImageFilter<TInputImage, TOutputImage> |
Definition at line 59 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::FirstFilterType = GPUNeighborhoodOperatorImageFilter<InputImageType, RealOutputImageType, RealOutputPixelValueType> |
Definition at line 92 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::GPUSuperclass = GPUImageToImageFilter<TInputImage, TOutputImage, CPUSuperclass> |
Definition at line 60 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
Image type information.
Definition at line 71 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::InputInternalPixelType = typename TInputImage::InternalPixelType |
Definition at line 83 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::InputPixelType = typename TInputImage::PixelType |
Definition at line 82 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::InputPixelValueType = typename NumericTraits<InputPixelType>::ValueType |
Pixel value type for Vector pixel types
Definition at line 86 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::IntermediateFilterType = GPUNeighborhoodOperatorImageFilter<RealOutputImageType, RealOutputImageType, RealOutputPixelValueType> |
Definition at line 94 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::LastFilterType = GPUNeighborhoodOperatorImageFilter<RealOutputImageType, OutputImageType, RealOutputPixelValueType> |
Definition at line 96 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Definition at line 72 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::OutputInternalPixelType = typename TOutputImage::InternalPixelType |
Definition at line 81 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< 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 80 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::OutputPixelValueType = typename NumericTraits<OutputPixelType>::ValueType |
Definition at line 87 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 61 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::RealOutputImageType = GPUImage<OutputPixelType, ImageDimension> |
Definition at line 90 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::RealOutputPixelType = OutputPixelType |
Definition at line 89 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::RealOutputPixelValueType = typename NumericTraits<RealOutputPixelType>::ValueType |
Definition at line 91 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::Self = GPUDiscreteGaussianImageFilter |
Standard class type aliases.
Definition at line 58 of file itkGPUDiscreteGaussianImageFilter.h.
using itk::GPUDiscreteGaussianImageFilter< TInputImage, TOutputImage >::SingleFilterType = GPUNeighborhoodOperatorImageFilter<InputImageType, OutputImageType, RealOutputPixelValueType> |
Definition at line 98 of file itkGPUDiscreteGaussianImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
overridevirtual |
What is the input requested region that is required to produce the output requested region? The base assumption for image processing filters is that the input requested region can be set to match the output requested region. If a filter requires more input (for instance a filter that uses neighborhoods needs more input than output to avoid introducing artificial boundary conditions) or less input (for instance a magnify filter) will have to override this method. In doing so, it should call its superclass' implementation as its first step. Note that imaging filters operate differently than the classes to this point in the class hierarchy. Up till now, the base assumption has been that the largest possible region will be requested of the input.
This implementation of GenerateInputRequestedRegion() only processes the inputs that are a subclass of the ImageBase<InputImageDimension>. If an input is another type of DataObject (including an Image of a different dimension), they are skipped by this method. The subclasses of ImageToImageFilter are responsible for providing an implementation of GenerateInputRequestedRegion() when there are multiple inputs of different types.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
overridevirtual |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
overrideprotectedvirtual |
Standard GPU pipeline method.
Reimplemented from itk::GPUImageToImageFilter< TInputImage, TOutputImage, DiscreteGaussianImageFilter< TInputImage, TOutputImage > >.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
staticconstexpr |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 76 of file itkGPUDiscreteGaussianImageFilter.h.
|
private |
Intermediate 1D Gaussian filters
Definition at line 117 of file itkGPUDiscreteGaussianImageFilter.h.
|
private |
Definition at line 119 of file itkGPUDiscreteGaussianImageFilter.h.
|
private |
Definition at line 118 of file itkGPUDiscreteGaussianImageFilter.h.
|
private |
Definition at line 120 of file itkGPUDiscreteGaussianImageFilter.h.