cv

package
v0.0.0-...-b2d8a4d Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEdges

func GetEdges(img image.Image) (image.Image, error)

gets a grayscale image representing the edges of the source image

func GetPalette

func GetPalette(img image.Image, k int, randomCenters bool) ([]color.RGBA, error)

gets the color palette of an image with opencv k means clustering

func GetPaletteImage

func GetPaletteImage(palette []color.RGBA) image.Image

Types

This section is empty.

Jump to

Keyboard shortcuts

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