NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Class to apply the affine transformation matrix to a 3D image. More...
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual void | SetProjectionGeometry (ProjectionGeometryType *_arg) |
Get/Set the projection geometry. More... | |
virtual ProjectionGeometryType * | GetProjectionGeometry () |
virtual void | SetAffineTransform (EulerAffineTransformType *_arg) |
Set the affine transformation. More... | |
virtual EulerAffineTransformType * | GetAffineTransform () |
Get the affine transformation. More... | |
virtual void | SetPerspectiveTransform (PerspectiveProjectionTransformType *_arg) |
Set the perspective transformation. More... | |
virtual PerspectiveProjectionTransformType * | GetPerspectiveTransform () |
Get the perspective transformation. More... | |
void | SetProjectedImageSize (OutputImageSizeType &outImageSize) |
Set the size in pixels of the output projected image. More... | |
void | SetProjectedImageSpacing (OutputImageSpacingType &outImageSpacing) |
Set the resolution in mm of the output projected image. More... | |
void | SetProjectedImageOrigin (OutputImagePointType &outImageOrigin) |
Set the origin of the output projected image. More... | |
void | SetVolumeSize (const VolumeSizeType &r) |
Set the volume size. More... | |
void | GetForwardProjectionSparseMatrix (SparseMatrixType &R, InputImageConstPointer inImage, OutputImagePointer outImage, VolumeSizeType &inSize, OutputImageSizeType &outSize, const unsigned int &projNum) |
Calculate and return the affine transformation matrix. More... | |
void | GetForwardProjectionSparseMatrix (SparseMatrixType &R, InputImagePointer inImage, OutputImagePointer outImage, VolumeSizeType &inSize, OutputImageSizeType &outSize, const unsigned int &projNum) |
Calculate and return the affine transformation matrix (Overloaded using non-const input image pointer) More... | |
void | GetBackwardProjectionSparseMatrix (SparseMatrixType &R, SparseMatrixType &RTrans, VolumeSizeType &inSize, OutputImageSizeType &outSize, const unsigned int &projNum) |
Calculate and return the transpose of the affine transformation matrix. More... | |
void | CalculteMatrixVectorMultiplication (SparseMatrixType &R, VectorType const &inputImageVector, VectorType &outputImageVector) |
Calculate and return the multiplication of the affine transformation matrix and image vector. More... | |
virtual const char * | GetClassName () const |
virtual void | SetProjectionGeometry (ProjectionGeometryType *_arg) |
Get/Set the projection geometry. More... | |
virtual ProjectionGeometryType * | GetProjectionGeometry () |
virtual void | SetAffineTransform (EulerAffineTransformType *_arg) |
Set the affine transformation. More... | |
virtual EulerAffineTransformType * | GetAffineTransform () |
Get the affine transformation. More... | |
virtual void | SetPerspectiveTransform (PerspectiveProjectionTransformType *_arg) |
Set the perspective transformation. More... | |
virtual PerspectiveProjectionTransformType * | GetPerspectiveTransform () |
Get the perspective transformation. More... | |
void | SetProjectedImageSize (OutputImageSizeType &outImageSize) |
Set the size in pixels of the output projected image. More... | |
void | SetProjectedImageSpacing (OutputImageSpacingType &outImageSpacing) |
Set the resolution in mm of the output projected image. More... | |
void | SetProjectedImageOrigin (OutputImagePointType &outImageOrigin) |
Set the origin of the output projected image. More... | |
void | SetVolumeSize (const VolumeSizeType &r) |
Set the volume size. More... | |
void | GetForwardProjectionSparseMatrix (SparseMatrixType &R, InputImageConstPointer inImage, OutputImagePointer outImage, VolumeSizeType &inSize, OutputImageSizeType &outSize, const unsigned int &projNum) |
Calculate and return the affine transformation matrix. More... | |
void | GetForwardProjectionSparseMatrix (SparseMatrixType &R, InputImagePointer inImage, OutputImagePointer outImage, VolumeSizeType &inSize, OutputImageSizeType &outSize, const unsigned int &projNum) |
Calculate and return the affine transformation matrix (Overloaded using non-const input image pointer) More... | |
void | GetBackwardProjectionSparseMatrix (SparseMatrixType &R, SparseMatrixType &RTrans, VolumeSizeType &inSize, OutputImageSizeType &outSize, const unsigned int &projNum) |
Calculate and return the transpose of the affine transformation matrix. More... | |
void | CalculteMatrixVectorMultiplication (SparseMatrixType &R, VectorType const &inputImageVector, VectorType &outputImageVector) |
Calculate and return the multiplication of the affine transformation matrix and image vector. More... | |
Static Public Member Functions | |
static Pointer | New () |
static Pointer | New () |
Protected Member Functions | |
ForwardAndBackwardProjectionMatrix () | |
virtual | ~ForwardAndBackwardProjectionMatrix (void) |
void | PrintSelf (std::ostream &os, Indent indent) const |
ForwardAndBackwardProjectionMatrix () | |
virtual | ~ForwardAndBackwardProjectionMatrix (void) |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
VolumeSizeType | m_VolumeSize |
A pointer to the 3D volume size. More... | |
unsigned long int | m_input3DImageTotalSize |
unsigned long int | m_output2DImageTotalSize |
bool | m_FlagInitialised |
Flag indicating whether the object has been initialised. More... | |
OutputImageSizeType | m_OutputImageSize |
The size of the output projected image. More... | |
OutputImageSpacingType | m_OutputImageSpacing |
The resolution of the output projected image. More... | |
OutputImagePointType | m_OutputImageOrigin |
The origin of the output projected image. More... | |
double | m_Threshold |
The threshold above which voxels along the ray path are integrated. More... | |
ProjectionGeometryPointer | m_ProjectionGeometry |
The specific projection geometry to be used. More... | |
EulerAffineTransformType::Pointer | m_AffineTransform |
The affine transform. More... | |
PerspectiveProjectionTransformType::Pointer | m_PerspectiveTransform |
The perspective transform. More... | |
Class to apply the affine transformation matrix to a 3D image.
typedef SmartPointer<const Self> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::ConstPointer |
typedef SmartPointer<const Self> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::ConstPointer |
typedef EulerAffineTransformType::Pointer itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::EulerAffineTransformPointer |
typedef EulerAffineTransformType::Pointer itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::EulerAffineTransformPointer |
typedef itk::EulerAffineTransform<double, 3, 3> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::EulerAffineTransformType |
typedef itk::EulerAffineTransform<double, 3, 3> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::EulerAffineTransformType |
typedef vnl_matrix<TScalarType> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::FullMatrixType |
typedef vnl_matrix<TScalarType> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::FullMatrixType |
typedef InputImageType::ConstPointer itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImageConstPointer |
typedef InputImageType::ConstPointer itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImageConstPointer |
typedef InputImageType::IndexType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImageIndexType |
typedef InputImageType::IndexType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImageIndexType |
typedef InputImageType::PixelType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImagePixelType |
typedef InputImageType::PixelType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImagePixelType |
typedef InputImageType::Pointer itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImagePointer |
typedef InputImageType::Pointer itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImagePointer |
typedef InputImageType::PointType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImagePointType |
typedef InputImageType::PointType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImagePointType |
typedef InputImageType::RegionType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImageRegionType |
typedef InputImageType::RegionType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImageRegionType |
typedef InputImageType::SizeType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImageSizeType |
typedef InputImageType::SizeType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImageSizeType |
typedef InputImageType::SpacingType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImageSpacingType |
typedef InputImageType::SpacingType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImageSpacingType |
typedef Image<IntensityType, 3> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImageType |
typedef Image<IntensityType, 3> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::InputImageType |
typedef OutputImageType::ConstPointer itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImageConstPointer |
typedef OutputImageType::ConstPointer itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImageConstPointer |
typedef OutputImageType::IndexType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImageIndexType |
typedef OutputImageType::IndexType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImageIndexType |
typedef OutputImageType::PixelType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImagePixelType |
typedef OutputImageType::PixelType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImagePixelType |
typedef OutputImageType::Pointer itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImagePointer |
typedef OutputImageType::Pointer itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImagePointer |
typedef OutputImageType::PointType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImagePointType |
typedef OutputImageType::PointType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImagePointType |
typedef OutputImageType::RegionType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImageRegionType |
typedef OutputImageType::RegionType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImageRegionType |
typedef OutputImageType::SizeType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImageSizeType |
typedef OutputImageType::SizeType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImageSizeType |
typedef OutputImageType::SpacingType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImageSpacingType |
typedef OutputImageType::SpacingType itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImageSpacingType |
typedef Image<IntensityType, 2> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImageType |
typedef Image<IntensityType, 2> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::OutputImageType |
typedef PerspectiveProjectionTransformType::Pointer itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::PerspectiveProjectionTransformPointer |
typedef PerspectiveProjectionTransformType::Pointer itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::PerspectiveProjectionTransformPointer |
typedef itk::PerspectiveProjectionTransform<double> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::PerspectiveProjectionTransformType |
typedef itk::PerspectiveProjectionTransform<double> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::PerspectiveProjectionTransformType |
typedef SmartPointer<Self> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::Pointer |
typedef SmartPointer<Self> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::Pointer |
typedef ProjectionGeometryType::Pointer itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::ProjectionGeometryPointer |
typedef ProjectionGeometryType::Pointer itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::ProjectionGeometryPointer |
typedef itk::ProjectionGeometry<IntensityType> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::ProjectionGeometryType |
typedef itk::ProjectionGeometry<IntensityType> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::ProjectionGeometryType |
typedef ForwardAndBackwardProjectionMatrix itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::Self |
Standard class typedefs.
typedef ForwardAndBackwardProjectionMatrix itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::Self |
Standard class typedefs.
typedef vnl_sparse_matrix<TScalarType> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::SparseMatrixType |
Create a sparse matrix to store the affine transformation matrix coefficients
typedef vnl_sparse_matrix<TScalarType> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::SparseMatrixType |
Create a sparse matrix to store the affine transformation matrix coefficients
typedef Object itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::Superclass |
typedef Object itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::Superclass |
typedef vnl_vector<TScalarType> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::VectorType |
typedef vnl_vector<TScalarType> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::VectorType |
typedef itk::Size<3> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::VolumeSizeType |
Some convenient typedefs.
typedef itk::Size<3> itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::VolumeSizeType |
Some convenient typedefs.
|
protected |
The ray is traversed by stepping in the axial direction that enables the greatest number of planes in the volume to be intercepted.
|
protected |
The ray is traversed by stepping in the axial direction that enables the greatest number of planes in the volume to be intercepted.
|
protected |
|
inlineprotectedvirtual |
|
protected |
|
inlineprotectedvirtual |
void itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::CalculteMatrixVectorMultiplication | ( | SparseMatrixType & | R, |
VectorType const & | inputImageVector, | ||
VectorType & | outputImageVector | ||
) |
Calculate and return the multiplication of the affine transformation matrix and image vector.
void itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::CalculteMatrixVectorMultiplication | ( | SparseMatrixType & | R, |
VectorType const & | inputImageVector, | ||
VectorType & | outputImageVector | ||
) |
Calculate and return the multiplication of the affine transformation matrix and image vector.
|
virtual |
Get the affine transformation.
|
virtual |
Get the affine transformation.
void itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::GetBackwardProjectionSparseMatrix | ( | SparseMatrixType & | R, |
SparseMatrixType & | RTrans, | ||
VolumeSizeType & | inSize, | ||
OutputImageSizeType & | outSize, | ||
const unsigned int & | projNum | ||
) |
Calculate and return the transpose of the affine transformation matrix.
void itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::GetBackwardProjectionSparseMatrix | ( | SparseMatrixType & | R, |
SparseMatrixType & | RTrans, | ||
VolumeSizeType & | inSize, | ||
OutputImageSizeType & | outSize, | ||
const unsigned int & | projNum | ||
) |
Calculate and return the transpose of the affine transformation matrix.
|
virtual |
Run-time type information (and related methods).
|
virtual |
Run-time type information (and related methods).
void itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::GetForwardProjectionSparseMatrix | ( | SparseMatrixType & | R, |
InputImageConstPointer | inImage, | ||
OutputImagePointer | outImage, | ||
VolumeSizeType & | inSize, | ||
OutputImageSizeType & | outSize, | ||
const unsigned int & | projNum | ||
) |
Calculate and return the affine transformation matrix.
void itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::GetForwardProjectionSparseMatrix | ( | SparseMatrixType & | R, |
InputImageConstPointer | inImage, | ||
OutputImagePointer | outImage, | ||
VolumeSizeType & | inSize, | ||
OutputImageSizeType & | outSize, | ||
const unsigned int & | projNum | ||
) |
Calculate and return the affine transformation matrix.
void itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::GetForwardProjectionSparseMatrix | ( | SparseMatrixType & | R, |
InputImagePointer | inImage, | ||
OutputImagePointer | outImage, | ||
VolumeSizeType & | inSize, | ||
OutputImageSizeType & | outSize, | ||
const unsigned int & | projNum | ||
) |
Calculate and return the affine transformation matrix (Overloaded using non-const input image pointer)
void itk::ForwardAndBackwardProjectionMatrix< TScalarType, IntensityType >::GetForwardProjectionSparseMatrix | ( | SparseMatrixType & | R, |
InputImagePointer | inImage, | ||
OutputImagePointer | outImage, | ||
VolumeSizeType & | inSize, | ||
OutputImageSizeType & | outSize, | ||
const unsigned int & | projNum | ||
) |
Calculate and return the affine transformation matrix (Overloaded using non-const input image pointer)
|
virtual |
Get the perspective transformation.
|
virtual |
Get the perspective transformation.
|
virtual |
|
virtual |
|
static |
Method for creation through the object factory.
|
static |
Method for creation through the object factory.
|
protected |
|
protected |
|
virtual |
Set the affine transformation.
|
virtual |
Set the affine transformation.
|
virtual |
Set the perspective transformation.
|
virtual |
Set the perspective transformation.
|
inline |
Set the origin of the output projected image.
|
inline |
Set the origin of the output projected image.
|
inline |
Set the size in pixels of the output projected image.
|
inline |
Set the size in pixels of the output projected image.
|
inline |
Set the resolution in mm of the output projected image.
|
inline |
Set the resolution in mm of the output projected image.
|
virtual |
Get/Set the projection geometry.
|
virtual |
Get/Set the projection geometry.
|
inline |
Set the volume size.
|
inline |
Set the volume size.
|
protected |
The affine transform.
|
protected |
Flag indicating whether the object has been initialised.
|
protected |
|
protected |
|
protected |
The origin of the output projected image.
|
protected |
The size of the output projected image.
|
protected |
The resolution of the output projected image.
|
protected |
The perspective transform.
|
protected |
The specific projection geometry to be used.
|
protected |
The threshold above which voxels along the ray path are integrated.
|
protected |
A pointer to the 3D volume size.