Supported project types
Below is a list of project types support by perClass Mira, they can be selected from the Scans in files tab in the New project dialog.
Generic projects
ENVI
The ENVI project type allows loading of ENVI cubes, it supports the following layouts (interleave): BIP (bip), BIL (bil), and BSQ (bsq), and following data types (data type): UInt8 (1), UInt16 (12), UInt32 (13), Float32 (4), and Float64 (5).
perClass
The perClass project type allows loading of ENVI cubes recorded by perClass Mira from one of the supported acquisition types. It includes correction, which can be point based with correction in the ENVI cube header, or non-uniformity with references as ENVI cubes next to the cube file, which are either directory-specific or scan-specific. It supports loading compressed scans in the .pcz format.
TIP: The perClass project type will not load the reference cubes themselves if selected, this way a lot of scans from a directory may be loaded by selecting all files with Ctrl+A. If it is required to check the reference cubes, then the ENVI project type can be used.
Matlab
The Matlab project type allows loading of cubes from Matlab 7 .mat files, excluding HDF5 based files. The cubes need to be in the BSQ data layout: width over height over bands, supported data types are UInt8, Uint16, Float32, Float64. The first time perClass Mira will request the variable names for the cube matrix and wavelength vector, these variables will be used again the next time.
Vendor-specific projects
Agrowing
The Agrowing project type allows loading of multi-spectral .jpg images, it does require some configuration in the mira.ini file first. Under the [Agrowing] section, a new line may be added for each camera type. The key is used as identifier, which will be shown in the Output panel when the image is loaded. The value consists of multiple sections, separated by a semicolon, in the following order:
- First, the possible sizes that an image could have, defined as <width>x<height>, multiple sizes may be defined separated by a comma. These sizes are used to find the definition to use for an image.
- Next, the amount of filter rows and columns in an image, defined as <rows>x<columns>, can only be provided once.
- Finally, the mapping of R, G, and B to wavelengths, for a single filter the colors can be defined as R<wavelength> G<wavelength> B<wavelength>. Multiple filters can be separated by comma and should be defined in row-major order. If a filter does not provide a color, then it should be omitted.
For instance for the 7Rxx Sextuple, the value could look like this: "7952x5304, 3840x2160; 2x3; R710 G570 B405, R650 G550 B430, R685 G560 B450, R850, R630 G525, R735 B490". Note that the quotes around the value are required.
Corning
The Corning project type allows loading of ENVI cubes saved from Corning software.
Cubert
The Cubert project type allows loading of .cu3 cubes saved from Cubert CUVIS Software. This requires the Cubert CUVIS plugin to be loaded.
Headwall
The Headwall project type allows loading of ENVI cubes recorded on the Headwall MV.X. perClass Mira is also able to load the references from the scan directory and correct the cubes with it.
Inno-spec
The Inno-spec project type allows loading of ENVI cubes saved from perClass Mira or LuxFlux. perClass Mira is also able to load the references from the scan directory and correct the cubes with it.
Spectrocam
The Spectrocam project type allows loading of a directory containing multiple per-band .png images saved from SpectroCam software as a cube.
Senop
The Senop project type allows loading of ENVI cubes saved from the Senop software.
Silios ENVI
The Silios ENVI project type allows loading of ENVI cubes saved from Color Shades Lab.
Specim FX
The Specim FX project type allows loading of ENVI cubes saved from Specim LUMO Scanner. perClass Mira is also able to load the references from the scan directory and correct the cubes with it.
Tiff stack
The Tiff stack project type allows loading of a directory containing multiple per-band .tiff images as a cube. The image names must follow the following naming structure: <name>_ch_<band>_w_<wavelength>.tiff, where <name> needs to match the directory name, <band> the band index, and <wavelength> the band wavelength. The band needs to start at 0 and increment by one for each image and the wavelength needs to be an integer, floating point is not supported.
Unispectral
The Unispectral project type allows loading of ENVI cubes saved from the Unispectral software.