ScanImage 2018b introduces support for cameras to view a widefield image of the sample. This feature can be used to register the widefield camera to the scanner, and find imaging areas from a previous session.

Not intended for Acquisition

Icon

ScanImage 2018b introduces support for USB Cameras for wide field imaging. Currently camera support is limited to viewing at 30Hz. It is not intended to be used for fast data acquisition.

 

Configuring a Camera

Cameras are configurable from the Machine Data File Cameras Tab. The table contains a drop down menu to select cameras based on their type from a list of supported cameras or camera drivers, as well as a field to name the camera.

ScanImage ships with two camera software modules:

Software module 
µManagerWide variety of cameras
SpinnakerPointGrey USB3 and GigE cameras



Accessing Configured Cameras

Cameras, once configured, are available from the Main Controls window of ScanImage under View->Cameras and are listed by name as entered in the MDF. The previously configured µManager ThorLabs camera is listed as Thor. Clicking on this will launch the camera control interface window for the selected camera.

 

Camera Controls Interface

The camera controls interface window, right, is the primary window for controlling configured cameras. On this window are a number of UI controls for various aspects of the camera which are detailed below. 

 

Coordinate space for the live view:

Camera: Camera coordinate space
ROI: Scanner coordinate space

(warning) Enable ROI's must be true to edit this field.

Sets the camera exposure time in ms (question)
Sets the black and white levels for the image display Look Up Table. Pixel values greater than White level are set to the maximum pixel value and values below Black level are set the minimum pixel value. Pixel values between Black level and White level are linearly interpolated for display. The vertical double arrow automatically adjusts the Look Up Table.
Sets the color scale for the live view. Options: Gray, Red, Blue, and Green.

For finding regions from a previous session, reference images can be loaded from files (Tiff or PNG).

Reference Color: Sets the color scale of the reference image
Reference Alpha: will adjusts the transparency of the reference image.

(warning) For raw reference images (Tiff), the LUT is applied to the reference image. For scaled reference images (PNG), the LUT is not applied to the reference image.

Enables the scanner overlay either from the default imaging ROI or from multiple ROIs if mROI mode is enabled for camera to scanner alignement. Below the enable are options to select PMT channel source, Z planes where ROIs are defined as well as ROI alpha to control transparency of the ROIs.

This table exposes dynamic properties specific to the camera.

(warning) Some properties can be read-only

Stops and starts the live acquisition of frames from the camera.

Camera to Scanner Alignment

Scanner alignment is performed as per the Scanner Alignment tutorial.