Scripts for converting images to the compatible format for the CIL Image Viewer
- Python3
- numpy
- sckit-image
- joblib
- PHP 7.2+
- Sqlite
- IMOD
- ImageMagick
- GDAL (gdal2tiles.py)
python3 conver2galNsqlite.py INPUT_IMAGE_FOLDER OUTPUT_GDAL_FOLDER OUTPUT_SQLITE_FOLDER
Assumption: The image name contains the Z slice index number. For example, "temp.0000.tif"
python3 conver2gal.py INPUT_IMAGE_FOLDER OUTPUT_GDAL_FOLDER
python3 conver2Sqlite3.py INPUT_GDAL_FOLDER OUTPUT_SQLITE_FOLDER
python3 invertImages.py INPUT_IMAGE_FOLDER OUTPUT_INVERTED_FOLDER
python3 conv2uint8-sph.py INPUT_IMAGE_FOLDER OUTPUT_ENHANCED_FOLDER
- This script requires a huge amount of RAM if the image size is in the Gigabyte range
python3 conv2uint8-ww.py INPUT_IMAGE_FOLDER OUTPUT_ENHANCED_FOLDER
- This script rescales the images using ImagMagick