Class GeneralizedHough
finds arbitrary template in the grayscale image using Generalized Hough Transform
Inheritance
System.Object
GeneralizedHough
Implements
Inherited Members
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public abstract class GeneralizedHough : Algorithm, ICvPtrHolder
Properties
| Improve this Doc View SourceCannyHighThresh
Canny high threshold.
Declaration
public int CannyHighThresh { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
CannyLowThresh
Canny low threshold.
Declaration
public int CannyLowThresh { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Dp
Inverse ratio of the accumulator resolution to the image resolution.
Declaration
public double Dp { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
MaxBufferSize
Maximal size of inner buffers.
Declaration
public int MaxBufferSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MinDist
Minimum distance between the centers of the detected objects.
Declaration
public double MinDist { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceDetect(InputArray, InputArray, InputArray, OutputArray, OutputArray)
find template on image
Declaration
public virtual void Detect(InputArray edges, InputArray dx, InputArray dy, OutputArray positions, OutputArray votes = null)
Parameters
Type | Name | Description |
---|---|---|
InputArray | edges | |
InputArray | dx | |
InputArray | dy | |
OutputArray | positions | |
OutputArray | votes |
Detect(InputArray, OutputArray, OutputArray)
find template on image
Declaration
public virtual void Detect(InputArray image, OutputArray positions, OutputArray votes = null)
Parameters
Type | Name | Description |
---|---|---|
InputArray | image | |
OutputArray | positions | |
OutputArray | votes |
SetTemplate(InputArray, InputArray, InputArray, Nullable<Point>)
set template to search
Declaration
public virtual void SetTemplate(InputArray edges, InputArray dx, InputArray dy, Point? templCenter = null)
Parameters
Type | Name | Description |
---|---|---|
InputArray | edges | |
InputArray | dx | |
InputArray | dy | |
System.Nullable<OpenCvSharp.Point> | templCenter |
SetTemplate(InputArray, Nullable<Point>)
set template to search
Declaration
public void SetTemplate(InputArray templ, Point? templCenter = null)
Parameters
Type | Name | Description |
---|---|---|
InputArray | templ | |
System.Nullable<OpenCvSharp.Point> | templCenter |