PANDORE Version 6 | GREYC-IMAGE |
pextractsubimage builds a new image im_out with pixels of the input image im_in included in the window beginning at coordinates (x,y,z) and with the dimension (l,h,p).
For region map, there is no relabeling. The regions in im_out keep the same label than in im_in even if some regions have disappeared.
For image returns SUCCESS or FAILURE. For region map returns the maximum label or FAILURE.
Extracts part of the tangram.pan from coordinates (75, 55) and size (50, 55) as new image.
pextractsubimage 75 55 0 50 55 0 examples/tangram.pan a.pan
Extracts part of the tangram.pan from coordinates (75, 55) to maximum coordinates as a new image.
pextractsubimage 75 55 0 -1 -1 0 examples/tangram.pan a.pan
Extraction d'une sous-image d'une image.
Author: Régis Clouard