6.1 Command group CAMERA



The commands in the CAMERA command group are used for setting the readout format and the exposure times, generating the flatfields and doing the exposures. There are three ways to get one or more exposures:

  1. single exposures
  2. continuous readout
  3. image series



6.1.1 Time ...

There are several ways to change the exposure time. The simplest way is to type the desired exposure time into the corresponding edit field. Another possibility is to increase/decrease the exposure time using the spin control ( here sophisticated steps to increment/decrement the exposure time are used ). The third way to change the exposure time is to use the << and >> buttons. Here the next pseudo logarithmic value is selected, i.e. those buttons will select the exposure times 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, etc. ms.

Exposure time control


6.1.2 Exposure

Once the settings for the readout format and the exposure time are done, just use to acquire a single image. The data are stored in an array IMAGE(n), where n is the actual image number, that is visible as title of the 'IMAGE n' section of the 'EMMENU' mainpage (see figure above).

A click on opens the double exposure popup menu:

Double exposure popup menu

Select the top entry to start the double exposure. The name in parentheses indicates the macro that is executed between the 1st and the 2nd exposure.
Choose Select and edit macro to receive the following dialog:

Double exposure settings dialog

Here you can browse for/create or edit the macro that is executed between the two exposures of the double exposure. It is up to the user to select and/or create an appropriate macro. ( E.g. TEM image shift, gonio move, etc. ). Here you can also define additional delays. One delay is performed before the macro execution, the other after the macro execution. The intension is to give the shutter time to open, to wait for stabilized conditions, to .... .



6.1.3 Continuous ...

The 'Continuous' dialog is opened with . Various modes for a continuous readout of the slowscan CCD camera are available.

Continuous dialog

This menu is divided in the sections 'Options' and "Alternate format". The next two tables explain the respective choices:

Options:
Display image Each image taken from the camera is shown on the display. If the flatfield option is selected too, the corrected image is displayed.
Display power spectrum The power spectra from the recorded images are calculated and displayed. If the flatfield option is selected too, the power spectra from the corrected data are calculated.
Apply flat correction Apply flatfield correction to the image data.
Alternate format Use the alternate format/time/gain instead of the current format/time/gain. Note: the current settings for format/time/gain are not changed.
Fix viewport The images and the power spectra are displayed at fix viewports instead of incrementing the viewport numbers automatically.
Manual trigger If this option is selected an image is taken when you press the <RETURN> or the <ENTER> key.


Alternate format:
Format opens a drop-down box where you can select one of the available camera formats.
Exposure time The alternate exposure time is selected in the same way as in Exposure time.
Gain Either 'Low' or 'High'.

With the continuous readout begins. It is stopped with the <SPACE> key on the keyboard. You can change the scaling of the powerspectra with the number keys <0> to <9> while the continuous readout works.

6.1.4 Series ...

Clicking on opens the 'Series' dialog, which is used for the acquisition and analysis of whole image series.

Series dialog

The 'Series' dialog is divided into 5 sections:
In the section 'Image numbers' you have to select the first and the last image number of the series you want to acquire/display/align/average.
In the 'Acquisition' section you can select whether you want to acquire a focus series, a tilt series, a time delay series or a double rotation tilt series. Besides that you have to enter the corresponding parameter right to your selection. The focus change / tilt change or the delay will take place after each exposure of the series. The double rotation tilt first takes 4 images at the inner tiltangle and then 12 images at the outer tiltangle. The series begins with the given startangle.
In all cases the initial values are restored after the series acquisition.
With the series acquisition begins. Stop the acquisition with the <SPACE> key at the keyboard.

Series dialog (delay series acquisition)

If the acquisition mode Delay is selected, the section 'Acquisition options' is enabled. In this mode there are 2 more options available. Check 'Continue after last image with first image...' if you wish that the data is stored in the image series defined by first image and last image like in a ring buffer. I.e. if the last image of the series is acquired, the series acquisition does not stop, but continues to acquire images. The images are written over the already acquired images from the beginning without any warning, so that they are lost. This acquisition continues until the space key is pressed.
Since the series acquisition is intended to acquire images with high speed, none of the images is displayed during an acquisition. If however the ringbuffer option is used, you might want to have a look at some of the images during acquisition to see if a certain event already occured. To do so, check the option 'Display every N-th image' and select an appropriate value for N. Now every Nth image is displayed. Note: Due to the effect that the scaling of the image and the displaying takes time, the time intervals between acquired images are no more equidistant.

