lbp

package
v0.0.0-...-0bbb815 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Calculate

func Calculate(img image.Image, radius, neighbors uint8) ([][]uint64, error)

Calculate function calculates the LBP based on the radius and neighbors passed by parameter. The radius and neighbors parameters are not in use.

func GetImageSize

func GetImageSize(img image.Image) (int, int)

GetImageSize function is used to get the width and height from an image. If the image is nil it will return 0 width and 0 height

func GetPixels

func GetPixels(img image.Image) [][]uint8

GetPixels function returns a 'matrix' ([][]uint8) containing all pixels from the image passed by parameter.

Types

This section is empty.

Jump to

Keyboard shortcuts

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