15 #ifndef itkMIDASDownSamplingFilter_h
16 #define itkMIDASDownSamplingFilter_h
18 #include <itkImageToImageFilter.h>
32 template <
class TInputImage,
class TOutputImage>
38 typedef ImageToImageFilter<TInputImage, TOutputImage>
SuperClass;
72 itkSetMacro(DownSamplingFactor,
unsigned int);
73 itkGetConstMacro(DownSamplingFactor,
unsigned int);
76 itkSetMacro(InValue, PixelType);
77 itkGetConstMacro(InValue, PixelType);
80 itkSetMacro(OutValue, PixelType);
81 itkGetConstMacro(OutValue, PixelType);
84 virtual void GenerateInputRequestedRegion();
85 virtual void GenerateOutputInformation();
90 void PrintSelf(std::ostream& os, Indent indent)
const;
93 virtual void GenerateData();
97 void operator=(
const Self&);
100 unsigned int m_DownSamplingFactor;
103 PixelType m_OutValue;
108 #ifndef ITK_MANUAL_INSTANTIATION
109 #include "itkMIDASDownSamplingFilter.txx"
virtual ~MIDASDownSamplingFilter()
Definition: itkMIDASDownSamplingFilter.h:89
MIDASDownSamplingFilter Self
Definition: itkMIDASDownSamplingFilter.h:37
SmartPointer< Self > Pointer
Definition: itkMIDASDownSamplingFilter.h:39
ImageToImageFilter< TInputImage, TOutputImage > SuperClass
Definition: itkMIDASDownSamplingFilter.h:38
ImageType::SizeType SizeType
Definition: niftkMakeLapUSProbeBasicModel.cxx:31
OutputImageType::SizeType OutputImageSizeType
Definition: itkMIDASDownSamplingFilter.h:67
Definition: niftkITKAffineResampleImage.cxx:74
ImageType::IndexType IndexType
Definition: niftkMakeLapUSProbeBasicModel.cxx:32
OutputImageType::IndexType OutputImageIndexType
Definition: itkMIDASDownSamplingFilter.h:68
TInputImage::SizeType SizeType
Definition: itkMIDASDownSamplingFilter.h:52
InputImageType::ConstPointer InputImageConstPointer
Definition: itkMIDASDownSamplingFilter.h:59
TInputImage::IndexType IndexType
Definition: itkMIDASDownSamplingFilter.h:49
InputImageType::RegionType InputImageRegionType
Definition: itkMIDASDownSamplingFilter.h:63
float PixelType
Definition: niftkBreastDCEandADC.cxx:88
ImageType::RegionType RegionType
Definition: niftkMakeLapUSProbeBasicModel.cxx:30
Performs the down sampling described in step 5 of "Interactive Algorithms for the segmentation and qu...
Definition: itkMIDASDownSamplingFilter.h:33
TInputImage::PixelType PixelType
Definition: itkMIDASDownSamplingFilter.h:43
TInputImage InputImageType
Definition: itkMIDASDownSamplingFilter.h:55
InputImageType::IndexType InputImageIndexType
Definition: itkMIDASDownSamplingFilter.h:62
InputImageType::SizeType InputImageSizeType
Definition: itkMIDASDownSamplingFilter.h:61
OutputImageType::RegionType OutputImageRegionType
Definition: itkMIDASDownSamplingFilter.h:69
TOutputImage OutputImageType
Definition: itkMIDASDownSamplingFilter.h:65
InputImageType::Pointer InputImagePointer
Definition: itkMIDASDownSamplingFilter.h:60
OutputImageType::Pointer OutputImagePointer
Definition: itkMIDASDownSamplingFilter.h:66
SmartPointer< const Self > ConstPointer
Definition: itkMIDASDownSamplingFilter.h:40