Fixed mapping for resizing object images
B = IM_RESIZE(A,SIZE,METHOD)
The objects stored as images in the dataset or datafile A are resized using the IMRESIZE command. Default METHOD is 'nearest' (nearest neighbor interpolation).
A special method is 'preserve', which exactly copies the existing data, cuts it, or extends it with zeros as far as appropriate. In SIZE the desired output size has to be stored. Note that for proper use in PRTools third size parameter of multi-band images, e.g. 3 for RGB images, has to be supplied.
In case SIZE is a scalar the default METHOD is 'preserve', which implies that the first SIZE samples are taken, which is useful if A is a 1-D signal. Otherwise the deafult METHOD is 'nearest'.