#include <itkHoughTransform2DLinesImageFilter.h>
Inheritance diagram for itk::HoughTransform2DLinesImageFilter:


Public Types | |
| typedef HoughTransform2DLinesImageFilter | Self |
| typedef Image< TInputPixelType, 2 > | InputImageType |
| typedef InputImageType::ConstPointer | InputImageConstPointer |
| typedef Image< TOutputPixelType, 2 > | OutputImageType |
| typedef OutputImageType::Pointer | OutputImagePointer |
| typedef SmartPointer< Self > | Pointer |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef LineSpatialObject< 2 > | LineType |
| typedef LineType::Pointer | LinePointer |
| typedef std::list< LinePointer > | LinesListType |
| typedef LineType::LinePointType | LinePointType |
| typedef ImageToImageFilter< InputImageType, OutputImageType > | Superclass |
| typedef InputImageType::IndexType | IndexType |
| typedef InputImageType::PixelType | PixelType |
| typedef InputImageType::RegionType | OutputImageRegionType |
Public Methods | |
| virtual const char * | GetClassName () const |
| void | GenerateData () |
| virtual void | SetThreshold (float _arg) |
| virtual float | GetThreshold () |
| virtual void | SetAngleResolution (float _arg) |
| virtual float | GetAngleResolution () |
| virtual void | SetAngleAxisSize (unsigned int _arg) |
| virtual float | GetAngleAxisSize () |
| void | Simplify (void) |
| virtual OutputImageType * | GetSimplifyAccumulator () |
| LinesListType & | GetLines (unsigned int n=0) |
| virtual void | SetNumberOfLines (unsigned int _arg) |
| virtual unsigned int | GetNumberOfLines () |
| virtual void | SetDiscRadius (float _arg) |
| virtual float | GetDiscRadius () |
| virtual void | SetVariance (float _arg) |
| virtual float | GetVariance () |
Static Public Methods | |
| Pointer | New () |
Protected Methods | |
| HoughTransform2DLinesImageFilter () | |
| virtual | ~HoughTransform2DLinesImageFilter () |
| HoughTransform2DLinesImageFilter (const Self &) | |
| void | operator= (const Self &) |
| void | PrintSelf (std::ostream &os, Indent indent) const |
This filter derives from ImageToImageFilter The input is an image, and all pixels above some threshold are those to be extracted. The output is the image of the accumulator. GetLines() returns a list of LinesSpatialObjects
Lines are parameterized in the form: R = x*cos(Teta)+y*sin(Teta) where R is the perpendicular distance from the origin and Teta the angle with the normal.
The output is the accumulator array: -The first dimension (X) represents the distance R from the corner to the line -The second dimension (Y) represents the angle between the X axis and the normal to the line.
The size of the array depends on the AngleAxisSize that could be set (500 by default) for the angle axis. The distance axis depends on the size of the diagonal of the input image.
Definition at line 61 of file itkHoughTransform2DLinesImageFilter.h.
|
|||||
|
Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >. Definition at line 79 of file itkHoughTransform2DLinesImageFilter.h. |
|
|||||
|
Image index typedef Definition at line 91 of file itkHoughTransform2DLinesImageFilter.h. |
|
|||||
|
Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >. Definition at line 71 of file itkHoughTransform2DLinesImageFilter.h. |
|
|||||
|
Input Image typedef Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >. Definition at line 70 of file itkHoughTransform2DLinesImageFilter.h. |
|
|||||
|
Definition at line 83 of file itkHoughTransform2DLinesImageFilter.h. |
|
|||||
|
Definition at line 85 of file itkHoughTransform2DLinesImageFilter.h. |
|
|||||
|
Definition at line 84 of file itkHoughTransform2DLinesImageFilter.h. |
|
|||||
|
Line typedef Definition at line 82 of file itkHoughTransform2DLinesImageFilter.h. |
|
|||||
|
Definition at line 75 of file itkHoughTransform2DLinesImageFilter.h. |
|
|||||
|
Typedef to describe the output image region type. Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >. Definition at line 97 of file itkHoughTransform2DLinesImageFilter.h. |
|
|||||
|
Output Image typedef Definition at line 74 of file itkHoughTransform2DLinesImageFilter.h. |
|
|||||
|
Image pixel value typedef Definition at line 94 of file itkHoughTransform2DLinesImageFilter.h. |
|
|||||
|
Smart pointer typedef support. Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >. Definition at line 78 of file itkHoughTransform2DLinesImageFilter.h. |
|
|||||
|
Standard "Self" typedef. Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >. Definition at line 67 of file itkHoughTransform2DLinesImageFilter.h. |
|
|||||
|
Standard "Superclass" typedef. Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >. Definition at line 88 of file itkHoughTransform2DLinesImageFilter.h. |
|
|||||||||
|
|
|
|||||||||
|
Definition at line 158 of file itkHoughTransform2DLinesImageFilter.h. |
|
||||||||||
|
Definition at line 160 of file itkHoughTransform2DLinesImageFilter.h. References HardConnectedComponentImageFilter::PrintSelf(). |
|
|||||||||
|
Method for evaluating the implicit function over the image. |
|
|||||||||
|
Get the resolution angle |
|
|||||||||
|
Get the resolution angle |
|
|||||||||
|
Run-time type information (and related methods). Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >. |
|
|||||||||
|
Set/Get the radius of the disc to remove from the accumulator for each line found |
|
||||||||||
|
Get the list of lines. This recomputes the lines |
|
|||||||||
|
Set/Get the number of lines to extract |
|
|||||||||
|
Get the Simplified accumulator |
|
|||||||||
|
Get the threshold value |
|
|||||||||
|
Set the variance of the gaussian bluring for the accumulator |
|
|||||||||
|
Method for creation through the object factory. |
|
||||||||||
|
Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >. Definition at line 161 of file itkHoughTransform2DLinesImageFilter.h. |
|
||||||||||||||||
|
Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >. |
|
||||||||||
|
Set the angle axis size: This value determine the size (in Y) of the accumulator image |
|
||||||||||
|
Set the resolution angle: The hough space descibes (in the angle direction) [-PI,PI[ with a constant stepe AngleResolution |
|
||||||||||
|
Set/Get the radius of the disc to remove from the accumulator for each line found |
|
||||||||||
|
Set/Get the number of lines to extract |
|
||||||||||
|
Set the threshold above which the filter should consider the point as a valid point |
|
||||||||||
|
Set the variance of the gaussian bluring for the accumulator |
|
||||||||||
|
Simplify the accumulator |
1.2.15 written by Dimitri van Heesch,
© 1997-2000