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::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions > Class Template Reference

Assumes input is GM, WM, CSF labelled image, where the GM is exaclty 1 voxel wide, we then set this GM voxel to WM or CSF depending on thickness, and the immediate neighbourhood. More...

Inheritance diagram for itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >:
Inheritance graph
[legend]
Collaboration diagram for itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >:
Collaboration graph
[legend]

Public Types

typedef
SetGreyBoundaryToWhiteOrCSFFilter 
Self
 
typedef
BaseCTESegmentationFilter
< TImageType > 
Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::InputPixelType InputPixelType
 
typedef Superclass::InputIndexType InputIndexType
 
typedef
Superclass::InputImagePointer 
InputImagePointer
 
typedef
Superclass::InputImageConstPointer 
InputImageConstPointer
 
typedef Superclass::OutputPixelType OutputPixelType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef
Superclass::OutputImagePointer 
OutputImagePointer
 
typedef
Superclass::OutputImageConstPointer 
OutputImageConstPointer
 
typedef TScalarType ThicknessPixelType
 
typedef Image
< ThicknessPixelType,
NDimensions > 
ThicknessImageType
 
- Public Types inherited from itk::BaseCTESegmentationFilter< TImageType >
typedef BaseCTESegmentationFilter Self
 
typedef BaseCTEFilter< TImageType > Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::InputPixelType InputPixelType
 
typedef Superclass::InputIndexType InputIndexType
 
typedef Superclass::InputSizeType InputSizeType
 
typedef
Superclass::InputImagePointer 
InputImagePointer
 
typedef
Superclass::InputImageConstPointer 
InputImageConstPointer
 
typedef Superclass::OutputPixelType OutputPixelType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef
Superclass::OutputImagePointer 
OutputImagePointer
 
typedef
Superclass::OutputImageConstPointer 
OutputImageConstPointer
 
typedef Superclass::OutputSizeType OutputSizeType
 
- Public Types inherited from itk::BaseCTEFilter< TImageType >
typedef BaseCTEFilter Self
 
typedef ImageToImageFilter
< TImageType, TImageType > 
Superclass
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef TImageType InputImageType
 
typedef InputImageType::PixelType InputPixelType
 
typedef InputImageType::IndexType InputIndexType
 
typedef InputImageType::SizeType InputSizeType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputPixelType OutputPixelType
 
typedef Image< OutputPixelType,
TImageType::ImageDimension > 
OutputImageType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef
OutputImageType::ConstPointer 
OutputImageConstPointer
 
typedef OutputImageType::SizeType OutputSizeType
 

Public Member Functions

virtual const char * GetClassName () const
 
 itkStaticConstMacro (Dimension, unsigned int, NDimensions)
 
void SetLabelImage (const InputImageType *image)
 
void SetOneLayerImage (const InputImageType *image)
 
void SetThicknessImage (const ThicknessImageType *image)
 
virtual void SetExpectedVoxelSize (float _arg)
 
virtual float GetExpectedVoxelSize ()
 
virtual void SetTaggedCSFLabel (InputPixelType _arg)
 
virtual InputPixelType GetTaggedCSFLabel ()
 
virtual unsigned long int GetNumberOfGreyBefore ()
 
virtual unsigned long int GetNumberOfGreyAfter ()
 
- Public Member Functions inherited from itk::BaseCTESegmentationFilter< TImageType >
virtual void SetTrustPVMaps (bool _arg)
 
virtual bool GetTrustPVMaps ()
 
- Public Member Functions inherited from itk::BaseCTEFilter< TImageType >
 itkStaticConstMacro (Dimension, unsigned int, TImageType::ImageDimension)
 
virtual InputPixelType GetGreyMatterLabel ()
 
virtual InputPixelType GetWhiteMatterLabel ()
 
virtual InputPixelType GetExtraCerebralMatterLabel ()
 
void SetLabelThresholds (InputPixelType greyMatterLabel, InputPixelType whiteMatterLabel, InputPixelType extraCerebralMatterLabel)
 
virtual bool GetUserHasSetTheLabelThresholds ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 SetGreyBoundaryToWhiteOrCSFFilter ()
 
virtual ~SetGreyBoundaryToWhiteOrCSFFilter ()
 
virtual void PrintSelf (std::ostream &, Indent) const
 
virtual void GenerateData ()
 
- Protected Member Functions inherited from itk::BaseCTESegmentationFilter< TImageType >
 BaseCTESegmentationFilter ()
 
virtual ~BaseCTESegmentationFilter ()
 
virtual void CheckOrAssignLabels ()
 
virtual void CheckPVMap (std::string name, const InputImageType *image)
 
- Protected Member Functions inherited from itk::BaseCTEFilter< TImageType >
 BaseCTEFilter ()
 
virtual ~BaseCTEFilter ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *itkNotUsed)
 
virtual void CheckInputsAndOutputsSameSize ()
 
virtual bool IsOnBoundary (const InputImageType *image, const InputIndexType &index, const InputPixelType boundaryValue, bool useFullyConnected)
 
virtual bool IsOnCSFBoundary (const InputImageType *image, const InputIndexType &index, bool useFullyConnected)
 
virtual bool IsOnWMBoundary (const InputImageType *image, const InputIndexType &index, bool useFullyConnected)
 
virtual bool IsOnGMBoundary (const InputImageType *image, const InputIndexType &index, bool useFullyConnected)
 

Additional Inherited Members

- Protected Attributes inherited from itk::BaseCTEFilter< TImageType >
InputPixelType m_GreyMatterLabel
 
InputPixelType m_WhiteMatterLabel
 
InputPixelType m_ExtraCerebralMatterLabel
 
bool m_UserHasSetTheLabelThresholds
 

