OTB
9.0.0
Orfeo Toolbox
|
#include <otbDSFusionOfClassifiersImageFilter.h>
Public Types | |
typedef std::map< LabelType, unsigned int > | ClassifierHistogramType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointerType |
typedef TInputImage | InputImageType |
typedef InputImageType::InternalPixelType | InternalPixelType |
typedef std::map< LabelType, MassType > | LabelMassMapType |
typedef OutputImageType::PixelType | LabelType |
typedef MaskImageType::ConstPointer | MaskImageConstPointerType |
typedef MaskImageType::Pointer | MaskImagePointerType |
typedef TMaskImage | MaskImageType |
typedef double | MassType |
typedef OutputImageType::Pointer | OutputImagePointerType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef InputImageType::PixelType | PixelType |
typedef itk::SmartPointer< Self > | Pointer |
typedef DSFusionOfClassifiersImageFilter | Self |
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
typedef InputImageType::InternalPixelType | ValueType |
typedef std::vector< LabelMassMapType > | VectorOfMapOfMassesOfBeliefType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Performs a fusion of n classification maps using the Dempster Shafer (noted DS) rule of combination.
This filter performs a fusion of n classification maps using the Dempster Shafer rule of combination from an otbVectorImage with n channels, each one corresponding to an input classification map to be fused. This otbVectorImage can be obtained with the help of a preliminary use of the otbImageListToVectorImageFilter.
Moreover, the otbDSFusionOfClassifiersImageFilter needs as additional input a std::vector containing the n std::maps of Masses Of Belief (noted MOB). Each std::map<Label, MOB> in this input std::vector is related to one classifier and links each label to its mass of belief in this classifier.
The output label image resulting from the DS fusion of classification maps only has one channel (monoband image).
The recursive optimized Dempster Shafer combination of masses of belief is performed in 2 steps for each channel component of each pixel of the input otbVectorImage within the input mask, and is based on:
[1] L. Xu, A. Krzyzak, and C.Y. Suen, "Methods of combining multiple classifiers and their applications to handwriting recognition," Systems, Man and Cybernetics, IEEE Transactions on vol. 22, no.3, pp. 418-435, May/Jun 1992.
[2] D. Ruta and B. Gabrys, "An Overview of Classifier Fusion Methods," Computing and Information Systems, vol. 7 pp.1-10, University of Paisley, 2000.
[3] C.R. Parikh, M.J. Pont, and N.B. Jones, "Application of Dempster-Shafer theory in condition monitoring systems: A case study," Pattern Recognition Letters, vol. 22 (6-7): pp. 777-785, 2001.
Definition at line 69 of file otbDSFusionOfClassifiersImageFilter.h.
typedef std::map<LabelType, unsigned int> otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::ClassifierHistogramType |
Definition at line 104 of file otbDSFusionOfClassifiersImageFilter.h.
typedef itk::SmartPointer<const Self> otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::ConstPointer |
Definition at line 76 of file otbDSFusionOfClassifiersImageFilter.h.
typedef InputImageType::ConstPointer otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::InputImageConstPointerType |
Definition at line 86 of file otbDSFusionOfClassifiersImageFilter.h.
typedef TInputImage otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::InputImageType |
Definition at line 82 of file otbDSFusionOfClassifiersImageFilter.h.
typedef InputImageType::InternalPixelType otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::InternalPixelType |
Definition at line 89 of file otbDSFusionOfClassifiersImageFilter.h.
typedef std::map<LabelType, MassType> otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::LabelMassMapType |
Definition at line 103 of file otbDSFusionOfClassifiersImageFilter.h.
typedef OutputImageType::PixelType otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::LabelType |
Definition at line 100 of file otbDSFusionOfClassifiersImageFilter.h.
typedef MaskImageType::ConstPointer otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::MaskImageConstPointerType |
Definition at line 93 of file otbDSFusionOfClassifiersImageFilter.h.
typedef MaskImageType::Pointer otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::MaskImagePointerType |
Definition at line 94 of file otbDSFusionOfClassifiersImageFilter.h.
typedef TMaskImage otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::MaskImageType |
Definition at line 92 of file otbDSFusionOfClassifiersImageFilter.h.
typedef double otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::MassType |
Definition at line 102 of file otbDSFusionOfClassifiersImageFilter.h.
typedef OutputImageType::Pointer otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::OutputImagePointerType |
Definition at line 98 of file otbDSFusionOfClassifiersImageFilter.h.
typedef OutputImageType::RegionType otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::OutputImageRegionType |
Definition at line 99 of file otbDSFusionOfClassifiersImageFilter.h.
typedef TOutputImage otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::OutputImageType |
Definition at line 97 of file otbDSFusionOfClassifiersImageFilter.h.
typedef InputImageType::PixelType otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::PixelType |
Definition at line 88 of file otbDSFusionOfClassifiersImageFilter.h.
typedef itk::SmartPointer<Self> otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::Pointer |
Definition at line 75 of file otbDSFusionOfClassifiersImageFilter.h.
typedef DSFusionOfClassifiersImageFilter otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::Self |
Standard typedefs
Definition at line 73 of file otbDSFusionOfClassifiersImageFilter.h.
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::Superclass |
Definition at line 74 of file otbDSFusionOfClassifiersImageFilter.h.
typedef InputImageType::InternalPixelType otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::ValueType |
Definition at line 87 of file otbDSFusionOfClassifiersImageFilter.h.
typedef std::vector<LabelMassMapType> otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::VectorOfMapOfMassesOfBeliefType |
Definition at line 105 of file otbDSFusionOfClassifiersImageFilter.h.
|
protected |
Constructor
|
inlineoverrideprotected |
Destructor
Definition at line 145 of file otbDSFusionOfClassifiersImageFilter.h.
|
privatedelete |
No Data label for invalid pixels (when using a mask)
|
overrideprotected |
Before threaded generate data
virtual::itk::LightObject::Pointer otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Generate output information
const VectorOfMapOfMassesOfBeliefType* otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::GetInputMapsOfMassesOfBelief | ( | void | ) |
No Data label for invalid pixels (when using a mask)
const MaskImageType* otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::GetInputMask | ( | void | ) |
Get the input mask.
|
virtual |
No Data label for invalid pixels (when using a mask)
|
virtual |
No Data label for invalid pixels (when using a mask)
|
virtual |
Creation through object factory macro
|
static |
Type macro
|
privatedelete |
No Data label for invalid pixels (when using a mask)
const LabelType otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::OptimizedDSMassCombination | ( | PixelType | vectorPixelValue | ) |
No Data label for invalid pixels (when using a mask)
|
overrideprotected |
PrintSelf method
void otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::SetInputMapsOfMassesOfBelief | ( | const VectorOfMapOfMassesOfBeliefType * | ptrVectorOfMapOfMassesOfBelief | ) |
No Data label for invalid pixels (when using a mask)
void otb::DSFusionOfClassifiersImageFilter< TInputImage, TOutputImage, TMaskImage >::SetInputMask | ( | const MaskImageType * | mask | ) |
If set, only pixels within the mask (i.e. pixels different from 0 in the InputMask) will be fused. The pixels out of the mask (i.e. pixels equal to 0 in the InputMask) will be set to m_LabelForNoDataPixels in the Output fused image.
mask | The input mask. |
|
virtual |
Set/Get the m_LabelForNoDataPixels
|
virtual |
Set/Get the LabelForUndecidedPixels
|
overrideprotected |
Threaded generate data
|
private |
No Data label for invalid pixels (when using a mask)
Definition at line 173 of file otbDSFusionOfClassifiersImageFilter.h.
|
private |
Undecided label for pixels with NOT unique DS voting
Definition at line 176 of file otbDSFusionOfClassifiersImageFilter.h.
|
private |
No Data label for invalid pixels (when using a mask)
Definition at line 167 of file otbDSFusionOfClassifiersImageFilter.h.
|
private |
No Data label for invalid pixels (when using a mask)
Definition at line 165 of file otbDSFusionOfClassifiersImageFilter.h.
|
private |
No Data label for invalid pixels (when using a mask)
Definition at line 166 of file otbDSFusionOfClassifiersImageFilter.h.
|
private |
No Data label for invalid pixels (when using a mask)
Definition at line 169 of file otbDSFusionOfClassifiersImageFilter.h.
|
private |
No Data label for invalid pixels (when using a mask)
Definition at line 170 of file otbDSFusionOfClassifiersImageFilter.h.