NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
This class calculates the gradient as per equation 3 in Das et. al. Neuroimage 45 (2009) 867-879. More...
Public Types | |
typedef DasGradientFilter | Self |
typedef ImageToImageFilter < Image< TScalarType, NDimensions >, Image< Vector < TScalarType, NDimensions > , NDimensions > > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
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) |
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.
typedef SmartPointer<const Self> itk::DasGradientFilter< TScalarType, NDimensions >::ConstPointer |
typedef ScalarImageToNormalizedGradientVectorImageFilter<InputImageType, TScalarType> itk::DasGradientFilter< TScalarType, NDimensions >::GradientFilterType |
typedef InputImageType::IndexType itk::DasGradientFilter< TScalarType, NDimensions >::InputImageIndexType |
typedef InputImageType::RegionType itk::DasGradientFilter< TScalarType, NDimensions >::InputImageRegionType |
typedef Image< TScalarType, NDimensions > itk::DasGradientFilter< TScalarType, NDimensions >::InputImageType |
Standard typedefs.
typedef LinearInterpolateImageFunction< InputImageType, TScalarType > itk::DasGradientFilter< TScalarType, NDimensions >::LinearInterpolatorType |
typedef VectorImageType itk::DasGradientFilter< TScalarType, NDimensions >::OutputImageType |
typedef VectorPixelType itk::DasGradientFilter< TScalarType, NDimensions >::OutputPixelType |
typedef SmartPointer<Self> itk::DasGradientFilter< TScalarType, NDimensions >::Pointer |
typedef DasGradientFilter itk::DasGradientFilter< TScalarType, NDimensions >::Self |
Standard "Self" typedef.
typedef ImageToImageFilter< Image< TScalarType, NDimensions>, Image< Vector<TScalarType, NDimensions>, NDimensions> > itk::DasGradientFilter< TScalarType, NDimensions >::Superclass |
typedef DasTransformImageFilter<TScalarType, NDimensions> itk::DasGradientFilter< TScalarType, NDimensions >::TransformImageFilterType |
typedef Image< VectorPixelType, NDimensions > itk::DasGradientFilter< TScalarType, NDimensions >::VectorImageType |
typedef VectorLinearInterpolateImageFunction<VectorImageType, TScalarType > itk::DasGradientFilter< TScalarType, NDimensions >::VectorInterpolatorType |
typedef Vector< TScalarType, NDimensions > itk::DasGradientFilter< TScalarType, NDimensions >::VectorPixelType |
|
protected |
|
inlineprotected |
|
protectedvirtual |
|
virtual |
Run-time type information (and related methods).
|
virtual |
|
virtual |
itk::DasGradientFilter< TScalarType, NDimensions >::itkStaticConstMacro | ( | Dimension | , |
unsigned | int, | ||
NDimensions | |||
) |
Get the number of dimensions we are working in.
|
static |
Method for creation through the object factory.
|
protected |
|
virtual |
Set/Get flag to switch gradient round. Default false
|
inline |
Set the current value of the transformation (phi).
|
virtual |
Set/Get flag where we multiply by either the gradient of the moving image, or the gradient of the transformed moving image.
|
protectedvirtual |