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::InterpolateVectorFieldFilter< TScalarType, NDimensions > Class Template Reference

This class takes a vector field as input 1, and a vector field as input 2, and the output is a vector field, of the same dimensions as input 2, where the vector at each location is interpolated from input 1. More...

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

Public Types

typedef
InterpolateVectorFieldFilter 
Self
 
typedef ImageToImageFilter
< Image< Vector< TScalarType,
NDimensions >, NDimensions >
, Image< Vector< TScalarType,
NDimensions >, NDimensions > > 
Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef Vector< TScalarType,
NDimensions > 
OutputPixelType
 
typedef OutputPixelType::ValueType OutputPixelComponentType
 
typedef Image< OutputPixelType,
NDimensions > 
OutputImageType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef
OutputImageType::ConstPointer 
OutputImageConstPointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef
OutputImageType::SpacingType 
OutputImageSpacingType
 
typedef OutputImageType::PointType OutputImageOriginType
 
typedef
OutputImageRegionType::SizeType 
OutputImageSizeType
 
typedef
OutputImageRegionType::IndexType 
OutputImageIndexType
 
typedef Superclass::InputImageType InputImageType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef
VectorInterpolateImageFunction
< Image< Vector< TScalarType,
NDimensions >, NDimensions >
, TScalarType > 
InterpolatorType
 
typedef InterpolatorType::Pointer InterpolatorPointer
 
typedef InterpolatorType::PointType PointType
 

Public Member Functions

virtual const char * GetClassName () const
 
 itkStaticConstMacro (Dimension, unsigned int, NDimensions)
 
virtual void SetInterpolatedField (const InputImageType *image)
 
virtual void SetInterpolatingField (const InputImageType *image)
 
virtual void SetNthInput (unsigned int idx, const InputImageType *)
 
virtual void SetInterpolator (InterpolatorType *_arg)
 
virtual const InterpolatorTypeGetInterpolator ()
 
virtual void SetDefaultPixelValue (OutputPixelType _arg)
 
virtual OutputPixelType GetDefaultPixelValue ()
 
unsigned long GetMTime (void) const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 InterpolateVectorFieldFilter ()
 
 ~InterpolateVectorFieldFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void BeforeThreadedGenerateData ()
 
virtual void AfterThreadedGenerateData ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputInformation ()
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual void VerifyInputInformation ()
 

Detailed Description

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

This class takes a vector field as input 1, and a vector field as input 2, and the output is a vector field, of the same dimensions as input 2, where the vector at each location is interpolated from input 1.

Defaults to Linear Interpolation, but you can inject an interpolator.

See also
VectorResampleImageFilter

Member Typedef Documentation

template<class TScalarType , unsigned int NDimensions = 3>
typedef SmartPointer<const Self> itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::ConstPointer
template<class TScalarType , unsigned int NDimensions = 3>
typedef InputImageType::ConstPointer itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::InputImageConstPointer
template<class TScalarType , unsigned int NDimensions = 3>
typedef InputImageType::Pointer itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::InputImagePointer
template<class TScalarType , unsigned int NDimensions = 3>
typedef InputImageType::RegionType itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::InputImageRegionType
template<class TScalarType , unsigned int NDimensions = 3>
typedef Superclass::InputImageType itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::InputImageType
template<class TScalarType , unsigned int NDimensions = 3>
typedef InterpolatorType::Pointer itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::InterpolatorPointer
template<class TScalarType , unsigned int NDimensions = 3>
typedef VectorInterpolateImageFunction< Image< Vector<TScalarType, NDimensions>, NDimensions >, TScalarType> itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::InterpolatorType
template<class TScalarType , unsigned int NDimensions = 3>
typedef OutputImageType::ConstPointer itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::OutputImageConstPointer
template<class TScalarType , unsigned int NDimensions = 3>
typedef OutputImageRegionType::IndexType itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::OutputImageIndexType
template<class TScalarType , unsigned int NDimensions = 3>
typedef OutputImageType::PointType itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::OutputImageOriginType
template<class TScalarType , unsigned int NDimensions = 3>
typedef OutputImageType::Pointer itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::OutputImagePointer
template<class TScalarType , unsigned int NDimensions = 3>
typedef OutputImageType::RegionType itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::OutputImageRegionType
template<class TScalarType , unsigned int NDimensions = 3>
typedef OutputImageRegionType::SizeType itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::OutputImageSizeType
template<class TScalarType , unsigned int NDimensions = 3>
typedef OutputImageType::SpacingType itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::OutputImageSpacingType
template<class TScalarType , unsigned int NDimensions = 3>
typedef Image< OutputPixelType, NDimensions > itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::OutputImageType
template<class TScalarType , unsigned int NDimensions = 3>
typedef OutputPixelType::ValueType itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::OutputPixelComponentType
template<class TScalarType , unsigned int NDimensions = 3>
typedef Vector<TScalarType, NDimensions> itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::OutputPixelType

