21 #ifndef otbDSFusionOfClassifiersImageFilter_h
22 #define otbDSFusionOfClassifiersImageFilter_h
24 #include "itkImageToImageFilter.h"
68 template <
class TInputImage,
class TOutputImage,
class TMaskImage = TOutputImage>
74 typedef itk::ImageToImageFilter<TInputImage, TOutputImage>
Superclass;
87 typedef typename InputImageType::InternalPixelType
ValueType;
88 typedef typename InputImageType::PixelType
PixelType;
109 itkSetMacro(LabelForNoDataPixels,
LabelType);
110 itkGetMacro(LabelForNoDataPixels,
LabelType);
114 itkSetMacro(LabelForUndecidedPixels,
LabelType);
115 itkGetMacro(LabelForUndecidedPixels,
LabelType);
150 void GenerateOutputInformation()
override;
153 void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId)
override;
156 void BeforeThreadedGenerateData()
override;
159 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
163 void operator=(
const Self&) =
delete;
179 #ifndef OTB_MANUAL_INSTANTIATION