OTB
9.0.0
Orfeo Toolbox
|
#include <otbMaximumAutocorrelationFactorImageFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef CovarianceEstimatorType::Pointer | CovarianceEstimatorPointer |
typedef StreamingStatisticsVectorImageFilter< InternalImageType > | CovarianceEstimatorType |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageRegionType::IndexType | InputImageIndexType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef InputImageRegionType::SizeType | InputImageSizeType |
typedef TInputImage | InputImageType |
typedef InputImageType::ValueType | InputImageValueType |
typedef InputImageType::InternalPixelType | InputInternalPixelType |
typedef VectorImage< InternalPixelType, 2 > | InternalImageType |
typedef MatrixType::InternalMatrixType | InternalMatrixType |
typedef itk::NumericTraits< InputInternalPixelType >::RealType | InternalPixelType |
typedef CovarianceEstimatorType::MatrixObjectType | MatrixObjectType |
typedef MatrixObjectType::ComponentType | MatrixType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef VectorType::ValueType | RealType |
typedef MaximumAutocorrelationFactorImageFilter | Self |
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
typedef CovarianceEstimatorType::RealPixelType | VectorType |
typedef vnl_matrix< RealType > | VnlMatrixType |
typedef vnl_vector< RealType > | VnlVectorType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual VnlVectorType | GetAutoCorrelation () |
virtual const char * | GetNameOfClass () const |
virtual VnlMatrixType | GetV () |
itkGetObjectMacro (CovarianceEstimator, CovarianceEstimatorType) | |
itkGetObjectMacro (CovarianceEstimatorH, CovarianceEstimatorType) | |
itkGetObjectMacro (CovarianceEstimatorV, CovarianceEstimatorType) | |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
void | GenerateOutputInformation () override |
MaximumAutocorrelationFactorImageFilter () | |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
~MaximumAutocorrelationFactorImageFilter () override | |
Private Member Functions | |
MaximumAutocorrelationFactorImageFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
This filter implements the Maximum Autocorrelation Factor.
This filter implements the Maximum Autocorrelation Factor, based on the following work:
A. A. Nielsen, "Kernel maximum autocorrelation factor and minimum noise fraction transformations," IEEE Transactions on Image Processing, vol. 20, no. 3, pp. 612-624, (2011)
Maximum Autocorrelation Factor can be considered as a spatial extension of the PCA, in which new variates try to maximize auto-correlation between neighboring pixels instead of variance. Though the inverse transform can be computed, this filter only provides the forward transform for now.
The GetV() method allows retrieving the linear combinations used to generate new variates, and the GetAutoCorrelation() method allows retrieving the auto-correlation associated to each variate.
This filter has been implemented from the Matlab code kindly made available by the authors here: http://www2.imm.dtu.dk/~aa/software.html
this filter have been validated by comparing the output image to the output produced by the Matlab code, and the reference image for testing has been generated from the Matlab code using Octave.
,
Definition at line 69 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef itk::SmartPointer<const Self> otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 76 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef CovarianceEstimatorType::Pointer otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::CovarianceEstimatorPointer |
Definition at line 105 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef StreamingStatisticsVectorImageFilter<InternalImageType> otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::CovarianceEstimatorType |
Internal filters types
Definition at line 104 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef InputImageType::ConstPointer otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::InputImageConstPointer |
Definition at line 87 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef InputImageRegionType::IndexType otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::InputImageIndexType |
Definition at line 90 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef InputImageType::PixelType otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
Definition at line 91 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef InputImageType::Pointer otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Definition at line 86 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef InputImageType::RegionType otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 88 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef InputImageRegionType::SizeType otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::InputImageSizeType |
Definition at line 89 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef TInputImage otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::InputImageType |
Some convenient typedefs.
Definition at line 82 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef InputImageType::ValueType otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::InputImageValueType |
Definition at line 92 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef InputImageType::InternalPixelType otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::InputInternalPixelType |
Definition at line 97 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef VectorImage<InternalPixelType, 2> otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::InternalImageType |
Definition at line 100 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef MatrixType::InternalMatrixType otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::InternalMatrixType |
Definition at line 108 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef itk::NumericTraits<InputInternalPixelType>::RealType otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::InternalPixelType |
Definition at line 98 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef CovarianceEstimatorType::MatrixObjectType otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::MatrixObjectType |
Definition at line 106 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef MatrixObjectType::ComponentType otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::MatrixType |
Definition at line 107 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef OutputImageType::PixelType otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Definition at line 96 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef OutputImageType::Pointer otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
Definition at line 94 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef OutputImageType::RegionType otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 95 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef TOutputImage otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 93 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef itk::SmartPointer<Self> otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 75 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef VectorType::ValueType otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::RealType |
Definition at line 111 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef MaximumAutocorrelationFactorImageFilter otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 73 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 74 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef CovarianceEstimatorType::RealPixelType otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::VectorType |
Definition at line 109 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef vnl_matrix<RealType> otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::VnlMatrixType |
Definition at line 113 of file otbMaximumAutocorrelationFactorImageFilter.h.
typedef vnl_vector<RealType> otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::VnlVectorType |
Definition at line 112 of file otbMaximumAutocorrelationFactorImageFilter.h.
|
protected |
Definition at line 39 of file otbMaximumAutocorrelationFactorImageFilter.hxx.
|
inlineoverrideprotected |
Definition at line 135 of file otbMaximumAutocorrelationFactorImageFilter.h.
|
privatedelete |
virtual::itk::LightObject::Pointer otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Definition at line 47 of file otbMaximumAutocorrelationFactorImageFilter.hxx.
References otb::InverseValue(), and otb::SignOfValue().
|
virtual |
Get the auto-correlation associated with each Maf
|
virtual |
Run-time type information (and related methods).
|
virtual |
Get the linear combination used to compute Maf
otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::itkGetObjectMacro | ( | CovarianceEstimator | , |
CovarianceEstimatorType | |||
) |
Get the covariance estimator for image (use for progress reporting purposes)
otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::itkGetObjectMacro | ( | CovarianceEstimatorH | , |
CovarianceEstimatorType | |||
) |
Get the covariance estimator for horizontal autocorrelation (use for progress reporting purposes)
otb::MaximumAutocorrelationFactorImageFilter< TInputImage, TOutputImage >::itkGetObjectMacro | ( | CovarianceEstimatorV | , |
CovarianceEstimatorType | |||
) |
Get the covariance estimator for vertical autocorrelation (use for progress reporting purposes)
|
static |
Method for creation through the object factory.
|
privatedelete |
|
overrideprotected |
Definition at line 182 of file otbMaximumAutocorrelationFactorImageFilter.hxx.
|
private |
The auto-correlation associated with each Maf
Definition at line 165 of file otbMaximumAutocorrelationFactorImageFilter.h.
|
private |
The covariance estimator for the image
Definition at line 148 of file otbMaximumAutocorrelationFactorImageFilter.h.
|
private |
The covariance estimator for auto-correlation in horizontal direction
Definition at line 152 of file otbMaximumAutocorrelationFactorImageFilter.h.
|
private |
The covariance estimator for auto-correlation in vertical direction
Definition at line 156 of file otbMaximumAutocorrelationFactorImageFilter.h.
|
private |
The mean used to center data before computing Maf
Definition at line 162 of file otbMaximumAutocorrelationFactorImageFilter.h.
|
private |
The linear combination for Maf
Definition at line 159 of file otbMaximumAutocorrelationFactorImageFilter.h.