20 #ifndef otbImageDimensionalityReduction_h
21 #define otbImageDimensionalityReduction_h
23 #include "itkImageToImageFilter.h"
41 template <
class TInputImage,
class TOutputImage,
class TMaskImage = TOutputImage>
47 typedef itk::ImageToImageFilter<TInputImage, TOutputImage>
Superclass;
59 typedef typename InputImageType::InternalPixelType
ValueType;
68 typedef typename OutputImageType::InternalPixelType
LabelType;
87 itkSetMacro(UseConfidenceMap,
bool);
88 itkGetMacro(UseConfidenceMap,
bool);
91 itkSetMacro(BatchMode,
bool);
92 itkGetMacro(BatchMode,
bool);
93 itkBooleanMacro(BatchMode);
123 virtual void GenerateOutputInformation()
override;
126 void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId)
override;
127 void ClassicThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId);
128 void BatchThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId);
131 void BeforeThreadedGenerateData()
override;
134 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
138 void operator=(
const Self&) =
delete;
151 #ifndef OTB_MANUAL_INSTANTIATION