PANDORE Version 6 GREYC-IMAGE

paddslice



Adds slice to 3D image.



Synopsis

paddslice direction [-m mask] [im_in1|-] [im_in2|-] [im_out|-]

Description

paddslice adds a 2D image at the end or at the beginning of a 3D image. The new image im_out has one slice more than the input image im_in1.

The first 3D image can be built with operator pim2d23d.

The 2D image is added at the beginning if parameter direction is negative or at the end if it is positive.

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

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Adds a2d.pan to the end of the a3d.pan:

   paddslice 1 a3d.pan a2d.pan b3d.pan

See also

Utility, pinsertslice, premoveslice, pim2d23d

C++ prototype

Errc PAddSlice( const Imx3d &im_in1, const Imx2d &im_in2, Imx3d &im_out, int direction );

Version française

Ajout d'un plan dans une image 3D à partir d'une image 2D.


Author: Régis Clouard