| 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
)
Public Shared Function HoughPoint2Line (
houghPoint As Point,
srcImgInfo As InputArray,
Optional angleRange As AngleRangeOption = AngleRangeOption.ARO_315_135,
Optional makeSkew As HoughDeskewOption = HoughDeskewOption.DESKEW,
Optional rules As RulesOption = RulesOption.IGNORE_BORDERS
) As Vec4i
public:
static Vec4i HoughPoint2Line(
Point houghPoint,
InputArray^ srcImgInfo,
AngleRangeOption angleRange = AngleRangeOption::ARO_315_135,
HoughDeskewOption makeSkew = HoughDeskewOption::DESKEW,
RulesOption rules = RulesOption::IGNORE_BORDERS
)
static member HoughPoint2Line :
houghPoint : Point *
srcImgInfo : InputArray *
?angleRange : AngleRangeOption *
?makeSkew : HoughDeskewOption *
?rules : RulesOption
(* Defaults:
let _angleRange = defaultArg angleRange AngleRangeOption.ARO_315_135
let _makeSkew = defaultArg makeSkew HoughDeskewOption.DESKEW
let _rules = defaultArg rules RulesOption.IGNORE_BORDERS
*)
-> Vec4i
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:
Vec4iCoordinates 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