ANIMA  4.0
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType > Class Template Reference

#include <animaMCMResampleImageFilter.h>

+ Inheritance diagram for anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >:
+ Collaboration diagram for anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::InputPixelType InputPixelType
 
typedef MCModelType::Pointer MCModelPointer
 
typedef anima::MultiCompartmentModel MCModelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef MCMResampleImageFilter Self
 
typedef OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType > Superclass
 
- Public Types inherited from anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef InterpolatorType::ContinuousIndexType ContinuousIndexType
 
typedef TOutputImage::DirectionType DirectionType
 
typedef GeometryImageType::Pointer GeometryImagePointer
 
typedef itk::Image< unsigned char, itkGetStaticConstMacro(ImageDimension)> GeometryImageType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef TImageType InputImageType
 
typedef InputImageType::IndexType InputIndexType
 
typedef InputImageType::PixelType InputPixelType
 
typedef InputImageType::PointType InputPointType
 
typedef InterpolatorType::Pointer InterpolatorPointer
 
typedef itk::InterpolateImageFunction< InputImageType, TInterpolatorPrecisionType > InterpolatorType
 
typedef TOutputImage::PointType OriginPointType
 
typedef TOutputImage::Pointer OutputImagePointer
 
typedef TOutputImage::RegionType OutputImageRegionType
 
typedef itk::SmartPointer< SelfPointer
 
typedef InterpolatorType::PointType PointType
 
typedef TOutputImage::RegionType RegionType
 
typedef OrientedModelBaseResampleImageFilter Self
 
typedef TOutputImage::SpacingType SpacingType
 
typedef anima::MaskedImageToImageFilter< TImageType, TImageType > Superclass
 
typedef TImageType TOutputImage
 
typedef TransformType::Pointer TransformPointer
 
typedef itk::Transform< TInterpolatorPrecisionType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension)> TransformType
 
- Public Types inherited from anima::MaskedImageToImageFilter< TImageType, TImageType >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::InputImageRegionType InputImageRegionType
 
typedef MaskImageType::Pointer MaskImagePointer
 
typedef itk::Image< unsigned char, TImageType ::ImageDimension > MaskImageType
 
typedef MaskImageType::IndexType MaskIndexType
 
typedef MaskImageType::RegionType MaskRegionType
 
typedef MaskImageType::SizeType MaskSizeType
 
typedef Superclass::OutputImageRegionType OutputImageRegionType
 
typedef itk::SmartPointer< SelfPointer
 
typedef MaskedImageToImageFilter Self
 
typedef anima::NumberedThreadImageToImageFilter< TImageType, TImageType > Superclass
 
typedef itk::ImageSource< TImageType >::ThreadStruct ThreadStruct
 
- Public Types inherited from anima::NumberedThreadImageToImageFilter< TImageType, TImageType >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::OutputImageRegionType OutputImageRegionType
 
typedef itk::SmartPointer< SelfPointer
 
typedef NumberedThreadImageToImageFilter Self
 
typedef itk::ImageToImageFilter< TImageType, TImageType > Superclass
 
typedef itk::ImageSource< TImageType >::ThreadStruct ThreadStruct
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
void SetReferenceOutputModel (const MCModelPointer &model)
 Sets reference output MCM model, necessary to determine output organization (and rotate) More...
 
- Public Member Functions inherited from anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >
virtual bool GetFiniteStrainReorientation ()
 
virtual InterpolatorTypeGetInterpolator ()
 
virtual const DirectionTypeGetOutputDirection () const
 
virtual const RegionTypeGetOutputLargestPossibleRegion () const
 
virtual const OriginPointTypeGetOutputOrigin () const
 
virtual const SpacingTypeGetOutputSpacing () const
 
 itkGetObjectMacro (Transform, TransformType) virtual void SetInterpolator(InterpolatorPointer _arg)
 
virtual void SetFiniteStrainReorientation (bool _arg)
 
virtual void SetOutputDirection (DirectionType _arg)
 
virtual void SetOutputLargestPossibleRegion (RegionType _arg)
 
virtual void SetOutputOrigin (OriginPointType _arg)
 
virtual void SetOutputSpacing (SpacingType _arg)
 
virtual void SetTransform (TransformType *_arg)
 
- Public Member Functions inherited from anima::MaskedImageToImageFilter< TImageType, TImageType >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual MaskImageTypeGetComputationMask ()
 
