DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <itkFunctorBaseVectorImageFilter.h>
Implements vector-valued generic operation on one image.
Calculation loops over image domain and extracts vectors along x/y/z/t-axis.
Mask can be a 3D image, or 4D image.
m_Functor is a functor with utl::Vector as input and utl::Vector as output. m_Functor needs to define GetOutputDimension to obtain the NumberOfComponentsPerPixel in output image.
Definition at line 37 of file itkFunctorBaseVectorImageFilter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef TFunction | FunctorType |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::IndexType | InputImageIndexType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef InputImageType::SizeType | InputImageSizeType |
typedef InputImageType::SpacingType | InputImageSpacingType |
typedef TInputImage | InputImageType |
typedef Superclass::MaskImageType | MaskImageType |
typedef OutputImageType::IndexType | OutputImageIndexType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef OutputImageType::SizeType | OutputImageSizeType |
typedef OutputImageType::SpacingType | OutputImageSpacingType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef FunctorBaseVectorImageFilter | Self |
typedef MaskedImageToImageFilter< TInputImage, TOutputImage, TMaskImage > | Superclass |
Public Types inherited from itk::MaskedImageToImageFilter< TInputImage, TOutputImage, TMaskImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::IndexType | InputImageIndexType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef InputImageType::SizeType | InputImageSizeType |
typedef InputImageType::SpacingType | InputImageSpacingType |
typedef TInputImage | InputImageType |
typedef LoggerType::Pointer | LoggerPointer |
typedef ThreadLogger | LoggerType |
typedef utl_shared_ptr< LoggerVectorType > | LoggerVectorPointer |
typedef std::vector< LoggerPointer > | LoggerVectorType |
typedef MaskImageType::Pointer | MaskImagePointer |
typedef TMaskImage | MaskImageType |
typedef OutputImageType::IndexType | OutputImageIndexType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef OutputImageType::SizeType | OutputImageSizeType |
typedef OutputImageType::SpacingType | OutputImageSpacingType |
typedef TOutputImage | OutputImageType |
typedef SmartPointer< Self > | Pointer |
typedef MaskedImageToImageFilter | Self |
typedef ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
FunctorType & | GetFunctor () |
const FunctorType & | GetFunctor () const |
virtual const char * | GetNameOfClass () const |
itkSetGetMacro (VectorAxis, int) | |
void | SetFunctor (const FunctorType &functor) |
Public Member Functions inherited from itk::MaskedImageToImageFilter< TInputImage, TOutputImage, TMaskImage > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const LoggerType * | GetLogger () const |
virtual const MaskImageType * | GetMaskImage () const |
bool | IsMaskUsed () |
itkGetObjectMacro (MaskImage, MaskImageType) | |
itkGetObjectMacro (Logger, LoggerType) | |
itkSetGetMacro (LogLevel, int) | |
virtual void | SetLogger (LoggerType *_arg) |
virtual void | SetMaskImage (MaskImageType *_arg) |
void | SetMaskImage (const std::string &file) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::MaskedImageToImageFilter< TInputImage, TOutputImage, TMaskImage > | |
static Pointer | New () |
Protected Member Functions | |
FunctorBaseVectorImageFilter () | |
LightObject::Pointer | InternalClone () const ITK_OVERRIDE |
void | PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE |
virtual | ~FunctorBaseVectorImageFilter () |
Protected Member Functions inherited from itk::MaskedImageToImageFilter< TInputImage, TOutputImage, TMaskImage > | |
void | CreateLoggerVector () |
virtual void | InitializeThreadedLibraries () |
LightObject::Pointer | InternalClone () const ITK_OVERRIDE |
MaskedImageToImageFilter () | |
std::string | ThreadIDToString () const |
virtual void | VerifyInputParameters () const |
virtual void | VerifyMaskInformation () const |
void | WriteLogger (const std::string &str, const LoggerBase::PriorityLevelType level=LoggerBase::DEBUG) const |
virtual | ~MaskedImageToImageFilter () |
Protected Attributes | |
FunctorType | m_Functor |
int | m_VectorAxis =3 |
Protected Attributes inherited from itk::MaskedImageToImageFilter< TInputImage, TOutputImage, TMaskImage > | |
LoggerPointer | m_Logger |
LoggerVectorPointer | m_LoggerVector |
int | m_LogLevel |
MaskImagePointer | m_MaskImage |
int | m_ThreadID |
Private Member Functions | |
FunctorBaseVectorImageFilter (const Self &) ITK_DELETE_FUNCTION | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
Additional Inherited Members | |
Static Public Attributes inherited from itk::MaskedImageToImageFilter< TInputImage, TOutputImage, TMaskImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
typedef SmartPointer< const Self > itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::ConstPointer |
Definition at line 45 of file itkFunctorBaseVectorImageFilter.h.
typedef TFunction itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::FunctorType |
Some typedefs.
Definition at line 51 of file itkFunctorBaseVectorImageFilter.h.
typedef InputImageType::ConstPointer itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::InputImageConstPointer |
Definition at line 58 of file itkFunctorBaseVectorImageFilter.h.
typedef InputImageType::IndexType itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::InputImageIndexType |
Definition at line 59 of file itkFunctorBaseVectorImageFilter.h.
typedef InputImageType::PixelType itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::InputImagePixelType |
Definition at line 62 of file itkFunctorBaseVectorImageFilter.h.
typedef InputImageType::Pointer itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::InputImagePointer |
Definition at line 57 of file itkFunctorBaseVectorImageFilter.h.
typedef InputImageType::RegionType itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::InputImageRegionType |
Definition at line 63 of file itkFunctorBaseVectorImageFilter.h.
typedef InputImageType::SizeType itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::InputImageSizeType |
Definition at line 60 of file itkFunctorBaseVectorImageFilter.h.
typedef InputImageType::SpacingType itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::InputImageSpacingType |
Definition at line 61 of file itkFunctorBaseVectorImageFilter.h.
typedef TInputImage itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::InputImageType |
Definition at line 56 of file itkFunctorBaseVectorImageFilter.h.
typedef Superclass::MaskImageType itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::MaskImageType |
Definition at line 73 of file itkFunctorBaseVectorImageFilter.h.
typedef OutputImageType::IndexType itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::OutputImageIndexType |
Definition at line 67 of file itkFunctorBaseVectorImageFilter.h.
typedef OutputImageType::PixelType itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::OutputImagePixelType |
Definition at line 70 of file itkFunctorBaseVectorImageFilter.h.
typedef OutputImageType::Pointer itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::OutputImagePointer |
Definition at line 66 of file itkFunctorBaseVectorImageFilter.h.
typedef OutputImageType::RegionType itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::OutputImageRegionType |
Definition at line 71 of file itkFunctorBaseVectorImageFilter.h.
typedef OutputImageType::SizeType itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::OutputImageSizeType |
Definition at line 68 of file itkFunctorBaseVectorImageFilter.h.
typedef OutputImageType::SpacingType itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::OutputImageSpacingType |
Definition at line 69 of file itkFunctorBaseVectorImageFilter.h.
typedef TOutputImage itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::OutputImageType |
Definition at line 65 of file itkFunctorBaseVectorImageFilter.h.
typedef SmartPointer< Self > itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::Pointer |
Definition at line 44 of file itkFunctorBaseVectorImageFilter.h.
typedef FunctorBaseVectorImageFilter itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::Self |
Standard class typedefs.
Definition at line 42 of file itkFunctorBaseVectorImageFilter.h.
typedef MaskedImageToImageFilter< TInputImage, TOutputImage, TMaskImage > itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::Superclass |
Definition at line 43 of file itkFunctorBaseVectorImageFilter.h.
|
inlineprotected |
Definition at line 100 of file itkFunctorBaseVectorImageFilter.h.
|
inlineprotectedvirtual |
Definition at line 104 of file itkFunctorBaseVectorImageFilter.h.
|
private |
virtual::itk::LightObject::Pointer itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::CreateAnother | ( | void | ) | const |
|
inline |
Get the functor object. The functor is returned by reference. (Functors do not have to derive from itk::LightObject, so they do not necessarily have a reference count. So we cannot return a SmartPointer.)
Definition at line 81 of file itkFunctorBaseVectorImageFilter.h.
|
inline |
Definition at line 82 of file itkFunctorBaseVectorImageFilter.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::MaskedImageToImageFilter< TInputImage, TOutputImage, TMaskImage >.
Reimplemented in itk::FunctorFromStringImageFilter< TInputImage, TOutputImage, TMaskImage >, itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >, and itk::UnaryFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >.
|
inlineprotected |
Definition at line 116 of file itkFunctorBaseVectorImageFilter.h.
itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::itkSetGetMacro | ( | VectorAxis | , |
int | |||
) |
|
static |
Method for creation through the object factory.
|
private |
|
inlineprotectedvirtual |
Reimplemented from itk::MaskedImageToImageFilter< TInputImage, TOutputImage, TMaskImage >.
Definition at line 109 of file itkFunctorBaseVectorImageFilter.h.
|
inline |
Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).
Definition at line 90 of file itkFunctorBaseVectorImageFilter.h.
|
protected |
Functor work on utl::Vector
Definition at line 131 of file itkFunctorBaseVectorImageFilter.h.
|
protected |
vector axis. 0/1/2/3 means x/y/z/t-axis
Definition at line 134 of file itkFunctorBaseVectorImageFilter.h.