8d7cf914c500cab65af3188d6580c4de986b812c
[colorize.git] / src / opticalflow.h
1 extern int flow_enable, flow_window, flow_levels, flow_iter, flow_view_vector, flow_view_uv;
2
3 void flow_default(void);
4 void save_flow(const char *filename);
5 int load_flow(const char *filename);
6
7 void *create_flow_maps(const unsigned char *img_prev_buffer, const unsigned char *img_next_buffer, unsigned char *img_buffer, int width, int height, int win_size, int steps, double *flow_map_x_prev, double *flow_map_y_prev, double *flow_map_x_next, double *flow_map_y_next, void *_image_preview);
8
9 void create_flow_view(const char *filename_prev, const char *filename_next, unsigned char *img_buffer, int width, int height, int win_size, int steps, int uv_scale);