View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

IMEXAMINE behavior

Frank Valdes wrote on Mar 23, 2000

> 1) imexamine does not work correctly with sections in three (or more ?)
>    dimensional images. Working on an image of size [1024,1024,2] and executing
>    >imexam image[*,*,2]
>    displays the correct part of the image but operations like 's' or 'r' etc.
>    seem to be working on some other part of the image, presumably image[*,*,1]

This is true.  I can't recall right now why this is the case.  IMEXAMINE needs
some work to be more useful with higher dimensional images.  For now
you would need to use IMCOPY to copy out the plane you want to examine.


> 2) imexamine started without a file name returns values for the file
>    it finds last displayed even if this file no longer exists - and the values
>    returned are wrong !
>    If the file it picks up from the display buffer does no longer exist
>    imexamine should bail out with an error message.

This was actually a preconceived feature.  The idea is that one might want
to examine the image display buffer as an image; i.e. you would get
back values from the 8-bit display.  This was considered useful for
situations when some other task, say a data acquisition task, loads
the display, possibly without creating an image or an image in
an IRAF format.

Last post on Mar 23, 2000