Method HoughPoint2Line
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
HoughPoint2Line(Point, InputArray, AngleRangeOption, HoughDeskewOption, RulesOption)
Calculates coordinates of line segment corresponded by point in Hough space.
public static Vec4i HoughPoint2Line(Point houghPoint, InputArray srcImgInfo, AngleRangeOption angleRange = AngleRangeOption.ARO_315_135, HoughDeskewOption makeSkew = HoughDeskewOption.DESKEW, RulesOption rules = RulesOption.IGNORE_BORDERS)
Parameters
houghPointPointPoint in Hough space.
srcImgInfoInputArrayThe source (input) image of Hough transform.
angleRangeAngleRangeOptionThe part of Hough space where point is situated, see cv::AngleRangeOption
makeSkewHoughDeskewOptionSpecifies to do or not to do image skewing, see cv::HoughDeskewOption
rulesRulesOptionSpecifies strictness of line segment calculating, see cv::RulesOption
Returns
- Vec4i
Coordinates of line segment corresponded by point in Hough space.
Remarks
If rules parameter set to RO_STRICT then returned line cut along the border of source image. If rules parameter set to RO_WEAK then in case of point, which belongs the incorrect part of Hough image, returned line will not intersect source image.