NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
This class takes a vector field and normalises each vector to unit length. More...
Public Types | |
typedef NormaliseVectorFilter | Self |
typedef ImageToImageFilter < Image< Vector< TScalarType, NDimensions >, NDimensions > , Image< Vector< TScalarType, NDimensions >, NDimensions > > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Vector< TScalarType, NDimensions > | InputPixelType |
typedef Image< InputPixelType, NDimensions > | InputImageType |
typedef Image< TScalarType, NDimensions > | InputScalarImageType |
typedef InputImageType::IndexType | InputImageIndexType |
typedef InputImageType::RegionType | InputImageRegionType |
typedef InputPixelType | OutputPixelType |
typedef InputImageType | OutputImageType |
Public Member Functions | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (Dimension, unsigned int, NDimensions) | |
virtual void | SetNormalise (bool _arg) |
virtual bool | GetNormalise () |
virtual void | SetLengthTolerance (double _arg) |
virtual double | GetLengthTolerance () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
NormaliseVectorFilter () | |
~NormaliseVectorFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | ThreadedGenerateData (const InputImageRegionType &outputRegionForThread, ThreadIdType threadId) |
This class takes a vector field and normalises each vector to unit length.
typedef SmartPointer<const Self> itk::NormaliseVectorFilter< TScalarType, NDimensions >::ConstPointer |
typedef InputImageType::IndexType itk::NormaliseVectorFilter< TScalarType, NDimensions >::InputImageIndexType |
typedef InputImageType::RegionType itk::NormaliseVectorFilter< TScalarType, NDimensions >::InputImageRegionType |
typedef Image< InputPixelType, NDimensions > itk::NormaliseVectorFilter< TScalarType, NDimensions >::InputImageType |
typedef Vector< TScalarType, NDimensions > itk::NormaliseVectorFilter< TScalarType, NDimensions >::InputPixelType |
Standard typedefs.
typedef Image< TScalarType, NDimensions > itk::NormaliseVectorFilter< TScalarType, NDimensions >::InputScalarImageType |
typedef InputImageType itk::NormaliseVectorFilter< TScalarType, NDimensions >::OutputImageType |
typedef InputPixelType itk::NormaliseVectorFilter< TScalarType, NDimensions >::OutputPixelType |
typedef SmartPointer<Self> itk::NormaliseVectorFilter< TScalarType, NDimensions >::Pointer |
typedef NormaliseVectorFilter itk::NormaliseVectorFilter< TScalarType, NDimensions >::Self |
Standard "Self" typedef.
typedef ImageToImageFilter<Image< Vector<TScalarType, NDimensions>, NDimensions>, Image< Vector<TScalarType, NDimensions>, NDimensions> > itk::NormaliseVectorFilter< TScalarType, NDimensions >::Superclass |
|
protected |
|
inlineprotected |
|
virtual |
Run-time type information (and related methods).
|
virtual |
|
virtual |
itk::NormaliseVectorFilter< 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 the tolerance of the length. If the length of a vector is less than this tolerance, we just set the output to zero.
|
virtual |
Set/Get the normalise flag. If off/false, then filter simply passess vectors through. Default true.
|
protectedvirtual |