Class GeneralizedHough
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
finds arbitrary template in the grayscale image using Generalized Hough Transform
public abstract class GeneralizedHough : Algorithm, IDisposable, ICvPtrHolder
- Inheritance
-
GeneralizedHough
- Implements
- Derived
- Inherited Members
Properties
CannyHighThresh
Canny high threshold.
public int CannyHighThresh { get; set; }
Property Value
CannyLowThresh
Canny low threshold.
public int CannyLowThresh { get; set; }
Property Value
Dp
Inverse ratio of the accumulator resolution to the image resolution.
public double Dp { get; set; }
Property Value
MaxBufferSize
Maximal size of inner buffers.
public int MaxBufferSize { get; set; }
Property Value
MinDist
Minimum distance between the centers of the detected objects.
public double MinDist { get; set; }
Property Value
Methods
Detect(InputArray, InputArray, InputArray, OutputArray, OutputArray?)
find template on image
public virtual void Detect(InputArray edges, InputArray dx, InputArray dy, OutputArray positions, OutputArray? votes = null)
Parameters
edgesInputArraydxInputArraydyInputArraypositionsOutputArrayvotesOutputArray
Detect(InputArray, OutputArray, OutputArray?)
find template on image
public virtual void Detect(InputArray image, OutputArray positions, OutputArray? votes = null)
Parameters
imageInputArraypositionsOutputArrayvotesOutputArray
SetTemplate(InputArray, InputArray, InputArray, Point?)
set template to search
public virtual void SetTemplate(InputArray edges, InputArray dx, InputArray dy, Point? templCenter = null)
Parameters
edgesInputArraydxInputArraydyInputArraytemplCenterPoint?
SetTemplate(InputArray, Point?)
set template to search
public void SetTemplate(InputArray templ, Point? templCenter = null)
Parameters
templInputArraytemplCenterPoint?