In the 'Display' section you have several ways how to display the image series data.

Series
Display the images of the series. Each image is displayed in a different viewport. If all viewports are used, the viewports are overwritten.
Movie
Display the images of the series like Series, but all images are displayed in the same different viewport again and again until the SPACE key is pressed. Before that the 'Movie dialog' will open:

Here the appearance of the movie can be influenced:
Scale mode
Here the scaling is selected, whether each image is scaled individually ( i.e. scaled depending on its individual mean and deviation values ) or whether there is a fix scaling for all images that is computed of the mean and deviation of the first image of the series.
Loop mode
This option determines how to act when the last image of the series has been displayed. Repeat from beginning restarts the movie with the first image, whereas Ping pong shows all images in reverse order until the first image is shown, then it starts from the beginning.
Overlay
This option selects whether the user data information is shown in the overlay plane or not.
Power spectra
Display the power spectra of the images of the series.
Hint: if the radio button in the Acquisition section is set to 'Rotate tilt' or 'Double rotation tilt', all spectra are displayed in one image as a Zemlin tableau.

Averaged power spectra
Compute the power spectra of all images of the series and display the averaged result.
Crosscorrelation peaks
Calculate the relative displacement between each two successive images of the series and display both the crosscorrelation function, the found peaks and the overall displacement as a polygon on the display screen. The displacement data is stored in the user data of each image. If 'Cut auto-correlation peaks' is selected, a small square area around the origin is set to zero to avoid/reduce influence of autocorrelation. On the other hand selecting this option may produce undesired results if the displacement of the images is very small. In this case, the correlation peak may also be cut away.

In the 'Post processing' section there are two buttons to align or average image data.

Align series images
All the images of the series are aligned to the first image of the series with subpixel accuracy. The area that is not common to all images of the series is cut away. It is necessary to call 'Crosscorrelation peaks' before, since the displacement data in the image's user data is required.
Average images
All the images of the specified series are added up and after that divided by the number of images. The result is stored in the image that is specified in the edit field labeled 'Result image number'. It is recommended (but not necessary) that 'Align image series' is called before. The user data of the first image of the series are copied to the result image.


6.1.5 Format ...

The 'Camera format' dialog is started with . Here you can select the camera readout format, exposure mode, gain, readout speed, the shutter and whether flatfield correction is applied or not.

Camera format dialog

The 'Camera format' dialog has six sections:

In the section 'Camera' you can select one of maximal two available cameras listed there.

In the section 'Format' you can select one of ten different formats which are listed there. If the size(x/y) changes, all the memory will be rearranged, i.e. all data in memory are lost (you will be warned before you leave the page). The size(x/y) column shows how many pixels (binned or not) are actually read into the memory, e.g. for a camera with maximal 1024x1024 pixels both formats 512/binning=1/center and 512/binning=2/full will deliver an image with 512x512 pixels, whereas 1024/binning=1/full and 512/binning=2/full will show the same image contents, but the first with 1024x1024 pixels and the second with 512x512 pixels. The column Area defines whether the data is acquired from the whole chip area (full), of the center of the chip area (center) or any area (any). The column number shows how many images of those formats are available ( memory dependent ). To change the available formats, you have to change the configuration file for the camera settings (see also Frequently Asked Questions (FAQ) section EMMENU).

In the section 'Exposure mode' you can select one of the four exposure modes:
'normal' will take a normal exposure with the selected exposure time and is generally default.
'dark image' will acquire dark image with the selected exposure time.
'normal + dark' will acquire first a dark exposure and immediately after that a normal image, both with the selected exposure time.
'bias image' will acquire a bias image (= dark image with exposure time = zero).

In the section 'Gain' you can select the gain mode with the spin controls and .

In the section 'Readout speed' you can select the camera readout speed number using the spin controls and .

