OTB
9.0.0
Orfeo Toolbox
|
#include <otbMultivariateAlterationDetectorImageFilter.h>
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual VnlVectorType | GetMean1 () |
virtual VnlVectorType | GetMean2 () |
virtual const char * | GetNameOfClass () const |
virtual VnlVectorType | GetRho () |
virtual VnlMatrixType | GetV1 () |
virtual VnlMatrixType | GetV2 () |
itkGetObjectMacro (CovarianceEstimator, CovarianceEstimatorType) | |
void | SetInput1 (const TInputImage *image1) |
void | SetInput2 (const TInputImage *image2) |
Static Public Member Functions | |
static Pointer | New () |
CovarianceEstimatorPointer | m_CovarianceEstimator |
MatrixType | m_CovarianceMatrix |
VectorType | m_MeanValues |
VnlMatrixType | m_V1 |
VnlMatrixType | m_V2 |
VnlVectorType | m_Mean1 |
VnlVectorType | m_Mean2 |
VnlVectorType | m_Rho |
const TInputImage * | GetInput1 () |
const TInputImage * | GetInput2 () |
MultivariateAlterationDetectorImageFilter () | |
~MultivariateAlterationDetectorImageFilter () override | |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
void | GenerateOutputInformation () override |
MultivariateAlterationDetectorImageFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
This filter implements the Multivariate Alteration Detector.
This filter implements the Multivariate Alteration Detector, based on the following work:
A. A. Nielsen and K. Conradsen, "Multivariate alteration detection (mad) in multispectral, bi-temporal image data: a new approach to change detection studies," Remote Sens. Environ., vol. 64, pp. 1-19, (1998)
Multivariate Alteration Detector takes two images as inputs and produce a set of N change maps as a VectorImage (where N is the maximum of number of bands in first and second image) with the following properties:
This is a statistical method which can handle different modalities and even different bands and number of bands between images.
If numbers of bands in image 1 and 2 are equal, then change maps are sorted by increasing correlation. If number of bands is different, the change maps are sorted by decreasing correlation.
The GetV1() and GetV2() methods allow retrieving the linear combinations used to generate the Mad change maps as a vnl_matrix of double, and the GetRho() method allows retrieving the correlation associated to each Mad change maps as a vnl_vector.
This filter has been implemented from the Matlab code kindly made available by the authors here: http://www2.imm.dtu.dk/~aa/software.html
Both cases (same and different number of bands) have been validated by comparing the output image to the output produced by the Matlab code, and the reference images for testing have been generated from the Matlab code using Octave.
,
Definition at line 81 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef ConcatenateImageFilterType::Pointer otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::ConcatenateImageFilterPointer |
Definition at line 111 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef otb::ConcatenateVectorImageFilter<InputImageType, InputImageType, InputImageType> otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::ConcatenateImageFilterType |
Definition at line 110 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef itk::SmartPointer<const Self> otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 88 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef CovarianceEstimatorType::Pointer otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::CovarianceEstimatorPointer |
Definition at line 109 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef StreamingStatisticsVectorImageFilter<InputImageType> otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::CovarianceEstimatorType |
Internal filters types
Definition at line 108 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef InputImageType::ConstPointer otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::InputImageConstPointer |
Definition at line 99 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef InputImageType::PixelType otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
Definition at line 101 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef InputImageType::Pointer otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Definition at line 98 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef InputImageType::RegionType otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 100 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef TInputImage otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::InputImageType |
Some convenient typedefs.
Definition at line 94 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef MatrixType::InternalMatrixType otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::InternalMatrixType |
Definition at line 115 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef CovarianceEstimatorType::MatrixObjectType otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::MatrixObjectType |
Definition at line 113 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef MatrixObjectType::ComponentType otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::MatrixType |
Definition at line 114 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef OutputImageType::PixelType otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Definition at line 105 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef OutputImageType::Pointer otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
Definition at line 103 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef OutputImageType::RegionType otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 104 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef TOutputImage otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 102 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef itk::SmartPointer<Self> otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 87 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef VectorType::ValueType otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::RealType |
Definition at line 118 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef MultivariateAlterationDetectorImageFilter otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 85 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 86 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef CovarianceEstimatorType::RealPixelType otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::VectorType |
Definition at line 116 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef vnl_matrix<RealType> otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::VnlMatrixType |
Definition at line 121 of file otbMultivariateAlterationDetectorImageFilter.h.
typedef vnl_vector<RealType> otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::VnlVectorType |
Definition at line 120 of file otbMultivariateAlterationDetectorImageFilter.h.
|
protected |
Get the inputs
Definition at line 36 of file otbMultivariateAlterationDetectorImageFilter.hxx.
|
inlineoverrideprotected |
Get the inputs
Definition at line 158 of file otbMultivariateAlterationDetectorImageFilter.h.
|
privatedelete |
Get the inputs
virtual::itk::LightObject::Pointer otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Get the inputs
Definition at line 80 of file otbMultivariateAlterationDetectorImageFilter.hxx.
References otb::InverseValue(), and otb::SignOfValue().
const MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::InputImageType * otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::GetInput1 |
Get the inputs
Definition at line 51 of file otbMultivariateAlterationDetectorImageFilter.hxx.
const MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::InputImageType * otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::GetInput2 |
Get the inputs
Definition at line 69 of file otbMultivariateAlterationDetectorImageFilter.hxx.
|
virtual |
Get the mean of bands from image 1
|
virtual |
Get the mean of bands from image 2
|
virtual |
Run-time type information (and related methods).
|
virtual |
Get the correlation coefficient associated with each mad.
|
virtual |
Get the linear combinations of bands of image 1 associated to multivariate alteration detector. This is a square matrix of size nbBand of image 1.
|
virtual |
Get the linear combinations of bands of image 2 associated to multivariate alteration detector. This is a square matrix of size nbBand of image 2.
otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::itkGetObjectMacro | ( | CovarianceEstimator | , |
CovarianceEstimatorType | |||
) |
Get the covariance estimator (for progress reporting purposes)
|
static |
Method for creation through the object factory.
|
privatedelete |
Get the inputs
void otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::SetInput1 | ( | const TInputImage * | image1 | ) |
Connect one of the operands for pixel-wise addition
Definition at line 43 of file otbMultivariateAlterationDetectorImageFilter.hxx.
void otb::MultivariateAlterationDetectorImageFilter< TInputImage, TOutputImage >::SetInput2 | ( | const TInputImage * | image2 | ) |
Connect one of the operands for pixel-wise addition
Definition at line 61 of file otbMultivariateAlterationDetectorImageFilter.hxx.
|
overrideprotected |
Get the inputs
Definition at line 264 of file otbMultivariateAlterationDetectorImageFilter.hxx.
|
private |
Get the inputs
Definition at line 170 of file otbMultivariateAlterationDetectorImageFilter.h.
|
private |
Get the inputs
Definition at line 171 of file otbMultivariateAlterationDetectorImageFilter.h.
|
private |
Get the inputs
Definition at line 176 of file otbMultivariateAlterationDetectorImageFilter.h.
|
private |
Get the inputs
Definition at line 177 of file otbMultivariateAlterationDetectorImageFilter.h.
|
private |
Get the inputs
Definition at line 172 of file otbMultivariateAlterationDetectorImageFilter.h.
|
private |
Get the inputs
Definition at line 178 of file otbMultivariateAlterationDetectorImageFilter.h.
|
private |
Get the inputs
Definition at line 174 of file otbMultivariateAlterationDetectorImageFilter.h.
|
private |
Get the inputs
Definition at line 175 of file otbMultivariateAlterationDetectorImageFilter.h.