Standard typedefs.

template<class TScalarType , unsigned int NDimensions = 3>
typedef SmartPointer<Self> itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::Pointer
template<class TScalarType , unsigned int NDimensions = 3>
typedef InterpolatorType::PointType itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::PointType
template<class TScalarType , unsigned int NDimensions = 3>
typedef InterpolateVectorFieldFilter itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::Self

Standard "Self" typedef.

template<class TScalarType , unsigned int NDimensions = 3>
typedef ImageToImageFilter< Image< Vector<TScalarType, NDimensions>, NDimensions>, Image< Vector<TScalarType, NDimensions>, NDimensions> > itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::Superclass

Constructor & Destructor Documentation

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

Member Function Documentation

template<class TScalarType , unsigned int NDimensions = 3>
virtual void itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::AfterThreadedGenerateData ( )
protectedvirtual

This method is used to set the state of the filter after multi-threading. i.e. Disconnect interpolator.

template<class TScalarType , unsigned int NDimensions = 3>
virtual void itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::BeforeThreadedGenerateData ( )
protectedvirtual

This method is used to set the state of the filter before multi-threading. i.e. Connect interpolator.

template<class TScalarType , unsigned int NDimensions = 3>
virtual void itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::GenerateInputRequestedRegion ( )
protectedvirtual

Force the filter to request LargestPossibleRegion on all inputs, which may be a different size.

template<class TScalarType , unsigned int NDimensions = 3>
virtual void itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::GenerateOutputInformation ( )
protectedvirtual

Force filter to create the output buffer at LargestPossibleRegion, same size as 2nd input.

template<class TScalarType , unsigned int NDimensions = 3>
virtual const char* itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

template<class TScalarType , unsigned int NDimensions = 3>
virtual OutputPixelType itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::GetDefaultPixelValue ( )
virtual

Get the pixel value when a transformed pixel is outside of the image

template<class TScalarType , unsigned int NDimensions = 3>
virtual const InterpolatorType* itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::GetInterpolator ( )
virtual

Get a pointer to the interpolator function.

template<class TScalarType , unsigned int NDimensions = 3>
unsigned long itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::GetMTime ( void  ) const

Method Compute the Modified Time based on changed to the components.

template<class TScalarType , unsigned int NDimensions = 3>
itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::itkStaticConstMacro ( Dimension  ,
unsigned  int,
NDimensions   
)

Get the number of dimensions we are working in.

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

Method for creation through the object factory.

template<class TScalarType , unsigned int NDimensions = 3>
void itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<class TScalarType , unsigned int NDimensions = 3>
virtual void itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::SetDefaultPixelValue ( OutputPixelType  _arg)
virtual

Set the pixel value when a transformed pixel is outside of the image. The default default pixel value is 0.

template<class TScalarType , unsigned int NDimensions = 3>
virtual void itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::SetInterpolatedField ( const InputImageType image)
inlinevirtual

Set the interpolated field at position 0.

template<class TScalarType , unsigned int NDimensions = 3>
virtual void itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::SetInterpolatingField ( const InputImageType image)
inlinevirtual

Set the interpolating field at position 1

template<class TScalarType , unsigned int NDimensions = 3>
virtual void itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::SetInterpolator ( InterpolatorType _arg)
virtual

Set the interpolator.

template<class TScalarType , unsigned int NDimensions = 3>
virtual void itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::SetNthInput ( unsigned int  idx,
const InputImageType  
)
virtual

We set the input images by number.

template<class TScalarType , unsigned int NDimensions = 3>
virtual void itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
ThreadIdType  threadId 
)
protectedvirtual

Yes, this one's multi-threaded.

template<class TScalarType , unsigned int NDimensions = 3>
virtual void itk::InterpolateVectorFieldFilter< TScalarType, NDimensions >::VerifyInputInformation ( )
protectedvirtual

Base class checks that all inputs have the same size. We don't want this.


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