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

Base class for classes that manipulate the segmented volume before it gets to the Cortical Thickness Estimation. More...

Inheritance diagram for itk::BaseCTESegmentationFilter< TImageType >:
Inheritance graph
[legend]
Collaboration diagram for itk::BaseCTESegmentationFilter< TImageType >:
Collaboration graph
[legend]

Public Types

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
 
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 ()
 

Protected Member Functions

 BaseCTESegmentationFilter ()
 
virtual ~BaseCTESegmentationFilter ()
 
virtual void PrintSelf (std::ostream &, Indent) const
 
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>
class itk::BaseCTESegmentationFilter< TImageType >

Base class for classes that manipulate the segmented volume before it gets to the Cortical Thickness Estimation.

For example, as of right now, we have two derived classes. CheckForThreeLevelsFilter simply checks that the input segmented volume has exactly three labels, but passes data straight through, whereas the CorrectGMUsingPVMapFilter does the same check for three levels, and then modifies the grey matter according to the grey matter PV map. Hence the code for checking for three levels is in this class.

See also
CorrectGMUsingPVMapFilter
CheckForThreeLevelsFilter

Member Typedef Documentation

template<class TImageType >
typedef SmartPointer<const Self> itk::BaseCTESegmentationFilter< TImageType >::ConstPointer
template<class TImageType >
typedef Superclass::InputImageConstPointer itk::BaseCTESegmentationFilter< TImageType >::InputImageConstPointer
template<class TImageType >
typedef Superclass::InputImagePointer itk::BaseCTESegmentationFilter< TImageType >::InputImagePointer
template<class TImageType >
typedef Superclass::InputImageType itk::BaseCTESegmentationFilter< TImageType >::InputImageType

Image typedef support.

template<class TImageType >
typedef Superclass::InputIndexType itk::BaseCTESegmentationFilter< TImageType >::InputIndexType
template<class TImageType >
typedef Superclass::InputPixelType itk::BaseCTESegmentationFilter< TImageType >::InputPixelType
template<class TImageType >
typedef Superclass::InputSizeType itk::BaseCTESegmentationFilter< TImageType >::InputSizeType
template<class TImageType >
typedef Superclass::OutputImageConstPointer itk::BaseCTESegmentationFilter< TImageType >::OutputImageConstPointer
template<class TImageType >
typedef Superclass::OutputImagePointer itk::BaseCTESegmentationFilter< TImageType >::OutputImagePointer
template<class TImageType >
typedef Superclass::OutputImageType itk::BaseCTESegmentationFilter< TImageType >::OutputImageType
template<class TImageType >
typedef Superclass::OutputPixelType itk::BaseCTESegmentationFilter< TImageType >::OutputPixelType
template<class TImageType >
typedef Superclass::OutputSizeType itk::BaseCTESegmentationFilter< TImageType >::OutputSizeType
template<class TImageType >
typedef SmartPointer<Self> itk::BaseCTESegmentationFilter< TImageType >::Pointer
template<class TImageType >
typedef BaseCTESegmentationFilter itk::BaseCTESegmentationFilter< TImageType >::Self

Standard "Self" & Superclass typedef.

template<class TImageType >
typedef BaseCTEFilter< TImageType > itk::BaseCTESegmentationFilter< TImageType >::Superclass

Constructor & Destructor Documentation

template<class TImageType >
itk::BaseCTESegmentationFilter< TImageType >::BaseCTESegmentationFilter ( )
protected
template<class TImageType >
virtual itk::BaseCTESegmentationFilter< TImageType >::~BaseCTESegmentationFilter ( )
inlineprotectedvirtual

Member Function Documentation

template<class TImageType >
virtual void itk::BaseCTESegmentationFilter< TImageType >::CheckOrAssignLabels ( )
protectedvirtual

Checks that we have specified 3 labels (GM, WM, CSF), and that the input image contains JUST those 3 values, or if they are unspecified, we calculate them by counting how many of each pixel there are, and assigning the most to CSF, the least to GM, and the middle quantity to WM.

template<class TImageType >
virtual void itk::BaseCTESegmentationFilter< TImageType >::CheckPVMap ( std::string  name,
const InputImageType image 
)
protectedvirtual

If m_TrustPVMaps is false, we whizz through image, checking that all values are >= 0 and <= 1. If they are not an exception is thrown. If m_TrustPVMaps is true, this method does nothing.

template<class TImageType >
virtual const char* itk::BaseCTESegmentationFilter< TImageType >::GetClassName ( ) const
virtual
template<class TImageType >
virtual bool itk::BaseCTESegmentationFilter< TImageType >::GetTrustPVMaps ( )
virtual
template<class TImageType >
virtual void itk::BaseCTESegmentationFilter< TImageType >::PrintSelf ( std::ostream &  ,
Indent   
) const
protectedvirtual
template<class TImageType >
virtual void itk::BaseCTESegmentationFilter< TImageType >::SetTrustPVMaps ( bool  _arg)
virtual

If this is false, we check each PV map to see if the values are >= 0 and <= 1. Defaults to false.


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