Documentation ¶
Overview ¶
Package vision provides some basic operation on computer vision.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GrayImage ¶
func (*GrayImage) LoadFromFile ¶
LoadFromFile sets the contents of the image from an image file.
func (*GrayImage) Resize ¶
Resize sets the size of the GrayImage to a specific value. Pixels is also updated accordingly.
type IntGrayImage ¶
IntGrayImage represents a gray image with each element an int.
func (IntGrayImage) Fill ¶
func (m IntGrayImage) Fill(vl int)
Fills assigns all pixels of the image by a value.
func (*IntGrayImage) Resize ¶
func (m *IntGrayImage) Resize(sz Size)
Resize sets the size of the image to a specific value. Pixels is also updated accordingly.
type RGBImage ¶
func (*RGBImage) LoadFromFile ¶
LoadFromFile sets the contents of the image from an image file.
Click to show internal directories.
Click to hide internal directories.