Documentation ¶
Index ¶
- func AffineMat(p1, p2, p3, q1, q2, q3 image.Point) gocv.Mat
- func AffineTransform(p1, p2, p3, q1, q2, q3 image.Point, points []image.Point) []image.Point
- func CountNonZeroInPointsVector(img gocv.Mat, pointsVector gocv.PointsVector) int
- func CropRotated(img gocv.Mat, centerX, centerY, length, width float64, angle float64) gocv.Mat
- func MergeUniformBoundsImagesByOverlap(imgIdxs [][]int, getImage func(int) ([]byte, error), imgWidth, imgHeight int, ...) error
- func PointVectorToPointsVector(pointVector gocv.PointVector) gocv.PointsVector
- func PointsVectorFromPoints(points []image.Point) gocv.PointsVector
- func SearchCircle(path string, radius int) (circles []imagei.Circle, err error)
- func Sharpness(imgPath string, rect image.Rectangle) (float64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AffineTransform ¶ added in v0.3.0
func CountNonZeroInPointsVector ¶ added in v0.3.4
func CountNonZeroInPointsVector(img gocv.Mat, pointsVector gocv.PointsVector) int
func CropRotated ¶ added in v0.3.0
func MergeUniformBoundsImagesByOverlap ¶ added in v0.3.0
func MergeUniformBoundsImagesByOverlap(imgIdxs [][]int, getImage func(int) ([]byte, error), imgWidth, imgHeight int, horizontalOverlaps, verticalOverlaps []int, dst string) error
有一定重合的固定大小的图片拼图
func PointVectorToPointsVector ¶ added in v0.3.4
func PointVectorToPointsVector(pointVector gocv.PointVector) gocv.PointsVector
func PointsVectorFromPoints ¶ added in v0.3.4
func PointsVectorFromPoints(points []image.Point) gocv.PointsVector
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.