Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetImageFromRaw ¶
Types ¶
type ColormapTypes ¶
type ColormapTypes uint8
const ( COLORMAP_AUTUMN ColormapTypes = 0 COLORMAP_BONE ColormapTypes = 1 COLORMAP_JET ColormapTypes = 2 COLORMAP_WINTER ColormapTypes = 3 COLORMAP_RAINBOW ColormapTypes = 4 COLORMAP_OCEAN ColormapTypes = 5 COLORMAP_SUMMER ColormapTypes = 6 COLORMAP_SPRING ColormapTypes = 7 COLORMAP_COOL ColormapTypes = 8 COLORMAP_HSV ColormapTypes = 9 COLORMAP_PINK ColormapTypes = 10 COLORMAP_HOT ColormapTypes = 11 COLORMAP_PARULA ColormapTypes = 12 COLORMAP_MAGMA ColormapTypes = 13 COLORMAP_INFERNO ColormapTypes = 14 COLORMAP_PLASMA ColormapTypes = 15 COLORMAP_VIRIDIS ColormapTypes = 16 COLORMAP_CIVIDIS ColormapTypes = 17 COLORMAP_TWILIGHT ColormapTypes = 18 COLORMAP_TWILIGHT_SHIFTED ColormapTypes = 19 COLORMAP_TURBO ColormapTypes = 20 COLORMAP_DEEPGREEN ColormapTypes = 21 )
type GenericImage ¶
Generic image wraps the image.Image interface And provides methods for getting the Pix and Rect Values without typecasting
func NewGenericImage ¶
func NewGenericImage(img image.Image) GenericImage
func (GenericImage) GetPix ¶
func (img GenericImage) GetPix() ([]uint8, bool)
Get the pixel vaues from the image
Click to show internal directories.
Click to hide internal directories.