Wraps itk::GradientAnisotropicDiffusionImageFilter.
More...
#include <vtkvmtkAnisotropicDiffusionImageFilter.h>
Wraps itk::GradientAnisotropicDiffusionImageFilter.
vtkvmtkAnisotropicDiffusionImageFilter runs ITK's gradient anisotropic diffusion on a scalar vtkImageData (2D or 3D, any of the usual integer/floating-point scalar types when ITK < 5; only float/double when ITK >= 5, since the ITK filter requires a floating-point pixel type). Diffusion smooths within homogeneous regions while preserving edges, controlled by the number of iterations, the time step of each iteration, and the conductance parameter of the underlying diffusion equation. This is one of the vessel-enhancement methods offered by the vmtkimagesmoothing pype script (its "anisotropic" Method).
- See also
- vtkvmtkVesselEnhancingDiffusionImageFilter, vtkvmtkVesselEnhancingDiffusion3DImageFilter
Definition at line 46 of file vtkvmtkAnisotropicDiffusionImageFilter.h.
◆ Superclass
◆ vtkvmtkAnisotropicDiffusionImageFilter()
| vtkvmtkAnisotropicDiffusionImageFilter::vtkvmtkAnisotropicDiffusionImageFilter |
( |
| ) |
|
|
protected |
◆ ~vtkvmtkAnisotropicDiffusionImageFilter()
| vtkvmtkAnisotropicDiffusionImageFilter::~vtkvmtkAnisotropicDiffusionImageFilter |
( |
| ) |
|
|
inlineprotected |
◆ New()
◆ IsTypeOf()
| int vtkvmtkAnisotropicDiffusionImageFilter::IsTypeOf |
( |
const char * | type | ) |
|
|
static |
◆ IsA()
| virtual int vtkvmtkAnisotropicDiffusionImageFilter::IsA |
( |
const char * | type | ) |
|
|
virtual |
◆ SafeDownCast()
◆ NewInstanceInternal()
| virtual vtkObjectBase * vtkvmtkAnisotropicDiffusionImageFilter::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
◆ NewInstance()
◆ GetNumberOfIterations()
| virtual int vtkvmtkAnisotropicDiffusionImageFilter::GetNumberOfIterations |
( |
| ) |
|
|
virtual |
Set/get the number of anisotropic diffusion iterations applied to the image. Default: 5.
◆ SetNumberOfIterations()
| virtual void vtkvmtkAnisotropicDiffusionImageFilter::SetNumberOfIterations |
( |
int | | ) |
|
|
virtual |
Set/get the number of anisotropic diffusion iterations applied to the image. Default: 5.
◆ GetTimeStep()
| virtual double vtkvmtkAnisotropicDiffusionImageFilter::GetTimeStep |
( |
| ) |
|
|
virtual |
Set/get the time step of each diffusion iteration. Must be small enough relative to the image spacing and dimensionality to remain numerically stable (vmtkimagesmoothing computes a stable value automatically as pixel spacing / 2^(dimensionality+1) when its AutoCalculateTimeStep option is on). Default: 0.0625.
◆ SetTimeStep()
| virtual void vtkvmtkAnisotropicDiffusionImageFilter::SetTimeStep |
( |
double | | ) |
|
|
virtual |
Set/get the time step of each diffusion iteration. Must be small enough relative to the image spacing and dimensionality to remain numerically stable (vmtkimagesmoothing computes a stable value automatically as pixel spacing / 2^(dimensionality+1) when its AutoCalculateTimeStep option is on). Default: 0.0625.
◆ GetConductance()
| virtual double vtkvmtkAnisotropicDiffusionImageFilter::GetConductance |
( |
| ) |
|
|
virtual |
Set/get the conductance parameter of the underlying gradient anisotropic diffusion equation, controlling the sensitivity of the diffusion to image gradients (lower values preserve sharper edges). Default: 1.0.
◆ SetConductance()
| virtual void vtkvmtkAnisotropicDiffusionImageFilter::SetConductance |
( |
double | | ) |
|
|
virtual |
Set/get the conductance parameter of the underlying gradient anisotropic diffusion equation, controlling the sensitivity of the diffusion to image gradients (lower values preserve sharper edges). Default: 1.0.
◆ SimpleExecute()
| void vtkvmtkAnisotropicDiffusionImageFilter::SimpleExecute |
( |
vtkImageData * | input, |
|
|
vtkImageData * | output ) |
|
overrideprotectedvirtual |
Definition at line 210 of file vtkvmtkAnisotropicDiffusionImageFilter.cxx.
211{
212 int imageDimension = input->GetDataDimension();
213 int componentType = input->GetScalarType();
214
215 if( imageDimension == 2 )
216 {
217 FilterScalarImage< 2 >( input, output, componentType );
218 }
219 else if( imageDimension == 3 )
220 {
221 FilterScalarImage< 3 >(input, output, componentType );
222 }
223
224}
The documentation for this class was generated from the following files: