PANDORE Version 6 | GREYC-IMAGE |
paddborder magnifies the input image im_in by adding a border around the input image. If the parameters are negative, this operator shrinks the image.
The size of the border is defined by ll + lr width, hu + hd height and df + db depth.
Pixels in the new border is set to 0.
df and db are ignored in case of 2D image.
If the parameters are negative, the operator shrinks the image.
Returns SUCCESS or FAILURE.
Adds an empty border around tangram.pan
paddborder 1 1 1 1 0 0 tangram.pan a.pan
Removes border around tangram.pan
paddborder -1 -1 -1 -1 0 0 tangram.pan a.pan
Agrandissement our réduction d'une image en lui ajoutant un bord à 0.
Author: Régis Clouard