Versions in this module Expand all Collapse all v0 v0.5.2 Mar 29, 2019 Changes in this version + type LinearConverter struct + func (gc *LinearConverter) ColumnOffset() int + func (gc *LinearConverter) CropLeft() int + func (gc *LinearConverter) Hash() string + func (gc *LinearConverter) LatLon2XY(lat, lon float64) (x, y int) + func (gc *LinearConverter) LatLon2XYf(lat, lon float64) (x, y float64) + func (gc *LinearConverter) LatitudeCoverage() float64 + func (gc *LinearConverter) LineOffset() int + func (gc *LinearConverter) LongitudeCoverage() float64 + func (gc *LinearConverter) MaxLatitude() float64 + func (gc *LinearConverter) MaxLongitude() float64 + func (gc *LinearConverter) MinLatitude() float64 + func (gc *LinearConverter) MinLongitude() float64 + func (gc *LinearConverter) TrimLatitude() float64 + func (gc *LinearConverter) TrimLongitude() float64 + func (gc *LinearConverter) XY2LatLon(x, y int) (lat, lon float64) + type ProjectionConverter interface + ColumnOffset func() int + CropLeft func() int + Hash func() string + LatLon2XY func(lat, lon float64) (x, y int) + LatLon2XYf func(lat, lon float64) (x, y float64) + LatitudeCoverage func() float64 + LineOffset func() int + LongitudeCoverage func() float64 + MaxLatitude func() float64 + MaxLongitude func() float64 + MinLatitude func() float64 + MinLongitude func() float64 + TrimLatitude func() float64 + TrimLongitude func() float64 + XY2LatLon func(x, y int) (lat, lon float64) + func MakeLinearConverter(imgWidth, imgHeight int, pc ProjectionConverter) ProjectionConverter v0.5.1 Mar 10, 2019 Changes in this version + func BilinearInterp(data []byte, x, y float64, mw int, numChannels, colorChannel int) byte + type Projector struct + func MakeProjector(gc *Geo.Converter) *Projector + func (p *Projector) DrawLatLonLines(src *image.RGBA, thickness int, c color.Color) + func (p *Projector) ReprojectLinear(src *image.RGBA) *image.RGBA + func (p *Projector) ReprojectLinearGray(src *image.Gray) *image.Gray + func (p *Projector) ReprojectLinearMultiThread(src image.Image) *image.RGBA + func (p *Projector) ReprojectLinearMultiThreadGray(src image.Image) *image.Gray + type Sampler2D struct + func MakeSampler2D(img image.Image) *Sampler2D + func (s *Sampler2D) GetPixel(x, y float64) color.Color + func (s *Sampler2D) GetPixelGray(x, y float64) color.Gray