PANDORE Version 6 GREYC-IMAGE

pcolgetobject



Gets Pandore object from collection.



Synopsis

pcolgetobject name [col_in|-] [obj_out|-]

Description

pcolgetobject extracts the Pandore object named name from the input collection col_in to create the output file obj_out. Pandore object can be image, region map, graph or even collection.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE if the object does not exist or it is not a Pandore object.

Examples

Extracts the image named foo in the collection col.pan into the file a.pan:

  pobject2col foo tangram.pan col.pan
  pcolgetobject foo col.pan a.pan
  pfile a.pan

See also

Collection, pcolgetimages

C++ prototype

Errc PColGetObject( Collection &col_in, Pobject * &obj_out, const std::string &name );

Version française

Extraction d'un objet Pandore d'une collection.


Author: Alexandre Duret-Lutz