21 #ifndef otbExtractROIBase_h
22 #define otbExtractROIBase_h
24 #include "itkImageToImageFilter.h"
25 #include "itkSmartPointer.h"
26 #include "itkExtractImageFilterRegionCopier.h"
47 template <
class TInputImage,
class TOutputImage>
48 class ExtractROIBase :
public itk::ImageToImageFilter<TInputImage, TOutputImage>
53 typedef itk::ImageToImageFilter<TInputImage, TOutputImage>
Superclass;
86 typedef itk::ImageToImageFilterDetail::ExtractImageFilterRegionCopier<itkGetStaticConstMacro(
InputImageDimension),
96 itkSetMacro(StartX,
unsigned long);
97 itkGetConstMacro(StartX,
unsigned long);
98 itkSetMacro(StartY,
unsigned long);
99 itkGetConstMacro(StartY,
unsigned long);
102 itkSetMacro(SizeX,
unsigned long);
103 itkGetConstMacro(SizeX,
unsigned long);
104 itkSetMacro(SizeY,
unsigned long);
105 itkGetConstMacro(SizeY,
unsigned long);
113 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
181 #ifndef OTB_MANUAL_INSTANTIATION