texturing

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoxBlur

func BoxBlur(src image.Image) image.Image

func BoxBlurNTimes

func BoxBlurNTimes(src image.Image, iterations int) image.Image

func Convolve

func Convolve(src image.Image, f func(x, y int, values []color.Color))

[0][1][2] [3][4][5] [6][7][8]

func ConvolveArray added in v0.9.0

func ConvolveArray[T any](arr [][]T, f func(x, y int, kernel []T))

func GaussianBlur

func GaussianBlur(src image.Image) image.Image

func SimpleEdgeTest added in v0.9.0

func SimpleEdgeTest(kernel []color.Color) bool

func ToNormal

func ToNormal(src image.Image) image.Image

Types

This section is empty.

Jump to

Keyboard shortcuts

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