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

itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType > Class Template Reference
[Image Feature Extraction Filters]

Performs the Hough Transform to find circles in a 2D image. More...

#include <itkHoughTransform2DCirclesImageFilter.h>

Inheritance diagram for itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >:

Inheritance graph
[legend]
Collaboration diagram for itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef HoughTransform2DCirclesImageFilter Self
typedef Image< TInputPixelType, 2 > InputImageType
typedef InputImageType::Pointer InputImagePointer
typedef InputImageType::ConstPointer InputImageConstPointer
typedef Image< TOutputPixelType, 2 > OutputImageType
typedef OutputImageType::Pointer OutputImagePointer
typedef ImageToImageFilter<
Image< TInputPixelType,
2 >, Image< TOutputPixelType, 2 > > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef InputImageType::IndexType IndexType
typedef InputImageType::PixelType PixelType
typedef InputImageType::RegionType OutputImageRegionType
typedef EllipseSpatialObject< 2 > CircleType
typedef CircleType::Pointer CirclePointer
typedef std::list< CirclePointerCirclesListType

Public Member Functions

virtual const char * GetNameOfClass () const
void GenerateData ()
void SetRadius (double radius)
virtual void SetMinimumRadius (double _arg)
virtual void SetMaximumRadius (double _arg)
virtual void SetThreshold (double _arg)
virtual double GetThreshold ()
virtual OutputImageTypeGetRadiusImage ()
virtual void SetSigmaGradient (double _arg)
virtual double GetSigmaGradient ()
CirclesListTypeGetCircles (unsigned int n=0)
virtual void SetNumberOfCircles (unsigned int _arg)
virtual unsigned int GetNumberOfCircles ()
virtual void SetDiscRadiusRatio (float _arg)
virtual float GetDiscRadiusRatio ()
virtual void SetVariance (float _arg)
virtual float GetVariance ()
virtual void SetSweepAngle (float _arg)
virtual float GetSweepAngle ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 HoughTransform2DCirclesImageFilter ()
virtual ~HoughTransform2DCirclesImageFilter ()
 HoughTransform2DCirclesImageFilter (const Self &)
void operator= (const Self &)
void PrintSelf (std::ostream &os, Indent indent) const
void GenerateInputRequestedRegion ()
void EnlargeOutputRequestedRegion (DataObject *)

Detailed Description

template<typename TInputPixelType, typename TOutputPixelType>
class itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >

Performs the Hough Transform to find circles in a 2D image.

This filter derives from the base class ImageToImageFilter The input is an image, and all pixels above some threshold are those we want to consider during the process.

This filter produces two output: 1) The accumulator array, which represents probability of centers. 2) The array or radii, which has the radius value at each coordinate point.

When the filter found a "correct" point, it computes the gradient at this point and draw a regular narrow-banded circle using the minimum and maximum radius given by the user, and fill in the array of radii. The SweepAngle value can be adjusted to improve the segmentation.

Definition at line 53 of file itkHoughTransform2DCirclesImageFilter.h.


Member Typedef Documentation

template<typename TInputPixelType, typename TOutputPixelType>
typedef CircleType::Pointer itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::CirclePointer
 

Definition at line 90 of file itkHoughTransform2DCirclesImageFilter.h.

template<typename TInputPixelType, typename TOutputPixelType>
typedef std::list<CirclePointer> itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::CirclesListType
 

Definition at line 91 of file itkHoughTransform2DCirclesImageFilter.h.

Referenced by itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::HoughTransform2DCirclesImageFilter().

template<typename TInputPixelType, typename TOutputPixelType>
typedef EllipseSpatialObject<2> itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::CircleType
 

Circle typedef

Definition at line 89 of file itkHoughTransform2DCirclesImageFilter.h.

template<typename TInputPixelType, typename TOutputPixelType>
typedef SmartPointer<const Self> itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::ConstPointer
 

Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >.

Definition at line 77 of file itkHoughTransform2DCirclesImageFilter.h.

template<typename TInputPixelType, typename TOutputPixelType>
typedef InputImageType::IndexType itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::IndexType
 

