PANDORE Version 6 | GREYC-IMAGE |
pregionvolume measures the volume of the regions inside the region map rg_in. Each region volume 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 volume is calculated in pixel unit.
Returns SUCCESS or FAILURE.
Displays volume of the regions yielded by a simple binarization of tangram3d.pan:
pbinarization 100 1e30 tangram3d.pan a.pan plabeling 8 a.pan b.pan pregionvolume volume b.pan tangram3d.pan c.pan pcol2txt c.pan
Calcul de volume des régions.
Author: Alexandre Duret-Lutz