gocv

package module
v0.0.0-...-a44c40d Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2017 License: MIT Imports: 15 Imported by: 0

README

gocv

Golang Computer Vision Library.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Im2bw

func Im2bw(img image.Gray, level uint8) (bw *image.Gray)

Convert image to binary image, based on threshold

func Im2gray

func Im2gray(img image.Image) (gray *image.Gray)

Convert to gray image

func Imread

func Imread(name string) (img image.Image, format string, err error)

Read image from graphics file

func Imwrite

func Imwrite(img image.Image, name, format string) (err error)

Write image to graphics file

func Otsuthresh

func Otsuthresh(hist *Histogram, size int) (threshold uint8)

Global histogram threshold using Otsu's method

Types

type Histogram

type Histogram [256]int

func Imhist

func Imhist(gray image.Gray) (hist *Histogram)

Histogram of image data

Jump to

Keyboard shortcuts

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