DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <itkMultiVariableFunctorVectorImageFilter.h>
Implements vector-valued generic operation on one image.
Calculation loops over image domain and extracts vectors along x/y/z/t-axis.
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 33 of file itkMultiVariableFunctorVectorImageFilter.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 MultiVariableFunctorVectorImageFilter | Self |
typedef FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage > | Superclass |
Public Types inherited from itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage > | |
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 |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
FunctorType & | GetFunctor () |
const FunctorType & | GetFunctor () 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::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage > | |
static Pointer | New () |
Static Public Member Functions inherited from itk::MaskedImageToImageFilter< TInputImage, TOutputImage, TMaskImage > | |
static Pointer | New () |
Private Member Functions | |
MultiVariableFunctorVectorImageFilter (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 |
Protected Attributes inherited from itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage > | |
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 |
typedef SmartPointer< const Self > itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::ConstPointer |
Definition at line 41 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef TFunction itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::FunctorType |
Some typedefs.
Definition at line 47 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef InputImageType::ConstPointer itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::InputImageConstPointer |
Definition at line 54 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef InputImageType::IndexType itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::InputImageIndexType |
Definition at line 55 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef InputImageType::PixelType itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::InputImagePixelType |
Definition at line 58 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef InputImageType::Pointer itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::InputImagePointer |
Definition at line 53 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef InputImageType::RegionType itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::InputImageRegionType |
Definition at line 59 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef InputImageType::SizeType itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::InputImageSizeType |
Definition at line 56 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef InputImageType::SpacingType itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::InputImageSpacingType |
Definition at line 57 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef TInputImage itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::InputImageType |
Definition at line 52 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef Superclass::MaskImageType itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::MaskImageType |
Definition at line 69 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef OutputImageType::IndexType itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::OutputImageIndexType |
Definition at line 63 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef OutputImageType::PixelType itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::OutputImagePixelType |
Definition at line 66 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef OutputImageType::Pointer itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::OutputImagePointer |
Definition at line 62 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef OutputImageType::RegionType itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::OutputImageRegionType |
Definition at line 67 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef OutputImageType::SizeType itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::OutputImageSizeType |
Definition at line 64 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef OutputImageType::SpacingType itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::OutputImageSpacingType |
Definition at line 65 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef TOutputImage itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::OutputImageType |
Definition at line 61 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef SmartPointer< Self > itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::Pointer |
Definition at line 40 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef MultiVariableFunctorVectorImageFilter itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::Self |
Standard class typedefs.
Definition at line 38 of file itkMultiVariableFunctorVectorImageFilter.h.
typedef FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage > itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::Superclass |
Definition at line 39 of file itkMultiVariableFunctorVectorImageFilter.h.
|
protected |
Definition at line 25 of file itkMultiVariableFunctorVectorImageFilter.hxx.
|
inlineprotectedvirtual |
Definition at line 73 of file itkMultiVariableFunctorVectorImageFilter.h.
References ITK_OVERRIDE.
|
private |
|
protected |
Definition at line 75 of file itkMultiVariableFunctorVectorImageFilter.hxx.
References itk::GetVectorImageFullSize(), utl::IsLogDebug(), itkShowPositionThreadedLogger, and itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::ThreadedGenerateData().
Referenced by itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::GenerateOutputInformation().
virtual::itk::LightObject::Pointer itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::CreateAnother | ( | void | ) | const |
|
protectedvirtual |
Definition at line 34 of file itkMultiVariableFunctorVectorImageFilter.hxx.
References itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::BeforeThreadedGenerateData(), itk::CopyImageInformation(), itk::GetVectorImageFullSize(), utl::IsLogDebug(), itkShowPositionThreadedLogger, itk::SetVectorImageFullSize(), utlException, and utlSAGlobalException.
Referenced by itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::MultiVariableFunctorVectorImageFilter().
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::FunctorBaseVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >.
|
static |
Method for creation through the object factory.
|
private |
|
inlineprotectedvirtual |
Override Superclass::PropagateRequestedRegion. Otherwise, it may have region outside error.
Definition at line 78 of file itkMultiVariableFunctorVectorImageFilter.h.
References ITK_DELETE_FUNCTION, and ITK_OVERRIDE.
|
protected |
ThreadedGenerateData Performs the pixel-wise addition
Definition at line 96 of file itkMultiVariableFunctorVectorImageFilter.hxx.
References itk::CopyImageRegion(), itk::VectorImageRegionIteratorWithIndex< TImage >::GetVector(), itk::GetVectorImageVectorSize(), utl::IsLogDebug(), itkShowPositionThreadedLogger, utl::PrintUtlVector(), itk::PrintVariableLengthVector(), itk::VectorImageRegionIteratorWithIndex< TImage >::SetVector(), utlSAGlobalException, utl::UtlVectorToVariableLengthVector(), and utl::VariableLengthVectorToUtlVector().
Referenced by itk::MultiVariableFunctorVectorImageFilter< TInputImage, TOutputImage, TFunction, TMaskImage >::BeforeThreadedGenerateData().