PANDORE Version 6 GREYC-IMAGE

pim2d23d



Converts 2D image or region map to 3D image or region map with 1 slice.



Synopsis

pim2d23d [im_in|-] [im_out|-]

Description

pim2d23d builds a 3D image (or region map) from a 2D image (or region map). The output 3D image contains only one slice.

If the input is a 2D region map the output is a 3D region map with one slice.

The operator psetslice can be used to insert a 2D image into a 3D image.

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Converts tangram.pan to 3D image:

   pim2d23d tangram.pan a.pan

See also

Casting, pim3d22d

C++ prototype

Errc PIm2d23d( const Img2duc &im_in, Img3duc &im_out );

Version française

Construction d'une image 3D à partir d'une image 2D.


Author: Régis Clouard