![]() |
![]() |
The GX is the base system for the majority of the Adaptive Recognition products. It is a collection of loadable modules and library functions and gives an easy to program interface to the hardware devices.
This file contains the descriptions of classes and functions of the image handling module with extended image manipulating functions that are not used in the normal image operations.
Go to the source code of this file.
Enumerations | |
enum | GX_COLORADJUST_FLAGS { GX_COLORADJUST_BRIGHTNESS_BASIC = 1, GX_COLORADJUST_BRIGHTNESS_ADVANCED = 2, GX_COLORADJUST_CONTRAST_BASIC = 4, GX_COLORADJUST_CONTRAST_ADVANCED = 8 } |
Flags for color adjust functions. More... | |
enum | GX_COMPOSE_FLAGS { GX_COMPOSE_DONT_ENLARGE_IMAGE = 0x01, GX_COMPOSE_ENLARGE_IMAGE = 0x02, GX_COMPOSE_ALPHA = 0x04, GX_COMPOSE_WEIGHTING = 0x08 } |
Flags for image compose functions. More... | |
enum | GX_TEXT_FLAGS { GX_TEXT_ITALIC = 0x01, GX_TEXT_STRAIGHT = 0x02, GX_TEXT_BOLD = 0x10, GX_TEXT_NORMAL = 0x20, GX_TEXT_THIN = 0x30 } |
Flags for text draw functions. More... | |
Functions | |
static int | gx_coloradjust (gxHANDLE imgexthandle, gxIMAGE *image, float contrast, float brightness, float saturation, float gamma, int flags) |
Makes contrast, brightness, saturation and gamma correction on the image. | |
static int | gx_colormixer (gxHANDLE imgexthandle, gxIMAGE *target, gxIMAGE *source, int r1, int g1, int b1, int r2, int g2, int b2, int r3, int g3, int b3) |
Changes the colors of the source image based on the weight parameters. | |
static int | gx_imagedifference (gxHANDLE imgexthandle, gxIMAGE *target, gxIMAGE *source1, gxIMAGE *source2) |
Generates a differential image from two images. | |
static int | gx_imagetransform (gxHANDLE imgexthandle, gxIMAGE *target, gxIMAGE *source, gxPG4 area, void *bgcolor) |
Transforms a general area from the source image in the target image. | |
static int | gx_imageftransform (gxHANDLE imgexthandle, gxIMAGE *target, gxIMAGE *source, gxTRAFO *trafo, void *bgcolor) |
Fine transforms an image with the transformation described by the trafo. | |
static int | gx_imagecompose (gxHANDLE imgexthandle, gxIMAGE *target, gxIMAGE *upper, gxIMAGE *lower, gxPNT position, float alpha_u, float alpha_l, int flags, void *bgcolor) |
Composes two images. | |
static int | gx_drawtext (gxHANDLE imgexthandle, gxIMAGE *image, const char *text, gxPNT position, const char *fonttype, int fontheight, int fontwidth, void *txtcolor, unsigned int flags) |
Draw text on an image. |
enum GX_COLORADJUST_FLAGS |
Flags for color adjust functions.
enum GX_COMPOSE_FLAGS |
Flags for image compose functions.
enum GX_TEXT_FLAGS |
Flags for text draw functions.