gooperation

package module
v0.0.0-...-06e3fd7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Convolution

type Convolution struct {
	// contains filtered or unexported fields
}
var BLUR *Convolution = NewConvolution(
	[][]float32{
		{1.0, 1.0, 1.0},
		{1.0, 1.0, 1.0},
		{1.0, 1.0, 1.0},
	},
	1.0/9.0)

func NewConvolution

func NewConvolution(matrix [][]float32, div float32) *Convolution

func (*Convolution) Compute

func (conv *Convolution) Compute(img *goimage.GoImage) *goimage.GoImage

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL