21 #ifndef otbSOMImageClassificationFilter_h
22 #define otbSOMImageClassificationFilter_h
25 #include "itkInPlaceImageFilter.h"
26 #include "itkListSample.h"
44 template <
class TInputImage,
class TOutputImage,
class TSOMMap,
class TMaskImage = TOutputImage>
50 typedef itk::InPlaceImageFilter<TInputImage, TOutputImage>
Superclass;
62 typedef typename InputImageType::InternalPixelType
ValueType;
71 typedef typename OutputImageType::PixelType
LabelType;
120 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
133 #ifndef OTB_MANUAL_INSTANTIATION
This class implements a SOM-Based classifier.
itk::SmartPointer< Self > Pointer
This filter performs the classification of a VectorImage using a given SOM map.
TOutputImage OutputImageType
void operator=(const Self &)=delete
OutputImageType::PixelType LabelType
itkGetObjectMacro(Map, SOMMapType)
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
MaskImageType::ConstPointer MaskImageConstPointerType
itk::InPlaceImageFilter< TInputImage, TOutputImage > Superclass
itk::SmartPointer< const Self > ConstPointer
TInputImage InputImageType
MaskImageType::Pointer MaskImagePointerType
InputImageType::InternalPixelType ValueType
const MaskImageType * GetInputMask(void)
ClassifierType::Pointer ClassifierPointerType
SOMMapType::Pointer SOMMapPointerType
~SOMImageClassificationFilter() override
ListSampleType::Pointer ListSamplePointerType
itk::Statistics::ListSample< SampleType > ListSampleType
otb::SOMClassifier< ListSampleType, SOMMapType, LabelType > ClassifierType
OutputImageType::RegionType OutputImageRegionType
SOMImageClassificationFilter Self
InputImageType::ConstPointer InputImageConstPointerType
void SetInputMask(const MaskImageType *mask)
SOMImageClassificationFilter()
void BeforeThreadedGenerateData() override
OutputImageType::Pointer OutputImagePointerType
itk::SmartPointer< Self > Pointer
void PrintSelf(std::ostream &os, itk::Indent indent) const override
SOMMapType::PixelType SampleType
SOMImageClassificationFilter(const Self &)=delete
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.