Wraps itk::GradientMagnitudeRecursiveGaussian2DImageFilter.
More...
#include <vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter.h>
Wraps itk::GradientMagnitudeRecursiveGaussian2DImageFilter.
The 2D counterpart of vtkvmtkGradientMagnitudeRecursiveGaussianImageFilter: computes the magnitude of the gradient of a single 2D image slice after Gaussian smoothing at scale Sigma, using ITK's recursive Gaussian derivative implementation.
- See also
- vtkvmtkGradientMagnitudeRecursiveGaussianImageFilter
Definition at line 40 of file vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter.h.
◆ Superclass
◆ vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter()
| vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter::vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter |
( |
| ) |
|
|
protected |
◆ ~vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter()
| vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter::~vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter |
( |
| ) |
|
|
inlineprotected |
◆ New()
◆ IsTypeOf()
| int vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter::IsTypeOf |
( |
const char * | type | ) |
|
|
static |
◆ IsA()
| virtual int vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter::IsA |
( |
const char * | type | ) |
|
|
virtual |
◆ SafeDownCast()
◆ NewInstanceInternal()
| virtual vtkObjectBase * vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
◆ NewInstance()
◆ GetSigma()
| virtual double vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter::GetSigma |
( |
| ) |
|
|
virtual |
Set/Get the standard deviation of the Gaussian used to smooth the image before differentiating, in the same physical units as the image spacing.
◆ SetSigma()
| virtual void vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter::SetSigma |
( |
double | | ) |
|
|
virtual |
Set/Get the standard deviation of the Gaussian used to smooth the image before differentiating, in the same physical units as the image spacing.
◆ GetNormalizeAcrossScale()
| virtual int vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter::GetNormalizeAcrossScale |
( |
| ) |
|
|
virtual |
Toggle normalizing the derivative across scale space (ITK's SetNormalizeAcrossScale), which keeps gradient magnitudes comparable across different Sigma values. Default: off.
◆ SetNormalizeAcrossScale()
| virtual void vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter::SetNormalizeAcrossScale |
( |
int | | ) |
|
|
virtual |
Toggle normalizing the derivative across scale space (ITK's SetNormalizeAcrossScale), which keeps gradient magnitudes comparable across different Sigma values. Default: off.
◆ NormalizeAcrossScaleOn()
| virtual void vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter::NormalizeAcrossScaleOn |
( |
| ) |
|
|
virtual |
Toggle normalizing the derivative across scale space (ITK's SetNormalizeAcrossScale), which keeps gradient magnitudes comparable across different Sigma values. Default: off.
◆ NormalizeAcrossScaleOff()
| virtual void vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter::NormalizeAcrossScaleOff |
( |
| ) |
|
|
virtual |
Toggle normalizing the derivative across scale space (ITK's SetNormalizeAcrossScale), which keeps gradient magnitudes comparable across different Sigma values. Default: off.
◆ SimpleExecute()
| void vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter::SimpleExecute |
( |
vtkImageData * | input, |
|
|
vtkImageData * | output ) |
|
overrideprotectedvirtual |
Definition at line 41 of file vtkvmtkGradientMagnitudeRecursiveGaussian2DImageFilter.cxx.
42{
43 typedef itk::Image<float,2> ImageType;
44
45 ImageType::Pointer inImage = ImageType::New();
46
48
49 typedef itk::GradientMagnitudeRecursiveGaussianImageFilter<ImageType,ImageType> GradientMagnitudeFilterType;
50
51 GradientMagnitudeFilterType::Pointer gradientMagnitudeFilter = GradientMagnitudeFilterType::New();
52 gradientMagnitudeFilter->SetInput(inImage);
53 gradientMagnitudeFilter->SetSigma(this->Sigma);
54 gradientMagnitudeFilter->SetNormalizeAcrossScale(this->NormalizeAcrossScale);
55 gradientMagnitudeFilter->Update();
56
58}
static void ITKToVTKImage(typename TImage::Pointer input, vtkImageData *output)
static void VTKToITKImage(vtkImageData *input, typename TImage::Pointer output)
The documentation for this class was generated from the following files: