Exporting cubes
Exporting ENVI cubes provides a convenient way to get a simple ENVI cube representation of images from the perClass Mira workspace. The use-case is further analysis of the images already converted to reflectance.

Upon selecting the export command, we may specify a destination directory and specify optional scan name suffix. This is useful to provide extra information on exported group of images. For example, to distinguish test scans or specific product variety.
For each scan an ENVI cube is created saving two files, namely the ENVI data cube with .bin extension and the text .hdr header file.
Notes:
- Images are exported in exact same representation as in the perClass Mira workspace. This means that, for project types converting scans on load to reflectance, the exported images are stored as reflectance (typically BIP layout, float data type).
- For images that are cropped in the perClass Mira workspace, only the crop area is exported, not the full original image. Therefore, we may use this export type to conveniently focus only on relevant parts of the scans.
- For compressed cubes non-existent content in the background is replaced by zeros. The data is exported from the perClass Mira workspace as is. This means that, if the scans are already corrected into reflectance on load, the reflectance is exported (BIP layout, float data type).