Documentation ¶
Index ¶
- func ByteToRgbImage(dataPtr *[]uint8, width, height int) *image.RGBA
- func FloatToGwImage(dataPtr *[]float32, width, height int) *image.Gray
- func FloatToRgbImage(dataPtr *[]float32, width, height int) *image.RGBA
- func LoadImage(f *os.File) (*image.Image, error)
- func LoadImageFromPath(path string) (*image.Image, error)
- func RgbImageToByte(imgPtr *image.Image) *[]uint8
- func RgbImageToFloat(imgPtr *image.Image) *[]float32
- func SaveGwImageToPath(path string, img *image.Gray) error
- func SaveImage(f *os.File, img *image.Image) error
- func SaveImageToPath(path string, img *image.Image) error
- func SaveRgbaImageToPath(path string, img *image.RGBA) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RgbImageToByte ¶
func RgbImageToFloat ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.