Versions in this module Expand all Collapse all v1 v1.0.0 Nov 11, 2024 Changes in this version + func ConvolveGray(img *image.Gray, kernel *Kernel, anchor image.Point, border padding.Border) (*image.Gray, error) + func ConvolveRGBA(img *image.RGBA, kernel *Kernel, anchor image.Point, border padding.Border) (*image.RGBA, error) + type Kernel struct + Content [][]float64 + Height int + Width int + func NewKernel(width int, height int) (*Kernel, error) + func (k *Kernel) AbSum() float64 + func (k *Kernel) At(x, y int) float64 + func (k *Kernel) Normalize() *Kernel + func (k *Kernel) Set(x int, y int, value float64) + func (k *Kernel) Size() image.Point + type Matrix interface + At func(x, y int) float64