Documentation ¶
Index ¶
- func CleanShapeFiles(shpFile string)
- func DrawGray8At(data []byte, px, py int, image *image.Gray)
- func DumpDirectly(newFileName string, data []byte) error
- func DumpImage(filename string) error
- func DumpMultiSegment(msi *Structs.MultiSegmentImage, mapDrawer *MapDrawer.MapDrawer, ...) (error, string)
- func DumpRaw(newFileName string, data []byte, xh *XRIT.Header) error
- func ExtractShapeFiles() (string, error)
- func GetDefaultMapDrawer() *MapDrawer.MapDrawer
- func GetNoMapName(filename string) string
- func GetNoProjName(filename string) string
- func Image2Gray(img image.Image) *image.Gray
- func LoadImage(filename string) (image.Image, error)
- func LoadImageGrayScale(filename string) (*image.Gray, error)
- func MultiSegmentAssemble(msi *Structs.MultiSegmentImage) (error, image.Image)
- func SaveImage(filename string, img image.Image) error
- func SetSaveNoMap(s bool)
- func SetSaveNoProj(s bool)
- type ColorReader
- type CurveManipulator
- type ImageEnhancer
- type Lut1D
- type Lut2D
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanShapeFiles ¶ added in v0.5.2
func CleanShapeFiles(shpFile string)
func DumpDirectly ¶
func DumpMultiSegment ¶
func DumpMultiSegment(msi *Structs.MultiSegmentImage, mapDrawer *MapDrawer.MapDrawer, visCurve *CurveManipulator, reproject bool, enhance bool, metadata bool) (error, string)
func ExtractShapeFiles ¶ added in v0.5.2
ExtractShapeFiles extracts the shapefiles to temp folder and return path for shp file
func GetDefaultMapDrawer ¶ added in v0.5.2
func GetNoMapName ¶
func GetNoProjName ¶
func MultiSegmentAssemble ¶
func MultiSegmentAssemble(msi *Structs.MultiSegmentImage) (error, image.Image)
func SetSaveNoMap ¶
func SetSaveNoMap(s bool)
func SetSaveNoProj ¶
func SetSaveNoProj(s bool)
Types ¶
type ColorReader ¶
type CurveManipulator ¶
type CurveManipulator struct {
// contains filtered or unexported fields
}
func GetVisibleCurveManipulator ¶ added in v0.5.2
func GetVisibleCurveManipulator() *CurveManipulator
func MakeCurveManipulator ¶
func MakeCurveManipulator(curve []float32) (error, *CurveManipulator)
func MakeDefaultCurveManipulator ¶
func MakeDefaultCurveManipulator() *CurveManipulator
func (*CurveManipulator) ApplyCurve ¶
func (cm *CurveManipulator) ApplyCurve(img image.Image) error
type ImageEnhancer ¶ added in v0.5.2
type ImageEnhancer struct {
// contains filtered or unexported fields
}
func MakeImageEnhancer ¶ added in v0.5.2
func MakeImageEnhancerEmpty ¶ added in v0.5.2
func MakeImageEnhancerEmpty(overlay bool) *ImageEnhancer
func (*ImageEnhancer) DrawMetaWithoutScale ¶ added in v0.5.2
func (*ImageEnhancer) EnhanceWithLUT ¶ added in v0.5.2
type Lut1D ¶ added in v0.5.2
type Lut1D struct {
// contains filtered or unexported fields
}
func GetTemperatureLUT ¶ added in v0.5.2
func MakeLut1DFromColors ¶ added in v0.5.2
func MakeLut1DFromMemory ¶ added in v0.5.2
func (*Lut1D) ApplyFromGray ¶ added in v0.5.2
type Lut2D ¶
type Lut2D struct {
// contains filtered or unexported fields
}
func GetFalseColorLUT ¶ added in v0.5.2
func GetFalseColorLUT() *Lut2D
func MakeLut2DFromMemory ¶
Click to show internal directories.
Click to hide internal directories.