21 #ifndef otbInnerProductPCAImageFilter_h
22 #define otbInnerProductPCAImageFilter_h
65 template <
class TInputImage,
class TOutputImage>
71 typedef itk::ImageToImageFilter<TInputImage, TOutputImage>
Superclass;
93 typedef itk::UnaryFunctorImageFilter<InputImageType, InternalImageType, MeanFunctorType>
MeanFilterType;
103 itkSetMacro(NumberOfPrincipalComponentsRequired,
unsigned int);
104 itkGetMacro(NumberOfPrincipalComponentsRequired,
unsigned int);
108 itkSetMacro(GenerateMeanComponent,
bool);
109 itkGetMacro(GenerateMeanComponent,
bool);
110 itkBooleanMacro(GenerateMeanComponent);
114 itkSetMacro(CenterData,
bool);
115 itkGetMacro(CenterData,
bool);
116 itkBooleanMacro(CenterData);
126 void GenerateData(
void)
override;
137 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
147 void GenerateOutputInformation()
override;
176 #ifndef OTB_MANUAL_INSTANTIATION
This filter concatenates the vector pixel of the first image with the vector pixel of the second imag...
itk::SmartPointer< Self > Pointer
Applies the Inner product to an vector image. Implement the itk::ImagePCAShapeModelEstimator algorith...
itk::SmartPointer< Self > Pointer
This functor generate the mean value of a component pixels.
This is a helper class that convert an otb::Image into a single-channel otb::VectorImage.
itk::SmartPointer< Self > Pointer
Creation of an "otb" image which contains metadata.
Performs a PCA with streaming capabilities.
unsigned int m_NumberOfPrincipalComponentsRequired
ConcatenateFilterPointer m_ConcatenateFilter
TInputImage InputImageType
TOutputImage OutputImageType
itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
EstimatePCAFilterPointer m_EstimatePCAFilter
otbGetObjectMemberMacro(NormalizePCAFilter, UseUnbiasedEstimator, bool)
InnerProductPCAImageFilter(const Self &)=delete
bool m_GenerateMeanComponent
MeanFilterPointer m_MeanFilter
Functor::MeanFunctor< typename InputImageType::PixelType, typename InternalImageType::PixelType > MeanFunctorType
otbSetObjectMemberMacro(NormalizePCAFilter, UseUnbiasedEstimator, bool)
Image< typename InputImageType::InternalPixelType > InternalImageType
MeanFilterType::Pointer MeanFilterPointer
~InnerProductPCAImageFilter() override
itk::UnaryFunctorImageFilter< InputImageType, InternalImageType, MeanFunctorType > MeanFilterType
itk::SmartPointer< const Self > ConstPointer
CastFilterType::Pointer CastFilterPointer
CastFilterPointer m_CastFilter
ImageToVectorImageCastFilter< InternalImageType, OutputImageType > CastFilterType
void operator=(const Self &)=delete
itk::SmartPointer< Self > Pointer
NormalizeInnerProductPCAImageFilter< OutputImageType, OutputImageType > NormalizePCAFilterType
InnerProductPCAImageFilter Self
ConcatenateVectorImageFilter< OutputImageType, OutputImageType, OutputImageType > ConcatenateFilterType
EstimatePCAFilterType::Pointer EstimatePCAFilterPointer
NormalizePCAFilterType::Pointer NormalizePCAFilterPointer
NormalizePCAFilterPointer m_NormalizePCAFilter
EstimateInnerProductPCAImageFilter< InputImageType, OutputImageType > EstimatePCAFilterType
ConcatenateFilterType::Pointer ConcatenateFilterPointer
The aim of the class is to normalise vector images using a vector coefficient values.
itk::SmartPointer< Self > Pointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.