29 #ifndef itkSpectra1DSupportWindowToMaskImageFilter_h 30 #define itkSpectra1DSupportWindowToMaskImageFilter_h 32 #include "itkImageToImageFilter.h" 42 template<
typename TInputImage,
typename TOutputImage >
44 public ImageToImageFilter< TInputImage,
53 typedef typename InputImageType::IndexType
IndexType;
58 typedef ImageToImageFilter< InputImageType, OutputImageType >
Superclass;
66 itkGetConstReferenceMacro( MaskIndex, IndexType );
67 itkSetMacro( MaskIndex, IndexType );
70 itkSetMacro( BackgroundValue, OutputPixelType );
71 itkGetConstMacro( BackgroundValue, OutputPixelType );
75 itkSetMacro( ForegroundValue, OutputPixelType );
76 itkGetConstMacro( ForegroundValue, OutputPixelType );
87 void operator=(
const Self & );
89 IndexType m_MaskIndex;
91 OutputPixelType m_BackgroundValue;
92 OutputPixelType m_ForegroundValue;
97 #ifndef ITK_MANUAL_INSTANTIATION 98 #include "itkSpectra1DSupportWindowToMaskImageFilter.hxx" 101 #endif // itkSpectra1DSupportWindowToMaskImageFilter_h InputImageType::IndexType IndexType
Spectra1DSupportWindowToMaskImageFilter Self
ImageToImageFilter< InputImageType, OutputImageType > Superclass
Spectra1DSupportWindowToMaskImageFilter()
Generate a mask image from the support window at a given index.
itkStaticConstMacro(ImageDimension, unsigned int, TInputImage::ImageDimension)
SmartPointer< Self > Pointer
OutputImageType::PixelType OutputPixelType
virtual void GenerateData() ITK_OVERRIDE
TOutputImage OutputImageType
TInputImage InputImageType
virtual ~Spectra1DSupportWindowToMaskImageFilter()
SmartPointer< const Self > ConstPointer