#include <flexGUI.h>
Public Member Functions | |
FlexGUI (unsigned int w, unsigned int h, const char *l=0) | |
Create the GUI window object. | |
void | show_gui () |
Show the GUI window. | |
bool | image_show (unsigned char *image, unsigned int w, unsigned int h, unsigned int channel) |
Draw the image in the GUI window. |
FlexGUI::FlexGUI | ( | unsigned int | w, | |
unsigned int | h, | |||
const char * | l = 0 | |||
) |
Create the GUI window object.
w | Image width | |
h | Image height | |
*l | Window name |
bool FlexGUI::image_show | ( | unsigned char * | image, | |
unsigned int | w, | |||
unsigned int | h, | |||
unsigned int | channel | |||
) |
Draw the image in the GUI window.
image | Image data pointer | |
w | Image width | |
h | Image height | |
channel | Number of channels (1=gray, 3=color) |
true
if no error occurs, false
otherwise.