analysis

package
v0.0.0-...-c082557 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RGBAToLab

func RGBAToLab(bytes []uint8) []float64

Types

type ImageData

type ImageData struct {
	AspectRatio image.Point
	Samples     []*image.NRGBA
	LabSamples  map[image.Point][]float64
}

func Simple

func Simple(img image.Image, samples int) (*ImageData, error)

Simple performs a simple analysis of the given image into a 1x1 and aspect-ratio sized image samples

Jump to

Keyboard shortcuts

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