NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Does connected component analysis and outputs a binary volume of the largest connected component. More...
Public Types | |
typedef LargestConnectedComponentFilter | Self |
typedef ImageToImageFilter < TInputImage, TOutputImage > | SuperClass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage | InputImageType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::IndexType | InputImageIndexType |
typedef InputImageType::SizeType | InputImageSizeType |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef short | InternalPixelType |
typedef itk::Image < InternalPixelType, itkGetStaticConstMacro(ImageDimension)> | InternalImageType |
typedef InternalImageType::Pointer | InternalImagePointer |
typedef InternalImageType::RegionType | InternalImageRegionType |
Public Member Functions | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension) | |
virtual void | SetInputBackgroundValue (InputImagePixelType _arg) |
virtual InputImagePixelType | GetInputBackgroundValue () const |
virtual void | SetOutputBackgroundValue (OutputImagePixelType _arg) |
virtual OutputImagePixelType | GetOutputBackgroundValue () const |
virtual void | SetOutputForegroundValue (OutputImagePixelType _arg) |
virtual OutputImagePixelType | GetOutputForegroundValue () const |
Static Public Member Functions | |
static Pointer | New () |
Protected Types | |
typedef itk::CastImageFilter < TInputImage, InternalImageType > | CastImageFilterType |
typedef itk::ConnectedComponentImageFilter < InternalImageType, InternalImageType > | ConnectedComponentFilterType |
Protected Member Functions | |
LargestConnectedComponentFilter () | |
virtual | ~LargestConnectedComponentFilter () |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | GenerateData () |
Does connected component analysis and outputs a binary volume of the largest connected component.
Alternatively, use itkMIDASMorphologicalSegmentorLargestConnectedComponentImageFilter as it is faster.
Both input and output types should be integer types, and the output type is binary, so should be unsigned char.
|
protected |
|
protected |
typedef SmartPointer<const Self> itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::ConstPointer |
typedef InputImageType::ConstPointer itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::InputImageConstPointer |
typedef InputImageType::IndexType itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::InputImageIndexType |
typedef InputImageType::PixelType itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::InputImagePixelType |
typedef InputImageType::RegionType itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::InputImageRegionType |
typedef InputImageType::SizeType itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::InputImageSizeType |
typedef TInputImage itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::InputImageType |
Some additional typedefs
typedef InternalImageType::Pointer itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::InternalImagePointer |
typedef InternalImageType::RegionType itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::InternalImageRegionType |
typedef itk::Image<InternalPixelType, itkGetStaticConstMacro(ImageDimension)> itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::InternalImageType |
typedef short itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::InternalPixelType |
typedef OutputImageType::PixelType itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::OutputImagePixelType |
typedef OutputImageType::Pointer itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::OutputImagePointer |
typedef OutputImageType::RegionType itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::OutputImageRegionType |
typedef TOutputImage itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::OutputImageType |
typedef SmartPointer<Self> itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::Pointer |
typedef LargestConnectedComponentFilter itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs
typedef ImageToImageFilter<TInputImage, TOutputImage> itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::SuperClass |
|
protected |
|
inlineprotectedvirtual |
|
protectedvirtual |
The main method to implement the connected component labeling in this single-threaded class
|
virtual |
Run-time type information (and related methods)
|
virtual |
|
virtual |
|
virtual |
itk::LargestConnectedComponentFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned | int, | ||
TInputImage::ImageDimension | |||
) |
|
static |
Method for creation through the object factory
|
protected |
|
virtual |
Set/Get methods to set the value on the input image that is considered background. Default 0.
|
virtual |
Set/Get methods to set the output value for outside the largest region. Default 0.
|
virtual |
Set/Get methods to set the output value for inside the largest region. Default 1.