Image index typedef

Definition at line 80 of file itkHoughTransform2DCirclesImageFilter.h.

template<typename TInputPixelType, typename TOutputPixelType>
typedef InputImageType::ConstPointer itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::InputImageConstPointer
 

Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >.

Definition at line 64 of file itkHoughTransform2DCirclesImageFilter.h.

template<typename TInputPixelType, typename TOutputPixelType>
typedef InputImageType::Pointer itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::InputImagePointer
 

Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >.

Definition at line 63 of file itkHoughTransform2DCirclesImageFilter.h.

template<typename TInputPixelType, typename TOutputPixelType>
typedef Image<TInputPixelType,2> itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::InputImageType
 

Input Image typedef

Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >.

Definition at line 62 of file itkHoughTransform2DCirclesImageFilter.h.

template<typename TInputPixelType, typename TOutputPixelType>
typedef OutputImageType::Pointer itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::OutputImagePointer
 

Reimplemented from itk::ImageSource< Image< TOutputPixelType, 2 > >.

Definition at line 68 of file itkHoughTransform2DCirclesImageFilter.h.

Referenced by itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::HoughTransform2DCirclesImageFilter().

template<typename TInputPixelType, typename TOutputPixelType>
typedef InputImageType::RegionType itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::OutputImageRegionType
 

Typedef to describe the output image region type.

Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >.

Definition at line 86 of file itkHoughTransform2DCirclesImageFilter.h.

template<typename TInputPixelType, typename TOutputPixelType>
typedef Image<TOutputPixelType,2> itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::OutputImageType
 

Output Image typedef

Reimplemented from itk::ImageSource< Image< TOutputPixelType, 2 > >.

Definition at line 67 of file itkHoughTransform2DCirclesImageFilter.h.

template<typename TInputPixelType, typename TOutputPixelType>
typedef InputImageType::PixelType itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::PixelType
 

Image pixel value typedef

Definition at line 83 of file itkHoughTransform2DCirclesImageFilter.h.

template<typename TInputPixelType, typename TOutputPixelType>
typedef SmartPointer<Self> itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::Pointer
 

Smart pointer typedef support.

Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >.

Definition at line 76 of file itkHoughTransform2DCirclesImageFilter.h.

template<typename TInputPixelType, typename TOutputPixelType>
typedef HoughTransform2DCirclesImageFilter itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::Self
 

Standard "Self" typedef.

Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >.

Definition at line 59 of file itkHoughTransform2DCirclesImageFilter.h.

template<typename TInputPixelType, typename TOutputPixelType>
typedef ImageToImageFilter< Image<TInputPixelType,2> , Image<TOutputPixelType,2> > itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::Superclass
 

Standard "Superclass" typedef.

Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >.

Definition at line 73 of file itkHoughTransform2DCirclesImageFilter.h.


Constructor & Destructor Documentation

template<typename TInputPixelType, typename TOutputPixelType>
itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::HoughTransform2DCirclesImageFilter  )  [protected]
 

template<typename TInputPixelType, typename TOutputPixelType>
virtual itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::~HoughTransform2DCirclesImageFilter  )  [inline, protected, virtual]
 

Definition at line 154 of file itkHoughTransform2DCirclesImageFilter.h.

template<typename TInputPixelType, typename TOutputPixelType>
itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::HoughTransform2DCirclesImageFilter const Self  )  [inline, protected]
 

Definition at line 156 of file itkHoughTransform2DCirclesImageFilter.h.

References itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::CirclesListType, and itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::OutputImagePointer.


Member Function Documentation

template<typename TInputPixelType, typename TOutputPixelType>
void itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::EnlargeOutputRequestedRegion DataObject  )  [protected, virtual]
 

HoughTransform2DCirclesImageFilter's produces all the output. Therefore, it must provide an implementation of EnlargeOutputRequestedRegion.

See also:
ProcessObject::EnlargeOutputRequestedRegion()

Reimplemented from itk::ProcessObject.

template<typename TInputPixelType, typename TOutputPixelType>
void itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::GenerateData  )  [virtual]
 

