21 #ifndef otbMultiToMonoChannelExtractROI_h
22 #define otbMultiToMonoChannelExtractROI_h
27 #include "OTBImageBaseExport.h"
45 template <
class TInputPixelType,
class TOutputPixelType>
48 public ExtractROIBase<VectorImage<TInputPixelType, 2>, Image<TOutputPixelType, 2>>
86 itkSetMacro(Channel,
unsigned int);
87 itkGetConstMacro(Channel,
unsigned int);
91 itkStaticConstMacro(InputImageDimension,
unsigned int, InputImageType::ImageDimension);
92 itkStaticConstMacro(OutputImageDimension,
unsigned int, OutputImageType::ImageDimension);
100 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
110 void GenerateOutputInformation()
override;
115 void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId)
override;
119 void operator=(
const Self&) =
delete;
127 #ifndef OTB_MANUAL_INSTANTIATION