|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
22 #ifndef otbVCAImageFilter_h
23 #define otbVCAImageFilter_h
26 #include "itkAbsImageFilter.h"
36 #include "itkMersenneTwisterRandomVariateGenerator.h"
37 #include "vnl/algo/vnl_svd.h"
66 template <
class TVectorImage>
67 class ITK_EXPORT
VCAImageFilter :
public itk::ImageToImageFilter<TVectorImage, TVectorImage>
71 typedef itk::ImageToImageFilter<TVectorImage, TVectorImage>
Superclass;
76 typedef typename VectorImageType::IndexType
IndexType;
77 typedef typename VectorImageType::SizeType
SizeType;
79 typedef typename VectorImageType::PixelType
PixelType;
104 itkGetMacro(NumberOfEndmembers,
unsigned int);
105 itkSetMacro(NumberOfEndmembers,
unsigned int);
109 this->GenerateData();
114 this->GetOutput()->SetRequestedRegion(this->GetOutput()->GetLargestPossibleRegion());
122 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
124 void GenerateOutputInformation()
override;
126 void GenerateData()
override;
130 void operator=(
const Self&) =
delete;
otb::StreamingStatisticsImageFilter< ImageType > StreamingStatisticsImageFilterType
itk::ImageToImageFilter< TVectorImage, TVectorImage > Superclass
itk::SmartPointer< Self > Pointer
Applies a projective projection to each pixel of an image.
InternalPixelType PrecisionType
otb::PCAImageFilter< VectorImageType, VectorImageType, otb::Transform::INVERSE > InversePCAImageFilterType
A generic functor filter templated by its functor.
itk::SmartPointer< const Self > ConstPointer
VectorImageType::IndexType IndexType
Performs a Principal Component Analysis.
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Creation of an "otb" image which contains metadata.
VectorImageType::InternalPixelType InternalPixelType
otb::PCAImageFilter< VectorImageType, VectorImageType, otb::Transform::FORWARD > ForwardPCAImageFilterType
unsigned int m_NumberOfEndmembers
void EnlargeOutputRequestedRegion(itk::DataObject *) override
VectorImageType::SizeType SizeType
itk::Statistics::MersenneTwisterRandomVariateGenerator RandomVariateGeneratorType
TVectorImage VectorImageType
This filter returns the the amplitude of the pixel vector.
otb::Image< InternalPixelType > ImageType
Estimates the endmembers present in a hyperspectral image.
This class streams the whole input image through the PersistentStatisticsImageFilter.
Apply a matrix multiplication over the channels of an image.
otb::MatrixImageFilter< VectorImageType, VectorImageType > MatrixImageFilterType
otb::VectorImageToAmplitudeImageFilter< VectorImageType, ImageType > VectorImageToAmplitudeImageFilterType
This class streams the whole input image through the PersistentStatisticsImageFilter.
This class streams the whole input image through the PersistentMinMaxImageFilter.
otb::StreamingStatisticsVectorImageFilter< VectorImageType, PrecisionType > StreamingStatisticsVectorImageFilterType
otb::StreamingMinMaxImageFilter< ImageType > StreamingMinMaxImageFilterType
VectorImageType::RegionType RegionType
This class streams the whole input image through the PersistentStatisticsImageFilter.
otb::ProjectiveProjectionImageFilter< VectorImageType, VectorImageType, PrecisionType > ProjectiveProjectionImageFilterType
otb::DotProductImageFilter< VectorImageType, ImageType > DotProductImageFilterType
otb::ConcatenateScalarValueImageFilter< VectorImageType, VectorImageType > ConcatenateScalarValueImageFilterType
itk::AbsImageFilter< ImageType, ImageType > AbsImageFilterType
otb::VectorImageToMatrixImageFilter< VectorImageType > VectorImageToMatrixImageFilterType
VectorImageType::PixelType PixelType