PANDORE Version 6 | GREYC-IMAGE |
premoveslice removes a 2D image from the end or the beginning of a 3D image. The 2D image im_out2 is extracted from the beginning if the parameter direction is negative or from the end if it is positive. The new image im_out1 has one slice less than the input image im_in1.
The last 3D image can be casted to 2D image with operator pim3d22d.
The result image im_out is of the same type as the two input images.
For region map, it may be judicious to relabel the regions (see plabeling).
Returns SUCCESS or FAILURE in case of bad input or when 3D image is one slice depth.
Removes a2d.pan to the end of the a3d.pan:
premoveslice 1 a3d.pan b3d.pan a2d.pan
Suppression d'un plan 2D dans une image 3D.
Author: Régis Clouard