Idea: cumulative error of the current pixel should not vary (or increase) by expanding the region, otherwise pixel would not be added to the region.
error = abs(curr_pix->dist - pred_dist) > thresh where, pred_dist is cumulative distance of the 10th parent, found recursively from the current_pix. the threshold set to a Max value and it will change once the parent of the current pixel past 10 pixels from the seed: if ( (curr_pix_parent)->parentsize == 10 ) thresh = (curr_pix)->dist;
0 Comments
Leave a Reply. |
Categories |