| | |
| | | float *data; |
| | | } image; |
| | | |
| | | float get_color(int c, int x, int max); |
| | | void jitter_image(image a, int h, int w, int dh, int dw); |
| | | void flip_image(image a); |
| | | void draw_box(image a, int x1, int y1, int x2, int y2, float r, float g, float b); |
| | | image image_distance(image a, image b); |
| | | void scale_image(image m, float s); |
| | | void translate_image(image m, float s); |
| | |
| | | image float_to_image(int h, int w, int c, float *data); |
| | | image copy_image(image p); |
| | | image load_image(char *filename, int h, int w); |
| | | image load_image_color(char *filename, int h, int w); |
| | | image ipl_to_image(IplImage* src); |
| | | |
| | | float get_pixel(image m, int x, int y, int c); |