info

package module
v0.0.0-...-087c424 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const INFO_MAX_CHANNEL = 4
View Source
const INFO_MAX_COLOR = 256

Variables

This section is empty.

Functions

This section is empty.

Types

type GipInfo

type GipInfo struct {
	// contains filtered or unexported fields
}

func NewGipInfo

func NewGipInfo() *GipInfo

func (*GipInfo) Compute

func (gi *GipInfo) Compute()

func (*GipInfo) GetAverage

func (gi *GipInfo) GetAverage(channel byte) float64

func (*GipInfo) GetAverages

func (gi *GipInfo) GetAverages() [INFO_MAX_CHANNEL]float64

func (*GipInfo) SetColor

func (gi *GipInfo) SetColor(pixel *pixel.GoPixel)

func (*GipInfo) ShowHisto

func (gi *GipInfo) ShowHisto(channel byte)

func (*GipInfo) ShowInfo

func (gi *GipInfo) ShowInfo(channel byte)

Jump to

Keyboard shortcuts

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