-
Notifications
You must be signed in to change notification settings - Fork 4
convertingRAW
Ander Arbelaiz edited this page Jul 1, 2014
·
2 revisions
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.
The script requires the following python packages:
- PIL
- NumPy
- ndimage, misc from SciPy library
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.
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>