starpack

package
v0.0.0-...-71157ff Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: GPL-3.0 Imports: 16 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AverageColor

func AverageColor(colors []colorful.Color) colorful.Color

func BrightestColor

func BrightestColor(colors []colorful.Color) colorful.Color

func ContrastColor

func ContrastColor(colors []colorful.Color) colorful.Color

func DenoiseImage

func DenoiseImage(img image.Image) image.Image

Single pixel denoising.

func EstimateLightPollutionMask

func EstimateLightPollutionMask(img image.Image) image.Image

EstimateLightPollutionMask generates a mask to remove it from the image. Based on the idea from https://benedikt-bitterli.me/astro/ .

func GetStarmap

func GetStarmap(img image.Image, treshold float64) (starmap.Starmap, float64)

func LoadImage

func LoadImage(filename string) image.Image

func LoadImages

func LoadImages(images []string) []image.Image

func MedianColor

func MedianColor(colors []colorful.Color) colorful.Color

func RemoveLightPollutionImage

func RemoveLightPollutionImage(img, mask image.Image) image.Image

func SaveImage

func SaveImage(fileName string, image image.Image) error

func StarTrack

func StarTrack(images []image.Image) []image.Image

func Starpack

func Starpack(images []image.Image, colorMergeMethod ColorMerge) *image.RGBA64

func Transform

func Transform(img image.Image, config starmap.OffsetConfig) image.Image

func Translate

func Translate(img image.Image, dx, dy int) *image.NRGBA64

func Upscale

func Upscale(images []image.Image) []image.Image

Types

type ColorMerge

type ColorMerge func([]colorful.Color) colorful.Color

Jump to

Keyboard shortcuts

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