PANDORE Version 6 | GREYC-IMAGE |
pregiondepth measures the depth size of the regions inside the region map rg_in. Each region depth is stored as a unsigned long value in the array named name inside the collection col_out. The ith item in the array corresponds to the i+1th region because the region 0 is not considered.
The depth is calculated from the number of pixels.
Returns SUCCESS or FAILURE.
Displays depth size of the regions yielded by a simple binarization of tangram.pan:
pbinarization 100 1e30 tangram.pan a.pan plabeling 8 a.pan b.pan pregiondepth depth b.pan c.pan pcol2txt c.pan
Author: Alexandre Duret-Lutz