imageProcess

package
v0.0.0-...-134196a Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageContainer

type ImageContainer struct {
	image.Image
}

func CreateImageFromFile

func CreateImageFromFile(file string) (*ImageContainer, error)

func CreateImageFromJpegFile

func CreateImageFromJpegFile(file string) (*ImageContainer, error)

func CreateImageFromPngFile

func CreateImageFromPngFile(file string) (*ImageContainer, error)

func (*ImageContainer) GaussianBlur

func (ic *ImageContainer) GaussianBlur(px int, rho float64) *ImageContainer

func (*ImageContainer) MeanBlur

func (ic *ImageContainer) MeanBlur(size int) *ImageContainer

func (*ImageContainer) MedianBlur

func (ic *ImageContainer) MedianBlur(size int) *ImageContainer

func (*ImageContainer) Resize

func (i *ImageContainer) Resize(width, height int) *ImageContainer

func (*ImageContainer) SaveToJpegFile

func (i *ImageContainer) SaveToJpegFile(file string) error

func (*ImageContainer) SaveToPngFile

func (i *ImageContainer) SaveToPngFile(file string) error

func (*ImageContainer) Sub

func (i *ImageContainer) Sub(rectangle image.Rectangle) *ImageContainer

func (*ImageContainer) ToBinary

func (i *ImageContainer) ToBinary(threshold int) *ImageContainer

func (*ImageContainer) ToGray

func (i *ImageContainer) ToGray() *ImageContainer

Jump to

Keyboard shortcuts

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