virtual void SetComputationMask (MaskImagePointer _arg)
 
- Public Member Functions inherited from anima::NumberedThreadImageToImageFilter< TImageType, TImageType >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual OutputImageRegionType GetComputationRegion ()
 
virtual void SetComputationRegion (OutputImageRegionType _arg)
 
virtual void SetNumberOfPointsToProcess (unsigned int _arg)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from anima::MaskedImageToImageFilter< TImageType, TImageType >
static Pointer New ()
 
- Static Public Member Functions inherited from anima::NumberedThreadImageToImageFilter< TImageType, TImageType >
static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = InputImageType::ImageDimension
 
- Static Public Attributes inherited from anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >
static const unsigned int ImageDimension = InputImageType::ImageDimension
 
- Static Public Attributes inherited from anima::NumberedThreadImageToImageFilter< TImageType, TImageType >
static constexpr unsigned int OutputImageDimension
 

Protected Member Functions

virtual void BeforeThreadedGenerateData () ITK_OVERRIDE
 
virtual unsigned int GetOutputVectorLength () ITK_OVERRIDE
 
virtual void InitializeInterpolator () ITK_OVERRIDE
 Initializes the default interpolator, might change in derived classes. More...
 
virtual itk::LightObject::Pointer InternalClone () const ITK_OVERRIDE
 
 MCMResampleImageFilter ()
 
virtual void ReorientInterpolatedModel (const InputPixelType &interpolatedModel, vnl_matrix< double > &modelOrientationMatrix, InputPixelType &orientedModel, itk::ThreadIdType threadId) ITK_OVERRIDE
 Needs to be implemented in sub-classes, does the actual re-orientation of the model. More...
 
virtual ~MCMResampleImageFilter ()
 
- Protected Member Functions inherited from anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >
vnl_matrix< double > ComputeLinearJacobianMatrix ()
 
void ComputeLocalJacobianMatrix (InputIndexType &index, vnl_matrix< double > &reorientationMatrix)
 
virtual void ComputeRotationParametersFromReorientationMatrix (vnl_matrix< double > &reorientationMatrix, vnl_matrix< double > &modelOrientationMatrix)
 
void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) ITK_OVERRIDE
 
virtual void GenerateInputRequestedRegion () ITK_OVERRIDE
 
virtual void GenerateOutputInformation () ITK_OVERRIDE
 
template<class T >
void InitializeZeroPixel (itk::VariableLengthVector< T > &zeroPixel)
 Utility function to initialize output images pixel to zero for vector images. More...
 
template<class T >
void InitializeZeroPixel (T &zeroPixel)
 Utility function to initialize output images pixel to zero for all images except vector images. More...
 
template<class T >
bool isZero (itk::VariableLengthVector< T > &dataVec)
 
template<class T >
bool isZero (T &data)
 
void LinearThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, unsigned int threadId)
 
void NonLinearThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, unsigned int threadId)
 
 OrientedModelBaseResampleImageFilter ()
 
virtual ~OrientedModelBaseResampleImageFilter ()
 
- Protected Member Functions inherited from anima::MaskedImageToImageFilter< TImageType, TImageType >
virtual void CheckComputationMask ()
 
void InitializeComputationRegionFromMask ()
 
 MaskedImageToImageFilter ()
 
virtual ~MaskedImageToImageFilter ()
 
- Protected Member Functions inherited from anima::NumberedThreadImageToImageFilter< TImageType, TImageType >
virtual void GenerateData () ITK_OVERRIDE
 
unsigned int GetSafeThreadId ()
 
void IncrementNumberOfProcessedPoints ()
 
void InitializeZeroPixel (TImageType *image, itk::VariableLengthVector< ScalarRealType > &zeroPixel)
 Utility function to initialize output images pixel to zero for vector images. More...
 
void InitializeZeroPixel (TImageType *, PixelType &zeroPixel)
 Utility function to initialize output images pixel to zero for all images except vector images. More...
 
 NumberedThreadImageToImageFilter ()
 
void SafeReleaseThreadId (unsigned int threadId)
 
virtual void ThreadProcessSlices ()
 
virtual ~NumberedThreadImageToImageFilter ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from anima::NumberedThreadImageToImageFilter< TImageType, TImageType >
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderMultiSplitCallback (void *arg)
 

Detailed Description

template<typename TImageType, typename TInterpolatorPrecisionType = double>
class anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >

