ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkHardConnectedComponentImageFilter.h>
The purpose of this program is to produce the connected components for any input binary image of dimensionality n.
The program does a forward pass line by line through the entire image. Each cell in the foreground is assigned the same label value as cells in its neighborhood. If there is no label among the cells in its neighborhood, a new label value is assigned to the cell. This means that this cell belongs to a different connected component. We set up an equivalence table for each label to indicate the equivalence of the labels stored in the table. After the forward pass goes through the entire image, we merge the different connected components corresponding to the equivalence labels in the table. We implement this strategy in the function GenerateData().
There are two options in the program.
Definition at line 49 of file itkHardConnectedComponentImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Private Attributes | |
ListType | m_Seeds |
typedef TOutputImage::PixelType | OutputPixelType |
typedef TOutputImage::InternalPixelType | OutputInternalPixelType |
typedef TInputImage::PixelType | InputPixelType |
typedef TInputImage::InternalPixelType | InputInternalPixelType |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | ImageDimension = TOutputImage::ImageDimension |
typedef SmartPointer< const Self > itk::HardConnectedComponentImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 60 of file itkHardConnectedComponentImageFilter.h.
typedef TInputImage::IndexType itk::HardConnectedComponentImageFilter< TInputImage, TOutputImage >::IndexType |
Definition at line 81 of file itkHardConnectedComponentImageFilter.h.
typedef TInputImage itk::HardConnectedComponentImageFilter< TInputImage, TOutputImage >::InputImageType |
Image typedef support
Definition at line 79 of file itkHardConnectedComponentImageFilter.h.
typedef TInputImage::InternalPixelType itk::HardConnectedComponentImageFilter< TInputImage, TOutputImage >::InputInternalPixelType |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 69 of file itkHardConnectedComponentImageFilter.h.
typedef TInputImage::PixelType itk::HardConnectedComponentImageFilter< TInputImage, TOutputImage >::InputPixelType |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 68 of file itkHardConnectedComponentImageFilter.h.
typedef std::list< IndexType > itk::HardConnectedComponentImageFilter< TInputImage, TOutputImage >::ListType |
Definition at line 84 of file itkHardConnectedComponentImageFilter.h.
typedef TOutputImage itk::HardConnectedComponentImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 80 of file itkHardConnectedComponentImageFilter.h.
typedef TOutputImage::InternalPixelType itk::HardConnectedComponentImageFilter< TInputImage, TOutputImage >::OutputInternalPixelType |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 67 of file itkHardConnectedComponentImageFilter.h.
typedef TOutputImage::PixelType itk::HardConnectedComponentImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 66 of file itkHardConnectedComponentImageFilter.h.
typedef SmartPointer< Self > itk::HardConnectedComponentImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 59 of file itkHardConnectedComponentImageFilter.h.
typedef TOutputImage::RegionType itk::HardConnectedComponentImageFilter< TInputImage, TOutputImage >::RegionType |
Definition at line 83 of file itkHardConnectedComponentImageFilter.h.
typedef HardConnectedComponentImageFilter itk::HardConnectedComponentImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedef's
Definition at line 57 of file itkHardConnectedComponentImageFilter.h.
typedef TInputImage::SizeType itk::HardConnectedComponentImageFilter< TInputImage, TOutputImage >::SizeType |
Definition at line 82 of file itkHardConnectedComponentImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::HardConnectedComponentImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 58 of file itkHardConnectedComponentImageFilter.h.
|
inlineprotected |
Definition at line 118 of file itkHardConnectedComponentImageFilter.h.
|
inlineoverrideprotectedvirtual |
Definition at line 119 of file itkHardConnectedComponentImageFilter.h.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
overrideprotectedvirtual |
Standard pipeline method.
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
static |
Method for creation through the object factory.
|
inlineoverrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 126 of file itkHardConnectedComponentImageFilter.h.
|
inline |
Setting the seed points for specified object.
Definition at line 97 of file itkHardConnectedComponentImageFilter.h.
|
static |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 73 of file itkHardConnectedComponentImageFilter.h.
|
static |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 71 of file itkHardConnectedComponentImageFilter.h.
|
private |
Definition at line 130 of file itkHardConnectedComponentImageFilter.h.