NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage > Class Template Reference

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. More...

Inheritance diagram for itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >:
Inheritance graph
[legend]
Collaboration diagram for itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >:
Collaboration graph
[legend]

Public Types

typedef
MIDASMaskByRegionImageFilter 
Self
 
typedef ImageToImageFilter
< TInputImage, TOutputImage > 
SuperClass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef TInputImage::IndexType IndexType
 
typedef TInputImage::SizeType SizeType
 
typedef TInputImage::RegionType RegionType
 
typedef TInputImage::PixelType InputPixelType
 
typedef TOutputImage::PixelType OutputPixelType
 

Public Member Functions

virtual const char * GetClassName () const
 
RegionType GetRegion () const
 Gets the region to keep. More...
 
void SetRegion (RegionType region)
 Sets the region to keep. More...
 
virtual void SetOutputBackgroundValue (OutputPixelType _arg)
 
virtual OutputPixelType GetOutputBackgroundValue () const
 
virtual void SetUserSetRegion (bool _arg)
 
virtual bool GetUserSetRegion () const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 MIDASMaskByRegionImageFilter ()
 
virtual ~MIDASMaskByRegionImageFilter ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
virtual void BeforeThreadedGenerateData ()
 
virtual void ThreadedGenerateData (const RegionType &outputRegionForThread, ThreadIdType threadNumber)
 

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >

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.

Within the region, the spec is:

Input 0  | Input 1 | Input 2 | Output
      0  |       0 |       0 |      0
      0  |       0 |       1 |      0
      0  |       1 |       0 |      1
      0  |       1 |       1 |      0
      1  |       0 |       0 |      1
      1  |       0 |       1 |      0
      1  |       1 |       0 |      1
      1  |       1 |       1 |      0

and input 1 has been called the "additions" image, as if the pixel is on, it has the effect of adding to the segmentation. The second image is called the "subtractions" image, and is used for connection breaker, so if the subtractions image pixel is on, the output must be off.

Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef SmartPointer<const Self> itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::ConstPointer
template<class TInputImage , class TOutputImage >
typedef TInputImage::IndexType itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::IndexType

Standard Typedefs.

template<class TInputImage , class TOutputImage >
typedef TInputImage::PixelType itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::InputPixelType
template<class TInputImage , class TOutputImage >
typedef TOutputImage::PixelType itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::OutputPixelType
template<class TInputImage , class TOutputImage >
typedef SmartPointer<Self> itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::Pointer
template<class TInputImage , class TOutputImage >
typedef TInputImage::RegionType itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::RegionType
template<class TInputImage , class TOutputImage >
typedef MIDASMaskByRegionImageFilter itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs

template<class TInputImage , class TOutputImage >
typedef TInputImage::SizeType itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::SizeType
template<class TInputImage , class TOutputImage >
typedef ImageToImageFilter<TInputImage, TOutputImage> itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::SuperClass

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::MIDASMaskByRegionImageFilter ( )
protected
template<class TInputImage , class TOutputImage >
virtual itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::~MIDASMaskByRegionImageFilter ( )
protectedvirtual

Member Function Documentation

template<class TInputImage , class TOutputImage >
virtual void itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData ( )
protectedvirtual
template<class TInputImage , class TOutputImage >
virtual const char* itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::GetClassName ( ) const
virtual

Run-time type information (and related methods)

template<class TInputImage , class TOutputImage >
virtual OutputPixelType itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::GetOutputBackgroundValue ( ) const
virtual
template<class TInputImage , class TOutputImage >
RegionType itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::GetRegion ( ) const

Gets the region to keep.

template<class TInputImage , class TOutputImage >
virtual bool itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::GetUserSetRegion ( ) const
virtual
template<class TInputImage , class TOutputImage >
static Pointer itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory

template<class TInputImage , class TOutputImage >
void itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protected
template<class TInputImage , class TOutputImage >
virtual void itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::SetOutputBackgroundValue ( OutputPixelType  _arg)
virtual

Set/Get methods to set the output background value. Default 0.

template<class TInputImage , class TOutputImage >
void itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::SetRegion ( RegionType  region)

Sets the region to keep.

template<class TInputImage , class TOutputImage >
virtual void itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::SetUserSetRegion ( bool  _arg)
virtual

Set/Get methods to set the flag controlling whether we actually use the region or not. Defaults false.

template<class TInputImage , class TOutputImage >
virtual void itk::MIDASMaskByRegionImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData ( const RegionType outputRegionForThread,
ThreadIdType  threadNumber 
)
protectedvirtual

The documentation for this class was generated from the following file: