NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
itk::DasGradientFilter< TScalarType, NDimensions > Class Template Reference

This class calculates the gradient as per equation 3 in Das et. al. Neuroimage 45 (2009) 867-879. More...

Inheritance diagram for itk::DasGradientFilter< TScalarType, NDimensions >:
Inheritance graph
[legend]
Collaboration diagram for itk::DasGradientFilter< TScalarType, NDimensions >:
Collaboration graph
[legend]

Public Types

typedef DasGradientFilter Self
 
typedef ImageToImageFilter
< Image< TScalarType,
NDimensions >, Image< Vector
< TScalarType, NDimensions >
, NDimensions > > 
Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef Image< TScalarType,
NDimensions > 
InputImageType
 
typedef InputImageType::IndexType InputImageIndexType
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef Vector< TScalarType,
NDimensions > 
VectorPixelType
 
typedef Image< VectorPixelType,
NDimensions > 
VectorImageType
 
typedef VectorPixelType OutputPixelType
 
typedef VectorImageType OutputImageType
 
typedef
VectorLinearInterpolateImageFunction
< VectorImageType, TScalarType > 
VectorInterpolatorType
 
typedef
LinearInterpolateImageFunction
< InputImageType, TScalarType > 
LinearInterpolatorType
 
typedef
ScalarImageToNormalizedGradientVectorImageFilter
< InputImageType, TScalarType > 
GradientFilterType
 
typedef
DasTransformImageFilter
< TScalarType, NDimensions > 
TransformImageFilterType
 

Public Member Functions

virtual const char * GetClassName () const
 
 itkStaticConstMacro (Dimension, unsigned int, NDimensions)
 
void SetTransformation (VectorImageType *image)
 
virtual void SetReverseGradient (bool _arg)
 
virtual bool GetReverseGradient ()
 
virtual void SetUseGradientTransformedMovingImage (bool _arg)
 
virtual bool GetUseGradientTransformedMovingImage ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 DasGradientFilter ()
 
 ~DasGradientFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void BeforeThreadedGenerateData ()
 
