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
- slice specifies the number of
the slice to be replaced. It is an integer
between 0 and the total number of im_in1 slice
minus 1.
Inputs
- im_in1: a 3D image or 3D region map.
- im_in2: a 2D image or 2D region map.
Outputs
- im_out: a 3D image or a 3D region map.
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