% convertbefore running your IMG program. It will then be able to access these other formats in the same way as its ``native'' NDF format.
If you have copies of the same image in more than one format, you may
need to add the appropriate file type extension - .imh,
.fit and .dst for the IRAF, FITS and FIGARO formats
respectively - as part of the image name, in order to distinguish
them. So a typical session in which an IRAF data frame is read might
be (the program is the mean
example from §):
% convert % mean IN - Input image > myimage.imh Mean = 108.3154 %
One point of particular relevance to IMG is the transfer of header information between the different data formats. Unless you take special action, only FITS headers will generally be transferred. So, unless you intend to make sole use of the NDF format, having sources of header information other than FITS may cause problems and is probably best avoided for the sake of simplicity.
If you want to process data in formats other than those provided by CONVERT, then you can define your own conversions. You should consult SSN/20 about how to do this.
IMG Simple Image Data Access