ITK
5.2.0
Insight Toolkit
|
#include <itkGradientRecursiveGaussianImageFilter.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 () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TInputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
std::vector< GaussianFilterPointer > | m_SmoothingFilters |
DerivativeFilterPointer | m_DerivativeFilter |
OutputImageAdaptorPointer | m_ImageAdaptor |
bool | m_NormalizeAcrossScale |
bool | m_UseImageDirection |
SigmaArrayType | m_Sigma |
void | SetSigmaArray (const SigmaArrayType &sigma) |
void | SetSigma (ScalarRealType sigma) |
SigmaArrayType | GetSigmaArray () const |
ScalarRealType | GetSigma () const |
void | SetNormalizeAcrossScale (bool normalize) |
virtual bool | GetNormalizeAcrossScale () const |
void | GenerateInputRequestedRegion () override |
virtual void | SetUseImageDirection (bool _arg) |
virtual bool | GetUseImageDirection () const |
virtual void | UseImageDirectionOn () |
virtual void | UseImageDirectionOff () |
GradientRecursiveGaussianImageFilter () | |
~GradientRecursiveGaussianImageFilter () override=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | GenerateData () override |
void | EnlargeOutputRequestedRegion (DataObject *output) override |
void | GenerateOutputInformation () override |
template<typename TValue > | |
void | TransformOutputPixel (ImageRegionIterator< VectorImage< TValue, ImageDimension >> &it) |
template<typename T > | |
void | TransformOutputPixel (ImageRegionIterator< T > &it) |
template<template< typename, unsigned int > class P, class T , unsigned int N> | |
void | TransformOutputPixel (ImageRegionIterator< Image< P< T, N >, N >> &it) |
Computes the gradient of an image by convolution with the first derivative of a Gaussian.
This filter is implemented using the recursive gaussian filters.
This filter supports both scalar and vector pixel types within the input image, including VectorImage type.
Definition at line 59 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 68 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::CovariantVectorType = CovariantVector<OutputComponentType, ImageDimension> |
Definition at line 124 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::DerivativeFilterPointer = typename DerivativeFilterType::Pointer |
Pointer to a derivative filter.
Definition at line 115 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::DerivativeFilterType = RecursiveGaussianImageFilter<InputImageType, RealImageType> |
Derivative filter type, it will be the first in the pipeline
Definition at line 109 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GaussianFilterPointer = typename GaussianFilterType::Pointer |
Pointer to a gaussian filter.
Definition at line 112 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GaussianFilterType = RecursiveGaussianImageFilter<RealImageType, RealImageType> |
Smoothing filter type
Definition at line 106 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GradientVectorType = CovariantVector<ScalarRealType, ImageDimension> |
Gradient vector type alias
Definition at line 86 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage |
Pixel Type of the input image. May be scalar or vector.
Definition at line 71 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::InternalRealType = typename NumericTraits<RealType>::FloatType |
Define the image type for internal computations RealType is usually 'double' in NumericTraits. Here we prefer float in order to save memory.
Definition at line 79 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::InternalScalarRealType = typename NumericTraits<InternalRealType>::ValueType |
Definition at line 80 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::OutputComponentType = typename NumericTraits<OutputPixelType>::ValueType |
Definition at line 123 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::OutputImageAdaptorPointer = typename OutputImageAdaptorType::Pointer |
Definition at line 100 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::OutputImageAdaptorType = NthElementImageAdaptor<TOutputImage, InternalScalarRealType> |
Output Image Nth Element Adaptor This adaptor allows to use conventional scalar smoothing filters to compute each one of the components of the gradient image pixels.
Definition at line 98 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::OutputImagePointer = typename TOutputImage::Pointer |
Pointer to the Output Image
Definition at line 118 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage |
Type of the output Image
Definition at line 121 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::OutputPixelType = typename OutputImageType::PixelType |
Definition at line 122 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::PixelType = typename TInputImage::PixelType |
Definition at line 72 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self> |
Definition at line 67 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::RealImageType = Image<InternalRealType, Self::ImageDimension> |
Define the image type for internal computations RealType is usually 'double' in NumericTraits. Here we prefer float in order to save memory.
Definition at line 91 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::RealType = typename NumericTraits<PixelType>::RealType |
Definition at line 73 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::ScalarRealType = typename NumericTraits<PixelType>::ScalarRealType |
Definition at line 74 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::Self = GradientRecursiveGaussianImageFilter |
Standard class type aliases.
Definition at line 65 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::SigmaArrayType = FixedArray<ScalarRealType, Self::ImageDimension> |
Define the type for the sigma array
Definition at line 103 of file itkGradientRecursiveGaussianImageFilter.h.
using itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::Superclass = ImageToImageFilter<TInputImage, TOutputImage> |
Definition at line 66 of file itkGradientRecursiveGaussianImageFilter.h.
|
protected |
Normalize the image across scale space
|
overrideprotecteddefault |
Normalize the image across scale space
|
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.
|
overrideprotectedvirtual |
Normalize the image across scale space
Reimplemented from itk::ProcessObject.
|
overrideprotectedvirtual |
Generate Data
Reimplemented from itk::ImageSource< TOutputImage >.
|
overridevirtual |
GradientRecursiveGaussianImageFilter needs all of the input to produce an output. Therefore, GradientRecursiveGaussianImageFilter needs to provide an implementation for GenerateInputRequestedRegion in order to inform the pipeline execution model.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
overrideprotectedvirtual |
Normalize the image across scale space
Reimplemented from itk::ProcessObject.
|
virtual |
Runtime information support.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Normalize the image across scale space
ScalarRealType itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GetSigma | ( | ) | const |
Normalize the image across scale space
SigmaArrayType itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::GetSigmaArray | ( | ) | const |
Normalize the image across scale space
|
virtual |
Normalize the image across scale space
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Normalize the image across scale space
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
void itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::SetNormalizeAcrossScale | ( | bool | normalize | ) |
Define which normalization factor will be used for the Gaussian
void itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::SetSigma | ( | ScalarRealType | sigma | ) |
Normalize the image across scale space
void itk::GradientRecursiveGaussianImageFilter< TInputImage, TOutputImage >::SetSigmaArray | ( | const SigmaArrayType & | sigma | ) |
Set Sigma value. Sigma is measured in the units of image spacing.
|
virtual |
The UseImageDirection flag determines whether the gradients are computed with respect to the image grid or with respect to the physical space. When this flag is ON the gradients are computed with respect to the coordinate system of physical space. The difference is whether we take into account the image Direction or not. The flag ON will take into account the image direction and will result in an extra matrix multiplication compared to the amount of computation performed when the flag is OFF. The default value of this flag is On.
|
inlineprivate |
Normalize the image across scale space
Definition at line 243 of file itkGradientRecursiveGaussianImageFilter.h.
|
inlineprivate |
Normalize the image across scale space
Definition at line 215 of file itkGradientRecursiveGaussianImageFilter.h.
References itk::ImageConstIterator< TImage >::Get(), itk::ImageConstIterator< TImage >::GetImage(), itk::NumericTraits< T >::GetLength(), itk::DefaultConvertPixelTraits< PixelType >::GetNthComponent(), itk::ImageRegionIterator< TImage >::Set(), and itk::DefaultConvertPixelTraits< PixelType >::SetNthComponent().
|
inlineprivate |
Normalize the image across scale space
Definition at line 203 of file itkGradientRecursiveGaussianImageFilter.h.
|
virtual |
Normalize the image across scale space
|
virtual |
Normalize the image across scale space
|
staticconstexpr |
Image dimension.
Definition at line 83 of file itkGradientRecursiveGaussianImageFilter.h.
|
private |
Normalize the image across scale space
Definition at line 252 of file itkGradientRecursiveGaussianImageFilter.h.
|
private |
Normalize the image across scale space
Definition at line 253 of file itkGradientRecursiveGaussianImageFilter.h.
|
private |
Normalize the image across scale space
Definition at line 256 of file itkGradientRecursiveGaussianImageFilter.h.
|
private |
Standard deviation of the gaussian
Definition at line 262 of file itkGradientRecursiveGaussianImageFilter.h.
|
private |
Normalize the image across scale space
Definition at line 251 of file itkGradientRecursiveGaussianImageFilter.h.
|
private |
Take into account image orientation when computing the Gradient
Definition at line 259 of file itkGradientRecursiveGaussianImageFilter.h.