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

This class takes two vector images as input (V and U), and calculates V + (lambda * U). More...

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

Public Types

typedef
VectorVPlusLambdaUImageFilter 
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 > 
InputPixelType
 
typedef Image< InputPixelType,
NDimensions > 
InputImageType
 
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 SetLambda (double _arg)
 
virtual double GetLambda ()
 
virtual void SetIgnoreInputV (bool _arg)
 
virtual bool GetIgnoreInputV ()
 
virtual void SetSubtractSteps (bool _arg)
 
virtual bool GetSubtractSteps ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 VectorVPlusLambdaUImageFilter ()
 
 ~VectorVPlusLambdaUImageFilter ()
 
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::VectorVPlusLambdaUImageFilter< TScalarType, NDimensions >

This class takes two vector images as input (V and U), and calculates V + (lambda * U).

Input 0 is assumed to be V, and input 1 is assumed to be U.

So output is Input1 + (lambda * Input2).

It was originally made to implement step 4 in Das et. al. NeuroImage 45 (2009) 867-879.

Member Typedef Documentation

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

Standard typedefs.

template<typename TScalarType , unsigned int NDimensions = 3>
typedef InputImageType itk::VectorVPlusLambdaUImageFilter< TScalarType, NDimensions >::OutputImageType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef InputPixelType itk::VectorVPlusLambdaUImageFilter< TScalarType, NDimensions >::OutputPixelType
template<typename TScalarType , unsigned int NDimensions = 3>
typedef SmartPointer<Self> itk::VectorVPlusLambdaUImageFilter< TScalarType, NDimensions >::Pointer
template<typename TScalarType , unsigned int NDimensions = 3>
typedef VectorVPlusLambdaUImageFilter itk::VectorVPlusLambdaUImageFilter< TScalarType, NDimensions >::Self

Standard "Self" typedef.

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Run-time type information (and related methods).

template<typename TScalarType , unsigned int NDimensions = 3>
virtual bool itk::VectorVPlusLambdaUImageFilter< TScalarType, NDimensions >::GetIgnoreInputV ( )
virtual
template<typename TScalarType , unsigned int NDimensions = 3>
virtual double itk::VectorVPlusLambdaUImageFilter< TScalarType, NDimensions >::GetLambda ( )
virtual
template<typename TScalarType , unsigned int NDimensions = 3>
virtual bool itk::VectorVPlusLambdaUImageFilter< TScalarType, NDimensions >::GetSubtractSteps ( )
virtual
template<typename TScalarType , unsigned int NDimensions = 3>
itk::VectorVPlusLambdaUImageFilter< 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::VectorVPlusLambdaUImageFilter< TScalarType, NDimensions >::New ( )
static

Method for creation through the object factory.

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

If false (the default), we compute Output = V + Lambda * U, if true, we compute Output = Lambda * U.

template<typename TScalarType , unsigned int NDimensions = 3>
virtual void itk::VectorVPlusLambdaUImageFilter< TScalarType, NDimensions >::SetLambda ( double  _arg)
virtual

Set/Get Lambda. Default 1.

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

Set/Get flag to subtract lambda u instead of adding. Default false, so we add lambda u

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

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