{"modulePath":"github.com/opensatelliteproject/SatHelperApp","version":"v0.5.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package ImageTools\n\n## Functions\n\n```go\nfunc CleanShapeFiles(shpFile string)\n```\n\n```go\nfunc DrawGray8At(data []byte, px, py int, image *image.Gray)\n```\n\n```go\nfunc DumpDirectly(newFileName string, data []byte) error\n```\n\n```go\nfunc DumpImage(filename string) error\n```\n\n```go\nfunc DumpMultiSegment(msi *Structs.MultiSegmentImage, mapDrawer *MapDrawer.MapDrawer, visCurve *CurveManipulator, reproject bool, enhance bool, metadata bool) (error, string)\n```\n\n```go\nfunc DumpRaw(newFileName string, data []byte, xh *XRIT.Header) error\n```\n\n```go\nfunc ExtractShapeFiles() (string, error)\n```\nExtractShapeFiles extracts the shapefiles to temp folder and return path for shp file\n\n```go\nfunc GetDefaultMapDrawer() *MapDrawer.MapDrawer\n```\n\n```go\nfunc GetNoMapName(filename string) string\n```\n\n```go\nfunc GetNoProjName(filename string) string\n```\n\n```go\nfunc Image2Gray(img image.Image) *image.Gray\n```\n\n```go\nfunc LoadImage(filename string) (image.Image, error)\n```\n\n```go\nfunc LoadImageGrayScale(filename string) (*image.Gray, error)\n```\n\n```go\nfunc MultiSegmentAssemble(msi *Structs.MultiSegmentImage) (error, image.Image)\n```\n\n```go\nfunc SaveImage(filename string, img image.Image) error\n```\n\n```go\nfunc SetSaveNoMap(s bool)\n```\n\n```go\nfunc SetSaveNoProj(s bool)\n```\n\n## Types\n\n```go\ntype ColorReader interface {\n\tAt(x, y int) color.Color\n}\n```\n\n```go\ntype CurveManipulator struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc GetVisibleCurveManipulator() *CurveManipulator\n```\n\n```go\nfunc MakeCurveManipulator(curve []float32) (error, *CurveManipulator)\n```\n\n```go\nfunc MakeDefaultCurveManipulator() *CurveManipulator\n```\n\n```go\nfunc (cm *CurveManipulator) ApplyCurve(img image.Image) error\n```\n\n```go\ntype ImageEnhancer struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc MakeImageEnhancer(minTemp, maxTemp float32, satLut []float32, enhanceLut []color.Color, overlay bool) *ImageEnhancer\n```\n\n```go\nfunc MakeImageEnhancerEmpty(overlay bool) *ImageEnhancer\n```\n\n```go\nfunc (ie *ImageEnhancer) DrawMeta(section string, img *image.RGBA, xh *XRIT.Header) (*image.RGBA, error)\n```\n\n```go\nfunc (ie *ImageEnhancer) DrawMetaWithoutScale(section string, img *image.RGBA, xh *XRIT.Header) (*image.RGBA, error)\n```\n\n```go\nfunc (ie *ImageEnhancer) EnhanceWithLUT(img *image.RGBA) (*image.RGBA, error)\n```\n\n```go\ntype Lut1D struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc GetTemperatureLUT(xh *XRIT.Header) *Lut1D\n```\n\n```go\nfunc MakeLut1D(filename string) (*Lut1D, error)\n```\n\n```go\nfunc MakeLut1DFromColors(colors []color.Color) (*Lut1D, error)\n```\n\n```go\nfunc MakeLut1DFromMemory(data []byte) (*Lut1D, error)\n```\n\n```go\nfunc MakeLut1DFromReader(r io.Reader) (*Lut1D, error)\n```\n\n```go\nfunc (l1d *Lut1D) ApplyFromGray(a *image.Gray) (*image.RGBA, error)\n```\n\n```go\nfunc (l1d *Lut1D) ApplyFromRGBA(a *image.RGBA) (*image.RGBA, error)\n```\n\n```go\ntype Lut2D struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc GetFalseColorLUT() *Lut2D\n```\n\n```go\nfunc MakeLut2D(filename string) (*Lut2D, error)\n```\n\n```go\nfunc MakeLut2DFromMemory(data []byte) (*Lut2D, error)\n```\n\n```go\nfunc MakeLut2DFromReader(r io.Reader) (*Lut2D, error)\n```\n\n```go\nfunc (l2d *Lut2D) Apply(a, b *image.Gray) (*image.RGBA, error)\n```\n\n","path":"github.com/opensatelliteproject/SatHelperApp/ImageProcessor/ImageTools","name":"ImageTools","synopsis":"","isRedistributable":true}
