OTB
9.0.0
Orfeo Toolbox
|
#include <otbSOMImageClassificationFilter.h>
Public Types | |
typedef ClassifierType::Pointer | ClassifierPointerType |
typedef otb::SOMClassifier< ListSampleType, SOMMapType, LabelType > | ClassifierType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointerType |
typedef TInputImage | InputImageType |
typedef OutputImageType::PixelType | LabelType |
typedef ListSampleType::Pointer | ListSamplePointerType |
typedef itk::Statistics::ListSample< SampleType > | ListSampleType |
typedef MaskImageType::ConstPointer | MaskImageConstPointerType |
typedef MaskImageType::Pointer | MaskImagePointerType |
typedef TMaskImage | MaskImageType |
typedef OutputImageType::Pointer | OutputImagePointerType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef SOMMapType::PixelType | SampleType |
typedef SOMImageClassificationFilter | Self |
typedef SOMMapType::Pointer | SOMMapPointerType |
typedef TSOMMap | SOMMapType |
typedef itk::InPlaceImageFilter< TInputImage, TOutputImage > | Superclass |
typedef InputImageType::InternalPixelType | ValueType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static Pointer | New () |
SOMMapPointerType | m_Map |
LabelType | m_DefaultLabel |
virtual void | SetMap (SOMMapType *_arg) |
itkGetObjectMacro (Map, SOMMapType) | |
virtual void | SetDefaultLabel (LabelType _arg) |
virtual LabelType | GetDefaultLabel () |
void | SetInputMask (const MaskImageType *mask) |
const MaskImageType * | GetInputMask (void) |
SOMImageClassificationFilter () | |
~SOMImageClassificationFilter () override | |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
void | BeforeThreadedGenerateData () override |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
SOMImageClassificationFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
This filter performs the classification of a VectorImage using a given SOM map.
This filter is streamed and threaded, allowing to classify huge images. Because the internal sample type has to be an itk::FixedArray, one must specify at compilation time the maximum sample dimension. It is up to the user to specify a MaxSampleDimension sufficiently high to integrate all its features. This filter internally use one SVMClassifier per thread.
Definition at line 45 of file otbSOMImageClassificationFilter.h.
typedef ClassifierType::Pointer otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::ClassifierPointerType |
Definition at line 80 of file otbSOMImageClassificationFilter.h.
typedef otb::SOMClassifier<ListSampleType, SOMMapType, LabelType> otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::ClassifierType |
Definition at line 79 of file otbSOMImageClassificationFilter.h.
typedef itk::SmartPointer<const Self> otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::ConstPointer |
Definition at line 52 of file otbSOMImageClassificationFilter.h.
typedef InputImageType::ConstPointer otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::InputImageConstPointerType |
Definition at line 61 of file otbSOMImageClassificationFilter.h.
typedef TInputImage otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::InputImageType |
Definition at line 58 of file otbSOMImageClassificationFilter.h.
typedef OutputImageType::PixelType otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::LabelType |
Definition at line 71 of file otbSOMImageClassificationFilter.h.
typedef ListSampleType::Pointer otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::ListSamplePointerType |
Definition at line 78 of file otbSOMImageClassificationFilter.h.
typedef itk::Statistics::ListSample<SampleType> otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::ListSampleType |
Definition at line 77 of file otbSOMImageClassificationFilter.h.
typedef MaskImageType::ConstPointer otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::MaskImageConstPointerType |
Definition at line 65 of file otbSOMImageClassificationFilter.h.
typedef MaskImageType::Pointer otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::MaskImagePointerType |
Definition at line 66 of file otbSOMImageClassificationFilter.h.
typedef TMaskImage otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::MaskImageType |
Definition at line 64 of file otbSOMImageClassificationFilter.h.
typedef OutputImageType::Pointer otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::OutputImagePointerType |
Definition at line 69 of file otbSOMImageClassificationFilter.h.
typedef OutputImageType::RegionType otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::OutputImageRegionType |
Definition at line 70 of file otbSOMImageClassificationFilter.h.
typedef TOutputImage otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::OutputImageType |
Definition at line 68 of file otbSOMImageClassificationFilter.h.
typedef itk::SmartPointer<Self> otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::Pointer |
Definition at line 51 of file otbSOMImageClassificationFilter.h.
typedef SOMMapType::PixelType otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::SampleType |
Definition at line 75 of file otbSOMImageClassificationFilter.h.
typedef SOMImageClassificationFilter otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::Self |
Standard typedefs
Definition at line 49 of file otbSOMImageClassificationFilter.h.
typedef SOMMapType::Pointer otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::SOMMapPointerType |
Definition at line 74 of file otbSOMImageClassificationFilter.h.
typedef TSOMMap otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::SOMMapType |
Definition at line 73 of file otbSOMImageClassificationFilter.h.
typedef itk::InPlaceImageFilter<TInputImage, TOutputImage> otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::Superclass |
Definition at line 50 of file otbSOMImageClassificationFilter.h.
typedef InputImageType::InternalPixelType otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::ValueType |
Definition at line 62 of file otbSOMImageClassificationFilter.h.
|
protected |
Constructor
|
inlineoverrideprotected |
Destructor
Definition at line 109 of file otbSOMImageClassificationFilter.h.
|
privatedelete |
The SOM model used for classification
|
overrideprotected |
Before threaded generate data
virtual::itk::LightObject::Pointer otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::CreateAnother | ( | void | ) | const |
|
virtual |
The SOM model used for classification
const MaskImageType* otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::GetInputMask | ( | void | ) |
Get the input mask.
|
virtual |
Creation through object factory macro
otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::itkGetObjectMacro | ( | Map | , |
SOMMapType | |||
) |
The SOM model used for classification
|
static |
Type macro
|
privatedelete |
The SOM model used for classification
|
overrideprotected |
PrintSelf method
|
virtual |
Set/Get the default label
void otb::SOMImageClassificationFilter< TInputImage, TOutputImage, TSOMMap, TMaskImage >::SetInputMask | ( | const MaskImageType * | mask | ) |
If set, only pixels within the mask will be classified.
mask | The input mask. |
|
virtual |
Set/Get the svm model
|
overrideprotected |
Threaded generate data
|
private |
Default label for invalid pixels (when using a mask)
Definition at line 130 of file otbSOMImageClassificationFilter.h.
|
private |
The SOM model used for classification
Definition at line 127 of file otbSOMImageClassificationFilter.h.