Documentation ¶
Index ¶
- Constants
- Variables
- func Binary(source [][]color.Color, threshold uint) [][]color.Color
- func BoxBlur(source [][]color.Color, amount uint) [][]color.Color
- func Brightness(source [][]color.Color, amount int) [][]color.Color
- func ColorInversion(source [][]color.Color) [][]color.Color
- func Contrast(source [][]color.Color, amount int) [][]color.Color
- func EightColors(source [][]color.Color) [][]color.Color
- func EmbossFilter(source [][]color.Color) [][]color.Color
- func FlipHorizontal(source [][]color.Color) [][]color.Color
- func FlipVertical(source [][]color.Color) [][]color.Color
- func GammaCorrection(source [][]color.Color, amount float64) [][]color.Color
- func Grayscale(source [][]color.Color, grayscaleType string) [][]color.Color
- func HueRotate(source [][]color.Color, angle int) [][]color.Color
- func ImageRotation(source [][]color.Color, angle uint) [][]color.Color
- func KuwaharaFilter(source [][]color.Color, aperture uint) [][]color.Color
- func LaplasianFilter(source [][]color.Color) [][]color.Color
- func Sepia(source [][]color.Color) [][]color.Color
- func Sharpen(source [][]color.Color, mix float64) [][]color.Color
- func SobelFilter(source [][]color.Color) [][]color.Color
- func Solarize(source [][]color.Color, threshold uint) [][]color.Color
- type Color
Constants ¶
View Source
const DEG float64 = math.Pi / 180
Variables ¶
View Source
var COLORS = [8]Color{
{255, 0, 0},
{0, 255, 0},
{0, 0, 255},
{255, 255, 0},
{255, 0, 255},
{0, 255, 255},
{255, 255, 255},
{0, 0, 0},
}
Functions ¶
func Brightness ¶ added in v1.0.0
func GammaCorrection ¶ added in v1.0.0
func ImageRotation ¶ added in v1.0.0
func KuwaharaFilter ¶ added in v1.0.2
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.