Documentation ¶
Index ¶
- func AverageColor(colors []colorful.Color) colorful.Color
- func BrightestColor(colors []colorful.Color) colorful.Color
- func ContrastColor(colors []colorful.Color) colorful.Color
- func DenoiseImage(img image.Image) image.Image
- func EstimateLightPollutionMask(img image.Image) image.Image
- func GetStarmap(img image.Image, treshold float64) (starmap.Starmap, float64)
- func LoadImage(filename string) image.Image
- func LoadImages(images []string) []image.Image
- func MedianColor(colors []colorful.Color) colorful.Color
- func RemoveLightPollutionImage(img, mask image.Image) image.Image
- func SaveImage(fileName string, image image.Image) error
- func StarTrack(images []image.Image) []image.Image
- func Starpack(images []image.Image, colorMergeMethod ColorMerge) *image.RGBA64
- func Transform(img image.Image, config starmap.OffsetConfig) image.Image
- func Translate(img image.Image, dx, dy int) *image.NRGBA64
- func Upscale(images []image.Image) []image.Image
- type ColorMerge
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstimateLightPollutionMask ¶
EstimateLightPollutionMask generates a mask to remove it from the image. Based on the idea from https://benedikt-bitterli.me/astro/ .
func LoadImages ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.