convertingRAW - VolumeRC/AtlasConversionScripts GitHub Wiki

Converting a RAW file

The convertRAW.py script allows you to convert a set of RAW images into an atlas. It does not search recursively for the RAW file(s), so the input folder must contain the file(s) to be converted on the first level.

Required packages

The script requires the following python packages:

Prerequisites

To convert the RAW images some modfications are required to the script. The sizeOfRaw variable defines the RAW image size, by default 512x512. The rawByteSwap variable determines if the endianess should be reversed. Both parameters should be correctly adapted to your data before conversion.

Usage

The script takes two input arguments. The <InputFolder> with the images to be converted and the <OutputFileName> where the atlas will be stored.

python convertRAW.py <InputFolder> <OutputFileName>