Auto ROI File Parameters
Name Description
Parent This the handle to the calling Viewer application window.
Script Name The filename of the selected script.
Image File  The current displayed image file.
ROI Operation: 
(The current cursor
tool selected)
0  =  none (entire image selected)
2  =  rectangular region
3  =  line
4  =  elliptical region
5  =  polygon
6  =  trace
7  =  flood fill
Start X The X coordinate at the instant the mouse button is depressed.
Start Y  The Y coordinate at the instant the mouse button is depressed.
End X  The X coordinate at the instant the mouse button is released.
End Y The Y coordinate at the instant the mouse button is released.
Image Width The current displayed image width in pixels.
Image Height The current displayed image height in pixels.
Pixel Offset Starting file location of pixel data in bytes.
Pixel Data Type 1 = floating point
2 = integer
3 = byte
Pixel Correction The correction factor to add to the pixel data.
Pixel Size The pixel size in MM.
Thickness  The Voxel Z dimension in MM.
KV  The KV setting. (obsolete)
MA  The scanned MA setting. (obsolete)
Window Width The current Window width.
Window Level  The current Window level.
Zoom Factor The current zoom factor.
Total Frames  The total number of frames currently loaded into the buffer.
Frame Number The current frame number.