1 #ifndef ___COLORIZE_H___
2 #define ___COLORIZE_H___
7 const darray_t *image_mark;
9 const darray_t *flow_i;
12 double target_residual_change;
16 int w, h, k, comp, max_depth;
17 unsigned char **nb_list;
26 int colorize_prepare(struct colorize *col, int quick, int alloc);
27 int colorize_solve(struct colorize *col, int quick, char **feat_names);
28 void colorize_free(struct colorize *col);
30 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, double target_residual_change, int quick, int scalexyz, char **feat_names, struct colorize **_col);