#include <itkConnectedComponentImageFilter.h>
Inheritance diagram for itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >:
Public Types | |
typedef ConnectedComponentImageFilter | Self |
typedef ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
typedef Superclass::InputImagePointer | InputImagePointer |
typedef TOutputImage::PixelType | OutputPixelType |
typedef TOutputImage::InternalPixelType | OutputInternalPixelType |
typedef TInputImage::PixelType | InputPixelType |
typedef TInputImage::InternalPixelType | InputInternalPixelType |
typedef TInputImage | InputImageType |
typedef TOutputImage | OutputImageType |
typedef TInputImage::IndexType | IndexType |
typedef TInputImage::SizeType | SizeType |
typedef TOutputImage::RegionType | RegionType |
typedef std::list< IndexType > | ListType |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
itkStaticConstMacro (ImageDimension, unsigned int, TOutputImage::ImageDimension) | |
virtual const char * | GetClassName () const |
virtual void | SetFullyConnected (bool _arg) |
virtual const bool & | GetFullyConnected () |
virtual void | FullyConnectedOn () |
virtual void | FullyConnectedOff () |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
ConnectedComponentImageFilter () | |
virtual | ~ConnectedComponentImageFilter () |
ConnectedComponentImageFilter (const Self &) | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | GenerateData () |
void | GenerateInputRequestedRegion () |
void | EnlargeOutputRequestedRegion (DataObject *) |
ConnectedComponentImageFilter labels the objects in a binary image. Each distinct object is assigned a unique label. The filter makes three passes through the image. The first pass initialized the output. The second pass labels each foreground pixel such that all the pixels associated with an object either have the same label or have had their labels entered into a equivalency table. The third pass through the image flattens the equivalency table such that all pixels for an object have the same label.
The final object labels are in no particular order (and some object labels may not be used on the final objects). You can reorder the labels such that object labels are consecutive and sorted based on object size by passing the output of this filter to a RelabelComponentImageFilter.
Definition at line 49 of file itkConnectedComponentImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 89 of file itkConnectedComponentImageFilter.h. |
|
Definition at line 80 of file itkConnectedComponentImageFilter.h. |
|
Types from the Superclass Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 62 of file itkConnectedComponentImageFilter.h. |
|
Image typedef support Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 78 of file itkConnectedComponentImageFilter.h. |
|
Definition at line 71 of file itkConnectedComponentImageFilter.h. |
|
Definition at line 70 of file itkConnectedComponentImageFilter.h. |
|
Definition at line 83 of file itkConnectedComponentImageFilter.h. |
|
Some convenient typedefs. Reimplemented from itk::ImageSource< TOutputImage >. Definition at line 79 of file itkConnectedComponentImageFilter.h. |
|
Definition at line 69 of file itkConnectedComponentImageFilter.h. |
|
Extract some information from the image types. Dimensionality of the two images is assumed to be the same. Definition at line 68 of file itkConnectedComponentImageFilter.h. |
|
Smart pointer typedef support Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 88 of file itkConnectedComponentImageFilter.h. |
|
Definition at line 82 of file itkConnectedComponentImageFilter.h. |
|
Standard "Self" & Superclass typedef. Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 56 of file itkConnectedComponentImageFilter.h. Referenced by itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::~ConnectedComponentImageFilter(). |
|
Definition at line 81 of file itkConnectedComponentImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. Definition at line 57 of file itkConnectedComponentImageFilter.h. |
|
Definition at line 113 of file itkConnectedComponentImageFilter.h. |
|
Definition at line 117 of file itkConnectedComponentImageFilter.h. References itk::ConnectedComponentImageFilter< TInputImage, TOutputImage >::Self. |
|
Definition at line 118 of file itkConnectedComponentImageFilter.h. |
|
ConnectedComponentImageFilter will produce all of the output. Therefore it must provide an implementation of EnlargeOutputRequestedRegion(). Reimplemented from itk::ProcessObject. |
|
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn. |
|
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn. |
|
Standard pipeline method. Reimplemented from itk::ImageSource< TOutputImage >. |
|
ConnectedComponentImageFilter needs the entire input. Therefore it must provide an implementation GenerateInputRequestedRegion(). Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Run-time type information (and related methods) Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >. |
|
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn. |
|
|
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
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 >. |
|
Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn. |