OTB
9.0.0
Orfeo Toolbox
|
#include <otbMatrixImageFilter.h>
typedef TInputImage | InputImageType |
typedef TOutputImage | OutputImageType |
typedef MatrixImageFilter | Self |
typedef itk::ImageToImageFilter< InputImageType, OutputImageType > | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef InputImageType::PixelType | InputPixelType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef InputImageType::InternalPixelType | InputInternalPixelType |
typedef OutputImageType::InternalPixelType | OutputInternalPixelType |
typedef itk::NumericTraits< InputInternalPixelType >::RealType | InputRealType |
typedef TMatrix | MatrixType |
typedef vnl_vector< InputRealType > | VectorType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef InputImageType::SizeType | SizeType |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
MatrixType | m_Matrix |
bool | m_MatrixByVector |
static Pointer | New () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
void | SetMatrix (MatrixType mat) |
MatrixType | GetMatrix () |
virtual bool | GetMatrixByVector () const |
virtual void | SetMatrixByVector (bool _arg) |
virtual void | MatrixByVectorOn () |
virtual void | MatrixByVectorOff () |
MatrixImageFilter () | |
~MatrixImageFilter () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | GenerateOutputInformation () override |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
MatrixImageFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Apply a matrix multiplication over the channels of an image.
The templates are the input and output image type. The transition matrix is given using the SetTransitionMatrix() method. The awaited type must be compatible with vnl_matrix<double>
The multiplication can be done as or where is the pixel and is the vector. The behavior can be chosen with
The number of rows of the matrix must be the input image number of channels, the number of columns is the number of channels of the output image.
For example, if the image has 2 bands, the matrix is The pixel will give the output pixel
Definition at line 50 of file otbMatrixImageFilter.h.
typedef itk::SmartPointer<const Self> otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::ConstPointer |
typedef to simplify variables definition and declaration.
Definition at line 68 of file otbMatrixImageFilter.h.
typedef TInputImage otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::InputImageType |
typedef to simplify variables definition and declaration.
Definition at line 59 of file otbMatrixImageFilter.h.
typedef InputImageType::InternalPixelType otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::InputInternalPixelType |
typedef to simplify variables definition and declaration.
Definition at line 79 of file otbMatrixImageFilter.h.
typedef InputImageType::PixelType otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::InputPixelType |
Supported images definition.
Definition at line 74 of file otbMatrixImageFilter.h.
typedef itk::NumericTraits<InputInternalPixelType>::RealType otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::InputRealType |
MatrixType definition
Definition at line 84 of file otbMatrixImageFilter.h.
typedef TMatrix otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::MatrixType |
typedef to simplify variables definition and declaration.
Definition at line 85 of file otbMatrixImageFilter.h.
typedef OutputImageType::RegionType otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::OutputImageRegionType |
"typedef" to define a real.
Definition at line 89 of file otbMatrixImageFilter.h.
typedef TOutputImage otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::OutputImageType |
typedef to simplify variables definition and declaration.
Definition at line 62 of file otbMatrixImageFilter.h.
typedef OutputImageType::InternalPixelType otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::OutputInternalPixelType |
typedef to simplify variables definition and declaration.
Definition at line 80 of file otbMatrixImageFilter.h.
typedef OutputImageType::PixelType otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::OutputPixelType |
typedef to simplify variables definition and declaration.
Definition at line 78 of file otbMatrixImageFilter.h.
typedef itk::SmartPointer<Self> otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::Pointer |
typedef to simplify variables definition and declaration.
Definition at line 67 of file otbMatrixImageFilter.h.
typedef MatrixImageFilter otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::Self |
typedef for standard classes.
Definition at line 65 of file otbMatrixImageFilter.h.
typedef InputImageType::SizeType otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::SizeType |
"typedef" to define an image size.
Definition at line 92 of file otbMatrixImageFilter.h.
typedef itk::ImageToImageFilter<InputImageType, OutputImageType> otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::Superclass |
typedef to simplify variables definition and declaration.
Definition at line 66 of file otbMatrixImageFilter.h.
typedef vnl_vector<InputRealType> otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::VectorType |
typedef to simplify variables definition and declaration.
Definition at line 86 of file otbMatrixImageFilter.h.
|
protected |
typedef to simplify variables definition and declaration.
Definition at line 35 of file otbMatrixImageFilter.hxx.
|
inlineoverrideprotected |
typedef to simplify variables definition and declaration.
Definition at line 113 of file otbMatrixImageFilter.h.
|
privatedelete |
typedef to simplify variables definition and declaration.
virtual::itk::LightObject::Pointer otb::MatrixImageFilter< TInputImage, TOutputImage, TMatrix >::CreateAnother | ( | void | ) | const |
typedef to simplify variables definition and declaration.
|
overrideprotected |
Before threaded generate data method.
Definition at line 40 of file otbMatrixImageFilter.hxx.
|
inline |
typedef to simplify variables definition and declaration.
Definition at line 101 of file otbMatrixImageFilter.h.
|
virtual |
typedef to simplify variables definition and declaration.
|
virtual |
Return the class name.
|
virtual |
typedef to simplify variables definition and declaration.
|
virtual |
typedef to simplify variables definition and declaration.
|
static |
"object factory" management method.
|
privatedelete |
typedef to simplify variables definition and declaration.
|
overrideprotected |
Standard "PrintSelf" method
Definition at line 127 of file otbMatrixImageFilter.hxx.
|
inline |
Transition matrix accessors.
Definition at line 96 of file otbMatrixImageFilter.h.
|
virtual |
typedef to simplify variables definition and declaration.
|
overrideprotected |
MatrixImageFilter can be implemented for a multithreaded filter treatment. Thus, this implementation give the ThreadedGenerateData() method. that is called for each process thread. Image data are automatically allocated through the parent class calling the ThreadedGenerateData() method. ThreadedGenerateData() can only write the area of the image specified by the parameter "outputRegionForThread"
Definition at line 75 of file otbMatrixImageFilter.hxx.
|
static |
Extract input and output images sizes.
Definition at line 54 of file otbMatrixImageFilter.h.
|
private |
Matrix declaration
Definition at line 138 of file otbMatrixImageFilter.h.
|
private |
If set to true, the applied operation is where p is the pixel represented as a column vector. Otherwise the applied operation is where p is the pixel represented as a row vector.
Definition at line 143 of file otbMatrixImageFilter.h.
|
static |
typedef to simplify variables definition and declaration.
Definition at line 55 of file otbMatrixImageFilter.h.