Click or drag to resize

CvXImgProcHoughPoint2Line Method

Calculates coordinates of line segment corresponded by point in Hough space.

Namespace:  OpenCvSharp.XImgProc
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static Vec4i HoughPoint2Line(
	Point houghPoint,
	InputArray srcImgInfo,
	AngleRangeOption angleRange = AngleRangeOption.ARO_315_135,
	HoughDeskewOption makeSkew = HoughDeskewOption.DESKEW,
	RulesOption rules = RulesOption.IGNORE_BORDERS
)

Parameters

houghPoint
Type: OpenCvSharpPoint
Point in Hough space.
srcImgInfo
Type: OpenCvSharpInputArray
The source (input) image of Hough transform.
angleRange (Optional)
Type: OpenCvSharp.XImgProcAngleRangeOption
The part of Hough space where point is situated, see cv::AngleRangeOption
makeSkew (Optional)
Type: OpenCvSharp.XImgProcHoughDeskewOption
Specifies to do or not to do image skewing, see cv::HoughDeskewOption
rules (Optional)
Type: OpenCvSharp.XImgProcRulesOption
Specifies strictness of line segment calculating, see cv::RulesOption

Return Value

Type: 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.
See Also