Live Import is currently in Public Beta, please report any issues related to the usage of Live Import to Aivia.Support [at] leica-microsystems.com.
The Live Import function imports images (2D or 3D) as they are being acquired on a microscope and converts the file into Aivia's multi-resolution format for 3D display in real-time. The function looks for files being added into a user-specified acquisition folder and assembles the result sequence in Aivia. When acquisition is complete, you can save the compiled file in Aivia TIFF format without additional conversion steps.
To launch Live Import, go to File > Start Live Import.
On this page:
The Live Import dialog user interface is shown on the right. It has multiple options that let you specify the file dimensions and format. You can also choose to apply image fusion (for dual-view light sheet datasets) and add image calibration to the imported file.
The options in the Live Import dialog are as follows:
Specifies the path to the acquisition folder
Specifies the name of the imported file
Specifies the width, or X dimension, of the acquired image in pixels
Specifies the height, or Y dimension, of the acquired image in pixels
Specifies the Z dimension, or number of Z-slices in the acquired image
Specifies the time dimension, or number of total time points in the acquired image
Specifies the number of image channels in the acquired image
Specifies the acquired image layout, or organization of its dimensions
The acquisition order can be as follows (first specified dimension to last specified dimension):
Bits Per Pixel
Specifies the bit-depth of the image; for 12- and 14-bit images, 16-bit is used
This option is available for importing single-channel images only.
Applies fusion to blend acquired image volumes together - this is particularly important for dual-view light sheet microscopes where two image volumes are acquired per time point; you can specify the blending direction - along the X, Y, or Z axes - and choose from two blending modes:
Specifies the lateral, or XY, resolution (unit per pixel) of the acquired image
Specifies the axial, or Z, resolution (unit per Z frame) of the acquired image
Specifies the temporal, or T, resolution (unit per time point) of the acquired image
At the bottom of the dialog, there are six buttons:
Toggles the Live Import Simulator mode, which creates a simulated image sequence based on the parameters specified
Toggles single-file import with incrementally appended data (see the "Supported formats" section of this page)
When enabled, the display will automatically jump to the most recently-converted image
Apply the Current Recipe
Applies the recipe that currently appears in the Recipe Console to the images as they are imported
Starts Live Import mode (or with Simulator enabled, begins creation of the simulated image stack)
Closes the Live Import window without starting Live Import
Live Import window
Certain light sheet microscopes (e.g. mSPIM) can examine a sample from two opposing views to maximize image quality. Reconstruction of the imaged sample for these microscopy platform requires fusion, or blending, of the two captured views to form a single image.
In Aivia, you can set Live Import to automatically fuse the two views when reconstructing the volume. The image below shows a zebra fish embryo imaged from View 2 using a light sheet microscope.
Diagram of a dual-view imaging system with two opposed acquisition objectives (View 1 and View 2). In this example, the sample has a thickness of 800 microns, blending would occur in the 100 micron area on either side of the image midsection.
In the Live Import window, select the blending axis (X, Y, or Z) in the first Fusion menu and the blending mode in the second. Blending will be applied across the whole dataset around the mid-section of the blending axis. There are two blending modes, Linear and Exponential, which correlate to the signal attenuation in the blend area.
Linear: intensity signal attenuates at a constant rate across the blend area
Exponential: intensity signal attenuates slowly at first before reaching a maximum rate at the midpoint and slowing again towards the other edge, as illustrated by the diagram on the right
Live Import currently supports image fusion of a single-channel image only.
Before starting Live Import, make sure that you have sufficient hard drive space for storing the acquired images as well as the Aivia cache folder. When you are ready, go to File > Start Live Import and follow the instructions below:
Specify the acquisition folder where the images will be saved to by either typing the folder path into the Import Folder textbox or by clicking on the Browse icon next to the textbox, navigating to and selecting the folder, and clicking on Select Folder; make sure your acquisition software is set to save the files to the root of the specified folder and not in any subfolders.
Specify the image dimensions in the Live Import dialog.
Make sure the image dimensions specified match the dimensions of the acquired files. Mismatched dimensions may lead to a malformed result image.
Start Live Import by pressing the Start button.
Do not start the image acquisition routine on your microscope until Live Import is active; starting acquisition prior to starting Live Import may lead to improperly formatted results.
Start image acquisition on your acquisition software.
Save the image when acquisition is complete and the full sequence can be viewed.
Select acquisition folder dialog
Live Import automatically updates the displayed volume in 3D View when the acquisition software completes a full frame of image acquisition, composed of a single time point with all Z-slices and channels. Live Import supports use cases with one file or multiple files per acquisition; different file types are supported for each acquisition method.
TIFF, RAW, DAT (tested)
Other formats with native Aivia support (untested)
The acquisition software creates a single file per Z plane, per time point, and/or per channel. When the files are written to disk, Live Import collects them in memory to build a single time point.
Once a full time point is in cache, Aivia will convert the volume into Aivia's multi-resolution format and display the result in 3D View.
SLD (3i), TIFF
The acquisition software creates a single file containing the full structure of the file and updates the file as images are acquired on the system. Live Import will convert the volume and display the result in 3D View as new time points are added into the file.
Actual performance (i.e. how quickly Aivia will display a 3D time point after it is written to disk) will vary significantly based on the hardware used and image dimensions. For a PC with two 1 TB SSD drives, 128 GB of RAM and a modern (2018) high end Intel CPU Aivia can process and display up to 7 GB of data per minute (test image dimensions: 1881x821x844 16 bit, 2.5 GB per time point). Thus, for the test image mentioned Aivia will read, process and display a new time point every 20 seconds approximately.
You can perform a test run of Live Import using the Simulator option in the Live Import window. In Simulator mode, Aivia will initiate a simulated acquisition sequence generating an artificial image volume based on the image dimensions specified once you click Start in the Live Import window. The simulated image will be displayed in Aivia only and will not be stored in the specified acquisition folder.
You can terminate the simulation early by going to File > Stop Live Import to stop Live Import.