|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbSparseUnmixingImageFilter_h
22 #define otbSparseUnmixingImageFilter_h
24 #include "itkListSample.h"
25 #include "itkHistogram.h"
54 template <
class TInputImage,
class TOutputImage,
unsigned int VNbInputImage,
class TPrecision = double,
72 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
73 itkStaticConstMacro(OutputImageDimension,
unsigned int, TOutputImage::ImageDimension);
74 itkStaticConstMacro(NumberOfInputImages,
unsigned int, VNbInputImage);
115 using Superclass::SetInput;
121 for (
unsigned int i = 0; i < NumberOfInputImages; ++i)
123 m_WvltFilterList->GetNthElement(i)->SetNumberOfDecomposition(nb);
129 return m_WvltFilterList->GetNthElement(0)->GetNumberOfDecomposition();
134 m_AngleListFilter->SetThresholdValue(th);
139 return m_AngleListFilter->GetThresholdValue();
147 if (m_NumberOfComponentsRequired == 0)
148 GenerateNumberOfComponentsRequired();
149 return m_NumberOfComponentsRequired;
151 itkSetMacro(NumberOfComponentsRequired,
unsigned int);
154 itkSetMacro(NumberOfHistogramBins,
unsigned int);
155 itkGetMacro(NumberOfHistogramBins,
unsigned int);
157 itkGetConstMacro(AngleList, AngleListType*);
158 itkGetConstMacro(WvltFilterList, WvltFilterListType*);
159 itkGetConstMacro(AngleListFilter, AngleListFilterType*);
160 itkGetConstMacro(Histogram, HistogramType*);
161 itkGetConstMacro(Transformer, TransformFilterType*);
169 void GenerateData()
override;
170 virtual void GenerateNumberOfComponentsRequired();
174 void operator=(
const Self&) =
delete;
188 #ifndef OTB_MANUAL_INSTANTIATION
This class select N-uple join-wvlt coeff for sparse unmixing.
itk::SmartPointer< Self > Pointer
unsigned int m_NumberOfComponentsRequired
AngleListPointerType m_AngleList
SparseWvltToAngleMapperListFilter< InternalImageListType, AngleListType, NumberOfInputImages > AngleListFilterType
WaveletFilterBank< InternalImageType, InternalImageType, WaveletOperatorType, Wavelet::FORWARD > FilterBankType
itk::SmartPointer< Self > Pointer
unsigned int GetNumberOfDecomposition() const
ObjectList< WvltFilterType > WvltFilterListType
WvltFilterType::OutputImageListType InternalImageListType
void SetThresholdValue(PrecisionType th)
TOutputImage OutputImageType
TInputImage InputImageType
Base class for all the filters producing an otbImageList.
ImageToImageListFilter< TInputImage, TOutputImage > Superclass
itk::Statistics::Histogram< PrecisionType > HistogramType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Creation of an "otb" image which contains metadata.
WvltFilterListType::Pointer WvltFilterListPointerType
A Generic NeighborhoodOperator wavelets filter set defined for templation.
Performs spherical transformation in ND space from a set of angle values.
AngleListFilterPointerType m_AngleListFilter
OutputImageListType::Pointer OutputImageListPointerType
TOutputSampleList OutputSampleListType
itk::SmartPointer< const Self > ConstPointer
HistogramType::SizeType HistogramSizeType
itk::SmartPointer< Self > Pointer
AngleListFilterType::Pointer AngleListFilterPointerType
TransformFilterPointerType m_Transformer
itk::Array< PrecisionType > AngleType
unsigned int GetNumberOfComponentsRequired() const
AngleListType::Pointer AngleListPointerType
Superclass::OutputImageListType OutputImageListType
AngleListFilterType::OutputSampleListType InternalSampleListType
WvltFilterListPointerType m_WvltFilterList
WvltFilterType::Pointer WvltFilterPointerType
HistogramType::MeasurementVectorType MeasurementVectorType
unsigned int m_NumberOfHistogramBins
itk::Statistics::ListSample< AngleType > AngleListType
void SetNumberOfDecomposition(unsigned int nb)
itk::SmartPointer< Self > Pointer
This class detects linear dependencies from N wavelet decompositions.
TransformFilterType::OutputImageIterator OutputImageIterator
SparseUnmixingImageFilter Self
OutputImageListType::Iterator OutputImageIterator
HistogramPointerType m_Histogram
One level stationary wavelet transform.
TransformFilterType::OutputImageListPointerType OutputImageListPointerType
HistogramType::IndexType HistogramIndexType
~SparseUnmixingImageFilter() override
HistogramType::Pointer HistogramPointerType
This class is a generic all-purpose wrapping around an std::vector<itk::SmartPointer<ObjectType> >.
WaveletOperator< MotherWaveletOperatorID, Wavelet::FORWARD, PrecisionType, InputImageDimension > WaveletOperatorType
TInputImage InputImageType
WaveletTransform< InternalImageType, InternalImageType, FilterBankType, Wavelet::FORWARD > WvltFilterType
TransformFilterType::OutputImageListType OutputImageListType
Base class for all the filters taking an image input to produce an image list.
PrecisionType GetThresholdValue() const
TransformFilterType::Pointer TransformFilterPointerType
Image< PrecisionType, InputImageDimension > InternalImageType
AngularProjectionSetImageFilter< InputImageType, OutputImageType, AngleListType, PrecisionType > TransformFilterType
HistogramType::MeasurementType MeasurementType