This repository contains some scripts to help converting 3D volume data into a WebGL compatible 2D texture atlas.
The scripts allow you to generate an atlas from different types of volume data sources. These are the supported data types:
- Common image formats like PNG, JPEG... which are supported by PIL
- DICOM
- RAW
- NRRD
Also, there is a template script you can use to adapt it to your own volume data type.
You can found the necessary information about how you can use the scripts and how to visualize the atlas on the wiki.
This package utilizes a setup.py file to install the necessary dependencies and creates a cli command to run the scripts.
To install the package, run the following command from the root directory of the repository:
pip install -e .To run the script, you can use the following command after installation in your environment:
atlas_conversion <path_to_input_file_or_directory> <path_to_output_file_base_name>Further arguments are documented in atlas_conversion --help
- John Congote, Alvaro Segura, Luis Kabongo, Aitor Moreno, Jorge Posada, and Oscar Ruiz. 2011. Interactive visualization of volumetric data with WebGL in real-time. In Proceedings of the 16th International Conference on 3D Web Technology (Web3D '11). ACM, New York, NY, USA, 137-146.