src/image.h
@@ -11,6 +11,10 @@ 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); @@ -62,5 +66,6 @@ void kernel_update(image m, image update, int stride, int channel, image out, int edge); void free_image(image m); void test_resize(char *filename); #endif