processing

package
v0.0.0-...-5a9b0ed Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinarizeEnhancement

func BinarizeEnhancement(in *matrix.M) *matrix.M

func BinarizeSegmented

func BinarizeSegmented(in, out *matrix.M, meta types.Metadata)

BinarizeSegmented runs binarization with an optimized threshold that ensures the segmented area is as big an continuous as possible

func BinarizeSkeleton

func BinarizeSkeleton(in, out *matrix.M, meta types.Metadata)

BinarizeSkeleton runs binarization with an optimized threshold that does not damage the skeleton itself.

func Metadata

func Metadata(in *matrix.M) types.Metadata

Metadata about the input image that can be re-used across several steps, without having to re-compute it again

func Normalize

func Normalize(in, out *matrix.M, meta types.Metadata)

func Skeletonize

func Skeletonize(in *matrix.M)

Types

type Condition

type Condition interface {
	Holds(p0, p1, p2, p3, p4, p5, p6, p7 bool) bool
}

Jump to

Keyboard shortcuts

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