Data Export

The tab Data export offers several options to export the results of the segmentation and parameter calculation to common file formats.

3D-Visualization (VTK) files

VTK is a powerful 3D-file format for displaying and rendering 3D scientific data. For larger surface renderings, the visualization tools provided by MATLAB do not provide the needed performance to interactively explore your datasets. For the visualization of complex surface renderings including spatial distribution of objects parameters, we recommend ParaView.

Because the segmentation is based on single voxels, the results of the segmentation have more edges than the microscope images suggest. To reduce the file size and produce more realistic surface renderings, you can use the checkbox Reduce number of polygons by factor. In most cases the default value produces good results.

The option Rotate biofilm will modify the output orientation of the dataset.

In the dropdown menu Output format you can choose between VTK (Paraview) and STL (3D-printing). The STL format is useful for 3D-printing your segmented biofilm. Some 3D printing companies do not accept files with multiple object IDs. You can use the checkbox Force one object ID only to satisfy their requirements.

Flow Cytometry (FCS) files

The Flow Cytometry Standard (FCS) is a standardized file format for flow cytometry data. If you assume that all cubes in your segmentation are pseudo-cells, and if each calculated cube parameter is interpreted as a pseudo-cell cytometry parameter, you can create flow-cytometry-like datasets with BiofilmQ. All calculated properties can be visualized with a FCS-capable plotting program (e.g. FlowJo or many others).

Warning

Due to constraints in the definition of the FCS format, only positive values will be saved. All negative values will be set to zero!

Spreadsheet CSV-files

You can export all cube properties as well as the global biofilm parameters for every frame to CSV-files. This is a text-file format which can be easily imported into a spreadsheet application of your choice (e.g. Microsoft Excel). If your data contains a time series, for each frame of the time series, the export function saves a separate file in the subfolder ‘/data/txt_output’ inside your experiment folder.