sharpen

package
v0.0.0-...-6905684 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2019 License: MIT Imports: 5 Imported by: 1

Documentation

Overview

Package sharpen provides functions to sharpen an image.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sharpen

func Sharpen(in image.Image, radius int, sigma float64) image.Image

Sharpen takes an image and sharpens it by, essentially, unblurring it. It is currently extremely slow, so you are probably better off sticking to UnsharpMask.

func UnsharpMask

func UnsharpMask(in image.Image, radius int, sigma, amount, threshold float64) image.Image

UnsharpMask sharpens the given Image using the unsharp mask technique. Basically the image is blurred, then subtracted from the original for differences above the threshold value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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