..... imageCatcher .....


Introduction

New Features

Starting the imageCatcher

Operation

Box Cursor

Screen Calibration

Example images


Introduction

"imageCatcher" is a program written in IDL that fetches images acquired by the VME-based video digitizers, plots them as images or surfaces, creates X and Y profiles over a user defined Region of Interest, and fits a gaussian to these profiles to obtain typical beam parameters. The beam parameters will be calculated in "pixel" units unless a calibration box has been defined which allows the parameters to be calculated in user defined units (e.g. mm). Images and associated parameters can be saved in SDDS format files for further analysis.

Because of the large amount of network traffic required to fetch a digitized image, the program will only update the image at 1 Hz (even though the LINAC video digitizer captures images at 2 Hz). Later improvements to this program will allow the specified Region of Interest to be acquired at 2 Hz.

With the Beta1 version, the image is acquired from the video digitizer in the LINAC. Currently, more than 20 cameras are "multiplexed" into this frame grabber,  including some from the PAR. Later enhancements will allow images from the other APS video systems as well.
 

New Features

BETA1 Additions/Improvements

 

Startup

BETA1 Version :

Start the program by typing the following on any workstation served by helios :

~nda/idl/imageCatcher     [more specifically, /home/helios/NDA/idl/imageCatcher]

To view this User's Guide, type

~nda/idl/imageCatcher  -h

The program will initialize and attempt to connect to the LINAC video digitizer. Possible messages you may encounter are listed below :

Example Images
If no reasonable image is aquired upon startup, a few test images can be used for experimenting with the imageCatcher capabilities. Copy the files /home/helios/NDA/idl/*.idlImage to your own directory. Then use the Open (IDL) .. option under the file menu to read in this file. [One could avoid the copying step and navigate to /home/helios/NDA/idl from the File Picker window].

Operation

If the startup occurred successfully, an initial image will be fetched from the digitizer and plotted on the screen. The following sections describe the capabilities of the imageCatcher to process this image.

File Menu

Color Menu

The Color menu allows the user to select (or create his own) color table to implement pseudo color in the displayed image. Different color schemes enhance different aspects of the image. The most popular one seems to be "STD GAMMA-II". [NOTE: With this versions of IDL on solaris, it seems necessary to move the cursor into the image for the newly selected color table to take effect.]

Screen ID

View Options

Image Select

PV Specification

Acquire Options

Plot Options

Image Data Plot

This window is where the image is plotted. The description field of the current screen ID is superimposed on the bottom of the image. Also displayed is the min and max pixel values to indicate how much of the digitizers dynamic range is being used.

The user can adjust the Region of Interest box by using the Box Cursor as follows :

  1. Depress the left mouse button while the cursor is in the plot window to enable the Box Cursor
  2. Once the Box Cursor is enabled, move the box around by holding down the left mouse button. Resize the Box Cursor by depressing the middle mouse button near a corner. When the Box Cursor is sized and positioned correctly, depress the right mouse button to complete the movement.
When the Box Cursor procedure is finished, a magnified view of the ROI will be plotted. To toggle between magnified and full view, hit the right mouse button. The left mouse button will only activate the Box Cursor when the full image is being displayed.

Profile Plots

The X and Y profile plots represent the Region of Interest. If the Screen Index is "uncalibrated", the profile plots use pixels as the display units. If the Screen Index has valid calibration data, the plots use the specified units for display.

The amplitude of the profiles is a ratio of the actual sum of pixels as compared to the absolute maximum. This gives at least a relative measurement of the intensities.

Display Options

Comment Line

This is a free form comment string that will be saved in the SDDS file.
 

Associated Snapshot File Name

This is another free form string field that will be saved in the SDDS file. Its intended purpose is to store the name of a snapshot file that contains the machine status at the time the image was captured.

Screen Calibration Program

The Screen calibration program allows editing of the calibration index for a given screen ID. The screen ID (or sometimes referred to as screen index) that is affected by the Screen Calibration program is the one that is "active" (shown in the text entry field of the main screen) at the time Screen Cal is started.

A typical calibration sequence is as follows ...

  1. On the Main screen, ensure that the screen index that you want to calibrate is indicated in the Screen ID # field. The user can enter a value if the desired one is not shown.
  2. Start the Screen Calibration program from the File menu.
  3. Select which box you want to position (ROI or CAL) from the select buttons. Use the Box Cursor position and size the box as desired.
  4. Enter the engineering unit coordinates for the Top Left and the Bottom Right of the calibration box.
  5. Enter in the desired EGU string, select the appropriate rotation, and enter a description.
  6. When all parameters are satisfactory, hit the "Set Calibration Now" button. This will set the calibration for that screen ID for the remainder of the imageCatcher session (unless it is changed later). The program will also prompt to see if you want to save this change permanently to a file. If this is not desired, simply hit Cancel.
A selected screen can be set to "uncalibrated" by hitting the button at the bottom. Subsequent plots of this screen ID will be plotted in pixels.