Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts


[NOHEADER]

void GenerateData ()
void PrintSelf (std::ostream &os, Indent indent) const

Typedefs

typedef HardConnectedComponentImageFilter Self
typedef ImageToImageFilter<
TInputImage, TOutputImage > 
Superclass
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< IndexTypeListType
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer

Functions

 itkStaticConstMacro (ImageDimension, unsigned int, TOutputImage::ImageDimension)
virtual const char * GetClassName () const
Pointer New ()
void SetObjectSeed (const IndexType &seed)
 HardConnectedComponentImageFilter ()
virtual ~HardConnectedComponentImageFilter ()
 HardConnectedComponentImageFilter (const Self &)

Variables

ListType m_Seeds


Detailed Description

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 function GenerateData().

There are two options in the program. 1. Take an nD binary image as input, and produce an nD gray image, where intensity indicates label assigned to a connected component. 2. Take an nD binary image and a set of seed points as input, and output an nD binary image containing the cells connected to the seeds. For option 2, users need to assign the member variable std::list<IndexType> m_Seeds before calling function GenerateData().

See also:
ImageToImageFilter


Typedef Documentation

typedef SmartPointer<const Self> HardConnectedComponentImageFilter::ConstPointer
 

Definition at line 86 of file itkHardConnectedComponentImageFilter.h.

typedef TInputImage::IndexType HardConnectedComponentImageFilter::IndexType
 

Definition at line 77 of file itkHardConnectedComponentImageFilter.h.

typedef TInputImage HardConnectedComponentImageFilter::InputImageType
 

Image typedef support Definition at line 75 of file itkHardConnectedComponentImageFilter.h.

typedef TInputImage::InternalPixelType HardConnectedComponentImageFilter::InputInternalPixelType
 

Definition at line 68 of file itkHardConnectedComponentImageFilter.h.

typedef TInputImage::PixelType HardConnectedComponentImageFilter::InputPixelType
 

Definition at line 67 of file itkHardConnectedComponentImageFilter.h.

typedef std::list<IndexType> HardConnectedComponentImageFilter::ListType
 

Definition at line 80 of file itkHardConnectedComponentImageFilter.h.

typedef TOutputImage HardConnectedComponentImageFilter::OutputImageType
 

Definition at line 76 of file itkHardConnectedComponentImageFilter.h.

typedef TOutputImage::InternalPixelType HardConnectedComponentImageFilter::OutputInternalPixelType
 

Definition at line 66 of file itkHardConnectedComponentImageFilter.h.

typedef TOutputImage::PixelType HardConnectedComponentImageFilter::OutputPixelType
 

Extract some information from the image types. Dimensionality of the two images is assumed to be the same. Definition at line 65 of file itkHardConnectedComponentImageFilter.h.

typedef SmartPointer<Self> HardConnectedComponentImageFilter::Pointer
 

Smart pointer typedef support Definition at line 85 of file itkHardConnectedComponentImageFilter.h.

typedef TOutputImage::RegionType HardConnectedComponentImageFilter::RegionType
 

Definition at line 79 of file itkHardConnectedComponentImageFilter.h.

typedef HardConnectedComponentImageFilter HardConnectedComponentImageFilter::Self
 

Standard "Self" & Superclass typedef. Definition at line 58 of file itkHardConnectedComponentImageFilter.h.

Referenced by ~HardConnectedComponentImageFilter().

typedef TInputImage::SizeType HardConnectedComponentImageFilter::SizeType
 

Definition at line 78 of file itkHardConnectedComponentImageFilter.h.

typedef ImageToImageFilter< TInputImage, TOutputImage > HardConnectedComponentImageFilter::Superclass
 

Definition at line 59 of file itkHardConnectedComponentImageFilter.h.


Function Documentation

void GenerateData  )  [protected]
 

Standard pipeline method.

Referenced by itk::SymmetricEigenSystem< TMatrixElement, VNumberOfRows >::GetEigenValues(), itk::Statistics::SampleAlgorithmBase< TInputHistogram >::GetInputSample(), itk::Statistics::ListSampleToHistogramGenerator< TListSample, THistogramMeasurement, TFrequencyContainer >::Update(), and itk::Statistics::KdTreeGenerator< TSample >::Update().

virtual const char* GetClassName  )  const [virtual]
 

Run-time type information (and related methods)

HardConnectedComponentImageFilter const Self  )  [protected]
 

Definition at line 105 of file itkHardConnectedComponentImageFilter.h.

HardConnectedComponentImageFilter  )  [protected]
 

Definition at line 103 of file itkHardConnectedComponentImageFilter.h.

itkStaticConstMacro ImageDimension  ,
unsigned  int,
TOutputImage::ImageDimension 
 

Pointer New  )  [static]
 

Method for creation through the object factory.

