When concatenating dissimilar images, you will probably want to set options=relax. This tells imcat not to be concerned if axis descriptors differ. However, the image dimensions must still be the same.
In the example, we take an image of some size and pad it out to be 512 by 512 pixels. Note that the frame keyword which specifies the output image size in relative pixels is in the non-standard order of xmin,xmax,ymin,ymax compared to the region keyword which expects xmin,ymin,xmax,ymax.
The task regrid enables you to take an image, and regrid it via spline fitting and resampling on a new grid. This task can regrid any combination of the the first three axes of an image. The new grid can be specified in one of three ways. The first way (and generally easiest) is to take the header of another (template) image and make the image of interest look like the template image. The second way requires you to specify the output header axis descriptors explicitly with the keyword desc. You have to input the reference value, reference pixel, pixel increment and number of pixels for each axis you want to regrid -- pretty tedious stuff. The third way is to specify, via the keyword range, the start, end and increment for each axis you wish to regrid.
regrid currently does not handle non-linear axes correctly. It assumes that the axis is linear as given by the header axis descriptors.
In this simple example, we regrid the first two axes of an image via a template image.