Method for evaluating the implicit function over the image.

Reimplemented from itk::ImageSource< Image< TOutputPixelType, 2 > >.

template<typename TInputPixelType, typename TOutputPixelType>
void itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::GenerateInputRequestedRegion  )  [protected, virtual]
 

HoughTransform2DCirclesImageFilter needs the entire input. Therefore it must provide an implementation GenerateInputRequestedRegion().

See also:
ProcessObject::GenerateInputRequestedRegion().

Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >.

template<typename TInputPixelType, typename TOutputPixelType>
CirclesListType& itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::GetCircles unsigned int  n = 0  ) 
 

Get the list of circles. This recomputes the circles

template<typename TInputPixelType, typename TOutputPixelType>
virtual float itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::GetDiscRadiusRatio  )  [virtual]
 

Set/Get the radius of the disc to remove from the accumulator for each circle found

template<typename TInputPixelType, typename TOutputPixelType>
virtual const char* itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >.

template<typename TInputPixelType, typename TOutputPixelType>
virtual unsigned int itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::GetNumberOfCircles  )  [virtual]
 

Set/Get the number of circles to extract

template<typename TInputPixelType, typename TOutputPixelType>
virtual OutputImageType* itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::GetRadiusImage  )  [virtual]
 

Get the radius image

template<typename TInputPixelType, typename TOutputPixelType>
virtual double itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::GetSigmaGradient  )  [virtual]
 

Get the scale value

template<typename TInputPixelType, typename TOutputPixelType>
virtual float itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::GetSweepAngle  )  [virtual]
 

Set the sweep angle

template<typename TInputPixelType, typename TOutputPixelType>
virtual double itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::GetThreshold  )  [virtual]
 

Get the threshold value

template<typename TInputPixelType, typename TOutputPixelType>
virtual float itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::GetVariance  )  [virtual]
 

Set the variance of the gaussian bluring for the accumulator

template<typename TInputPixelType, typename TOutputPixelType>
Pointer itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

template<typename TInputPixelType, typename TOutputPixelType>
void itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::operator= const Self  )  [inline, protected]
 

Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >.

Definition at line 157 of file itkHoughTransform2DCirclesImageFilter.h.

template<typename TInputPixelType, typename TOutputPixelType>
void itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

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< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >.

template<typename TInputPixelType, typename TOutputPixelType>
virtual void itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::SetDiscRadiusRatio float  _arg  )  [virtual]
 

Set/Get the radius of the disc to remove from the accumulator for each circle found

template<typename TInputPixelType, typename TOutputPixelType>
virtual void itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::SetMaximumRadius double  _arg  )  [virtual]
 

Set the maximum radius value the filter should look for

template<typename TInputPixelType, typename TOutputPixelType>
virtual void itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::SetMinimumRadius double  _arg  )  [virtual]
 

Set the minimum radiu value the filter should look for

template<typename TInputPixelType, typename TOutputPixelType>
virtual void itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::SetNumberOfCircles unsigned int  _arg  )  [virtual]
 

Set/Get the number of circles to extract

template<typename TInputPixelType, typename TOutputPixelType>
void itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::SetRadius double  radius  ) 
 

Set both Minimum and Maximum radius values

template<typename TInputPixelType, typename TOutputPixelType>
virtual void itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::SetSigmaGradient double  _arg  )  [virtual]
 

Set the scale of the derivative function (using DoG)

template<typename TInputPixelType, typename TOutputPixelType>
virtual void itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::SetSweepAngle float  _arg  )  [virtual]
 

Set the sweep angle

template<typename TInputPixelType, typename TOutputPixelType>
virtual void itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::SetThreshold double  _arg  )  [virtual]
 

Set the threshold above which the filter should consider the point as a valid point

template<typename TInputPixelType, typename TOutputPixelType>
virtual void itk::HoughTransform2DCirclesImageFilter< TInputPixelType, TOutputPixelType >::SetVariance float  _arg  )  [virtual]
 

Set the variance of the gaussian bluring for the accumulator


The documentation for this class was generated from the following file:
Generated at Thu May 25 01:10:57 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000