Definition at line 10 of file animaMCMResampleImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<typename TImageType , typename TInterpolatorPrecisionType = double>
typedef itk::SmartPointer<const Self> anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::ConstPointer

Definition at line 19 of file animaMCMResampleImageFilter.h.

◆ InputImageType

template<typename TImageType , typename TInterpolatorPrecisionType = double>
typedef Superclass::InputImageType anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InputImageType

Definition at line 22 of file animaMCMResampleImageFilter.h.

◆ InputPixelType

template<typename TImageType , typename TInterpolatorPrecisionType = double>
typedef Superclass::InputPixelType anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InputPixelType

Definition at line 21 of file animaMCMResampleImageFilter.h.

◆ MCModelPointer

template<typename TImageType , typename TInterpolatorPrecisionType = double>
typedef MCModelType::Pointer anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::MCModelPointer

Definition at line 26 of file animaMCMResampleImageFilter.h.

◆ MCModelType

template<typename TImageType , typename TInterpolatorPrecisionType = double>
typedef anima::MultiCompartmentModel anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::MCModelType

Definition at line 25 of file animaMCMResampleImageFilter.h.

◆ Pointer

template<typename TImageType , typename TInterpolatorPrecisionType = double>
typedef itk::SmartPointer<Self> anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::Pointer

Definition at line 18 of file animaMCMResampleImageFilter.h.

◆ Self

template<typename TImageType , typename TInterpolatorPrecisionType = double>
typedef MCMResampleImageFilter anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::Self

Standard class typedefs.

Definition at line 15 of file animaMCMResampleImageFilter.h.

◆ Superclass

template<typename TImageType , typename TInterpolatorPrecisionType = double>
typedef OrientedModelBaseResampleImageFilter<TImageType,TInterpolatorPrecisionType> anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::Superclass

Definition at line 17 of file animaMCMResampleImageFilter.h.

Constructor & Destructor Documentation

◆ MCMResampleImageFilter()

template<typename TImageType , typename TInterpolatorPrecisionType = double>
anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::MCMResampleImageFilter ( )
inlineprotected

Definition at line 38 of file animaMCMResampleImageFilter.h.

◆ ~MCMResampleImageFilter()

template<typename TImageType , typename TInterpolatorPrecisionType = double>
virtual anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::~MCMResampleImageFilter ( )
inlineprotectedvirtual

Member Function Documentation

◆ BeforeThreadedGenerateData()

template<typename TImageType , typename TInterpolatorPrecisionType >
void anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::BeforeThreadedGenerateData ( )
protectedvirtual

◆ CreateAnother()

template<typename TImageType , typename TInterpolatorPrecisionType = double>
virtual::itk::LightObject::Pointer anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::CreateAnother ( void  ) const

◆ GetNameOfClass()

template<typename TImageType , typename TInterpolatorPrecisionType = double>
virtual const char* anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods)

Reimplemented from anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >.

◆ GetOutputVectorLength()

template<typename TImageType , typename TInterpolatorPrecisionType >
unsigned int anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::GetOutputVectorLength ( )
protectedvirtual

◆ InitializeInterpolator()

template<typename TImageType , typename TInterpolatorPrecisionType >
void anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InitializeInterpolator ( )
protectedvirtual

◆ InternalClone()

template<typename TImageType , typename TInterpolatorPrecisionType >
itk::LightObject::Pointer anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InternalClone ( ) const
protectedvirtual

◆ New()

template<typename TImageType , typename TInterpolatorPrecisionType = double>
static Pointer anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::New ( )
static

Method for creation through the object factory.

◆ ReorientInterpolatedModel()

template<typename TImageType , typename TInterpolatorPrecisionType >
void anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::ReorientInterpolatedModel ( const InputPixelType interpolatedModel,
vnl_matrix< double > &  modelOrientationMatrix,
InputPixelType orientedModel,
itk::ThreadIdType  threadId 
)
protectedvirtual

◆ SetReferenceOutputModel()

template<typename TImageType , typename TInterpolatorPrecisionType >
void anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::SetReferenceOutputModel ( const MCModelPointer model)

Member Data Documentation

◆ ImageDimension

template<typename TImageType , typename TInterpolatorPrecisionType = double>
const unsigned int anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >::ImageDimension = InputImageType::ImageDimension
static

Definition at line 23 of file animaMCMResampleImageFilter.h.


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