ximgproc_HoughPoint2Line
import { ximgproc_HoughPoint2Line } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Calculates coordinates of line segment corresponded by point in Hough space.
retval: [Vec4i] Coordinates of line segment corresponded by point in Hough space.
Remark: s If rules parameter set to RO_STRICT then returned line cut along the border of source image.
Remark: s 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.
The function calculates coordinates of line segment corresponded by point in Hough space.
ximgproc_HoughPoint2Line(houghPoint: Point, srcImgInfo: Mat, angleRange: number, makeSkew: number, rules: number): Vec4i;4 available overloads
ximgproc_HoughPoint2Line(houghPoint: Point, srcImgInfo: Mat): Vec4i;ximgproc_HoughPoint2Line(houghPoint: Point, srcImgInfo: Mat, angleRange: number): Vec4i;ximgproc_HoughPoint2Line(houghPoint: Point, srcImgInfo: Mat, angleRange: number, makeSkew: number): Vec4i;ximgproc_HoughPoint2Line(houghPoint: Point, srcImgInfo: Mat, angleRange: number, makeSkew: number, rules: number): Vec4i;houghPointPoint in Hough space.
srcImgInfoThe source (input) image of Hough transform.
angleRangeThe part of Hough space where point is situated, see cv::AngleRangeOption
makeSkewSpecifies to do or not to do image skewing, see cv::HoughDeskewOption
rulesSpecifies strictness of line segment calculating, see cv::RulesOption
The Vec4i result.
These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.