ITK
5.2.0
Insight Toolkit
|
#include <itkHoughTransform2DLinesImageFilter.h>
Performs the Hough Transform to find 2D straight lines in a 2D image.
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:
where is the perpendicular distance from the origin and the angle with the normal.
The output is the accumulator array:
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 62 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::ConstPointer = SmartPointer<const Self> |
Definition at line 82 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::IndexType = typename InputImageType::IndexType |
Image index type alias
Definition at line 96 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::InputImageConstPointer = typename InputImageType::ConstPointer |
Definition at line 74 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::InputImagePointer = typename InputImageType::Pointer |
Definition at line 73 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::InputImageType = Image<TInputPixelType, 2> |
Input Image type alias
Definition at line 72 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::LinePointer = typename LineType::Pointer |
Definition at line 86 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::LinePointType = LineType::LinePointType |
Definition at line 88 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::LinesListSizeType = typename LinesListType::size_type |
Definition at line 90 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::LinesListType = std::list<LinePointer> |
Definition at line 87 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::LineType = LineSpatialObject<2> |
Line type alias
Definition at line 85 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::OutputImagePointer = typename OutputImageType::Pointer |
Definition at line 78 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::OutputImageRegionType = typename InputImageType::RegionType |
Typedef to describe the output image region type.
Definition at line 102 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::OutputImageType = Image<TOutputPixelType, 2> |
Output Image type alias
Definition at line 77 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::PixelType = typename InputImageType::PixelType |
Image pixel value type alias
Definition at line 99 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::Pointer = SmartPointer<Self> |
Smart pointer type alias support
Definition at line 81 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::Self = HoughTransform2DLinesImageFilter |
Standard "Self" type alias.
Definition at line 69 of file itkHoughTransform2DLinesImageFilter.h.
using itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::Superclass = ImageToImageFilter<InputImageType, OutputImageType> |
Standard "Superclass" type alias.
Definition at line 93 of file itkHoughTransform2DLinesImageFilter.h.
|
protected |
Set/Get the threshold above which the filter should consider the point as a valid point.
|
overrideprotecteddefault |
Set/Get the threshold above which the filter should consider the point as a valid point.
|
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 |
HoughTransform2DLinesImageFilter must produce the entire output.
Reimplemented from itk::ProcessObject.
|
overridevirtual |
Method for evaluating the implicit function over the image.
Reimplemented from itk::ProcessObject.
|
overrideprotectedvirtual |
HoughTransform2DLinesImageFilter needs the entire input. Therefore it must provide an implementation GenerateInputRequestedRegion().
Reimplemented from itk::ProcessObject.
|
overrideprotectedvirtual |
HoughTransform2DLinesImageFilter's output is the accumulator array. The size of the output is a function of the size of the input and the AngleAxisSize. Since this output is a different size than the input, it must provide an implementation of GenerateOutputInformation.
Reimplemented from itk::ProcessObject.
|
virtual |
Set/Get the threshold above which the filter should consider the point as a valid point.
|
virtual |
Set/Get the threshold above which the filter should consider the point as a valid point.
LinesListType& itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::GetLines | ( | ) |
Get the list of lines. This recomputes the lines.
|
virtual |
Get the Simplified accumulator.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< Image< TInputPixelType, 2 >, Image< TOutputPixelType, 2 > >.
|
virtual |
Set/Get the threshold above which the filter should consider the point as a valid point.
|
virtual |
Set/Get the threshold above which the filter should consider the point as a valid point.
|
virtual |
Set/Get the threshold above which the filter should consider the point as a valid point.
|
virtual |
Set/Get the threshold above which the filter should consider the point as a valid point.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Set/Get the threshold above which the filter should consider the point as a valid point.
Reimplemented from itk::ProcessObject.
|
virtual |
Set/Get the resolution angle. The Hough space describes (in the angle direction) [-PI,PI[ with a constant step AngleResolution.
|
virtual |
Set/Get the radius of the disc to remove from the accumulator for each line found.
|
virtual |
Set/Get the number of lines to extract
|
virtual |
Set/Get the threshold above which the filter should consider the point as a valid point.
|
virtual |
Set/Get the variance of the Gaussian blurring for the accumulator.
void itk::HoughTransform2DLinesImageFilter< TInputPixelType, TOutputPixelType >::Simplify | ( | ) |
Simplify the accumulator. Performs the same iteration process as the Update() method, but finds the maximum along the curve and then removes the curve.
|
private |
Set/Get the threshold above which the filter should consider the point as a valid point.
Definition at line 191 of file itkHoughTransform2DLinesImageFilter.h.
|
private |
Set/Get the threshold above which the filter should consider the point as a valid point.
Definition at line 197 of file itkHoughTransform2DLinesImageFilter.h.
|
private |
Set/Get the threshold above which the filter should consider the point as a valid point.
Definition at line 195 of file itkHoughTransform2DLinesImageFilter.h.
|
private |
Set/Get the threshold above which the filter should consider the point as a valid point.
Definition at line 196 of file itkHoughTransform2DLinesImageFilter.h.
|
private |
Set/Get the threshold above which the filter should consider the point as a valid point.
Definition at line 199 of file itkHoughTransform2DLinesImageFilter.h.
|
private |
Set/Get the threshold above which the filter should consider the point as a valid point.
Definition at line 194 of file itkHoughTransform2DLinesImageFilter.h.
|
private |
Set/Get the threshold above which the filter should consider the point as a valid point.
Definition at line 192 of file itkHoughTransform2DLinesImageFilter.h.
|
private |
Set/Get the threshold above which the filter should consider the point as a valid point.
Definition at line 198 of file itkHoughTransform2DLinesImageFilter.h.