PANDORE Version 6 GREYC-IMAGE

pgetslice



Gets slice from 3D image.



Synopsis

pgetslice slice [-m mask] [im_in|-] [im_out|-]

Description

pgetslice builds the new 2D image im_out from the specified slice of the input 3D image im_in.

The result image im_out is of the same type as the input image.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Gets slice no. 10 of the 3D image a3d.pan (the 11th slice):

   pgetslice 10 a3d.pan a2d.pan

See also

Utility, psetslice, paddslice

C++ prototype

Errc PGetSlice( const Img3duc &im_in, Img2duc &im_out, long slice );

Version française

Construction d'une image 2D avec un plan d'une image 3D.


Author: Régis Clouard