mask

package
v0.0.0-...-bbf78bc Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TrueMask

func TrueMask(int, int) float64

TrueMask is a mask that returns true for any given coordinates

Types

type Mask

type Mask func(int, int) float64

Mask is a function that returns how much a color should change for a given coordinate of the image

func BitmapMask

func BitmapMask(bitmap [][]float64) Mask

BitmapMask returns a mask based on a bitmap of values

func GrayMask

func GrayMask(img image.Gray) Mask

GrayMask returns a mask based on a gray image

Jump to

Keyboard shortcuts

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