PANDORE Version 6 | GREYC-IMAGE |
pcolgetimages extracts all images from the specified collection col_in. Each image is saved in a file named from the related name into the collection suffixed by ".pan".
For example, if the command: "pfile col.pan" returns :
Creator : pandore Date : 2005/04/13 Type : Collection (Bundle of elements) Number of elements : 3 attr (8 elements) Array:Ulong image2d (1 element) Pobject:Img2duc image3d (1 element) Pobject:Img3duc
then the command "pcolgetimages col.pan" builds :
image2d.pan image3d.pan
Operator pcolgetobject can be used to get only one image from the input collection.
Returns SUCCESS or FAILURE if at least one image cannot be saved.
Catenates the 2 collections c1.pan and c2.pan in the collection col.pan and then extracts the two images in file foo.pan and bar.pan:
pobject2col foo tangram.pan c1.pan pobject2col bar parrot.pan c2.pan pcolcatenateitem c1.pan c2.pan col.pan pcolgetimages col.pan
Extraction des images d'une collection.
Author: Nicolas Briand