virtual void ThreadedGenerateData (const InputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 

Detailed Description

template<typename TScalarType, unsigned int NDimensions = 3>
class itk::DasGradientFilter< TScalarType, NDimensions >

This class calculates the gradient as per equation 3 in Das et. al. Neuroimage 45 (2009) 867-879.

The inputs should be exactly as follows

1. WM PV map, set using SetInput(0, image)
2. G+W PV map, set using SetInput(1, image)
3. Thickness prior map, set using SetInput(2, image)
4. Thickness image, set using SetInput(3, image)
5. Phi transformation, set using SetTransformation(image) as this is a vector image.
See also
VectorVPlusLambdaUImageFilter.

Member Typedef Documentation

template<typename TScalarType , unsigned int NDimensions = 3>
typedef SmartPointer<const Self> itk::DasGradientFilter< TScalarType, NDimensions >::ConstPointer
template<typename TScalarType , unsigned int NDimensions = 3>
typedef ScalarImageToNormalizedGradientVectorImageFilter<InputImageType, TScalarType> itk::DasGradientFilter< TScalarType, NDimensions >::GradientFilterType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef InputImageType::IndexType itk::DasGradientFilter< TScalarType, NDimensions >::InputImageIndexType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef InputImageType::RegionType itk::DasGradientFilter< TScalarType, NDimensions >::InputImageRegionType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef Image< TScalarType, NDimensions > itk::DasGradientFilter< TScalarType, NDimensions >::InputImageType

Standard typedefs.

template<typename TScalarType , unsigned int NDimensions = 3>
typedef LinearInterpolateImageFunction< InputImageType, TScalarType > itk::DasGradientFilter< TScalarType, NDimensions >::LinearInterpolatorType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef VectorImageType itk::DasGradientFilter< TScalarType, NDimensions >::OutputImageType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef VectorPixelType itk::DasGradientFilter< TScalarType, NDimensions >::OutputPixelType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef SmartPointer<Self> itk::DasGradientFilter< TScalarType, NDimensions >::Pointer
template<typename TScalarType , unsigned int NDimensions = 3>
typedef DasGradientFilter itk::DasGradientFilter< TScalarType, NDimensions >::Self

Standard "Self" typedef.

template<typename TScalarType , unsigned int NDimensions = 3>
typedef ImageToImageFilter< Image< TScalarType, NDimensions>, Image< Vector<TScalarType, NDimensions>, NDimensions> > itk::DasGradientFilter< TScalarType, NDimensions >::Superclass
template<typename TScalarType , unsigned int NDimensions = 3>
typedef DasTransformImageFilter<TScalarType, NDimensions> itk::DasGradientFilter< TScalarType, NDimensions >::TransformImageFilterType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef Image< VectorPixelType, NDimensions > itk::DasGradientFilter< TScalarType, NDimensions >::VectorImageType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef VectorLinearInterpolateImageFunction<VectorImageType, TScalarType > itk::DasGradientFilter< TScalarType, NDimensions >::VectorInterpolatorType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef Vector< TScalarType, NDimensions > itk::DasGradientFilter< TScalarType, NDimensions >::VectorPixelType

Constructor & Destructor Documentation

template<typename TScalarType , unsigned int NDimensions = 3>
itk::DasGradientFilter< TScalarType, NDimensions >::DasGradientFilter ( )
protected
template<typename TScalarType , unsigned int NDimensions = 3>
itk::DasGradientFilter< TScalarType, NDimensions >::~DasGradientFilter ( )
inlineprotected

Member Function Documentation

template<typename TScalarType , unsigned int NDimensions = 3>
virtual void itk::DasGradientFilter< TScalarType, NDimensions >::BeforeThreadedGenerateData ( )
protectedvirtual
template<typename TScalarType , unsigned int NDimensions = 3>
virtual const char* itk::DasGradientFilter< TScalarType, NDimensions >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

template<typename TScalarType , unsigned int NDimensions = 3>
virtual bool itk::DasGradientFilter< TScalarType, NDimensions >::GetReverseGradient ( )
virtual
template<typename TScalarType , unsigned int NDimensions = 3>
virtual bool itk::DasGradientFilter< TScalarType, NDimensions >::GetUseGradientTransformedMovingImage ( )
virtual
template<typename TScalarType , unsigned int NDimensions = 3>
itk::DasGradientFilter< TScalarType, NDimensions >::itkStaticConstMacro ( Dimension  ,
unsigned  int,
NDimensions   
)

Get the number of dimensions we are working in.

template<typename TScalarType , unsigned int NDimensions = 3>
static Pointer itk::DasGradientFilter< TScalarType, NDimensions >::New ( )
static

Method for creation through the object factory.

template<typename TScalarType , unsigned int NDimensions = 3>
void itk::DasGradientFilter< TScalarType, NDimensions >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<typename TScalarType , unsigned int NDimensions = 3>
virtual void itk::DasGradientFilter< TScalarType, NDimensions >::SetReverseGradient ( bool  _arg)
virtual

Set/Get flag to switch gradient round. Default false

template<typename TScalarType , unsigned int NDimensions = 3>
void itk::DasGradientFilter< TScalarType, NDimensions >::SetTransformation ( VectorImageType image)
inline

Set the current value of the transformation (phi).

template<typename TScalarType , unsigned int NDimensions = 3>
virtual void itk::DasGradientFilter< TScalarType, NDimensions >::SetUseGradientTransformedMovingImage ( bool  _arg)
virtual

Set/Get flag where we multiply by either the gradient of the moving image, or the gradient of the transformed moving image.

template<typename TScalarType , unsigned int NDimensions = 3>
virtual void itk::DasGradientFilter< TScalarType, NDimensions >::ThreadedGenerateData ( const InputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
)
protectedvirtual

The documentation for this class was generated from the following file: