processors

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImageFromRaw

func GetImageFromRaw(rawImg []byte) (image.Image, libraw.ImgMetadata, error)

func GrayScale

func GrayScale(imgs ...image.Image) []image.Image

func StackImages

func StackImages(imgs ...image.Image)

Types

type GenericImage

type GenericImage struct {
	image.Image
}

Generic image wraps the image.Image interface And provides methods for getting the Pix and Rect Values without typecasting

func NewGenericImage

func NewGenericImage(img image.Image) GenericImage

func (GenericImage) GetPix

func (img GenericImage) GetPix() ([]uint8, bool)

Get the pixel vaues from the image

func (GenericImage) GetRect

func (img GenericImage) GetRect() (image.Rectangle, bool)

Get the rectangle of the image

Jump to

Keyboard shortcuts

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