Detailed Description

template<class TImageType, typename TScalarType, unsigned int NDimensions>
class itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >

Assumes input is GM, WM, CSF labelled image, where the GM is exaclty 1 voxel wide, we then set this GM voxel to WM or CSF depending on thickness, and the immediate neighbourhood.

This is to implement Hutton et. al. NeuroImage 2008, doi:10.1016/j.neuroimage.2008.01.027, in the section of 'Preserving cortical topography'.

Member Typedef Documentation

template<class TImageType , typename TScalarType , unsigned int NDimensions>
typedef SmartPointer<const Self> itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::ConstPointer
template<class TImageType , typename TScalarType , unsigned int NDimensions>
typedef Superclass::InputImageConstPointer itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::InputImageConstPointer
template<class TImageType , typename TScalarType , unsigned int NDimensions>
typedef Superclass::InputImagePointer itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::InputImagePointer
template<class TImageType , typename TScalarType , unsigned int NDimensions>
typedef Superclass::InputImageType itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::InputImageType

Image typedef support.

template<class TImageType , typename TScalarType , unsigned int NDimensions>
typedef Superclass::InputIndexType itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::InputIndexType
template<class TImageType , typename TScalarType , unsigned int NDimensions>
typedef Superclass::InputPixelType itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::InputPixelType
template<class TImageType , typename TScalarType , unsigned int NDimensions>
typedef Superclass::OutputImageConstPointer itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::OutputImageConstPointer
template<class TImageType , typename TScalarType , unsigned int NDimensions>
typedef Superclass::OutputImagePointer itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::OutputImagePointer
template<class TImageType , typename TScalarType , unsigned int NDimensions>
typedef Superclass::OutputImageType itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::OutputImageType
template<class TImageType , typename TScalarType , unsigned int NDimensions>
typedef Superclass::OutputPixelType itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::OutputPixelType
template<class TImageType , typename TScalarType , unsigned int NDimensions>
typedef SmartPointer<Self> itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::Pointer
template<class TImageType , typename TScalarType , unsigned int NDimensions>
typedef SetGreyBoundaryToWhiteOrCSFFilter itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::Self

Standard "Self" & Superclass typedef.

template<class TImageType , typename TScalarType , unsigned int NDimensions>
typedef BaseCTESegmentationFilter<TImageType> itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::Superclass
template<class TImageType , typename TScalarType , unsigned int NDimensions>
typedef Image<ThicknessPixelType, NDimensions> itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::ThicknessImageType
template<class TImageType , typename TScalarType , unsigned int NDimensions>
typedef TScalarType itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::ThicknessPixelType

Constructor & Destructor Documentation

template<class TImageType , typename TScalarType , unsigned int NDimensions>
itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::SetGreyBoundaryToWhiteOrCSFFilter ( )
protected
template<class TImageType , typename TScalarType , unsigned int NDimensions>
virtual itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::~SetGreyBoundaryToWhiteOrCSFFilter ( )
inlineprotectedvirtual

Member Function Documentation

template<class TImageType , typename TScalarType , unsigned int NDimensions>
virtual void itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::GenerateData ( )
protectedvirtual
template<class TImageType , typename TScalarType , unsigned int NDimensions>
virtual const char* itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::GetClassName ( ) const
virtual

Run-time type information (and related methods)

Reimplemented from itk::BaseCTESegmentationFilter< TImageType >.

template<class TImageType , typename TScalarType , unsigned int NDimensions>
virtual float itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::GetExpectedVoxelSize ( )
virtual
template<class TImageType , typename TScalarType , unsigned int NDimensions>
virtual unsigned long int itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::GetNumberOfGreyAfter ( )
virtual

Get the number of Grey left after a successful update.

template<class TImageType , typename TScalarType , unsigned int NDimensions>
virtual unsigned long int itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::GetNumberOfGreyBefore ( )
virtual

Get the number of Grey left before a successful update.

template<class TImageType , typename TScalarType , unsigned int NDimensions>
virtual InputPixelType itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::GetTaggedCSFLabel ( )
virtual
template<class TImageType , typename TScalarType , unsigned int NDimensions>
itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::itkStaticConstMacro ( Dimension  ,
unsigned  int,
NDimensions   
)

Get the number of dimensions we are working in.

template<class TImageType , typename TScalarType , unsigned int NDimensions>
static Pointer itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::New ( )
static

Method for creation through the object factory.

template<class TImageType , typename TScalarType , unsigned int NDimensions>
virtual void itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::PrintSelf ( std::ostream &  ,
Indent   
) const
protectedvirtual

Standard Print Self.

Reimplemented from itk::BaseCTESegmentationFilter< TImageType >.

template<class TImageType , typename TScalarType , unsigned int NDimensions>
virtual void itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::SetExpectedVoxelSize ( float  _arg)
virtual

Set/Get the expected voxel size.

template<class TImageType , typename TScalarType , unsigned int NDimensions>
void itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::SetLabelImage ( const InputImageType image)
inline

Sets the label image at input 0.

template<class TImageType , typename TScalarType , unsigned int NDimensions>
void itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::SetOneLayerImage ( const InputImageType image)
inline

Sets the one layer image at input 1.

template<class TImageType , typename TScalarType , unsigned int NDimensions>
virtual void itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::SetTaggedCSFLabel ( InputPixelType  _arg)
virtual

Set/Get the label that we tag the changed CSF with. Default 4.

template<class TImageType , typename TScalarType , unsigned int NDimensions>
void itk::SetGreyBoundaryToWhiteOrCSFFilter< TImageType, TScalarType, NDimensions >::SetThicknessImage ( const ThicknessImageType image)
inline

Sets the thickness image at input 2.


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