images

package
v0.0.0-...-bca5589 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type And

type And []image.Image

And is a list of images combined with the AND operator.

func (And) At

func (im And) At(x, y int) color.Color

At returns the color of the pixel at (x, y). At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid. At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one.

func (And) Bounds

func (im And) Bounds() image.Rectangle

Bounds returns the domain for which At can return non-zero color. The bounds do not necessarily contain the point (0, 0).

func (And) ColorModel

func (im And) ColorModel() color.Model

ColorModel returns the Image's color model.

type Average

type Average []image.Image

Average is a list of images that are averaged together.

func (Average) At

func (im Average) At(x, y int) color.Color

At returns the color of the pixel at (x, y). At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid. At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one.

func (Average) Bounds

func (im Average) Bounds() image.Rectangle

Bounds returns the domain for which At can return non-zero color. The bounds do not necessarily contain the point (0, 0).

func (Average) ColorModel

func (im Average) ColorModel() color.Model

ColorModel returns the Image's color model.

type Ln

type Ln []image.Image

Ln is a list of images that are combined using a natural logarithm of the sum.

func (Ln) At

func (im Ln) At(x, y int) color.Color

At returns the color of the pixel at (x, y). At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid. At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one.

func (Ln) Bounds

func (im Ln) Bounds() image.Rectangle

Bounds returns the domain for which At can return non-zero color. The bounds do not necessarily contain the point (0, 0).

func (Ln) ColorModel

func (im Ln) ColorModel() color.Model

ColorModel returns the Image's color model.

type Max

type Max []image.Image

Max is a list of images combined by taking the maximum value.

func (Max) At

func (im Max) At(x, y int) color.Color

At returns the color of the pixel at (x, y). At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid. At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one.

func (Max) Bounds

func (im Max) Bounds() image.Rectangle

Bounds returns the domain for which At can return non-zero color. The bounds do not necessarily contain the point (0, 0).

func (Max) ColorModel

func (im Max) ColorModel() color.Model

ColorModel returns the Image's color model.

type Min

type Min []image.Image

Min is a list of images combined by taking the minimum value.

func (Min) At

func (im Min) At(x, y int) color.Color

At returns the color of the pixel at (x, y). At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid. At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one.

func (Min) Bounds

func (im Min) Bounds() image.Rectangle

Bounds returns the domain for which At can return non-zero color. The bounds do not necessarily contain the point (0, 0).

func (Min) ColorModel

func (im Min) ColorModel() color.Model

ColorModel returns the Image's color model.

type Multiply

type Multiply []image.Image

Multiply is a list of images that are multiplied together.

func (Multiply) At

func (im Multiply) At(x, y int) color.Color

At returns the color of the pixel at (x, y). At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid. At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one.

func (Multiply) Bounds

func (im Multiply) Bounds() image.Rectangle

Bounds returns the domain for which At can return non-zero color. The bounds do not necessarily contain the point (0, 0).

func (Multiply) ColorModel

func (im Multiply) ColorModel() color.Model

ColorModel returns the Image's color model.

type Offset

type Offset struct {
	image.Image
}

Offset resets an offset image to zeroed.

func (Offset) At

func (im Offset) At(x, y int) color.Color

At returns the color of the pixel at (x, y). At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid. At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one.

func (Offset) Bounds

func (im Offset) Bounds() image.Rectangle

Bounds returns the domain for which At can return non-zero color. The bounds do not necessarily contain the point (0, 0).

func (Offset) ColorModel

func (im Offset) ColorModel() color.Model

ColorModel returns the Image's color model.

type Or

type Or []image.Image

Or is a list of images combined with the OR operator.

func (Or) At

func (im Or) At(x, y int) color.Color

At returns the color of the pixel at (x, y). At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid. At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one.

func (Or) Bounds

func (im Or) Bounds() image.Rectangle

Bounds returns the domain for which At can return non-zero color. The bounds do not necessarily contain the point (0, 0).

func (Or) ColorModel

func (im Or) ColorModel() color.Model

ColorModel returns the Image's color model.

type Square

type Square []image.Image

Square is a list of images that are combined using a sum of squares.

func (Square) At

func (im Square) At(x, y int) color.Color

At returns the color of the pixel at (x, y). At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid. At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one.

func (Square) Bounds

func (im Square) Bounds() image.Rectangle

Bounds returns the domain for which At can return non-zero color. The bounds do not necessarily contain the point (0, 0).

func (Square) ColorModel

func (im Square) ColorModel() color.Model

ColorModel returns the Image's color model.

type Xor

type Xor []image.Image

Xor is a list of images combined with the XOR operator.

func (Xor) At

func (im Xor) At(x, y int) color.Color

At returns the color of the pixel at (x, y). At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid. At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one.

func (Xor) Bounds

func (im Xor) Bounds() image.Rectangle

Bounds returns the domain for which At can return non-zero color. The bounds do not necessarily contain the point (0, 0).

func (Xor) ColorModel

func (im Xor) ColorModel() color.Model

ColorModel returns the Image's color model.

Jump to

Keyboard shortcuts

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