15 #ifndef itkMIDASMaskByRegionImageFilter_h
16 #define itkMIDASMaskByRegionImageFilter_h
18 #include <itkImageToImageFilter.h>
47 template <
class TInputImage,
class TOutputImage>
55 typedef ImageToImageFilter<TInputImage, TOutputImage>
SuperClass;
73 RegionType GetRegion()
const;
76 void SetRegion(RegionType region);
79 itkSetMacro(OutputBackgroundValue, OutputPixelType);
80 itkGetConstMacro(OutputBackgroundValue, OutputPixelType);
83 itkSetMacro(UserSetRegion,
bool);
84 itkGetConstMacro(UserSetRegion,
bool);
90 void PrintSelf(std::ostream& os, Indent indent)
const;
92 virtual void BeforeThreadedGenerateData();
93 virtual void ThreadedGenerateData(
const RegionType& outputRegionForThread, ThreadIdType threadNumber);
97 void operator=(
const Self&);
101 OutputPixelType m_OutputBackgroundValue;
107 #ifndef ITK_MANUAL_INSTANTIATION
108 #include "itkMIDASMaskByRegionImageFilter.txx"
ImageType::SizeType SizeType
Definition: niftkMakeLapUSProbeBasicModel.cxx:31
Definition: niftkITKAffineResampleImage.cxx:74
ImageType::IndexType IndexType
Definition: niftkMakeLapUSProbeBasicModel.cxx:32
TInputImage::PixelType InputPixelType
Definition: itkMIDASMaskByRegionImageFilter.h:69
SmartPointer< const Self > ConstPointer
Definition: itkMIDASMaskByRegionImageFilter.h:57
TInputImage::IndexType IndexType
Definition: itkMIDASMaskByRegionImageFilter.h:63
ImageToImageFilter< TInputImage, TOutputImage > SuperClass
Definition: itkMIDASMaskByRegionImageFilter.h:55
float PixelType
Definition: niftkBreastDCEandADC.cxx:88
TOutputImage::PixelType OutputPixelType
Definition: itkMIDASMaskByRegionImageFilter.h:70
SmartPointer< Self > Pointer
Definition: itkMIDASMaskByRegionImageFilter.h:56
ImageType::RegionType RegionType
Definition: niftkMakeLapUSProbeBasicModel.cxx:30
TInputImage::RegionType RegionType
Definition: itkMIDASMaskByRegionImageFilter.h:68
Class, developed for MIDAS migration, that outputs an image the same size as the input, but you can specify a region, and that region is kept, and anything outside that region, set to a single background value. Used for axial cut-off.
Definition: itkMIDASMaskByRegionImageFilter.h:48
TInputImage::SizeType SizeType
Definition: itkMIDASMaskByRegionImageFilter.h:67
MIDASMaskByRegionImageFilter Self
Definition: itkMIDASMaskByRegionImageFilter.h:54