RTK
2.6.0
Reconstruction Toolkit
|
#include <rtkAddMatrixAndDiagonalImageFilter.h>
Public Types | |
using | dataType = typename TDiagonal::PixelType::ValueType |
using | Pointer = itk::SmartPointer< Self > |
using | Self = AddMatrixAndDiagonalImageFilter |
using | Superclass = itk::ImageToImageFilter< TMatrix, TMatrix > |
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 constexpr unsigned int | nChannels = TDiagonal::PixelType::Dimension |
Protected Member Functions | |
AddMatrixAndDiagonalImageFilter () | |
void | DynamicThreadedGenerateData (const typename TDiagonal::RegionType &outputRegionForThread) override |
void | GenerateInputRequestedRegion () override |
~AddMatrixAndDiagonalImageFilter () override=default | |
TDiagonal::ConstPointer | GetInputDiagonal () |
TMatrix::ConstPointer | GetInputMatrix () |
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).
Definition at line 44 of file rtkAddMatrixAndDiagonalImageFilter.h.
using rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::dataType = typename TDiagonal::PixelType::ValueType |
Convenient type alias
Definition at line 69 of file rtkAddMatrixAndDiagonalImageFilter.h.
using rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::Pointer = itk::SmartPointer<Self> |
Definition at line 52 of file rtkAddMatrixAndDiagonalImageFilter.h.
using rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::Self = AddMatrixAndDiagonalImageFilter |
Standard class type alias.
Definition at line 50 of file rtkAddMatrixAndDiagonalImageFilter.h.
using rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::Superclass = itk::ImageToImageFilter<TMatrix, TMatrix> |
Definition at line 51 of file rtkAddMatrixAndDiagonalImageFilter.h.
|
protected |
|
overrideprotecteddefault |
|
virtual |
Reimplemented from itk::Object.
|
overrideprotected |
Does the real work.
|
overrideprotectedvirtual |
Reimplemented from itk::ProcessObject.
|
protected |
Getters for the inputs
|
protected |
Getters for the inputs
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageSource< TOutputImage >.
|
static |
Method for creation through the object factory.
void rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::SetInputDiagonal | ( | const TDiagonal * | gradient | ) |
Set methods for all inputs, since they have different types
void rtk::AddMatrixAndDiagonalImageFilter< TDiagonal, TMatrix >::SetInputMatrix | ( | const TMatrix * | hessian | ) |
Set methods for all inputs, since they have different types
|
static |
Convenient parameters extracted from template types
Definition at line 66 of file rtkAddMatrixAndDiagonalImageFilter.h.