In the section 'Shutter' you can select the shutter for image acquisition:
'exposure' uses the exposure shutter of the TEM
'beam blanker' uses the TEM's beam blanker.

In the section 'Options' you can select whether an automatic flat correction will be performed after an exposure in 'normal' or 'normal + dark' mode. This option is only selectable if flatfields for the desired format + gain setting + speed + shutter mode are available.
If the option Auto increment is selected, the image number is automatically increased before each exposure until the last image is reached. If the last image is reached, a dialog will open and ask how to proceed: Continue with image 1 or stop auto increment.
Note: you have to create flatfields for each combination you want to use.



6.1.6 Flatfields ...

The 'Create flatfield' dialog is opened with .
CCD cameras are strongly linear within a wide dynamic range. Therefore inhomogenities of the phosphor screen and transmission of the fiber optics are clearly visible specially in the power spectra. This can be removed with the flatfields command using a dark image and a homogeneous illuminated image (flatfields). These images must be created for each camera format, subarea, binning factor, gain and readout speed individually.

Create flatfield dialog

In the section 'Current format' is the actual camera format displayed.

In the section 'Exposure time in ms' you can change the exposure time. The default value is taken from the main dialog.

The 'Adjustment' section:
This section is used to prepare the system for generating flatfields.
With a click on the button a continuous readout of the camera is started (stop it with the <SPACE> key). The image, its maximum and mean value are displayed on the screen. The illumination should be adjusted such that the mean value is less than the half range of the dynamic range of the camera. E.g. about 2048 for 12-bit (-> max. 4095) cameras. Ensure that there is no overflow in the image data.
Pushing the button takes an image without flatfield correction. The image, its maximum and mean value are displayed on the screen.

In the 'Acquisition' section the flatfield is created with . First the desired number of dark images is acquired, then the dark images are averaged and stored. After that the desired number of flat images are acquired and averaged. Using both the averaged dark data and the averaged flat data the flatfield correction data are calculated.
The desired number of exposures is set in the 'Exposures' field.
Hint 1: more images will reduce the influence of noise, but it takes even more time to create the flatfields.
Hint 2: the number of exposures is a power of 2 out of the interval [1, 128].

If the option Create only new darkfields is checked, only new dark fields ( i.e. no flat images ) are acquired.

The options Remove hot pixels in dark images and Remove hot pixels in flat images then the acquired images are checked for hot pixels. Those hot pixels are replaced by the mean of the neighbours.

'Check and save' section:
Display the calculated darkfield.
Display the calculated flatfield.
Display a corrected exposure. Note: you must generate the flatfield before you correct any data.
Calculate and display the powerspectrum of the last exposure.
Store the acquired dark and flat data in a file. By default flat data will be stored in the directory ...\tcl\emmenu\tem1000, whereas '...' means the directory-path to tcl root directory.

A click on button will open a dialog box that prompts for a safety check whether this flatfield is really to be deleted.
Yes to all deletes all flatfields without further prompting,
No to all terminates the deleting of flatfields,
Yes deletes this flatfield and prompts again for the next one and
No does not delete this single flatfield and prompts again for the next one.

Delete flatfields dialog

Hint: How to acquire flat correction data:

  1. Ensure homogenious illumination, i.e. look for a 'hole' in your specimen or retract the holder.
  2. Use continuous readout or exposure (uncorrected) to adjust the illumination intensity and select the exposure time.
  3. Select the number of exposures.
  4. Start the flat data acquisition
  5. Check whether dark data and flat data look reasonable.
  6. Take an corrected exposure (still with the same 'hole'). There should be no structure (e.g the 'chicken wire') visible in the image.
  7. Look at the power spectrum. There shouldn't be any strong peaks.
  8. If one of the checks fails, repeat this sequence, otherwise store the data.

This procedure is also described in: Frequently Asked Questions (FAQ) section Camera.


Uncorrected image with homogenious illumination
Note the "chicken wire"
The corresponding power spectrum.

A flatfield image
Note, that it is inverted in EMMENU, if the camera dynamic is 12bit ( or less ).



© TVIPS GmbH 1998, 1999, 2000

Last update: