ANIMA
4.0
|
#include <animaOrientedModelBaseResampleImageFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
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< Self > | Pointer |
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 Self > | ConstPointer |
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< Self > | Pointer |
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 Self > | ConstPointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef itk::SmartPointer< Self > | Pointer |
typedef NumberedThreadImageToImageFilter | Self |
typedef itk::ImageToImageFilter< TImageType, TImageType > | Superclass |
typedef itk::ImageSource< TImageType >::ThreadStruct | ThreadStruct |
Static Public Attributes | |
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 |
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 |
virtual unsigned int | GetOutputVectorLength () |
virtual void | InitializeInterpolator () |
Initializes the default interpolator, might change in derived classes. More... | |
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 void | ReorientInterpolatedModel (const InputPixelType &interpolatedModel, vnl_matrix< double > &modelOrientationMatrix, InputPixelType &orientedModel, itk::ThreadIdType threadId)=0 |
Needs to be implemented in sub-classes, does the actual re-orientation of the model. More... | |
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 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 Protected Member Functions inherited from anima::NumberedThreadImageToImageFilter< TImageType, TImageType > | |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderMultiSplitCallback (void *arg) |
Definition at line 14 of file animaOrientedModelBaseResampleImageFilter.h.
typedef itk::SmartPointer<const Self> anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::ConstPointer |
Definition at line 29 of file animaOrientedModelBaseResampleImageFilter.h.
typedef InterpolatorType::ContinuousIndexType anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::ContinuousIndexType |
Definition at line 34 of file animaOrientedModelBaseResampleImageFilter.h.
typedef TOutputImage::DirectionType anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::DirectionType |
Definition at line 66 of file animaOrientedModelBaseResampleImageFilter.h.
typedef GeometryImageType::Pointer anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::GeometryImagePointer |
Definition at line 25 of file animaOrientedModelBaseResampleImageFilter.h.
typedef itk::Image<unsigned char, itkGetStaticConstMacro(ImageDimension)> anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::GeometryImageType |
Definition at line 24 of file animaOrientedModelBaseResampleImageFilter.h.
typedef InputImageType::Pointer anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InputImagePointer |
Image typedef support
Definition at line 45 of file animaOrientedModelBaseResampleImageFilter.h.
typedef TImageType anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InputImageType |
Definition at line 20 of file animaOrientedModelBaseResampleImageFilter.h.
typedef InputImageType::IndexType anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InputIndexType |
Definition at line 42 of file animaOrientedModelBaseResampleImageFilter.h.
typedef InputImageType::PixelType anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InputPixelType |
Definition at line 40 of file animaOrientedModelBaseResampleImageFilter.h.
typedef InputImageType::PointType anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InputPointType |
Definition at line 41 of file animaOrientedModelBaseResampleImageFilter.h.
typedef InterpolatorType::Pointer anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InterpolatorPointer |
Definition at line 32 of file animaOrientedModelBaseResampleImageFilter.h.
typedef itk::InterpolateImageFunction<InputImageType, TInterpolatorPrecisionType> anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InterpolatorType |
Definition at line 31 of file animaOrientedModelBaseResampleImageFilter.h.
typedef TOutputImage::PointType anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::OriginPointType |
Definition at line 65 of file animaOrientedModelBaseResampleImageFilter.h.
typedef TOutputImage::Pointer anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::OutputImagePointer |
Definition at line 46 of file animaOrientedModelBaseResampleImageFilter.h.
typedef TOutputImage::RegionType anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::OutputImageRegionType |
Definition at line 47 of file animaOrientedModelBaseResampleImageFilter.h.
typedef itk::SmartPointer<Self> anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::Pointer |
Definition at line 28 of file animaOrientedModelBaseResampleImageFilter.h.
typedef InterpolatorType::PointType anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::PointType |
Definition at line 35 of file animaOrientedModelBaseResampleImageFilter.h.
typedef TOutputImage::RegionType anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::RegionType |
Definition at line 67 of file animaOrientedModelBaseResampleImageFilter.h.
typedef OrientedModelBaseResampleImageFilter anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::Self |
Standard class typedefs.
Definition at line 19 of file animaOrientedModelBaseResampleImageFilter.h.
typedef TOutputImage::SpacingType anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::SpacingType |
Definition at line 64 of file animaOrientedModelBaseResampleImageFilter.h.
typedef anima::MaskedImageToImageFilter<TImageType, TImageType> anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::Superclass |
Definition at line 27 of file animaOrientedModelBaseResampleImageFilter.h.
typedef TImageType anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::TOutputImage |
Definition at line 21 of file animaOrientedModelBaseResampleImageFilter.h.
typedef TransformType::Pointer anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::TransformPointer |
Definition at line 53 of file animaOrientedModelBaseResampleImageFilter.h.
typedef itk::Transform<TInterpolatorPrecisionType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension)> anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::TransformType |
Definition at line 51 of file animaOrientedModelBaseResampleImageFilter.h.
|
inlineprotected |
Definition at line 82 of file animaOrientedModelBaseResampleImageFilter.h.
|
inlineprotectedvirtual |
Definition at line 90 of file animaOrientedModelBaseResampleImageFilter.h.
References anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::BeforeThreadedGenerateData(), anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::DynamicThreadedGenerateData(), anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::GenerateInputRequestedRegion(), anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::GenerateOutputInformation(), and anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::GetOutputVectorLength().
|
protectedvirtual |
Reimplemented from anima::MaskedImageToImageFilter< TImageType, TImageType >.
Reimplemented in anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >, anima::ODFResampleImageFilter< TImageType, TInterpolatorPrecisionType >, and anima::TensorResampleImageFilter< TImageType, TInterpolatorPrecisionType >.
Definition at line 70 of file animaOrientedModelBaseResampleImageFilter.hxx.
Referenced by anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::GetOutputVectorLength(), and anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::~OrientedModelBaseResampleImageFilter().
|
protected |
Compute local re-orientation transformation matrix from linear transform (rotation if finite strain, Jacobian otherwise)
Definition at line 205 of file animaOrientedModelBaseResampleImageFilter.hxx.
Referenced by anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InitializeZeroPixel(), and anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::NonLinearThreadedGenerateData().
|
protected |
Compute local re-orientation transformation matrix from non linear transform (rotation if finite strain, Jacobian otherwise)
Definition at line 240 of file animaOrientedModelBaseResampleImageFilter.hxx.
Referenced by anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::ComputeLinearJacobianMatrix(), and anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InitializeZeroPixel().
|
protectedvirtual |
For some models / re-orientation schemes, the transform induced Jacobiam matrix needs to be used to get rotation parameters if needed, this method should be overloaded
Definition at line 319 of file animaOrientedModelBaseResampleImageFilter.hxx.
References anima::ExtractRotationFromJacobianMatrix().
Referenced by anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::ComputeLocalJacobianMatrix(), and anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InitializeZeroPixel().
|
protected |
Definition at line 92 of file animaOrientedModelBaseResampleImageFilter.hxx.
Referenced by anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::BeforeThreadedGenerateData(), and anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::~OrientedModelBaseResampleImageFilter().
|
protectedvirtual |
Definition at line 32 of file animaOrientedModelBaseResampleImageFilter.hxx.
Referenced by anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InitializeInterpolator(), and anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::~OrientedModelBaseResampleImageFilter().
|
protectedvirtual |
Definition at line 45 of file animaOrientedModelBaseResampleImageFilter.hxx.
Referenced by anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::GenerateInputRequestedRegion(), and anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::~OrientedModelBaseResampleImageFilter().
|
virtual |
|
virtual |
|
virtual |
Run-time type information (and related methods)
Reimplemented from anima::MaskedImageToImageFilter< TImageType, TImageType >.
Reimplemented in anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >, anima::ODFResampleImageFilter< TImageType, TInterpolatorPrecisionType >, and anima::TensorResampleImageFilter< TImageType, TInterpolatorPrecisionType >.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
Reimplemented in anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >.
Definition at line 59 of file animaOrientedModelBaseResampleImageFilter.hxx.
Referenced by anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::GenerateOutputInformation(), and anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::~OrientedModelBaseResampleImageFilter().
|
protectedvirtual |
Initializes the default interpolator, might change in derived classes.
Reimplemented in anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >.
Definition at line 20 of file animaOrientedModelBaseResampleImageFilter.hxx.
Referenced by anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InitializeZeroPixel().
|
inlineprotected |
Utility function to initialize output images pixel to zero for vector images.
Definition at line 122 of file animaOrientedModelBaseResampleImageFilter.h.
|
inlineprotected |
Utility function to initialize output images pixel to zero for all images except vector images.
Definition at line 128 of file animaOrientedModelBaseResampleImageFilter.h.
References anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::ComputeLinearJacobianMatrix(), anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::ComputeLocalJacobianMatrix(), anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::ComputeRotationParametersFromReorientationMatrix(), anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InitializeInterpolator(), anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::LinearThreadedGenerateData(), anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::NonLinearThreadedGenerateData(), and anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::ReorientInterpolatedModel().
|
inlineprotected |
Definition at line 101 of file animaOrientedModelBaseResampleImageFilter.h.
|
inlineprotected |
Definition at line 115 of file animaOrientedModelBaseResampleImageFilter.h.
anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::itkGetObjectMacro | ( | Transform | , |
TransformType | |||
) |
|
protected |
Definition at line 107 of file animaOrientedModelBaseResampleImageFilter.hxx.
Referenced by anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::DynamicThreadedGenerateData(), and anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InitializeZeroPixel().
|
protected |
Definition at line 159 of file animaOrientedModelBaseResampleImageFilter.hxx.
Referenced by anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InitializeZeroPixel(), and anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::LinearThreadedGenerateData().
|
protectedpure virtual |
Needs to be implemented in sub-classes, does the actual re-orientation of the model.
Implemented in anima::MCMResampleImageFilter< TImageType, TInterpolatorPrecisionType >, anima::ODFResampleImageFilter< TImageType, TInterpolatorPrecisionType >, and anima::TensorResampleImageFilter< TImageType, TInterpolatorPrecisionType >.
Referenced by anima::OrientedModelBaseResampleImageFilter< TImageType, TInterpolatorPrecisionType >::InitializeZeroPixel().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
Definition at line 22 of file animaOrientedModelBaseResampleImageFilter.h.