Documentation ¶
Index ¶
- Constants
- func Accumulate(src *Mat, dst *Mat, mask *Mat)
- func Accumulate2(src *Mat, dst *Mat)
- func AccumulateProduct(src1 *Mat, src2 *Mat, dst *Mat, mask *Mat)
- func AccumulateProduct2(src1 *Mat, src2 *Mat, dst *Mat)
- func AccumulateSquare(src *Mat, dst *Mat, mask *Mat)
- func AccumulateSquare2(src *Mat, dst *Mat)
- func AccumulateWeighted(src *Mat, dst *Mat, alpha float64, mask *Mat)
- func AccumulateWeighted2(src *Mat, dst *Mat, alpha float64)
- func AdaptiveThreshold(src *Mat, dst *Mat, maxValue float64, adaptiveMethod int, thresholdType int, ...)
- func ApplyColorMap(src *Mat, dst *Mat, userColor *Mat)
- func ApplyColorMap2(src *Mat, dst *Mat, colormap int)
- func ApproxPolyDP(curve *MatOfPoint2f, approxCurve *MatOfPoint2f, epsilon float64, closed bool)
- func ArcLength(curve *MatOfPoint2f, closed bool) float64
- func ArrowedLine(img *Mat, pt1 *Point, pt2 *Point, color *Scalar, thickness int, line_type int, ...)
- func ArrowedLine2(img *Mat, pt1 *Point, pt2 *Point, color *Scalar)
- func BilateralFilter(src *Mat, dst *Mat, d int, sigmaColor float64, sigmaSpace float64, ...)
- func BilateralFilter2(src *Mat, dst *Mat, d int, sigmaColor float64, sigmaSpace float64)
- func Blur(src *Mat, dst *Mat, ksize *Size, anchor *Point, borderType int)
- func Blur2(src *Mat, dst *Mat, ksize *Size, anchor *Point)
- func Blur3(src *Mat, dst *Mat, ksize *Size)
- func BoundingRect(points *MatOfPoint) *Rect
- func BoxFilter(src *Mat, dst *Mat, ddepth int, ksize *Size, anchor *Point, normalize bool, ...)
- func BoxFilter2(src *Mat, dst *Mat, ddepth int, ksize *Size, anchor *Point, normalize bool)
- func BoxFilter3(src *Mat, dst *Mat, ddepth int, ksize *Size)
- func BoxPoints(box *RotatedRect, points *Mat)
- func CalcBackProject(images []*Mat, channels *MatOfInt, hist *Mat, dst *Mat, ranges *MatOfFloat, ...)
- func CalcHist(images []*Mat, channels *MatOfInt, mask *Mat, hist *Mat, histSize *MatOfInt, ...)
- func CalcHist2(images []*Mat, channels *MatOfInt, mask *Mat, hist *Mat, histSize *MatOfInt, ...)
- func Canny(dx *Mat, dy *Mat, edges *Mat, threshold1 float64, threshold2 float64, ...)
- func Canny2(dx *Mat, dy *Mat, edges *Mat, threshold1 float64, threshold2 float64)
- func Canny3(image *Mat, edges *Mat, threshold1 float64, threshold2 float64, ...)
- func Canny4(image *Mat, edges *Mat, threshold1 float64, threshold2 float64)
- func Circle(img *Mat, center *Point, radius int, color *Scalar, thickness int, ...)
- func Circle2(img *Mat, center *Point, radius int, color *Scalar, thickness int)
- func Circle3(img *Mat, center *Point, radius int, color *Scalar)
- func ClipLine(imgRect *Rect, pt1 *Point, pt2 *Point) bool
- func CompareHist(H1 *Mat, H2 *Mat, method int) float64
- func ConnectedComponents(image *Mat, labels *Mat, connectivity int, ltype int) int
- func ConnectedComponents2(image *Mat, labels *Mat) int
- func ConnectedComponentsWithAlgorithm(image *Mat, labels *Mat, connectivity int, ltype int, ccltype int) int
- func ConnectedComponentsWithStats(image *Mat, labels *Mat, stats *Mat, centroids *Mat, connectivity int, ...) int
- func ConnectedComponentsWithStats2(image *Mat, labels *Mat, stats *Mat, centroids *Mat) int
- func ConnectedComponentsWithStatsWithAlgorithm(image *Mat, labels *Mat, stats *Mat, centroids *Mat, connectivity int, ...) int
- func ContourArea(contour *Mat, oriented bool) float64
- func ContourArea2(contour *Mat) float64
- func ConvertMaps(map1 *Mat, map2 *Mat, dstmap1 *Mat, dstmap2 *Mat, dstmap1type int, ...)
- func ConvertMaps2(map1 *Mat, map2 *Mat, dstmap1 *Mat, dstmap2 *Mat, dstmap1type int)
- func ConvexHull(points *MatOfPoint, hull *MatOfInt, clockwise bool)
- func ConvexHull2(points *MatOfPoint, hull *MatOfInt)
- func ConvexityDefects(contour *MatOfPoint, convexhull *MatOfInt, convexityDefects *MatOfInt4)
- func CornerEigenValsAndVecs(src *Mat, dst *Mat, blockSize int, ksize int, borderType int)
- func CornerEigenValsAndVecs2(src *Mat, dst *Mat, blockSize int, ksize int)
- func CornerHarris(src *Mat, dst *Mat, blockSize int, ksize int, k float64, borderType int)
- func CornerHarris2(src *Mat, dst *Mat, blockSize int, ksize int, k float64)
- func CornerMinEigenVal(src *Mat, dst *Mat, blockSize int, ksize int, borderType int)
- func CornerMinEigenVal2(src *Mat, dst *Mat, blockSize int, ksize int)
- func CornerMinEigenVal3(src *Mat, dst *Mat, blockSize int)
- func CornerSubPix(image *Mat, corners *Mat, winSize *Size, zeroZone *Size, ...)
- func CreateHanningWindow(dst *Mat, winSize *Size, rtype int)
- func CvtColor(src *Mat, dst *Mat, code int, dstCn int)
- func CvtColor2(src *Mat, dst *Mat, code int)
- func Demosaicing(_src *Mat, _dst *Mat, code int, dcn int)
- func Demosaicing2(_src *Mat, _dst *Mat, code int)
- func Dilate(src *Mat, dst *Mat, kernel *Mat, anchor *Point, iterations int, borderType int, ...)
- func Dilate2(src *Mat, dst *Mat, kernel *Mat, anchor *Point, iterations int)
- func Dilate3(src *Mat, dst *Mat, kernel *Mat)
- func DistanceTransform(src *Mat, dst *Mat, distanceType int, maskSize int, dstType int)
- func DistanceTransform2(src *Mat, dst *Mat, distanceType int, maskSize int)
- func DistanceTransformWithLabels(src *Mat, dst *Mat, labels *Mat, distanceType int, maskSize int, labelType int)
- func DistanceTransformWithLabels2(src *Mat, dst *Mat, labels *Mat, distanceType int, maskSize int)
- func DrawContours(image *Mat, contours []*MatOfPoint, contourIdx int, color *Scalar, ...)
- func DrawContours2(image *Mat, contours []*MatOfPoint, contourIdx int, color *Scalar, ...)
- func DrawContours3(image *Mat, contours []*MatOfPoint, contourIdx int, color *Scalar)
- func DrawMarker(img *Mat, position *Point, color *Scalar, markerType int, markerSize int, ...)
- func DrawMarker2(img *Mat, position *Point, color *Scalar)
- func EMD(signature1 *Mat, signature2 *Mat, distType int, cost *Mat, flow *Mat) float32
- func EMD2(signature1 *Mat, signature2 *Mat, distType int) float32
- func Ellipse(img *Mat, center *Point, axes *Size, angle float64, startAngle float64, ...)
- func Ellipse2(img *Mat, center *Point, axes *Size, angle float64, startAngle float64, ...)
- func Ellipse2Poly(center *Point, axes *Size, angle int, arcStart int, arcEnd int, delta int, ...)
- func Ellipse3(img *Mat, center *Point, axes *Size, angle float64, startAngle float64, ...)
- func Ellipse4(img *Mat, box *RotatedRect, color *Scalar, thickness int, lineType int)
- func Ellipse5(img *Mat, box *RotatedRect, color *Scalar, thickness int)
- func Ellipse6(img *Mat, box *RotatedRect, color *Scalar)
- func EqualizeHist(src *Mat, dst *Mat)
- func Erode(src *Mat, dst *Mat, kernel *Mat, anchor *Point, iterations int, borderType int, ...)
- func Erode2(src *Mat, dst *Mat, kernel *Mat, anchor *Point, iterations int)
- func Erode3(src *Mat, dst *Mat, kernel *Mat)
- func FillConvexPoly(img *Mat, points *MatOfPoint, color *Scalar, lineType int, shift int)
- func FillConvexPoly2(img *Mat, points *MatOfPoint, color *Scalar)
- func FillPoly(img *Mat, pts []*MatOfPoint, color *Scalar, lineType int, shift int, ...)
- func FillPoly2(img *Mat, pts []*MatOfPoint, color *Scalar)
- func Filter2D(src *Mat, dst *Mat, ddepth int, kernel *Mat, anchor *Point, delta float64, ...)
- func Filter2D2(src *Mat, dst *Mat, ddepth int, kernel *Mat, anchor *Point, delta float64)
- func Filter2D3(src *Mat, dst *Mat, ddepth int, kernel *Mat)
- func FindContours(image *Mat, hierarchy *Mat, mode int, method int, offset *Point) (contours []*MatOfPoint)
- func FindContours2(image *Mat, hierarchy *Mat, mode int, method int) (contours []*MatOfPoint)
- func FitEllipse(points *MatOfPoint2f) *RotatedRect
- func FitEllipseAMS(points *Mat) *RotatedRect
- func FitEllipseDirect(points *Mat) *RotatedRect
- func FitLine(points *Mat, line *Mat, distType int, param float64, reps float64, ...)
- func FloodFill(image *Mat, mask *Mat, seedPoint *Point, newVal *Scalar, rect *Rect, ...) int
- func FloodFill2(image *Mat, mask *Mat, seedPoint *Point, newVal *Scalar) int
- func GaussianBlur(src *Mat, dst *Mat, ksize *Size, sigmaX float64, sigmaY float64, ...)
- func GaussianBlur2(src *Mat, dst *Mat, ksize *Size, sigmaX float64, sigmaY float64)
- func GaussianBlur3(src *Mat, dst *Mat, ksize *Size, sigmaX float64)
- func GetAffineTransform(src *MatOfPoint2f, dst *MatOfPoint2f) *Mat
- func GetDefaultNewCameraMatrix(cameraMatrix *Mat, imgsize *Size, centerPrincipalPoint bool) *Mat
- func GetDefaultNewCameraMatrix2(cameraMatrix *Mat) *Mat
- func GetDerivKernels(kx *Mat, ky *Mat, dx int, dy int, ksize int, normalize bool, ktype int)
- func GetDerivKernels2(kx *Mat, ky *Mat, dx int, dy int, ksize int)
- func GetGaborKernel(ksize *Size, sigma float64, theta float64, lambd float64, gamma float64, ...) *Mat
- func GetGaborKernel2(ksize *Size, sigma float64, theta float64, lambd float64, gamma float64) *Mat
- func GetGaussianKernel(ksize int, sigma float64, ktype int) *Mat
- func GetGaussianKernel2(ksize int, sigma float64) *Mat
- func GetPerspectiveTransform(src *Mat, dst *Mat) *Mat
- func GetRectSubPix(image *Mat, patchSize *Size, center *Point, patch *Mat, patchType int)
- func GetRectSubPix2(image *Mat, patchSize *Size, center *Point, patch *Mat)
- func GetRotationMatrix2D(center *Point, angle float64, scale float64) *Mat
- func GetStructuringElement(shape int, ksize *Size, anchor *Point) *Mat
- func GetStructuringElement2(shape int, ksize *Size) *Mat
- func GetTextSize(text string, fontFace int, fontScale float64, thickness int, baseLine []int32) *Size
- func GoodFeaturesToTrack(image *Mat, corners *MatOfPoint, maxCorners int, qualityLevel float64, ...)
- func GoodFeaturesToTrack2(image *Mat, corners *MatOfPoint, maxCorners int, qualityLevel float64, ...)
- func GoodFeaturesToTrack3(image *Mat, corners *MatOfPoint, maxCorners int, qualityLevel float64, ...)
- func GoodFeaturesToTrack4(image *Mat, corners *MatOfPoint, maxCorners int, qualityLevel float64, ...)
- func GrabCut(img *Mat, mask *Mat, rect *Rect, bgdModel *Mat, fgdModel *Mat, iterCount int, ...)
- func GrabCut2(img *Mat, mask *Mat, rect *Rect, bgdModel *Mat, fgdModel *Mat, iterCount int)
- func HoughCircles(image *Mat, circles *Mat, method int, dp float64, minDist float64, ...)
- func HoughCircles2(image *Mat, circles *Mat, method int, dp float64, minDist float64)
- func HoughLines(image *Mat, lines *Mat, rho float64, theta float64, threshold int, srn float64, ...)
- func HoughLines2(image *Mat, lines *Mat, rho float64, theta float64, threshold int)
- func HoughLinesP(image *Mat, lines *Mat, rho float64, theta float64, threshold int, ...)
- func HoughLinesP2(image *Mat, lines *Mat, rho float64, theta float64, threshold int)
- func HuMoments(m *Moments, hu *Mat)
- func InitUndistortRectifyMap(cameraMatrix *Mat, distCoeffs *Mat, R *Mat, newCameraMatrix *Mat, size *Size, ...)
- func InitWideAngleProjMap(cameraMatrix *Mat, distCoeffs *Mat, imageSize *Size, destImageWidth int, ...) float32
- func InitWideAngleProjMap2(cameraMatrix *Mat, distCoeffs *Mat, imageSize *Size, destImageWidth int, ...) float32
- func Integral(src *Mat, sum *Mat, sdepth int)
- func Integral2(src *Mat, sum *Mat)
- func Integral21(src *Mat, sum *Mat, sqsum *Mat, sdepth int, sqdepth int)
- func Integral22(src *Mat, sum *Mat, sqsum *Mat)
- func Integral3(src *Mat, sum *Mat, sqsum *Mat, tilted *Mat, sdepth int, sqdepth int)
- func Integral32(src *Mat, sum *Mat, sqsum *Mat, tilted *Mat)
- func IntersectConvexConvex(_p1 *Mat, _p2 *Mat, _p12 *Mat, handleNested bool) float32
- func IntersectConvexConvex2(_p1 *Mat, _p2 *Mat, _p12 *Mat) float32
- func InvertAffineTransform(M *Mat, iM *Mat)
- func IsContourConvex(contour *MatOfPoint) bool
- func Laplacian(src *Mat, dst *Mat, ddepth int, ksize int, scale float64, delta float64, ...)
- func Laplacian2(src *Mat, dst *Mat, ddepth int, ksize int, scale float64, delta float64)
- func Laplacian3(src *Mat, dst *Mat, ddepth int)
- func Line(img *Mat, pt1 *Point, pt2 *Point, color *Scalar, thickness int, lineType int, ...)
- func Line2(img *Mat, pt1 *Point, pt2 *Point, color *Scalar, thickness int)
- func Line3(img *Mat, pt1 *Point, pt2 *Point, color *Scalar)
- func LinearPolar(src *Mat, dst *Mat, center *Point, maxRadius float64, flags int)
- func LogPolar(src *Mat, dst *Mat, center *Point, M float64, flags int)
- func MatchShapes(contour1 *Mat, contour2 *Mat, method int, parameter float64) float64
- func MatchTemplate(image *Mat, templ *Mat, result *Mat, method int, mask *Mat)
- func MatchTemplate2(image *Mat, templ *Mat, result *Mat, method int)
- func MedianBlur(src *Mat, dst *Mat, ksize int)
- func MinAreaRect(points *MatOfPoint2f) *RotatedRect
- func MinEnclosingCircle(points *MatOfPoint2f, center *Point, radius []float32)
- func MinEnclosingTriangle(points *Mat, triangle *Mat) float64
- func MorphologyEx(src *Mat, dst *Mat, op int, kernel *Mat, anchor *Point, iterations int, ...)
- func MorphologyEx2(src *Mat, dst *Mat, op int, kernel *Mat, anchor *Point, iterations int)
- func MorphologyEx3(src *Mat, dst *Mat, op int, kernel *Mat)
- func PhaseCorrelate(src1 *Mat, src2 *Mat, window *Mat, response []float64) *Point
- func PhaseCorrelate2(src1 *Mat, src2 *Mat) *Point
- func PointPolygonTest(contour *MatOfPoint2f, pt *Point, measureDist bool) float64
- func Polylines(img *Mat, pts []*MatOfPoint, isClosed bool, color *Scalar, thickness int, ...)
- func Polylines2(img *Mat, pts []*MatOfPoint, isClosed bool, color *Scalar, thickness int)
- func Polylines3(img *Mat, pts []*MatOfPoint, isClosed bool, color *Scalar)
- func PreCornerDetect(src *Mat, dst *Mat, ksize int, borderType int)
- func PreCornerDetect2(src *Mat, dst *Mat, ksize int)
- func PutText(img *Mat, text string, org *Point, fontFace int, fontScale float64, ...)
- func PutText2(img *Mat, text string, org *Point, fontFace int, fontScale float64, ...)
- func PutText3(img *Mat, text string, org *Point, fontFace int, fontScale float64, ...)
- func PyrDown(src *Mat, dst *Mat, dstsize *Size, borderType int)
- func PyrDown2(src *Mat, dst *Mat, dstsize *Size)
- func PyrDown3(src *Mat, dst *Mat)
- func PyrMeanShiftFiltering(src *Mat, dst *Mat, sp float64, sr float64, maxLevel int, ...)
- func PyrMeanShiftFiltering2(src *Mat, dst *Mat, sp float64, sr float64)
- func PyrUp(src *Mat, dst *Mat, dstsize *Size, borderType int)
- func PyrUp2(src *Mat, dst *Mat, dstsize *Size)
- func PyrUp3(src *Mat, dst *Mat)
- func Rectangle(img *Mat, pt1 *Point, pt2 *Point, color *Scalar, thickness int, lineType int, ...)
- func Rectangle2(img *Mat, pt1 *Point, pt2 *Point, color *Scalar, thickness int)
- func Rectangle3(img *Mat, pt1 *Point, pt2 *Point, color *Scalar)
- func Remap(src *Mat, dst *Mat, map1 *Mat, map2 *Mat, interpolation int, borderMode int, ...)
- func Remap2(src *Mat, dst *Mat, map1 *Mat, map2 *Mat, interpolation int)
- func Resize(src *Mat, dst *Mat, dsize *Size, fx float64, fy float64, interpolation int)
- func Resize2(src *Mat, dst *Mat, dsize *Size)
- func RotatedRectangleIntersection(rect1 *RotatedRect, rect2 *RotatedRect, intersectingRegion *Mat) int
- func Scharr(src *Mat, dst *Mat, ddepth int, dx int, dy int, scale float64, delta float64, ...)
- func Scharr2(src *Mat, dst *Mat, ddepth int, dx int, dy int, scale float64, delta float64)
- func Scharr3(src *Mat, dst *Mat, ddepth int, dx int, dy int)
- func SepFilter2D(src *Mat, dst *Mat, ddepth int, kernelX *Mat, kernelY *Mat, anchor *Point, ...)
- func SepFilter2D2(src *Mat, dst *Mat, ddepth int, kernelX *Mat, kernelY *Mat, anchor *Point, ...)
- func SepFilter2D3(src *Mat, dst *Mat, ddepth int, kernelX *Mat, kernelY *Mat)
- func Sobel(src *Mat, dst *Mat, ddepth int, dx int, dy int, ksize int, scale float64, ...)
- func Sobel2(src *Mat, dst *Mat, ddepth int, dx int, dy int, ksize int, scale float64, ...)
- func Sobel3(src *Mat, dst *Mat, ddepth int, dx int, dy int)
- func SpatialGradient(src *Mat, dx *Mat, dy *Mat, ksize int, borderType int)
- func SpatialGradient2(src *Mat, dx *Mat, dy *Mat, ksize int)
- func SpatialGradient3(src *Mat, dx *Mat, dy *Mat)
- func SqrBoxFilter(_src *Mat, _dst *Mat, ddepth int, ksize *Size, anchor *Point, normalize bool, ...)
- func SqrBoxFilter2(_src *Mat, _dst *Mat, ddepth int, ksize *Size, anchor *Point, normalize bool)
- func SqrBoxFilter3(_src *Mat, _dst *Mat, ddepth int, ksize *Size)
- func Threshold(src *Mat, dst *Mat, thresh float64, maxval float64, rtype int) float64
- func Undistort(src *Mat, dst *Mat, cameraMatrix *Mat, distCoeffs *Mat, newCameraMatrix *Mat)
- func Undistort2(src *Mat, dst *Mat, cameraMatrix *Mat, distCoeffs *Mat)
- func UndistortPoints(src *Mat, dst *Mat, cameraMatrix *Mat, distCoeffs *Mat, R *Mat, P *Mat)
- func UndistortPoints2(src *Mat, dst *Mat, cameraMatrix *Mat, distCoeffs *Mat)
- func UndistortPointsIter(src *Mat, dst *Mat, cameraMatrix *Mat, distCoeffs *Mat, R *Mat, P *Mat, ...)
- func WarpAffine(src *Mat, dst *Mat, M *Mat, dsize *Size, flags int, borderMode int, ...)
- func WarpAffine2(src *Mat, dst *Mat, M *Mat, dsize *Size, flags int)
- func WarpAffine3(src *Mat, dst *Mat, M *Mat, dsize *Size)
- func WarpPerspective(src *Mat, dst *Mat, M *Mat, dsize *Size, flags int, borderMode int, ...)
- func WarpPerspective2(src *Mat, dst *Mat, M *Mat, dsize *Size, flags int)
- func WarpPerspective3(src *Mat, dst *Mat, M *Mat, dsize *Size)
- func Watershed(image *Mat, markers *Mat)
- type CLAHE
- type LineSegmentDetector
- func (rcvr *LineSegmentDetector) CompareSegments(size *Size, lines1 *Mat, lines2 *Mat, _image *Mat) int
- func (rcvr *LineSegmentDetector) CompareSegments2(size *Size, lines1 *Mat, lines2 *Mat) int
- func (rcvr *LineSegmentDetector) Detect(_image *Mat, _lines *Mat, width *Mat, prec *Mat, nfa *Mat)
- func (rcvr *LineSegmentDetector) Detect2(_image *Mat, _lines *Mat)
- func (rcvr *LineSegmentDetector) DrawSegments(_image *Mat, lines *Mat)
- type Moments
- func (rcvr *Moments) CompleteState()
- func (rcvr *Moments) Get_m00() float64
- func (rcvr *Moments) Get_m01() float64
- func (rcvr *Moments) Get_m02() float64
- func (rcvr *Moments) Get_m03() float64
- func (rcvr *Moments) Get_m10() float64
- func (rcvr *Moments) Get_m11() float64
- func (rcvr *Moments) Get_m12() float64
- func (rcvr *Moments) Get_m20() float64
- func (rcvr *Moments) Get_m21() float64
- func (rcvr *Moments) Get_m30() float64
- func (rcvr *Moments) Get_mu02() float64
- func (rcvr *Moments) Get_mu03() float64
- func (rcvr *Moments) Get_mu11() float64
- func (rcvr *Moments) Get_mu12() float64
- func (rcvr *Moments) Get_mu20() float64
- func (rcvr *Moments) Get_mu21() float64
- func (rcvr *Moments) Get_mu30() float64
- func (rcvr *Moments) Get_nu02() float64
- func (rcvr *Moments) Get_nu03() float64
- func (rcvr *Moments) Get_nu11() float64
- func (rcvr *Moments) Get_nu12() float64
- func (rcvr *Moments) Get_nu20() float64
- func (rcvr *Moments) Get_nu21() float64
- func (rcvr *Moments) Get_nu30() float64
- func (rcvr *Moments) Set(vals []float64)
- func (rcvr *Moments) Set_m00(m00 float64)
- func (rcvr *Moments) Set_m01(m01 float64)
- func (rcvr *Moments) Set_m02(m02 float64)
- func (rcvr *Moments) Set_m03(m03 float64)
- func (rcvr *Moments) Set_m10(m10 float64)
- func (rcvr *Moments) Set_m11(m11 float64)
- func (rcvr *Moments) Set_m12(m12 float64)
- func (rcvr *Moments) Set_m20(m20 float64)
- func (rcvr *Moments) Set_m21(m21 float64)
- func (rcvr *Moments) Set_m30(m30 float64)
- func (rcvr *Moments) Set_mu02(mu02 float64)
- func (rcvr *Moments) Set_mu03(mu03 float64)
- func (rcvr *Moments) Set_mu11(mu11 float64)
- func (rcvr *Moments) Set_mu12(mu12 float64)
- func (rcvr *Moments) Set_mu20(mu20 float64)
- func (rcvr *Moments) Set_mu21(mu21 float64)
- func (rcvr *Moments) Set_mu30(mu30 float64)
- func (rcvr *Moments) Set_nu02(nu02 float64)
- func (rcvr *Moments) Set_nu03(nu03 float64)
- func (rcvr *Moments) Set_nu11(nu11 float64)
- func (rcvr *Moments) Set_nu12(nu12 float64)
- func (rcvr *Moments) Set_nu20(nu20 float64)
- func (rcvr *Moments) Set_nu21(nu21 float64)
- func (rcvr *Moments) Set_nu30(nu30 float64)
- func (rcvr *Moments) String() string
- type Subdiv2D
- func (rcvr *Subdiv2D) EdgeDst(edge int, dstpt *Point) int
- func (rcvr *Subdiv2D) EdgeDst2(edge int) int
- func (rcvr *Subdiv2D) EdgeOrg(edge int, orgpt *Point) int
- func (rcvr *Subdiv2D) EdgeOrg2(edge int) int
- func (rcvr *Subdiv2D) FindNearest(pt *Point, nearestPt *Point) int
- func (rcvr *Subdiv2D) FindNearest2(pt *Point) int
- func (rcvr *Subdiv2D) GetEdge(edge int, nextEdgeType int) int
- func (rcvr *Subdiv2D) GetEdgeList(edgeList *MatOfFloat4)
- func (rcvr *Subdiv2D) GetLeadingEdgeList(leadingEdgeList *MatOfInt)
- func (rcvr *Subdiv2D) GetNativeObjAddr() int64
- func (rcvr *Subdiv2D) GetTriangleList(triangleList *MatOfFloat6)
- func (rcvr *Subdiv2D) GetVertex(vertex int, firstEdge []int) *Point
- func (rcvr *Subdiv2D) GetVertex2(vertex int) *Point
- func (rcvr *Subdiv2D) GetVoronoiFacetList(idx *MatOfInt, facetCenters *MatOfPoint2f) (facetList []*MatOfPoint2f)
- func (rcvr *Subdiv2D) InitDelaunay(rect *Rect)
- func (rcvr *Subdiv2D) Insert(pt *Point) int
- func (rcvr *Subdiv2D) Insert2(ptvec *MatOfPoint2f)
- func (rcvr *Subdiv2D) Locate(pt *Point, edge []int, vertex []int) int
- func (rcvr *Subdiv2D) NextEdge(edge int) int
- func (rcvr *Subdiv2D) RotateEdge(edge int, rotate int) int
- func (rcvr *Subdiv2D) SymEdge(edge int) int
Constants ¶
View Source
const ADAPTIVE_THRESH_GAUSSIAN_C = 1
View Source
const ADAPTIVE_THRESH_MEAN_C = 0
View Source
const CCL_DEFAULT = -1
View Source
const CCL_GRANA = 1
View Source
const CCL_WU = 0
View Source
const CC_STAT_AREA = 4
View Source
const CC_STAT_HEIGHT = 3
View Source
const CC_STAT_LEFT = 0
View Source
const CC_STAT_MAX = 5
View Source
const CC_STAT_TOP = 1
View Source
const CC_STAT_WIDTH = 2
View Source
const CHAIN_APPROX_NONE = 1
View Source
const CHAIN_APPROX_SIMPLE = 2
View Source
const CHAIN_APPROX_TC89_KCOS = 4
View Source
const CHAIN_APPROX_TC89_L1 = 3
View Source
const COLORMAP_AUTUMN = 0
View Source
const COLORMAP_BONE = 1
View Source
const COLORMAP_COOL = 8
View Source
const COLORMAP_HOT = 11
View Source
const COLORMAP_HSV = 9
View Source
const COLORMAP_JET = 2
View Source
const COLORMAP_OCEAN = 5
View Source
const COLORMAP_PARULA = 12
View Source
const COLORMAP_PINK = 10
View Source
const COLORMAP_RAINBOW = 4
View Source
const COLORMAP_SPRING = 7
View Source
const COLORMAP_SUMMER = 6
View Source
const COLORMAP_WINTER = 3
View Source
const COLOR_BGR2BGR555 = 22
View Source
const COLOR_BGR2BGR565 = 12
View Source
const COLOR_BGR2BGRA = 0
View Source
const COLOR_BGR2GRAY = 6
View Source
const COLOR_BGR2HLS = 52
View Source
const COLOR_BGR2HLS_FULL = 68
View Source
const COLOR_BGR2HSV = 40
View Source
const COLOR_BGR2HSV_FULL = 66
View Source
const COLOR_BGR2Lab = 44
View Source
const COLOR_BGR2Luv = 50
View Source
const COLOR_BGR2RGB = 4
View Source
const COLOR_BGR2RGBA = 2
View Source
const COLOR_BGR2XYZ = 32
View Source
const COLOR_BGR2YCrCb = 36
View Source
const COLOR_BGR2YUV = 82
View Source
const COLOR_BGR2YUV_I420 = 128
View Source
const COLOR_BGR2YUV_IYUV = COLOR_BGR2YUV_I420
View Source
const COLOR_BGR2YUV_YV12 = 132
View Source
const COLOR_BGR5552BGR = 24
View Source
const COLOR_BGR5552BGRA = 28
View Source
const COLOR_BGR5552GRAY = 31
View Source
const COLOR_BGR5552RGB = 25
View Source
const COLOR_BGR5552RGBA = 29
View Source
const COLOR_BGR5652BGR = 14
View Source
const COLOR_BGR5652BGRA = 18
View Source
const COLOR_BGR5652GRAY = 21
View Source
const COLOR_BGR5652RGB = 15
View Source
const COLOR_BGR5652RGBA = 19
View Source
const COLOR_BGRA2BGR = 1
View Source
const COLOR_BGRA2BGR555 = 26
View Source
const COLOR_BGRA2BGR565 = 16
View Source
const COLOR_BGRA2GRAY = 10
View Source
const COLOR_BGRA2RGB = COLOR_RGBA2BGR
View Source
const COLOR_BGRA2RGBA = 5
View Source
const COLOR_BGRA2YUV_I420 = 130
View Source
const COLOR_BGRA2YUV_IYUV = COLOR_BGRA2YUV_I420
View Source
const COLOR_BGRA2YUV_YV12 = 134
View Source
const COLOR_BayerBG2BGR = 46
View Source
const COLOR_BayerBG2BGRA = 139
View Source
const COLOR_BayerBG2BGR_EA = 135
View Source
const COLOR_BayerBG2BGR_VNG = 62
View Source
const COLOR_BayerBG2GRAY = 86
View Source
const COLOR_BayerBG2RGB = COLOR_BayerRG2BGR
View Source
const COLOR_BayerBG2RGBA = COLOR_BayerRG2BGRA
View Source
const COLOR_BayerBG2RGB_EA = COLOR_BayerRG2BGR_EA
View Source
const COLOR_BayerBG2RGB_VNG = COLOR_BayerRG2BGR_VNG
View Source
const COLOR_BayerGB2BGR = 47
View Source
const COLOR_BayerGB2BGRA = 140
View Source
const COLOR_BayerGB2BGR_EA = 136
View Source
const COLOR_BayerGB2BGR_VNG = 63
View Source
const COLOR_BayerGB2GRAY = 87
View Source
const COLOR_BayerGB2RGB = COLOR_BayerGR2BGR
View Source
const COLOR_BayerGB2RGBA = COLOR_BayerGR2BGRA
View Source
const COLOR_BayerGB2RGB_EA = COLOR_BayerGR2BGR_EA
View Source
const COLOR_BayerGB2RGB_VNG = COLOR_BayerGR2BGR_VNG
View Source
const COLOR_BayerGR2BGR = 49
View Source
const COLOR_BayerGR2BGRA = 142
View Source
const COLOR_BayerGR2BGR_EA = 138
View Source
const COLOR_BayerGR2BGR_VNG = 65
View Source
const COLOR_BayerGR2GRAY = 89
View Source
const COLOR_BayerGR2RGB = COLOR_BayerGB2BGR
View Source
const COLOR_BayerGR2RGBA = COLOR_BayerGB2BGRA
View Source
const COLOR_BayerGR2RGB_EA = COLOR_BayerGB2BGR_EA
View Source
const COLOR_BayerGR2RGB_VNG = COLOR_BayerGB2BGR_VNG
View Source
const COLOR_BayerRG2BGR = 48
View Source
const COLOR_BayerRG2BGRA = 141
View Source
const COLOR_BayerRG2BGR_EA = 137
View Source
const COLOR_BayerRG2BGR_VNG = 64
View Source
const COLOR_BayerRG2GRAY = 88
View Source
const COLOR_BayerRG2RGB = COLOR_BayerBG2BGR
View Source
const COLOR_BayerRG2RGBA = COLOR_BayerBG2BGRA
View Source
const COLOR_BayerRG2RGB_EA = COLOR_BayerBG2BGR_EA
View Source
const COLOR_BayerRG2RGB_VNG = COLOR_BayerBG2BGR_VNG
View Source
const COLOR_COLORCVT_MAX = 143
View Source
const COLOR_GRAY2BGR = 8
View Source
const COLOR_GRAY2BGR555 = 30
View Source
const COLOR_GRAY2BGR565 = 20
View Source
const COLOR_GRAY2BGRA = 9
View Source
const COLOR_GRAY2RGB = COLOR_GRAY2BGR
View Source
const COLOR_GRAY2RGBA = COLOR_GRAY2BGRA
View Source
const COLOR_HLS2BGR = 60
View Source
const COLOR_HLS2BGR_FULL = 72
View Source
const COLOR_HLS2RGB = 61
View Source
const COLOR_HLS2RGB_FULL = 73
View Source
const COLOR_HSV2BGR = 54
View Source
const COLOR_HSV2BGR_FULL = 70
View Source
const COLOR_HSV2RGB = 55
View Source
const COLOR_HSV2RGB_FULL = 71
View Source
const COLOR_LBGR2Lab = 74
View Source
const COLOR_LBGR2Luv = 76
View Source
const COLOR_LRGB2Lab = 75
View Source
const COLOR_LRGB2Luv = 77
View Source
const COLOR_Lab2BGR = 56
View Source
const COLOR_Lab2LBGR = 78
View Source
const COLOR_Lab2LRGB = 79
View Source
const COLOR_Lab2RGB = 57
View Source
const COLOR_Luv2BGR = 58
View Source
const COLOR_Luv2LBGR = 80
View Source
const COLOR_Luv2LRGB = 81
View Source
const COLOR_Luv2RGB = 59
View Source
const COLOR_RGB2BGR = COLOR_BGR2RGB
View Source
const COLOR_RGB2BGR555 = 23
View Source
const COLOR_RGB2BGR565 = 13
View Source
const COLOR_RGB2BGRA = COLOR_BGR2RGBA
View Source
const COLOR_RGB2GRAY = 7
View Source
const COLOR_RGB2HLS = 53
View Source
const COLOR_RGB2HLS_FULL = 69
View Source
const COLOR_RGB2HSV = 41
View Source
const COLOR_RGB2HSV_FULL = 67
View Source
const COLOR_RGB2Lab = 45
View Source
const COLOR_RGB2Luv = 51
View Source
const COLOR_RGB2RGBA = COLOR_BGR2BGRA
View Source
const COLOR_RGB2XYZ = 33
View Source
const COLOR_RGB2YCrCb = 37
View Source
const COLOR_RGB2YUV = 83
View Source
const COLOR_RGB2YUV_I420 = 127
View Source
const COLOR_RGB2YUV_IYUV = COLOR_RGB2YUV_I420
View Source
const COLOR_RGB2YUV_YV12 = 131
View Source
const COLOR_RGBA2BGR = 3
View Source
const COLOR_RGBA2BGR555 = 27
View Source
const COLOR_RGBA2BGR565 = 17
View Source
const COLOR_RGBA2BGRA = COLOR_BGRA2RGBA
View Source
const COLOR_RGBA2GRAY = 11
View Source
const COLOR_RGBA2RGB = COLOR_BGRA2BGR
View Source
const COLOR_RGBA2YUV_I420 = 129
View Source
const COLOR_RGBA2YUV_IYUV = COLOR_RGBA2YUV_I420
View Source
const COLOR_RGBA2YUV_YV12 = 133
View Source
const COLOR_RGBA2mRGBA = 125
View Source
const COLOR_XYZ2BGR = 34
View Source
const COLOR_XYZ2RGB = 35
View Source
const COLOR_YCrCb2BGR = 38
View Source
const COLOR_YCrCb2RGB = 39
View Source
const COLOR_YUV2BGR = 84
View Source
const COLOR_YUV2BGRA_I420 = COLOR_YUV2BGRA_IYUV
View Source
const COLOR_YUV2BGRA_IYUV = 105
View Source
const COLOR_YUV2BGRA_NV12 = 95
View Source
const COLOR_YUV2BGRA_NV21 = 97
View Source
const COLOR_YUV2BGRA_UYNV = COLOR_YUV2BGRA_UYVY
View Source
const COLOR_YUV2BGRA_UYVY = 112
View Source
const COLOR_YUV2BGRA_Y422 = COLOR_YUV2BGRA_UYVY
View Source
const COLOR_YUV2BGRA_YUNV = COLOR_YUV2BGRA_YUY2
View Source
const COLOR_YUV2BGRA_YUY2 = 120
View Source
const COLOR_YUV2BGRA_YUYV = COLOR_YUV2BGRA_YUY2
View Source
const COLOR_YUV2BGRA_YV12 = 103
View Source
const COLOR_YUV2BGRA_YVYU = 122
View Source
const COLOR_YUV2BGR_I420 = COLOR_YUV2BGR_IYUV
View Source
const COLOR_YUV2BGR_IYUV = 101
View Source
const COLOR_YUV2BGR_NV12 = 91
View Source
const COLOR_YUV2BGR_NV21 = 93
View Source
const COLOR_YUV2BGR_UYNV = COLOR_YUV2BGR_UYVY
View Source
const COLOR_YUV2BGR_UYVY = 108
View Source
const COLOR_YUV2BGR_Y422 = COLOR_YUV2BGR_UYVY
View Source
const COLOR_YUV2BGR_YUNV = COLOR_YUV2BGR_YUY2
View Source
const COLOR_YUV2BGR_YUY2 = 116
View Source
const COLOR_YUV2BGR_YUYV = COLOR_YUV2BGR_YUY2
View Source
const COLOR_YUV2BGR_YV12 = 99
View Source
const COLOR_YUV2BGR_YVYU = 118
View Source
const COLOR_YUV2GRAY_420 = 106
View Source
const COLOR_YUV2GRAY_I420 = COLOR_YUV2GRAY_420
View Source
const COLOR_YUV2GRAY_IYUV = COLOR_YUV2GRAY_420
View Source
const COLOR_YUV2GRAY_NV12 = COLOR_YUV2GRAY_420
View Source
const COLOR_YUV2GRAY_NV21 = COLOR_YUV2GRAY_420
View Source
const COLOR_YUV2GRAY_UYNV = COLOR_YUV2GRAY_UYVY
View Source
const COLOR_YUV2GRAY_UYVY = 123
View Source
const COLOR_YUV2GRAY_Y422 = COLOR_YUV2GRAY_UYVY
View Source
const COLOR_YUV2GRAY_YUNV = COLOR_YUV2GRAY_YUY2
View Source
const COLOR_YUV2GRAY_YUY2 = 124
View Source
const COLOR_YUV2GRAY_YUYV = COLOR_YUV2GRAY_YUY2
View Source
const COLOR_YUV2GRAY_YV12 = COLOR_YUV2GRAY_420
View Source
const COLOR_YUV2GRAY_YVYU = COLOR_YUV2GRAY_YUY2
View Source
const COLOR_YUV2RGB = 85
View Source
const COLOR_YUV2RGBA_I420 = COLOR_YUV2RGBA_IYUV
View Source
const COLOR_YUV2RGBA_IYUV = 104
View Source
const COLOR_YUV2RGBA_NV12 = 94
View Source
const COLOR_YUV2RGBA_NV21 = 96
View Source
const COLOR_YUV2RGBA_UYNV = COLOR_YUV2RGBA_UYVY
View Source
const COLOR_YUV2RGBA_UYVY = 111
View Source
const COLOR_YUV2RGBA_Y422 = COLOR_YUV2RGBA_UYVY
View Source
const COLOR_YUV2RGBA_YUNV = COLOR_YUV2RGBA_YUY2
View Source
const COLOR_YUV2RGBA_YUY2 = 119
View Source
const COLOR_YUV2RGBA_YUYV = COLOR_YUV2RGBA_YUY2
View Source
const COLOR_YUV2RGBA_YV12 = 102
View Source
const COLOR_YUV2RGBA_YVYU = 121
View Source
const COLOR_YUV2RGB_I420 = COLOR_YUV2RGB_IYUV
View Source
const COLOR_YUV2RGB_IYUV = 100
View Source
const COLOR_YUV2RGB_NV12 = 90
View Source
const COLOR_YUV2RGB_NV21 = 92
View Source
const COLOR_YUV2RGB_UYNV = COLOR_YUV2RGB_UYVY
View Source
const COLOR_YUV2RGB_UYVY = 107
View Source
const COLOR_YUV2RGB_Y422 = COLOR_YUV2RGB_UYVY
View Source
const COLOR_YUV2RGB_YUNV = COLOR_YUV2RGB_YUY2
View Source
const COLOR_YUV2RGB_YUY2 = 115
View Source
const COLOR_YUV2RGB_YUYV = COLOR_YUV2RGB_YUY2
View Source
const COLOR_YUV2RGB_YV12 = 98
View Source
const COLOR_YUV2RGB_YVYU = 117
View Source
const COLOR_YUV420p2BGR = COLOR_YUV2BGR_YV12
View Source
const COLOR_YUV420p2BGRA = COLOR_YUV2BGRA_YV12
View Source
const COLOR_YUV420p2GRAY = COLOR_YUV2GRAY_420
View Source
const COLOR_YUV420p2RGB = COLOR_YUV2RGB_YV12
View Source
const COLOR_YUV420p2RGBA = COLOR_YUV2RGBA_YV12
View Source
const COLOR_YUV420sp2BGR = COLOR_YUV2BGR_NV21
View Source
const COLOR_YUV420sp2BGRA = COLOR_YUV2BGRA_NV21
View Source
const COLOR_YUV420sp2GRAY = COLOR_YUV2GRAY_420
View Source
const COLOR_YUV420sp2RGB = COLOR_YUV2RGB_NV21
View Source
const COLOR_YUV420sp2RGBA = COLOR_YUV2RGBA_NV21
View Source
const COLOR_mRGBA2RGBA = 126
View Source
const CONTOURS_MATCH_I1 = 1
View Source
const CONTOURS_MATCH_I2 = 2
View Source
const CONTOURS_MATCH_I3 = 3
View Source
const CV_BILATERAL = 4
View Source
const CV_BLUR = 1
View Source
const CV_BLUR_NO_SCALE = 0
View Source
const CV_CANNY_L2_GRADIENT = 1 << 31
View Source
const CV_CHAIN_CODE = 0
View Source
const CV_CLOCKWISE = 1
View Source
const CV_COMP_BHATTACHARYYA = 3
View Source
const CV_COMP_CHISQR = 1
View Source
const CV_COMP_CHISQR_ALT = 4
View Source
const CV_COMP_CORREL = 0
View Source
const CV_COMP_HELLINGER = CV_COMP_BHATTACHARYYA
View Source
const CV_COMP_INTERSECT = 2
View Source
const CV_COMP_KL_DIV = 5
View Source
const CV_CONTOURS_MATCH_I1 = 1
View Source
const CV_CONTOURS_MATCH_I2 = 2
View Source
const CV_CONTOURS_MATCH_I3 = 3
View Source
const CV_COUNTER_CLOCKWISE = 2
View Source
const CV_DIST_C = 3
View Source
const CV_DIST_FAIR = 5
View Source
const CV_DIST_HUBER = 7
View Source
const CV_DIST_L1 = 1
View Source
const CV_DIST_L12 = 4
View Source
const CV_DIST_L2 = 2
View Source
const CV_DIST_LABEL_CCOMP = 0
View Source
const CV_DIST_LABEL_PIXEL = 1
View Source
const CV_DIST_MASK_3 = 3
View Source
const CV_DIST_MASK_5 = 5
View Source
const CV_DIST_MASK_PRECISE = 0
View Source
const CV_DIST_USER = -1
View Source
const CV_DIST_WELSCH = 6
View Source
const CV_GAUSSIAN = 2
View Source
const CV_GAUSSIAN_5x5 = 7
View Source
const CV_HOUGH_GRADIENT = 3
View Source
const CV_HOUGH_MULTI_SCALE = 2
View Source
const CV_HOUGH_PROBABILISTIC = 1
View Source
const CV_HOUGH_STANDARD = 0
View Source
const CV_LINK_RUNS = 5
View Source
const CV_MAX_SOBEL_KSIZE = 7
View Source
const CV_MEDIAN = 3
View Source
const CV_POLY_APPROX_DP = 0
View Source
const CV_RGBA2mRGBA = 125
View Source
const CV_SCHARR = -1
View Source
const CV_SHAPE_CROSS = 1
View Source
const CV_SHAPE_CUSTOM = 100
View Source
const CV_SHAPE_ELLIPSE = 2
View Source
const CV_SHAPE_RECT = 0
View Source
const CV_WARP_FILL_OUTLIERS = 8
View Source
const CV_WARP_INVERSE_MAP = 16
View Source
const CV_mRGBA2RGBA = 126
View Source
const DIST_C = 3
View Source
const DIST_FAIR = 5
View Source
const DIST_HUBER = 7
View Source
const DIST_L1 = 1
View Source
const DIST_L12 = 4
View Source
const DIST_L2 = 2
View Source
const DIST_LABEL_CCOMP = 0
View Source
const DIST_LABEL_PIXEL = 1
View Source
const DIST_MASK_3 = 3
View Source
const DIST_MASK_5 = 5
View Source
const DIST_MASK_PRECISE = 0
View Source
const DIST_USER = -1
View Source
const DIST_WELSCH = 6
View Source
const FLOODFILL_FIXED_RANGE = 1 << 16
View Source
const FLOODFILL_MASK_ONLY = 1 << 17
View Source
const GC_BGD = 0
View Source
const GC_EVAL = 2
View Source
const GC_FGD = 1
View Source
const GC_INIT_WITH_MASK = 1
View Source
const GC_INIT_WITH_RECT = 0
View Source
const GC_PR_BGD = 2
View Source
const GC_PR_FGD = 3
View Source
const HISTCMP_BHATTACHARYYA = 3
View Source
const HISTCMP_CHISQR = 1
View Source
const HISTCMP_CHISQR_ALT = 4
View Source
const HISTCMP_CORREL = 0
View Source
const HISTCMP_HELLINGER = HISTCMP_BHATTACHARYYA
View Source
const HISTCMP_INTERSECT = 2
View Source
const HISTCMP_KL_DIV = 5
View Source
const HOUGH_GRADIENT = 3
View Source
const HOUGH_MULTI_SCALE = 2
View Source
const HOUGH_PROBABILISTIC = 1
View Source
const HOUGH_STANDARD = 0
View Source
const INTERSECT_FULL = 2
View Source
const INTERSECT_NONE = 0
View Source
const INTERSECT_PARTIAL = 1
View Source
const INTER_AREA = 3
View Source
const INTER_BITS = 5
View Source
const INTER_BITS2 = INTER_BITS * 2
View Source
const INTER_CUBIC = 2
View Source
const INTER_LANCZOS4 = 4
View Source
const INTER_LINEAR = 1
View Source
const INTER_MAX = 7
View Source
const INTER_NEAREST = 0
View Source
const INTER_TAB_SIZE = 1 << INTER_BITS
View Source
const INTER_TAB_SIZE2 = INTER_TAB_SIZE * INTER_TAB_SIZE
View Source
const LINE_4 = 4
View Source
const LINE_8 = 8
View Source
const LINE_AA = 16
View Source
const LSD_REFINE_ADV = 2
View Source
const LSD_REFINE_NONE = 0
View Source
const LSD_REFINE_STD = 1
View Source
const MARKER_CROSS = 0
View Source
const MARKER_DIAMOND = 3
View Source
const MARKER_SQUARE = 4
View Source
const MARKER_STAR = 2
View Source
const MARKER_TILTED_CROSS = 1
View Source
const MARKER_TRIANGLE_DOWN = 6
View Source
const MARKER_TRIANGLE_UP = 5
View Source
const MORPH_BLACKHAT = 6
View Source
const MORPH_CLOSE = 3
View Source
const MORPH_CROSS = 1
View Source
const MORPH_DILATE = 1
View Source
const MORPH_ELLIPSE = 2
View Source
const MORPH_ERODE = 0
View Source
const MORPH_GRADIENT = 4
View Source
const MORPH_HITMISS = 7
View Source
const MORPH_OPEN = 2
View Source
const MORPH_RECT = 0
View Source
const MORPH_TOPHAT = 5
View Source
const NEXT_AROUND_DST = 0x22
View Source
const NEXT_AROUND_LEFT = 0x13
View Source
const NEXT_AROUND_ORG = 0x00
View Source
const NEXT_AROUND_RIGHT = 0x31
View Source
const PREV_AROUND_DST = 0x33
View Source
const PREV_AROUND_LEFT = 0x20
View Source
const PREV_AROUND_ORG = 0x11
View Source
const PREV_AROUND_RIGHT = 0x02
View Source
const PROJ_SPHERICAL_EQRECT = 1
View Source
const PROJ_SPHERICAL_ORTHO = 0
View Source
const PTLOC_ERROR = -2
View Source
const PTLOC_INSIDE = 0
View Source
const PTLOC_ON_EDGE = 2
View Source
const PTLOC_OUTSIDE_RECT = -1
View Source
const PTLOC_VERTEX = 1
View Source
const RETR_CCOMP = 2
View Source
const RETR_EXTERNAL = 0
View Source
const RETR_FLOODFILL = 4
View Source
const RETR_LIST = 1
View Source
const RETR_TREE = 3
View Source
const THRESH_BINARY = 0
View Source
const THRESH_BINARY_INV = 1
View Source
const THRESH_MASK = 7
View Source
const THRESH_OTSU = 8
View Source
const THRESH_TOZERO = 3
View Source
const THRESH_TOZERO_INV = 4
View Source
const THRESH_TRIANGLE = 16
View Source
const THRESH_TRUNC = 2
View Source
const TM_CCOEFF = 4
View Source
const TM_CCOEFF_NORMED = 5
View Source
const TM_CCORR = 2
View Source
const TM_CCORR_NORMED = 3
View Source
const TM_SQDIFF = 0
View Source
const TM_SQDIFF_NORMED = 1
View Source
const WARP_FILL_OUTLIERS = 8
View Source
const WARP_INVERSE_MAP = 16
Variables ¶
This section is empty.
Functions ¶
func Accumulate ¶
func Accumulate(src *Mat, dst *Mat, mask *Mat)
func Accumulate2 ¶
func Accumulate2(src *Mat, dst *Mat)
func AccumulateProduct ¶
func AccumulateProduct(src1 *Mat, src2 *Mat, dst *Mat, mask *Mat)
func AccumulateProduct2 ¶
func AccumulateProduct2(src1 *Mat, src2 *Mat, dst *Mat)
func AccumulateSquare ¶
func AccumulateSquare(src *Mat, dst *Mat, mask *Mat)
func AccumulateSquare2 ¶
func AccumulateSquare2(src *Mat, dst *Mat)
func AccumulateWeighted ¶
func AccumulateWeighted(src *Mat, dst *Mat, alpha float64, mask *Mat)
func AccumulateWeighted2 ¶
func AccumulateWeighted2(src *Mat, dst *Mat, alpha float64)
func AdaptiveThreshold ¶
func ApplyColorMap ¶
func ApplyColorMap(src *Mat, dst *Mat, userColor *Mat)
func ApplyColorMap2 ¶
func ApplyColorMap2(src *Mat, dst *Mat, colormap int)
func ApproxPolyDP ¶
func ArrowedLine ¶
func ArrowedLine2 ¶
func ArrowedLine2(img *Mat, pt1 *Point, pt2 *Point, color *Scalar)
func BilateralFilter ¶
func BilateralFilter2 ¶
func BoundingRect ¶
func BoundingRect(points *MatOfPoint) *Rect
func BoxFilter2 ¶
func BoxFilter3 ¶
func BoxFilter3(src *Mat, dst *Mat, ddepth int, ksize *Size)
func CalcBackProject ¶
func CalcBackProject(images []*Mat, channels *MatOfInt, hist *Mat, dst *Mat, ranges *MatOfFloat, scale float64)
func CalcHist ¶
func CalcHist(images []*Mat, channels *MatOfInt, mask *Mat, hist *Mat, histSize *MatOfInt, ranges *MatOfFloat, accumulate bool)
func CalcHist2 ¶
func CalcHist2(images []*Mat, channels *MatOfInt, mask *Mat, hist *Mat, histSize *MatOfInt, ranges *MatOfFloat)
func CompareHist ¶
func ConnectedComponents ¶
func ConnectedComponents2 ¶
func ConnectedComponents2(image *Mat, labels *Mat) int
func ConnectedComponentsWithStats2 ¶
func ConnectedComponentsWithStats2(image *Mat, labels *Mat, stats *Mat, centroids *Mat) int
func ContourArea ¶
func ContourArea2 ¶
func ContourArea2(contour *Mat) float64
func ConvertMaps ¶
func ConvertMaps2 ¶
func ConvertMaps2(map1 *Mat, map2 *Mat, dstmap1 *Mat, dstmap2 *Mat, dstmap1type int)
func ConvexHull ¶
func ConvexHull(points *MatOfPoint, hull *MatOfInt, clockwise bool)
func ConvexHull2 ¶
func ConvexHull2(points *MatOfPoint, hull *MatOfInt)
func ConvexityDefects ¶
func ConvexityDefects(contour *MatOfPoint, convexhull *MatOfInt, convexityDefects *MatOfInt4)
func CornerEigenValsAndVecs ¶
func CornerEigenValsAndVecs2 ¶
func CornerHarris ¶
func CornerHarris2 ¶
func CornerMinEigenVal ¶
func CornerMinEigenVal2 ¶
func CornerMinEigenVal3 ¶
func CornerMinEigenVal3(src *Mat, dst *Mat, blockSize int)
func CornerSubPix ¶
func CornerSubPix(image *Mat, corners *Mat, winSize *Size, zeroZone *Size, criteria *TermCriteria)
func CreateHanningWindow ¶
func CreateHanningWindow(dst *Mat, winSize *Size, rtype int)
func Demosaicing ¶
func Demosaicing2 ¶
func Demosaicing2(_src *Mat, _dst *Mat, code int)
func DistanceTransform ¶
func DistanceTransform2 ¶
func DrawContours ¶
func DrawContours2 ¶
func DrawContours3 ¶
func DrawContours3(image *Mat, contours []*MatOfPoint, contourIdx int, color *Scalar)
func DrawMarker ¶
func DrawMarker2 ¶
func DrawMarker2(img *Mat, position *Point, color *Scalar)
func Ellipse2Poly ¶
func EqualizeHist ¶
func EqualizeHist(src *Mat, dst *Mat)
func FillConvexPoly ¶
func FillConvexPoly2 ¶
func FillConvexPoly2(img *Mat, points *MatOfPoint, color *Scalar)
func FindContours ¶
func FindContours2 ¶
func FitEllipse ¶
func FitEllipse(points *MatOfPoint2f) *RotatedRect
func FitEllipseAMS ¶
func FitEllipseAMS(points *Mat) *RotatedRect
func FitEllipseDirect ¶
func FitEllipseDirect(points *Mat) *RotatedRect
func FloodFill2 ¶
func FloodFill2(image *Mat, mask *Mat, seedPoint *Point, newVal *Scalar) int
func GaussianBlur ¶
func GaussianBlur2 ¶
func GaussianBlur3 ¶
func GaussianBlur3(src *Mat, dst *Mat, ksize *Size, sigmaX float64)
func GetAffineTransform ¶
func GetAffineTransform(src *MatOfPoint2f, dst *MatOfPoint2f) *Mat
func GetDefaultNewCameraMatrix ¶
func GetDefaultNewCameraMatrix(cameraMatrix *Mat, imgsize *Size, centerPrincipalPoint bool) *Mat
func GetDefaultNewCameraMatrix2 ¶
func GetDefaultNewCameraMatrix2(cameraMatrix *Mat) *Mat
func GetDerivKernels ¶
func GetDerivKernels2 ¶
func GetGaborKernel ¶
func GetGaborKernel2 ¶
func GetGaussianKernel ¶
func GetGaussianKernel2 ¶
func GetPerspectiveTransform ¶
func GetPerspectiveTransform(src *Mat, dst *Mat) *Mat
func GetRectSubPix ¶
func GetRectSubPix(image *Mat, patchSize *Size, center *Point, patch *Mat, patchType int)
func GetRectSubPix2 ¶
func GetRectSubPix2(image *Mat, patchSize *Size, center *Point, patch *Mat)
func GetRotationMatrix2D ¶
func GetStructuringElement ¶
func GetStructuringElement(shape int, ksize *Size, anchor *Point) *Mat
func GetStructuringElement2 ¶
func GetStructuringElement2(shape int, ksize *Size) *Mat
func GetTextSize ¶
func GoodFeaturesToTrack ¶
func GoodFeaturesToTrack2 ¶
func GoodFeaturesToTrack3 ¶
func GoodFeaturesToTrack4 ¶
func GrabCut2 ¶
func GrabCut2(img *Mat, mask *Mat, rect *Rect, bgdModel *Mat, fgdModel *Mat, iterCount int)
func HoughCircles ¶
func HoughCircles2 ¶
func HoughLines ¶
func HoughLines2 ¶
func HoughLinesP ¶
func HoughLinesP2 ¶
func InitUndistortRectifyMap ¶
func InitUndistortRectifyMap(cameraMatrix *Mat, distCoeffs *Mat, R *Mat, newCameraMatrix *Mat, size *Size, m1type int, map1 *Mat, map2 *Mat)
func InitWideAngleProjMap ¶
func InitWideAngleProjMap2 ¶
func Integral21 ¶
func Integral22 ¶
func Integral22(src *Mat, sum *Mat, sqsum *Mat)
func Integral32 ¶
func Integral32(src *Mat, sum *Mat, sqsum *Mat, tilted *Mat)
func IntersectConvexConvex ¶
func IntersectConvexConvex2 ¶
func IntersectConvexConvex2(_p1 *Mat, _p2 *Mat, _p12 *Mat) float32
func InvertAffineTransform ¶
func InvertAffineTransform(M *Mat, iM *Mat)
func IsContourConvex ¶
func IsContourConvex(contour *MatOfPoint) bool
func Laplacian2 ¶
func Laplacian3 ¶
func Laplacian3(src *Mat, dst *Mat, ddepth int)
func LinearPolar ¶
func MatchShapes ¶
func MatchTemplate ¶
func MatchTemplate(image *Mat, templ *Mat, result *Mat, method int, mask *Mat)
func MatchTemplate2 ¶
func MatchTemplate2(image *Mat, templ *Mat, result *Mat, method int)
func MedianBlur ¶
func MedianBlur(src *Mat, dst *Mat, ksize int)
func MinAreaRect ¶
func MinAreaRect(points *MatOfPoint2f) *RotatedRect
func MinEnclosingCircle ¶
func MinEnclosingCircle(points *MatOfPoint2f, center *Point, radius []float32)
func MinEnclosingTriangle ¶
func MinEnclosingTriangle(points *Mat, triangle *Mat) float64
func MorphologyEx ¶
func MorphologyEx2 ¶
func MorphologyEx3 ¶
func MorphologyEx3(src *Mat, dst *Mat, op int, kernel *Mat)
func PhaseCorrelate ¶
func PhaseCorrelate(src1 *Mat, src2 *Mat, window *Mat, response []float64) *Point
func PhaseCorrelate2 ¶
func PhaseCorrelate2(src1 *Mat, src2 *Mat) *Point
func PointPolygonTest ¶
func Polylines2 ¶
func Polylines3 ¶
func Polylines3(img *Mat, pts []*MatOfPoint, isClosed bool, color *Scalar)
func PreCornerDetect ¶
func PreCornerDetect2 ¶
func PreCornerDetect2(src *Mat, dst *Mat, ksize int)
func PyrMeanShiftFiltering ¶
func PyrMeanShiftFiltering2 ¶
func Rectangle2 ¶
func Rectangle2(img *Mat, pt1 *Point, pt2 *Point, color *Scalar, thickness int)
func Rectangle3 ¶
func Rectangle3(img *Mat, pt1 *Point, pt2 *Point, color *Scalar)
func RotatedRectangleIntersection ¶
func RotatedRectangleIntersection(rect1 *RotatedRect, rect2 *RotatedRect, intersectingRegion *Mat) int
func SepFilter2D ¶
func SepFilter2D2 ¶
func SepFilter2D3 ¶
func SepFilter2D3(src *Mat, dst *Mat, ddepth int, kernelX *Mat, kernelY *Mat)
func SpatialGradient ¶
func SpatialGradient2 ¶
func SpatialGradient2(src *Mat, dx *Mat, dy *Mat, ksize int)
func SpatialGradient3 ¶
func SpatialGradient3(src *Mat, dx *Mat, dy *Mat)
func SqrBoxFilter ¶
func SqrBoxFilter2 ¶
func SqrBoxFilter3 ¶
func SqrBoxFilter3(_src *Mat, _dst *Mat, ddepth int, ksize *Size)
func Undistort ¶
func Undistort(src *Mat, dst *Mat, cameraMatrix *Mat, distCoeffs *Mat, newCameraMatrix *Mat)
func Undistort2 ¶
func Undistort2(src *Mat, dst *Mat, cameraMatrix *Mat, distCoeffs *Mat)
func UndistortPoints ¶
func UndistortPoints(src *Mat, dst *Mat, cameraMatrix *Mat, distCoeffs *Mat, R *Mat, P *Mat)
func UndistortPoints2 ¶
func UndistortPoints2(src *Mat, dst *Mat, cameraMatrix *Mat, distCoeffs *Mat)
func UndistortPointsIter ¶
func UndistortPointsIter(src *Mat, dst *Mat, cameraMatrix *Mat, distCoeffs *Mat, R *Mat, P *Mat, criteria *TermCriteria)
func WarpAffine ¶
func WarpAffine2 ¶
func WarpAffine2(src *Mat, dst *Mat, M *Mat, dsize *Size, flags int)
func WarpAffine3 ¶
func WarpAffine3(src *Mat, dst *Mat, M *Mat, dsize *Size)
func WarpPerspective ¶
func WarpPerspective2 ¶
func WarpPerspective2(src *Mat, dst *Mat, M *Mat, dsize *Size, flags int)
func WarpPerspective3 ¶
func WarpPerspective3(src *Mat, dst *Mat, M *Mat, dsize *Size)
Types ¶
type CLAHE ¶
type CLAHE struct {
*Algorithm
}
func CLAHECreate ¶
func CLAHECreate2 ¶
func CLAHECreate2() *CLAHE
func (*CLAHE) CollectGarbage ¶
func (rcvr *CLAHE) CollectGarbage()
func (*CLAHE) GetClipLimit ¶
func (*CLAHE) GetTilesGridSize ¶
func (rcvr *CLAHE) GetTilesGridSize() *Size
func (*CLAHE) SetClipLimit ¶
func (*CLAHE) SetTilesGridSize ¶
func (rcvr *CLAHE) SetTilesGridSize(tileGridSize *Size)
type LineSegmentDetector ¶
type LineSegmentDetector struct {
*Algorithm
}
func CreateLineSegmentDetector2 ¶
func CreateLineSegmentDetector2() *LineSegmentDetector
func NewLineSegmentDetector ¶
func NewLineSegmentDetector(addr int64) (rcvr *LineSegmentDetector)
func (*LineSegmentDetector) CompareSegments ¶
func (rcvr *LineSegmentDetector) CompareSegments(size *Size, lines1 *Mat, lines2 *Mat, _image *Mat) int
func (*LineSegmentDetector) CompareSegments2 ¶
func (rcvr *LineSegmentDetector) CompareSegments2(size *Size, lines1 *Mat, lines2 *Mat) int
func (*LineSegmentDetector) Detect ¶
func (rcvr *LineSegmentDetector) Detect(_image *Mat, _lines *Mat, width *Mat, prec *Mat, nfa *Mat)
func (*LineSegmentDetector) Detect2 ¶
func (rcvr *LineSegmentDetector) Detect2(_image *Mat, _lines *Mat)
func (*LineSegmentDetector) DrawSegments ¶
func (rcvr *LineSegmentDetector) DrawSegments(_image *Mat, lines *Mat)
type Moments ¶
type Moments struct { M00 float64 M10 float64 M01 float64 M20 float64 M11 float64 M02 float64 M30 float64 M21 float64 M12 float64 M03 float64 Mu20 float64 Mu11 float64 Mu02 float64 Mu30 float64 Mu21 float64 Mu12 float64 Mu03 float64 Nu20 float64 Nu11 float64 Nu02 float64 Nu30 float64 Nu21 float64 Nu12 float64 Nu03 float64 }
func MomentsCreate ¶
func NewMoments ¶
func NewMoments2 ¶
func NewMoments2() (rcvr *Moments)
func NewMoments3 ¶
func (*Moments) CompleteState ¶
func (rcvr *Moments) CompleteState()
type Subdiv2D ¶
type Subdiv2D struct {
// contains filtered or unexported fields
}
func NewSubdiv2D ¶
func NewSubdiv2D2 ¶
func NewSubdiv2D2(rect *Rect) (rcvr *Subdiv2D)
func NewSubdiv2D3 ¶
func NewSubdiv2D3() (rcvr *Subdiv2D)
func (*Subdiv2D) FindNearest ¶
func (*Subdiv2D) FindNearest2 ¶
func (*Subdiv2D) GetEdgeList ¶
func (rcvr *Subdiv2D) GetEdgeList(edgeList *MatOfFloat4)
func (*Subdiv2D) GetLeadingEdgeList ¶
func (rcvr *Subdiv2D) GetLeadingEdgeList(leadingEdgeList *MatOfInt)
func (*Subdiv2D) GetNativeObjAddr ¶
func (*Subdiv2D) GetTriangleList ¶
func (rcvr *Subdiv2D) GetTriangleList(triangleList *MatOfFloat6)
func (*Subdiv2D) GetVertex2 ¶
func (*Subdiv2D) GetVoronoiFacetList ¶
func (rcvr *Subdiv2D) GetVoronoiFacetList(idx *MatOfInt, facetCenters *MatOfPoint2f) (facetList []*MatOfPoint2f)
func (*Subdiv2D) InitDelaunay ¶
func (rcvr *Subdiv2D) InitDelaunay(rect *Rect)
Click to show internal directories.
Click to hide internal directories.