RTK  1.4.0
Reconstruction Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | List of all members
rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix > Class Template Reference

#include <rtkAddMatrixAndDiagonalImageFilter.h>

+ Inheritance diagram for rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >:
+ Collaboration diagram for rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >:

Public Types

typedef TDiagonal::PixelType::ValueType dataType
 
typedef itk::SmartPointer< SelfPointer
 
typedef AddMatrixAndDiagonalImageFilter Self
 
typedef itk::ImageToImageFilter< TMatrix, TMatrix > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
void SetInputDiagonal (const TDiagonal *gradient)
 
void SetInputMatrix (const TMatrix *hessian)
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int nChannels = TDiagonal::PixelType::Dimension
 

Protected Member Functions

 AddMatrixAndDiagonalImageFilter ()
 
void GenerateInputRequestedRegion () override
 
 ~AddMatrixAndDiagonalImageFilter ()
 
void ThreadedGenerateData (const typename TDiagonal::RegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
TDiagonal::ConstPointer GetInputDiagonal ()
 
TMatrix::ConstPointer GetInputMatrix ()
 

Private Member Functions

 AddMatrixAndDiagonalImageFilter (const Self &)
 
void operator= (const Self &)
 

Detailed Description

template<class TDiagonal, class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
class rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >

For each vector-valued pixel, adds a vector to the diagonal of a matrix.

This filter takes in input an image of vectors of length n (input 1) and an image of vectors of length n*n (input 2). The vectors in input 2 are used as n*n matrices, and those in input 1 are assumed to be a compact representation of diagonal matrices of size n*n (thus with only n non-null values).

Author
Cyril Mory

Definition at line 42 of file rtkAddMatrixAndDiagonalImageFilter.h.

Member Typedef Documentation

template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
typedef TDiagonal::PixelType::ValueType rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::dataType

Convenient typedef

Definition at line 60 of file rtkAddMatrixAndDiagonalImageFilter.h.

template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
typedef itk::SmartPointer< Self > rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::Pointer

Definition at line 48 of file rtkAddMatrixAndDiagonalImageFilter.h.

template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
typedef AddMatrixAndDiagonalImageFilter rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::Self

Standard class typedefs.

Definition at line 46 of file rtkAddMatrixAndDiagonalImageFilter.h.

template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
typedef itk::ImageToImageFilter<TMatrix, TMatrix> rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::Superclass

Definition at line 47 of file rtkAddMatrixAndDiagonalImageFilter.h.

Constructor & Destructor Documentation

template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::AddMatrixAndDiagonalImageFilter ( )
protected
template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::~AddMatrixAndDiagonalImageFilter ( )
inlineprotected
template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::AddMatrixAndDiagonalImageFilter ( const Self )
private

Member Function Documentation

template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
virtual::itk::LightObject::Pointer rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::CreateAnother ( ) const
template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
void rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::GenerateInputRequestedRegion ( )
overrideprotected
template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
TDiagonal::ConstPointer rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::GetInputDiagonal ( )
protected
template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
TMatrix::ConstPointer rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::GetInputMatrix ( )
protected
template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
virtual const char* rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
static Pointer rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::New ( )
static

Method for creation through the object factory.

template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
void rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::operator= ( const Self )
private
template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
void rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::SetInputDiagonal ( const TDiagonal *  gradient)

Set methods for all inputs, since they have different types

template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
void rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::SetInputMatrix ( const TMatrix *  hessian)

Set methods for all inputs, since they have different types

template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
void rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::ThreadedGenerateData ( const typename TDiagonal::RegionType &  outputRegionForThread,
itk::ThreadIdType  threadId 
)
overrideprotected

Member Data Documentation

template<class TDiagonal , class TMatrix = itk::Image<itk::Vector<typename TDiagonal::PixelType::ValueType, TDiagonal::PixelType::Dimension * TDiagonal::PixelType::Dimension>, TDiagonal::ImageDimension >>
const unsigned int rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::nChannels = TDiagonal::PixelType::Dimension
static

Convenient parameters extracted from template types

Definition at line 57 of file rtkAddMatrixAndDiagonalImageFilter.h.


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