|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
22 #ifndef otbSOMbasedImageFilter_h
23 #define otbSOMbasedImageFilter_h
26 #include "itkUnaryFunctorImageFilter.h"
43 template <
class TInput,
class TOutput,
class TDistanceMetric,
class TMap>
67 TOutput operator()(
const TInput& input);
74 void SetMap(
const MapType* theMap);
80 return this->m_Distance;
86 IndexType GetWinner(
const NeuronType& sample);
93 void operator=(
const Self&);
116 template <
class TInputImage,
class TOutputImage,
class TDistanceMetric,
class TMap>
118 :
public itk::UnaryFunctorImageFilter<
119 TInputImage, TOutputImage,
120 Functor::SOMbasedImageFilterFunctor<typename TInputImage::PixelType, typename TOutputImage::PixelType, TDistanceMetric, TMap>>
125 typedef typename itk::UnaryFunctorImageFilter<
150 void SetMap(
const MapType* theMap);
154 void BeforeThreadedGenerateData(
void)
override;
163 void operator=(
const Self&) =
delete;
171 #ifndef OTB_MANUAL_INSTANTIATION
itk::SmartPointer< const Self > ConstPointer
itk::SmartPointer< Self > Pointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
~SOMbasedImageFilter() override
TDistanceMetric DistanceType
virtual ~SOMbasedImageFilterFunctor()
DistanceType * GetDistance()
DistanceMetricType::Pointer DistanceMetricPointerType
TInputImage::PixelType MeasurementType
itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::SOMbasedImageFilterFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType, TDistanceMetric, TMap > > Superclass
MapType::Pointer MapPointerType
Functor::SOMbasedImageFilterFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType, TDistanceMetric, TMap > FunctorType
DistancePointerType m_Distance
This class implements the functor that perform substitution between input image pixels and the corres...
MapType::IndexType IndexType
SOMbasedImageFilterFunctor()
DistanceType::Pointer DistancePointerType
TDistanceMetric DistanceMetricType
This class perform the substitution between initial input image pixels and the winning neurons of a S...
MapType::PixelType NeuronType
SOMbasedImageFilterFunctor Self
MapType::Pointer MapPointerType