The current composite view, exactly as shown in the ilastik viewer, can be exported using the “camera” button in the upper right corner of the image viewer.
You can control exactly which layers are visible and their respective opacity in the layer widget in the lower left corner. This feature is especially useful to produce videos of tracking or 3D segmentation results, overlayed with raw data. You can use the camera button in any applet of ilastik and export any view that is displayed.
Results of various ilastik workflows can be exported for later use by
other ilastik workflows such as using pixel classification outputs in object classification or tracking workflows or
analysis software such as Fiji.
In all workflows, there is a designated applet to export results (see, for example the “Prediction Export” step in pixel classification or “Density Export” step in counting). Besides, individual layers in the layerstack can be exported by right-clicking on them and choosing the “Export…” item from the context menu. This page is a general introduction to the options of the export interface.
The export step is handled through the data export applet in ilastik. In pixel classification, for example, the applet is called “Prediction Export”. The GUI can be used to change export settings as well as to bulk export all of the data. The following controls are available in the panel:
Source: offers a drop-down menu of layers which can be exported. For example, in pixel classification you can export label probabilities or segmentations.
Choose Settings: opens the export settings dialog explained below. Here you can control all the necessary parameters to export what you need, where you need.
Export All: runs the export for all input files based on the settings, including output file names and locations, specified in the export settings dialog.
Delete All: removes all output files.
On the right you can see all your datasets listed by their nickname, as defined in the data selection applet. The nickname is usually the name of the input file or, for stacks, a combination of the names of the files in the stack. Besides, you can see the location of the output file, where the results for this dataset will be exported. To change the location, open the export settings dialog by clicking the Choose Settings button on the left. The Export button generates individual output files corresponding to the selected dataset.
Note: if you export probability maps (pixelwise prediction results) and want to view them in other software, convert them to data type “integer 8-bit” and check the “Renormalize” check box to change the range.
{dataset_dir}
- the directory containing the original raw dataset{nickname}
- the ilastik nickname of the raw dataset (usually the input file name for single file datasets and a combination of input file names for stacks){result_type}
- the selected ilastik result source{roi}
- The region-of-interest as specified in the “Cutout Subregion” settings.{x_start}
, {x_stop}
, {y_start}
, {y_stop}
, etc - Specific axis start/stop boundaries for the region-of-interest{slice_index}
- The index of each slice in an exported image sequence (required for all image sequence formats, not allowed with any other format).Your export results can be previewed in the viewer. Typically, three layers are shown:
Besides exporting the images you see in the viewer, ilastik allows to save the results of tracking and object classification in the form of csv tables or hdf5 files.