edges

package
v0.0.0-...-344c1e1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Charcoal

func Charcoal(src image.Image) ([]byte, error)

Charcoal returns src as a soft charcoal drawing — softer edges from a pre-blur and a darker paper-toned background to distinguish from Sketch.

func Hog

func Hog(src image.Image) ([]byte, error)

Hog renders the histogram-of-oriented-gradients visualization of src — each cell of the output shows oriented edge-direction lines whose length and brightness reflect how much gradient mass falls in each orientation bin.

func Sketch

func Sketch(src image.Image) ([]byte, error)

Sketch returns src as a clean pencil sketch (dark lines on white).

func Sobel

func Sobel(src image.Image) ([]byte, error)

Sobel returns src as a grayscale edge-detection map (bright edges on black).

Types

This section is empty.

Jump to

Keyboard shortcuts

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