MCPcopy Create free account

hub / github.com/Comdex/imgo / functions

Functions37 in github.com/Comdex/imgo

↓ 13 callersFunctionNewRGBAMatrix
create a new rgba matrix
util.go:399
↓ 3 callersFunctionDecodeImage
decode a image and retrun golang image interface
io.go:23
↓ 3 callersFunctionDot
(x []uint8, y []uint8)
util.go:422
↓ 3 callersFunctionResizeForMatrix
(filepath string, width int, height int)
util.go:16
↓ 3 callersFunctionconvertToNRGBA
convert image to NRGBA
io.go:36
↓ 2 callersFunctionRead
read a image return a image matrix by path or image
io.go:202
↓ 2 callersFunctionconvertImg2Vector
(src string)
recog.go:8
↓ 1 callersFunctionCosineSimilarity
calculate Cosine Similarity of two images, input two file path
recog.go:46
↓ 1 callersFunctionNew3DSlice
create a three dimenson slice
util.go:385
↓ 1 callersFunctionRGB2Gray
(src [][][]uint8)
process.go:196
↓ 1 callersFunctionResize
resize size of image
util.go:46
↓ 1 callersFunctionresizeHorizontal
(src *image.NRGBA, width int, filter resamplingFilter)
util.go:116
↓ 1 callersFunctionresizeNearest
fast nearest-neighbor resize, no filtering
util.go:315
↓ 1 callersFunctionresizeVertical
(src *image.NRGBA, height int, filter resamplingFilter)
util.go:215
FunctionAdjustBrightness
(src [][][]uint8 , light float64)
process.go:58
FunctionBase64ToImg
Base64ToImg create a image file named dstFile from base64 encodeString.
encode.go:22
FunctionBinaryzation
binaryzation process of image matrix , threshold can use 127 to test
recog.go:68
FunctionGetFingerprint
GetFingerprint use Perceptual Hash Algorithm to get fingerprint from a pircture
recog.go:91
FunctionGetImageHeight
(img image.Image)
io.go:14
FunctionGetImageWidth
(img image.Image)
io.go:18
FunctionHorizontalMirror
(src [][][]uint8)
process.go:135
FunctionHorizontalMirrorPart
make a mirror of src
process.go:178
FunctionImageFusion
fuse two images(filepath) and the size of new image is as src1
process.go:82
FunctionImg2Base64
Img2Base64 produce a base64 string from a image file.
encode.go:12
FunctionImg2Base64ByGoImage
Img2base64ByGoImage produce a base64 string from Image interface.
encode.go:35
FunctionIterator
(filepath string, iter IterFunc)
util.go:435
FunctionMatrix2Vector
(imgMatrix [][][]uint8)
util.go:404
FunctionMustRead
read a image return a image matrix , if appear an error it will panic
io.go:239
FunctionNegativeFilmEffect
input a image as src , return a image matrix by negativefilmeffect process
process.go:26
FunctionRotate
(src [][][]uint8)
process.go:44
FunctionSaveAsJPEG
save a image matrix as a jpeg,if unsuccessful it will return a error,quality must be 1 to 100
io.go:294
FunctionSaveAsPNG
save a image matrix as a png , if unsuccessful it will return a error
io.go:267
FunctionSetOpacity
set the opacity of image matrix , opacity must be 0.0 to 1.0
process.go:214
FunctionSunsetEffect
input a image matrix as src , return a image matrix by sunseteffect process
process.go:8
FunctionTestCosineSimilarity
(t *testing.T)
recog_test.go:7
FunctionVerticalMirror
(src [][][]uint8)
process.go:112
FunctionVerticalMirrorPart
(src [][][]uint8)
process.go:159