21 #ifndef otbMultiChannelExtractROI_h
22 #define otbMultiChannelExtractROI_h
26 #include "OTBImageBaseExport.h"
46 template <
class TInputPixelType,
class TOutputPixelType>
83 void SetFirstChannel(
unsigned int id);
84 itkGetConstMacro(FirstChannel,
unsigned int);
85 void SetLastChannel(
unsigned int id);
86 itkGetConstMacro(LastChannel,
unsigned int);
100 return (m_Channels.size());
105 void SetChannel(
unsigned int channel);
108 void ClearChannels(
void);
111 itkStaticConstMacro(InputImageDimension,
unsigned int, InputImageType::ImageDimension);
112 itkStaticConstMacro(OutputImageDimension,
unsigned int, OutputImageType::ImageDimension);
120 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
130 void GenerateOutputInformation()
override;
133 void ChannelsReInitialization();
136 void SetChannelsWorkWithLimits();
141 void ThreadedGenerateData(
const OutputImageRegionType& outputRegionForThread, itk::ThreadIdType threadId)
override;
145 void operator=(
const Self&) =
delete;
163 #ifndef OTB_MANUAL_INSTANTIATION