MCPcopy Create free account

hub / github.com/BurntSushi/graphics-go / functions

Functions95 in github.com/BurntSushi/graphics-go

↓ 16 callersMethodRGBA
RGBA interpolates (x, y).
graphics/interp/interp.go:22
↓ 9 callersMethodat
(x, y int)
graphics/detect/integral.go:23
↓ 9 callersMethodclassify
(w *window)
graphics/detect/detect.go:125
↓ 8 callersFunctionclamp
clamp clamps x to the range [x0, x1].
graphics/convolve/convolve.go:16
↓ 8 callersMethodsum
(b image.Rectangle)
graphics/detect/integral.go:27
↓ 6 callersMethodMul
Mul returns the multiplication of two affine transform matrices.
graphics/affine.go:27
↓ 5 callersFunctionScale
Scale produces a scaled version of the image using bilinear interpolation.
graphics/scale.go:15
↓ 5 callersFunctionnewIntegrals
newIntegrals returns the integral and the squared integral.
graphics/detect/integral.go:63
↓ 4 callersFunctionBlur
Blur produces a blurred version of the image, using a Gaussian blur.
graphics/blur.go:27
↓ 4 callersFunctionConvolve
Convolve produces dst by applying the convolution kernel k to src.
graphics/convolve/convolve.go:248
↓ 4 callersFunctionRotate
Rotate produces a rotated version of src, drawn onto dst.
graphics/rotate.go:21
↓ 4 callersMethodTranslate
Translate produces a translation transform with pixel distances x and y.
graphics/affine.go:152
↓ 4 callersFunctiondelta
(u0, u1 uint32)
graphics/graphicstest/graphicstest.go:27
↓ 4 callersFunctionnewProjector
newProjector creates a Projector with source src and target dst.
graphics/detect/projector.go:22
↓ 4 callersMethodnewSrc
()
graphics/interp/bilinear_test.go:21
↓ 4 callersFunctionnewWindow
(m image.Image)
graphics/detect/detect.go:84
↓ 4 callersFunctionoffGray
(src *image.Gray, x, y int)
graphics/interp/bilinear.go:204
↓ 4 callersFunctionoffRGBA
TODO(crawshaw): When we have inlining, consider func (p *RGBA) Off(x, y) int
graphics/interp/bilinear.go:201
↓ 3 callersFunctionbenchBlur
(b *testing.B, bounds image.Rectangle)
graphics/blur_test.go:172
↓ 3 callersFunctioncheckTransformTest
(t *testing.T, oc *transformOneColorTest, dst *image.RGBA)
graphics/shared_test.go:48
↓ 3 callersFunctionfindLinearSrc
(b image.Rectangle, sx, sy float64)
graphics/interp/bilinear.go:129
↓ 3 callersMethodnewDst
()
graphics/shared_test.go:44
↓ 2 callersMethodInterp
Interp interpolates (x, y).
graphics/interp/interp.go:15
↓ 2 callersFunctionThumbnail
Thumbnail scales and crops src so it fits in dst.
graphics/thumbnail.go:13
↓ 2 callersMethodTransform
Transform applies the affine transform to src and produces dst.
graphics/affine.go:61
↓ 2 callersFunctionbilinearGeneral
(src image.Image, x, y float64)
graphics/interp/bilinear.go:25
↓ 2 callersFunctionclamp
clamp rounds and clamps o to the integer range [x0, x1].
graphics/detect/projector.go:46
↓ 2 callersFunctioninBounds
(b image.Rectangle, x, y float64)
graphics/affine.go:90
↓ 2 callersMethodinit
()
graphics/detect/detect.go:74
↓ 2 callersMethodintegrate
()
graphics/detect/integral.go:43
↓ 2 callersFunctionkernelSize
(w []float64)
graphics/convolve/convolve.go:60
↓ 2 callersMethodpt
(x0, y0 int)
graphics/affine.go:100
↓ 2 callersMethodpt
pt projects p from the source rectangle onto the target rectangle.
graphics/detect/projector.go:33
↓ 2 callersMethodrect
rect projects r from the source rectangle onto the target rectangle.
graphics/detect/projector.go:41
↓ 2 callersFunctionsprintBox
(box []byte, width, height int)
graphics/detect/integral_test.go:55
↓ 1 callersMethodCenterFit
CenterFit produces the affine transform, centered around the rectangles. It is equivalent to I.Translate(-<center of src>).Mul(a).Translate(<center of
graphics/affine.go:168
↓ 1 callersFunctionNewKernel
NewKernel returns a square convolution kernel.
graphics/convolve/convolve.go:72
↓ 1 callersFunctionParseOpenCV
ParseOpenCV produces a detection Cascade from an OpenCV XML file.
graphics/detect/opencv_parser.go:110
↓ 1 callersMethodRGBA
(src *image.RGBA, x, y float64)
graphics/interp/bilinear.go:62
↓ 1 callersMethodRotate
Rotate produces a clockwise rotation transform of angle, in radians.
graphics/affine.go:132
↓ 1 callersMethodScale
Scale produces a scaling transform of factors x and y.
graphics/affine.go:123
↓ 1 callersFunctionSprintBox
SprintBox pretty prints the array as a hexidecimal matrix.
graphics/graphicstest/graphicstest.go:67
↓ 1 callersMethodTransformCenter
TransformCenter applies the affine transform to src and produces dst. Equivalent to a.CenterFit(dst, src).Transform(dst, src, i).
graphics/affine.go:111
↓ 1 callersMethodWeights
Weights returns the square matrix of weights in row major order.
graphics/convolve/convolve.go:29
↓ 1 callersMethodWeights
()
graphics/convolve/convolve.go:44
↓ 1 callersFunctionbuildCascade
(s *opencv_storage)
graphics/detect/opencv_parser.go:55
↓ 1 callersFunctionbuildFeature
(r string)
graphics/detect/opencv_parser.go:43
↓ 1 callersFunctionconvolveRGBA
(dst *image.RGBA, src image.Image, k Kernel)
graphics/convolve/convolve.go:196
↓ 1 callersFunctionconvolveRGBASep
(dst *image.RGBA, src image.Image, k *SeparableKernel)
graphics/convolve/convolve.go:79
↓ 1 callersMethodsubWindow
(r image.Rectangle)
graphics/detect/detect.go:95
↓ 1 callersMethodtransformRGBA
(dst *image.RGBA, src *image.RGBA, i interp.RGBA)
graphics/affine.go:41
↓ 1 callersFunctionwithinTolerance
(c0, c1 color.Color, tol int)
graphics/graphicstest/graphicstest.go:35
FunctionBenchmarkBlur400x1600x3
Exactly twice the pixel count of 400x800
graphics/blur_test.go:205
FunctionBenchmarkBlur400x400x3
(b *testing.B)
graphics/blur_test.go:195
FunctionBenchmarkBlur400x800x3
Exactly twice the pixel count of 400x400.
graphics/blur_test.go:200
MethodCenter
Center produces the affine transform, centered around the provided point.
graphics/affine.go:161
MethodFind
Find returns a set of areas of m that match the feature cascade c.
graphics/detect/detect.go:44
MethodGray
Gray interpolates (x, y).
graphics/interp/interp.go:28
MethodGray
(src *image.Gray, x, y float64)
graphics/interp/bilinear.go:101
FunctionImageWithinTolerance
ImageWithinTolerance checks that each pixel varies by no more than tol.
graphics/graphicstest/graphicstest.go:46
MethodInterp
(src image.Image, x, y float64)
graphics/interp/bilinear.go:18
FunctionLoadImage
LoadImage decodes an image from a file.
graphics/graphicstest/graphicstest.go:17
FunctionMakeRGBA
MakeRGBA returns an image with R, G, B taken from src.
graphics/graphicstest/graphicstest.go:96
MethodMatch
Match returns true if the full image is classified as an object.
graphics/detect/detect.go:39
MethodShear
Shear produces a shear transform by the slopes x and y.
graphics/affine.go:142
FunctionSprintImageR
SprintImageR pretty prints the red channel of src. It looks like SprintBox.
graphics/graphicstest/graphicstest.go:81
FunctionTestBilinearRGBA
(t *testing.T)
graphics/interp/bilinear_test.go:83
FunctionTestBilinearSubImage
(t *testing.T)
graphics/interp/bilinear_test.go:116
FunctionTestBlurEmpty
(t *testing.T)
graphics/blur_test.go:144
FunctionTestBlurGopher
(t *testing.T)
graphics/blur_test.go:151
FunctionTestBlurOneColor
(t *testing.T)
graphics/blur_test.go:129
FunctionTestClassifier
(t *testing.T)
graphics/detect/detect_test.go:41
FunctionTestClassifierScale
(t *testing.T)
graphics/detect/detect_test.go:60
FunctionTestConvolve
(t *testing.T)
graphics/convolve/convolve_test.go:32
FunctionTestConvolveEmpty
(t *testing.T)
graphics/convolve/convolve_test.go:73
FunctionTestConvolveNil
(t *testing.T)
graphics/convolve/convolve_test.go:67
FunctionTestIntegral
(t *testing.T)
graphics/detect/integral_test.go:68
FunctionTestIntegralSubImage
(t *testing.T)
graphics/detect/integral_test.go:127
FunctionTestIntegralSum
(t *testing.T)
graphics/detect/integral_test.go:89
FunctionTestParseOpenCV
(t *testing.T)
graphics/detect/opencv_parser_test.go:57
FunctionTestProjector
(t *testing.T)
graphics/detect/projector_test.go:41
FunctionTestRotateEmpty
(t *testing.T)
graphics/rotate_test.go:120
FunctionTestRotateGopherPartial
(t *testing.T)
graphics/rotate_test.go:149
FunctionTestRotateGopherSide
(t *testing.T)
graphics/rotate_test.go:127
FunctionTestRotateOneColor
(t *testing.T)
graphics/rotate_test.go:105
FunctionTestScaleEmpty
(t *testing.T)
graphics/scale_test.go:107
FunctionTestScaleGopher
(t *testing.T)
graphics/scale_test.go:114
FunctionTestScaleOneColor
(t *testing.T)
graphics/scale_test.go:92
FunctionTestSeparableWeights
(t *testing.T)
graphics/convolve/convolve_test.go:16
FunctionTestThumbnailGopher
(t *testing.T)
graphics/thumbnail_test.go:15
FunctionTestThumbnailLongGopher
(t *testing.T)
graphics/thumbnail_test.go:35
MethodWeights
()
graphics/convolve/convolve.go:58
Methodclassify
(w *window, pr *projector)
graphics/detect/detect.go:105
Methodclassify
(w *window, pr *projector)
graphics/detect/detect.go:117
MethodnewSrc
()
graphics/shared_test.go:26