|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
22 #ifndef otbVectorImageToMatrixFilter_h
23 #define otbVectorImageToMatrixFilter_h
27 #include "itkSimpleDataObjectDecorator.h"
28 #include "itkImageRegionSplitter.h"
29 #include "itkVariableSizeMatrix.h"
30 #include "itkVariableLengthVector.h"
53 template <
class TInputImage>
73 typedef typename TInputImage::SizeType
SizeType;
78 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
81 itkStaticConstMacro(ImageDimension,
unsigned int, TInputImage::ImageDimension);
105 using Superclass::MakeOutput;
110 void AllocateOutputs()
override;
111 void GenerateOutputInformation()
override;
112 void Synthetize(
void)
override;
113 void Reset(
void)
override;
121 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
122 void ThreadedGenerateData(
const RegionType& outputRegionForThread, itk::ThreadIdType threadId)
override;
126 void operator=(
const Self&) =
delete;
151 template <
class TInputImage>
173 using Superclass::SetInput;
176 this->GetFilter()->SetInput(input);
180 return this->GetFilter()->GetInput();
186 return this->GetMatrixOutput()->Get();
190 return this->GetFilter()->GetMatrixOutput();
194 return this->GetFilter()->GetMatrixOutput();
209 void operator=(
const Self&) =
delete;
214 #ifndef OTB_MANUAL_INSTANTIATION
TInputImage::Pointer InputImagePointer
TInputImage::RegionType RegionType
~PersistentVectorImageToMatrixFilter() override
PersistentFilterType::MatrixObjectType MatrixObjectType
itk::SmartPointer< Self > Pointer
PersistentFilterStreamingDecorator< PersistentVectorImageToMatrixFilter< TInputImage > > Superclass
vnl_matrix< RealType > MatrixType
TInputImage::PixelType PixelType
itk::SmartPointer< Self > Pointer
This filter is the base class for all filter persisting data through multiple update....
itk::SmartPointer< const Self > ConstPointer
VectorImageToMatrixImageFilter Self
PersistentImageFilter< TInputImage, TInputImage > Superclass
TInputImage::SizeType SizeType
const MatrixType & GetMatrix() const
itk::ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
itk::DataObject::Pointer DataObjectPointer
void SetInput(InputImageType *input)
itk::VariableLengthVector< RealType > RealPixelType
PersistentVectorImageToMatrixFilter Self
const InputImageType * GetInput()
TInputImage InputImageType
MatrixObjectType * GetMatrixOutput()
InternalPixelType RealType
This filter link a persistent filter with a StreamingImageVirtualWriter.
TInputImage::IndexType IndexType
Superclass::FilterType PersistentFilterType
Compute covariance & correlation of a large image using streaming.
const MatrixObjectType * GetMatrixOutput() const
itk::SimpleDataObjectDecorator< MatrixType > MatrixObjectType
This class streams the whole input image through the PersistentStatisticsImageFilter.
itk::SmartPointer< const Self > ConstPointer
PersistentFilterType::MatrixType MatrixType
TInputImage::InternalPixelType InternalPixelType
~VectorImageToMatrixImageFilter() override
VectorImageToMatrixImageFilter()