Referenced by itk::BSplineDerivativeKernelFunction< VSplineOrder >::BSplineDerivativeKernelFunction(), itk::CreateObjectFunction< T >::CreateObject(), itk::CurvatureAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::CurvatureAnisotropicDiffusionImageFilter(), itk::DenseFiniteDifferenceImageFilter< TDeformationField, TDeformationField >::DenseFiniteDifferenceImageFilter(), itk::GradientAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::GradientAnisotropicDiffusionImageFilter(), itk::VTKImageIOFactory::RegisterOneFactory(), itk::StimulateImageIOFactory::RegisterOneFactory(), itk::SiemensVisionImageIOFactory::RegisterOneFactory(), itk::MetaImageIOFactory::RegisterOneFactory(), itk::GiplImageIOFactory::RegisterOneFactory(), itk::GEAdwImageIOFactory::RegisterOneFactory(), itk::GE5ImageIOFactory::RegisterOneFactory(), itk::GE4ImageIOFactory::RegisterOneFactory(), itk::DicomImageIOFactory::RegisterOneFactory(), itk::DICOMImageIO2Factory::RegisterOneFactory(), itk::Brains2MaskImageIOFactory::RegisterOneFactory(), itk::AnalyzeImageIOFactory::RegisterOneFactory(), RegressionTestImage(), itk::VectorCurvatureAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::VectorCurvatureAnisotropicDiffusionImageFilter(), itk::VectorGradientAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::VectorGradientAnisotropicDiffusionImageFilter(), and itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::VectorThresholdSegmentationLevelSetFunction().

void PrintSelf std::ostream &  os,
Indent  indent
const [protected]
 

Standard pipeline method. Definition at line 111 of file itkHardConnectedComponentImageFilter.h.

Referenced by itk::VectorThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::PrintSelf(), itk::VectorNeighborhoodOperatorImageFilter< TInputImage, TOutputImage >::PrintSelf(), itk::VectorCurvatureNDAnisotropicDiffusionFunction< TImage >::PrintSelf(), itk::VectorCurvatureAnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::PrintSelf(), itk::VectorAnisotropicDiffusionFunction< TImage >::PrintSelf(), itk::ValarrayImageContainer< TElementIdentifier, TElement >::PrintSelf(), itk::SobelEdgeDetectionImageFilter< TInputImage, TOutputImage >::PrintSelf(), itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >::PrintSelf(), itk::ShapeDetectionLevelSetFunction< TImageType, TFeatureImageType >::PrintSelf(), itk::ScalarAnisotropicDiffusionFunction< TImage >::PrintSelf(), itk::Statistics::Sample< FixedArray< THistogramMeasurement, VMeasurementVectorSize > >::PrintSelf(), itk::PDEDeformableRegistrationFunction< TFixedImage, TMovingImage, TDeformationField >::PrintSelf(), itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >::PrintSelf(), itk::NearestNeighborInterpolateImageFunction< TInputImage, TCoordRep >::PrintSelf(), itk::Statistics::MembershipFunctionBase< ParameterType >::PrintSelf(), itk::KernelFunction::PrintSelf(), itk::InterpolateImageFunction< TImageType, TCoordRep >::PrintSelf(), itk::GradientNDAnisotropicDiffusionFunction< TImage >::PrintSelf(), itk::GeodesicActiveContourShapePriorLevelSetFunction< TImageType, TFeatureImageType >::PrintSelf(), itk::GeodesicActiveContourLevelSetFunction< TImageType, TFeatureImageType >::PrintSelf(), itk::GaussianKernelFunction::PrintSelf(), itk::ExtrapolateImageFunction< TInputImage, TCoordRep >::PrintSelf(), itk::Statistics::EuclideanDistance< ParameterType >::PrintSelf(), itk::DerivativeOperator< TPixel, VDimension, TAllocator >::PrintSelf(), itk::Statistics::DensityFunction< TMeasurementVector >::PrintSelf(), itk::DemonsRegistrationFilter< TFixedImage, TMovingImage, TDeformationField >::PrintSelf(), itk::CurvesLevelSetFunction< TImageType, TFeatureImageType >::PrintSelf(), itk::CurvatureNDAnisotropicDiffusionFunction< TImage >::PrintSelf(), itk::BSplineResampleImageFunction< TImageType, TCoordRep >::PrintSelf(), itk::BSplineKernelFunction< VSplineOrder >::PrintSelf(), itk::BSplineDerivativeKernelFunction< VSplineOrder >::PrintSelf(), itk::NearestNeighborExtrapolateImageFunction< TInputImage, TCoordRep >::~NearestNeighborExtrapolateImageFunction(), itk::ThresholdSegmentationLevelSetFunction< TImageType, TFeatureImageType >::~ThresholdSegmentationLevelSetFunction(), and itk::VectorInterpolateImageFunction< TInputImage, TCoordRep >::~VectorInterpolateImageFunction().

void SetObjectSeed const IndexType seed  ) 
 

Setting the seed points for specified object. Definition at line 99 of file itkHardConnectedComponentImageFilter.h.

References m_Seeds.

virtual ~HardConnectedComponentImageFilter  )  [protected, virtual]
 

Definition at line 104 of file itkHardConnectedComponentImageFilter.h.

References Self.


Variable Documentation

ListType HardConnectedComponentImageFilter::m_Seeds
 

Definition at line 117 of file itkHardConnectedComponentImageFilter.h.

Referenced by SetObjectSeed().


Generated at Sun Apr 1 02:48:28 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000