PANDORE Version 6 GREYC-IMAGE

psetslice



Sets slice to 3D image or region map.



Synopsis

psetslice slice [-m mask] [im_in1|-] [im_in2|-] [im_out|-]

Description

psetslice builds a new 3D image im_out from the input 3D image im_in1 where the slice number slice is replaced by the given 2D image im_in2.

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

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Replaces slice #10 (11th slice) of the a3d.pan with the 2D image a2d.pan:

   psetslice 10 a3d.pan a2d.pan b3d.pan

See also

Utility, pgetslice, premoveslice

C++ prototype

Errc PSetSlice( const Img3duc &im_in1, const Img2duc &im_in2, Img3duc &im_out, long slice );

Version française

Remplacement d'un plan d'une image 3D par une image 2D.


Author: Régis Clouard