Documentation
¶
Index ¶
- func CalculateOverlap(img1, img2 image.Image, row bool, minOverlap, maxOverlap int) int
- func ColorToGray(c color.Color) uint8
- func MergeImages(imgs [][]int, getImage func(int) image.Image, bounds image.Rectangle, ...) image.Image
- func RGBAToGray(c color.RGBA) uint8
- func RGBToGray(c color.RGBA) uint8
- func Transfer(src, dst string, decode Decode, encode Encode) error
- func Union(rect image.Rectangle, p image.Point) image.Rectangle
- type BGR
- type Decode
- type Encode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateOverlap ¶ added in v0.1.13
计算两张图的重合像素,第一张的图的后半部分和第二张的前半部分
func ColorToGray ¶ added in v0.1.13
func MergeImages ¶ added in v0.1.13
func RGBAToGray ¶ added in v0.1.13
Types ¶
Click to show internal directories.
Click to hide internal directories.