avgimg

package
v0.0.0-...-9dd255e Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: CC-BY-4.0, MIT Imports: 5 Imported by: 0

Documentation

Overview

avgimg computes an "average" image given multiple Images

This gives a simple way to average out noise from multiple frames and identify the static background separate from any foreground motion in a frame

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvgRGBA

type AvgRGBA struct {
	Images []*image.RGBA
}

func (*AvgRGBA) Add

func (a *AvgRGBA) Add(i *image.RGBA)

func (AvgRGBA) At

func (a AvgRGBA) At(x, y int) color.Color

func (AvgRGBA) Bounds

func (a AvgRGBA) Bounds() image.Rectangle

func (AvgRGBA) ColorModel

func (a AvgRGBA) ColorModel() color.Model

func (AvgRGBA) Image

func (a AvgRGBA) Image() *image.RGBA

func (*AvgRGBA) Size

func (a *AvgRGBA) Size() int

type AvgYCbCr

type AvgYCbCr []*image.YCbCr

func (AvgYCbCr) Add

func (a AvgYCbCr) Add(i *image.YCbCr)

func (AvgYCbCr) At

func (a AvgYCbCr) At(x, y int) color.Color

func (AvgYCbCr) Bounds

func (a AvgYCbCr) Bounds() image.Rectangle

func (AvgYCbCr) ColorModel

func (a AvgYCbCr) ColorModel() color.Model

func (AvgYCbCr) Image

func (a AvgYCbCr) Image() *image.RGBA

type MedianRGBA

type MedianRGBA struct {
	AvgRGBA
}

func (MedianRGBA) At

func (a MedianRGBA) At(x, y int) color.Color

func (MedianRGBA) Image

func (a MedianRGBA) Image() *image.RGBA

Jump to

Keyboard shortcuts

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