From left to right rotate region colors around eigen vectors, 0, 1,2.
last image shows the region affected by rotation.
0 Comments
The idea is the same as previous post, with a few differences.
The threshold will be fixed for the region once it has changed. I used a factor of k=100 for the threshold. if ( (curr_pix_parent)->parentsize == 10 && flag == false ) thresh = (curr_pix)->dist; flag = true; Currently I keep the factor fixed but it can vary for the regions on top layers. We can get much better distribution of the region sizes. 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; |
Categories |