NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Implements section 2.3 in Acosta et al. doi:10.1016/j.media.2009.07.003. More...
Public Types | |
typedef CorrectGMUsingNeighbourhoodFilter | Self |
typedef BaseCTESegmentationFilter < TImageType > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
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 OutputImageType::RegionType | OutputImageRegionType |
typedef OutputImageType::IndexType | OutputImageIndexType |
typedef OutputImageType::SizeType | OutputImageSizeType |
typedef Superclass::OutputImagePointer | OutputImagePointer |
typedef Superclass::OutputImageConstPointer | OutputImageConstPointer |
Public Types inherited from itk::BaseCTESegmentationFilter< TImageType > | |
typedef BaseCTESegmentationFilter | Self |
typedef BaseCTEFilter< TImageType > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
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< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
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 |
Static Public Member Functions | |
static Pointer | New () |
Additional Inherited Members | |
Protected Attributes inherited from itk::BaseCTEFilter< TImageType > | |
InputPixelType | m_GreyMatterLabel |
InputPixelType | m_WhiteMatterLabel |
InputPixelType | m_ExtraCerebralMatterLabel |
bool | m_UserHasSetTheLabelThresholds |
Implements section 2.3 in Acosta et al. doi:10.1016/j.media.2009.07.003.
Usage:
filter->SetSegmentedImage(segmentedImage);
filter->Update();
The filter takes an image with 3 labels, (GM, WM, CSF). To quote paper, "We implemented an algorithm that checks whether in the 3 x 3 x 3 neighbourhood of each WM boundary voxel, there is any CSF voxel breaking the GM/WM continuity, in which case it is reclassified as GM.".
This exposes 2 lists of indexes, one for all GM pixels before the update, and one for all GM pixels after the update.
typedef SmartPointer<const Self> itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::ConstPointer |
typedef Superclass::InputImageConstPointer itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::InputImageConstPointer |
typedef Superclass::InputImagePointer itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::InputImagePointer |
typedef Superclass::InputImageType itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::InputImageType |
Image typedef support.
typedef Superclass::InputIndexType itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::InputIndexType |
typedef Superclass::InputPixelType itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::InputPixelType |
typedef Superclass::OutputImageConstPointer itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::OutputImageConstPointer |
typedef OutputImageType::IndexType itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::OutputImageIndexType |
typedef Superclass::OutputImagePointer itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::OutputImagePointer |
typedef OutputImageType::RegionType itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::OutputImageRegionType |
typedef OutputImageType::SizeType itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::OutputImageSizeType |
typedef Superclass::OutputImageType itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::OutputImageType |
typedef Superclass::OutputPixelType itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::OutputPixelType |
typedef SmartPointer<Self> itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::Pointer |
typedef CorrectGMUsingNeighbourhoodFilter itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::Self |
Standard "Self" & Superclass typedef.
typedef BaseCTESegmentationFilter<TImageType> itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::Superclass |
|
protected |
|
inlineprotectedvirtual |
|
protectedvirtual |
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::BaseCTESegmentationFilter< TImageType >.
const std::vector<InputIndexType>& itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::GetListOfGreyMatterPixelsAfterCorrection | ( | ) | const |
Once the filter has run, a list of GM voxles in corrected segmented volume.
const std::vector<InputIndexType>& itk::CorrectGMUsingNeighbourhoodFilter< TImageType >::GetListOfGreyMatterPixelsBeforeCorrection | ( | ) | const |
Once the filter has run, a list of GM voxels in original segmented volume
|
virtual |
So we can extract the number reclassified immediately after an update.
|
virtual |
|
static |
Method for creation through the object factory.
|
protectedvirtual |
Standard Print Self.
Reimplemented from itk::BaseCTESegmentationFilter< TImageType >.
|
inline |
Sets the segmented image, at input 0.
|
virtual |
Set/Get flag to determine if we examine the full 27 connected, or just the local 6 connected neighbourhood. Default true.