Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Comdex/imgo
/ functions
Functions
37 in github.com/Comdex/imgo
⨍
Functions
37
◇
Types & classes
2
↓ 13 callers
Function
NewRGBAMatrix
create a new rgba matrix
util.go:399
↓ 3 callers
Function
DecodeImage
decode a image and retrun golang image interface
io.go:23
↓ 3 callers
Function
Dot
(x []uint8, y []uint8)
util.go:422
↓ 3 callers
Function
ResizeForMatrix
(filepath string, width int, height int)
util.go:16
↓ 3 callers
Function
convertToNRGBA
convert image to NRGBA
io.go:36
↓ 2 callers
Function
Read
read a image return a image matrix by path or image
io.go:202
↓ 2 callers
Function
convertImg2Vector
(src string)
recog.go:8
↓ 1 callers
Function
CosineSimilarity
calculate Cosine Similarity of two images, input two file path
recog.go:46
↓ 1 callers
Function
New3DSlice
create a three dimenson slice
util.go:385
↓ 1 callers
Function
RGB2Gray
(src [][][]uint8)
process.go:196
↓ 1 callers
Function
Resize
resize size of image
util.go:46
↓ 1 callers
Function
resizeHorizontal
(src *image.NRGBA, width int, filter resamplingFilter)
util.go:116
↓ 1 callers
Function
resizeNearest
fast nearest-neighbor resize, no filtering
util.go:315
↓ 1 callers
Function
resizeVertical
(src *image.NRGBA, height int, filter resamplingFilter)
util.go:215
Function
AdjustBrightness
(src [][][]uint8 , light float64)
process.go:58
Function
Base64ToImg
Base64ToImg create a image file named dstFile from base64 encodeString.
encode.go:22
Function
Binaryzation
binaryzation process of image matrix , threshold can use 127 to test
recog.go:68
Function
GetFingerprint
GetFingerprint use Perceptual Hash Algorithm to get fingerprint from a pircture
recog.go:91
Function
GetImageHeight
(img image.Image)
io.go:14
Function
GetImageWidth
(img image.Image)
io.go:18
Function
HorizontalMirror
(src [][][]uint8)
process.go:135
Function
HorizontalMirrorPart
make a mirror of src
process.go:178
Function
ImageFusion
fuse two images(filepath) and the size of new image is as src1
process.go:82
Function
Img2Base64
Img2Base64 produce a base64 string from a image file.
encode.go:12
Function
Img2Base64ByGoImage
Img2base64ByGoImage produce a base64 string from Image interface.
encode.go:35
Function
Iterator
(filepath string, iter IterFunc)
util.go:435
Function
Matrix2Vector
(imgMatrix [][][]uint8)
util.go:404
Function
MustRead
read a image return a image matrix , if appear an error it will panic
io.go:239
Function
NegativeFilmEffect
input a image as src , return a image matrix by negativefilmeffect process
process.go:26
Function
Rotate
(src [][][]uint8)
process.go:44
Function
SaveAsJPEG
save a image matrix as a jpeg,if unsuccessful it will return a error,quality must be 1 to 100
io.go:294
Function
SaveAsPNG
save a image matrix as a png , if unsuccessful it will return a error
io.go:267
Function
SetOpacity
set the opacity of image matrix , opacity must be 0.0 to 1.0
process.go:214
Function
SunsetEffect
input a image matrix as src , return a image matrix by sunseteffect process
process.go:8
Function
TestCosineSimilarity
(t *testing.T)
recog_test.go:7
Function
VerticalMirror
(src [][][]uint8)
process.go:112
Function
VerticalMirrorPart
(src [][][]uint8)
process.go:159