Extended IDL Help

image2d.pro

At APS this program is installed in the /usr/local/epics/extensions/idllib directory for EPICS R3.14. This program allows the user to view any 2D image data array. This program can be directly plugged into any IDL program with image data array as input parameter.

List of Routines


Routine Descriptions

IMAGE2D

[List of Routines]
 NAME:
       IMAGE2D

 PURPOSE:
       This program provides a general purpose, flexible generic 2D image
       array viewer.  It provides 2D TV, SURFACE, CONTOUR, and SHADE_SURF plot.
       It allows the user to select any 2D slice out of the image_array.
       It is very simple to use and provides various display features of
       showing 2D image data.

 CATEGORY:
       Widgets.

 CALLING SEQUENCE:
 INPUTS:
       IMAGE_ARRAY[W,H,N] :   Image data array with N frames.
       XARR[W]:   Variable to specify the corresponding x vector values.
       YARR[H]:   Variable to specify the corresponding y vector values.

 KEYWORD PARAMETERS:

       GROUP:   Specify the parent widget ID, the destroy of the parent ID
                results the destroy of this program.
       TITLE:   Set this keyword to specify the title string of the window.
       PV:      Specify the scan record names if desired
       SCANNO:  Specify the 2D scanno if it is known
       OUTPATH: Specify the current output directory.
	XDESCS[4]:  String array specify the x axis title
	YDESCS[4]:  String array specify the y axis title
	ZDESCS[N]:  String array specify the Z axis title
	ID_DEF[N]:  2D data defined indicator vector 
	SEQNM:   if SEQNM=1, detector list will be replaced by the ZDESCS
		 if SEQNM is a astring array then detector list will be
                replaced by SEQNM
	VERS:    if specified implies scan version 5.19 or later assumed

 COMMON BLOCKS:
       IMAGE2D_NORM_BLOCK used by the dialog of setting the Image
       Color Scheme.

 SIDE EFFECTS:
       Although many copy of IMAGE2D can co-exist at the same time, only
       one dialog of setting the Image Color Scheme can be accessed.

 EXAMPLES:
    Example 1 - Run IMAGE2D program with image_array(width,height,n),
       xarr(width), Yarr(height)

            IMAGE2D,image_array,Xarr,Yarr,Title='Window title'

 MODIFICATION HISTORY:
       Written by:     Ben-chin Cha, July 3, 2002.
	01-07-2003	Release 1.0
			Show Z value with @ (I,J) index
			Modify the set new 2D scan ranges to check for relative
                       mode to reset the new center position and relative new
                       scan range
	10-31-2003	Release 1.1
			Support scan VERS 5.19 name start from D01...
			

(See image2d.pro)