OTB
9.0.0
Orfeo Toolbox
|
#include <otbImageClassificationFilter.h>
Public Types | |
typedef ConfidenceImageType::Pointer | ConfidenceImagePointerType |
typedef otb::Image< double > | ConfidenceImageType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointerType |
typedef TInputImage | InputImageType |
typedef OutputImageType::PixelType | LabelType |
typedef MaskImageType::ConstPointer | MaskImageConstPointerType |
typedef MaskImageType::Pointer | MaskImagePointerType |
typedef TMaskImage | MaskImageType |
typedef ModelType::Pointer | ModelPointerType |
typedef MachineLearningModel< ValueType, LabelType > | ModelType |
typedef OutputImageType::Pointer | OutputImagePointerType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef ProbaImageType::Pointer | ProbaImagePointerType |
typedef otb::VectorImage< double > | ProbaImageType |
typedef itk::VariableLengthVector< double > | ProbaSampleType |
typedef ImageClassificationFilter | Self |
typedef itk::ImageToImageFilter< 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 () |
ModelPointerType | m_Model |
LabelType | m_DefaultLabel |
bool | m_UseConfidenceMap |
bool | m_UseProbaMap |
bool | m_BatchMode |
unsigned int | m_NumberOfClasses |
virtual void | SetModel (ModelType *_arg) |
itkGetObjectMacro (Model, ModelType) | |
virtual void | SetDefaultLabel (LabelType _arg) |
virtual LabelType | GetDefaultLabel () |
virtual void | SetUseConfidenceMap (bool _arg) |
virtual bool | GetUseConfidenceMap () |
virtual void | SetUseProbaMap (bool _arg) |
virtual bool | GetUseProbaMap () |
virtual void | SetBatchMode (bool _arg) |
virtual bool | GetBatchMode () |
virtual void | BatchModeOn () |
virtual void | BatchModeOff () |
virtual void | SetNumberOfClasses (unsigned int _arg) |
virtual unsigned int | GetNumberOfClasses () |
void | SetInputMask (const MaskImageType *mask) |
const MaskImageType * | GetInputMask (void) |
ConfidenceImageType * | GetOutputConfidence (void) |
ProbaImageType * | GetOutputProba (void) |
ImageClassificationFilter () | |
~ImageClassificationFilter () override | |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
void | ClassicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) |
void | BatchThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) |
void | BeforeThreadedGenerateData () override |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | GenerateOutputInformation () override |
ImageClassificationFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
This filter performs the classification of a VectorImage using a Model.
This filter is streamed and threaded, allowing to classify huge images while fully using several core.
Definition at line 44 of file otbImageClassificationFilter.h.
typedef ConfidenceImageType::Pointer otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::ConfidenceImagePointerType |
Definition at line 76 of file otbImageClassificationFilter.h.
typedef otb::Image<double> otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::ConfidenceImageType |
Definition at line 75 of file otbImageClassificationFilter.h.
typedef itk::SmartPointer<const Self> otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::ConstPointer |
Definition at line 51 of file otbImageClassificationFilter.h.
typedef InputImageType::ConstPointer otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::InputImageConstPointerType |
Definition at line 60 of file otbImageClassificationFilter.h.
typedef TInputImage otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::InputImageType |
Definition at line 57 of file otbImageClassificationFilter.h.
typedef OutputImageType::PixelType otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::LabelType |
Definition at line 70 of file otbImageClassificationFilter.h.
typedef MaskImageType::ConstPointer otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::MaskImageConstPointerType |
Definition at line 64 of file otbImageClassificationFilter.h.
typedef MaskImageType::Pointer otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::MaskImagePointerType |
Definition at line 65 of file otbImageClassificationFilter.h.
typedef TMaskImage otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::MaskImageType |
Definition at line 63 of file otbImageClassificationFilter.h.
typedef ModelType::Pointer otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::ModelPointerType |
Definition at line 73 of file otbImageClassificationFilter.h.
typedef MachineLearningModel<ValueType, LabelType> otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::ModelType |
Definition at line 72 of file otbImageClassificationFilter.h.
typedef OutputImageType::Pointer otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::OutputImagePointerType |
Definition at line 68 of file otbImageClassificationFilter.h.
typedef OutputImageType::RegionType otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::OutputImageRegionType |
Definition at line 69 of file otbImageClassificationFilter.h.
typedef TOutputImage otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::OutputImageType |
Definition at line 67 of file otbImageClassificationFilter.h.
typedef itk::SmartPointer<Self> otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::Pointer |
Definition at line 50 of file otbImageClassificationFilter.h.
typedef ProbaImageType::Pointer otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::ProbaImagePointerType |
Definition at line 81 of file otbImageClassificationFilter.h.
typedef otb::VectorImage<double> otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::ProbaImageType |
Output type for Proba
Definition at line 79 of file otbImageClassificationFilter.h.
typedef itk::VariableLengthVector<double> otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::ProbaSampleType |
Definition at line 82 of file otbImageClassificationFilter.h.
typedef ImageClassificationFilter otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::Self |
Standard typedefs
Definition at line 48 of file otbImageClassificationFilter.h.
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::Superclass |
Definition at line 49 of file otbImageClassificationFilter.h.
typedef InputImageType::InternalPixelType otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::ValueType |
Definition at line 61 of file otbImageClassificationFilter.h.
|
protected |
Constructor
|
inlineoverrideprotected |
Destructor
Definition at line 134 of file otbImageClassificationFilter.h.
|
privatedelete |
The model used for classification
|
virtual |
The model used for classification
|
virtual |
The model used for classification
|
protected |
The model used for classification
|
overrideprotected |
Before threaded generate data
|
protected |
The model used for classification
virtual::itk::LightObject::Pointer otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::CreateAnother | ( | void | ) | const |
|
inlineoverrideprotected |
The model used for classification
Definition at line 149 of file otbImageClassificationFilter.h.
|
virtual |
The model used for classification
|
virtual |
The model used for classification
const MaskImageType* otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::GetInputMask | ( | void | ) |
Get the input mask.
|
virtual |
Creation through object factory macro
|
virtual |
The model used for classification
ConfidenceImageType* otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::GetOutputConfidence | ( | void | ) |
Get the output confidence map
ProbaImageType* otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::GetOutputProba | ( | void | ) |
The model used for classification
|
virtual |
The model used for classification
|
virtual |
The model used for classification
otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::itkGetObjectMacro | ( | Model | , |
ModelType | |||
) |
The model used for classification
|
static |
Type macro
|
privatedelete |
The model used for classification
|
overrideprotected |
PrintSelf method
|
virtual |
The model used for classification
|
virtual |
Set/Get the default label
void otb::ImageClassificationFilter< TInputImage, TOutputImage, TMaskImage >::SetInputMask | ( | const MaskImageType * | mask | ) |
If set, only pixels within the mask will be classified. All pixels with a value greater than 0 in the mask, will be classified.
mask | The input mask. |
|
virtual |
Set/Get the model
|
virtual |
The model used for classification
|
virtual |
Set/Get the confidence map flag
|
virtual |
Set/Get the proba map flag
|
overrideprotected |
Threaded generate data
|
private |
The model used for classification
Definition at line 169 of file otbImageClassificationFilter.h.
|
private |
Default label for invalid pixels (when using a mask)
Definition at line 164 of file otbImageClassificationFilter.h.
|
private |
The model used for classification
Definition at line 161 of file otbImageClassificationFilter.h.
|
private |
The model used for classification
Definition at line 170 of file otbImageClassificationFilter.h.
|
private |
Flag to produce the confidence map (if the model supports it)
Definition at line 167 of file otbImageClassificationFilter.h.
|
private |
The model used for classification
Definition at line 168 of file otbImageClassificationFilter.h.