1 #ifndef ___COLORIZE_H___
2 #define ___COLORIZE_H___
7 const darray_t *image_mark;
9 const darray_t *flow_i;
15 int w, h, k, comp, max_depth;
16 unsigned char **nb_list;
25 int colorize_prepare(struct colorize *col, int quick, int alloc);
26 int colorize_solve(struct colorize *col, int quick, char **feat_names);
27 void colorize_free(struct colorize *col);
29 int colorize(const darray_t *image, const darray_t *image_mark, const darray_t *flow, const darray_t *flow_i, int inner_iter, int outer_iter, int quick, int scalexyz, char **feat_names, struct colorize **_col);