Documentation ¶
Index ¶
- Variables
- func HSLToRGB(h, s, l float64) (r, g, b uint8)
- func HSVToRGB(h, s, v float64) (r, g, b uint8)
- func Image(width, height, pixel int, freq Frequency) *image.RGBA
- func RGBToHSL(r, g, b uint8) (h, s, l float64)
- func RGBToHSV(r, g, b uint8) (h, s, v float64)
- type Frequency
- type HSL
- type HSV
- type Histogram
- type Location
- type LocationParser
- type Rect
- type Simple
Constants ¶
This section is empty.
Variables ¶
View Source
var HSLModel = color.ModelFunc(hslModel)
HSLModel converts any color.Color to a HSL color.
View Source
var HSVModel = color.ModelFunc(hsvModel)
HSVModel converts any color.Color to a HSV color.
Functions ¶
Types ¶
type HSL ¶
type HSL struct {
H, S, L float64
}
HSL represents a cylindrical coordinate of points in an RGB color model.
Values are in the range 0 to 1.
type HSV ¶
type HSV struct {
H, S, V float64
}
HSV represents a cylindrical coordinate of points in an RGB color model.
Values are in the range 0 to 1.
type Histogram ¶
type Histogram struct { Width int Height int Blocks [][]int // contains filtered or unexported fields }
func AutoHeightHistogram ¶
Uses the ratio of latitude and longitude at 45 deg N/S
func (*Histogram) CountLocations ¶
type LocationParser ¶
Given a file of addresses, return a list of locations
type Rect ¶
type Rect struct {
// contains filtered or unexported fields
}
func LocationExtrema ¶
func LocationExtrema999 ¶
func LocationExtrema9999 ¶
Click to show internal directories.
Click to hide internal directories.