ITK
5.2.0
Insight Toolkit
|
#include <itkImagePCADecompositionCalculator.h>
Public Types | |
using | BasisImageConstPointer = typename TBasisImage::ConstPointer |
using | BasisImagePointer = typename TBasisImage::Pointer |
using | BasisImagePointerVector = std::vector< BasisImagePointer > |
using | BasisImageType = TBasisImage |
using | BasisMatrixType = vnl_matrix< BasisPixelType > |
using | BasisPixelType = typename TBasisImage::PixelType |
using | BasisVectorType = vnl_vector< BasisPixelType > |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename TInputImage::ConstPointer |
using | InputImagePointer = typename TInputImage::Pointer |
using | InputImageType = TInputImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImagePCADecompositionCalculator |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
Pointer | Clone () const |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Additional Inherited Members | |
Protected Member Functions inherited from itk::Object | |
Object () | |
~Object () override | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
Decomposes an image into directions along basis components.
This calculator computes the projection of an image into a subspace specified by some basis set of images, and, optionally, a mean image (e.g a translation to a new origin). Typically, this basis/mean image will be the mean and principal components of an image data set, as calculated by an ImagePCAShapeModelEstimator. The output of the calculator is a vnl_vector containing the coefficients along each dimension of the provided basis set. To use this calculator, set the basis images with the SetBasisImage method, and optionally set the mean image with the SetMeanImage method. In the PCA case, the zeroth output of the ImagePCAShapeModelEstimator is the mean image and subsequent outputs are the basis images. SetBasisFromModel is a convenience method to set all of this information from a given ImagePCAShapeModelEstimator instance.
This class is templated over the input image type and the type of images used to describe the basis.
Definition at line 59 of file itkImagePCADecompositionCalculator.h.
using itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::BasisImageConstPointer = typename TBasisImage::ConstPointer |
Definition at line 86 of file itkImagePCADecompositionCalculator.h.
using itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::BasisImagePointer = typename TBasisImage::Pointer |
Definition at line 82 of file itkImagePCADecompositionCalculator.h.
using itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::BasisImagePointerVector = std::vector<BasisImagePointer> |
Vector of basis image pointers.
Definition at line 98 of file itkImagePCADecompositionCalculator.h.
using itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::BasisImageType = TBasisImage |
Definition at line 78 of file itkImagePCADecompositionCalculator.h.
using itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::BasisMatrixType = vnl_matrix<BasisPixelType> |
Type definitions for internal vectors and matrices
Definition at line 101 of file itkImagePCADecompositionCalculator.h.
using itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::BasisPixelType = typename TBasisImage::PixelType |
Basis image pixel type: this is also the type of the output vector
Definition at line 89 of file itkImagePCADecompositionCalculator.h.
|
private |
Type definition of a compatible ImagePCAShapeModelEstimator
Definition at line 151 of file itkImagePCADecompositionCalculator.h.
using itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::BasisVectorType = vnl_vector<BasisPixelType> |
Definition at line 102 of file itkImagePCADecompositionCalculator.h.
using itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 68 of file itkImagePCADecompositionCalculator.h.
using itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::InputImageConstPointer = typename TInputImage::ConstPointer |
Const Pointer type for the image.
Definition at line 85 of file itkImagePCADecompositionCalculator.h.
using itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::InputImagePointer = typename TInputImage::Pointer |
Pointer types for the image.
Definition at line 81 of file itkImagePCADecompositionCalculator.h.
using itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::InputImageType = TInputImage |
Type definitions for the input images.
Definition at line 77 of file itkImagePCADecompositionCalculator.h.
using itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::ModelPointerType = typename ImagePCAShapeModelEstimator<TInputImage, TBasisImage>::Pointer |
Type definition of a compatible ImagePCAShapeModelEstimator
Definition at line 125 of file itkImagePCADecompositionCalculator.h.
using itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::Pointer = SmartPointer<Self> |
Definition at line 67 of file itkImagePCADecompositionCalculator.h.
using itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::Self = ImagePCADecompositionCalculator |
Standard class type aliases.
Definition at line 65 of file itkImagePCADecompositionCalculator.h.
using itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::Superclass = Object |
Definition at line 66 of file itkImagePCADecompositionCalculator.h.
|
protected |
Type definition of a compatible ImagePCAShapeModelEstimator
|
overrideprotecteddefault |
Type definition of a compatible ImagePCAShapeModelEstimator
|
protected |
Type definition of a compatible ImagePCAShapeModelEstimator
|
protected |
Type definition of a compatible ImagePCAShapeModelEstimator
void itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::Compute | ( | ) |
Compute the PCA decomposition of the input image.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
inline |
Type definition of a compatible ImagePCAShapeModelEstimator
Definition at line 119 of file itkImagePCADecompositionCalculator.h.
|
virtual |
Type definition of a compatible ImagePCAShapeModelEstimator
|
virtual |
Type definition of a compatible ImagePCAShapeModelEstimator
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Object.
|
virtual |
Return the projection of the image.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Type definition of a compatible ImagePCAShapeModelEstimator
Reimplemented from itk::Object.
void itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::SetBasisFromModel | ( | ModelPointerType | model | ) |
Set the basis images from a ImagePCAShapeModelEstimator
void itk::ImagePCADecompositionCalculator< TInputImage, TBasisImage >::SetBasisImages | ( | const BasisImagePointerVector & | ) |
Set and get the basis images.
|
virtual |
Set and get the input image.
|
virtual |
Set and get the mean image.
|
staticconstexpr |
Basis Image dimension
Definition at line 95 of file itkImagePCADecompositionCalculator.h.
|
staticconstexpr |
Input Image dimension
Definition at line 92 of file itkImagePCADecompositionCalculator.h.
|
private |
Type definition of a compatible ImagePCAShapeModelEstimator
Definition at line 155 of file itkImagePCADecompositionCalculator.h.
|
private |
Type definition of a compatible ImagePCAShapeModelEstimator
Definition at line 159 of file itkImagePCADecompositionCalculator.h.
|
private |
Type definition of a compatible ImagePCAShapeModelEstimator
Definition at line 160 of file itkImagePCADecompositionCalculator.h.
|
private |
Type definition of a compatible ImagePCAShapeModelEstimator
Definition at line 158 of file itkImagePCADecompositionCalculator.h.
|
private |
Type definition of a compatible ImagePCAShapeModelEstimator
Definition at line 154 of file itkImagePCADecompositionCalculator.h.
|
private |
Type definition of a compatible ImagePCAShapeModelEstimator
Definition at line 156 of file itkImagePCADecompositionCalculator.h.
|
private |
Type definition of a compatible ImagePCAShapeModelEstimator
Definition at line 161 of file itkImagePCADecompositionCalculator.h.
|
private |
Type definition of a compatible ImagePCAShapeModelEstimator
Definition at line 153 of file itkImagePCADecompositionCalculator.h.
|
private |
Type definition of a compatible ImagePCAShapeModelEstimator
Definition at line 157 of file itkImagePCADecompositionCalculator.h.