Skip to content

Scripts to help converting a 3D volume texture into a WebGL compatible 2D atlas of slices

License

Notifications You must be signed in to change notification settings

bsandbro/AtlasConversionScripts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atlas Conversion Scripts (python3 package version)

Introduction

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.

Documentation

You can found the necessary information about how you can use the scripts and how to visualize the atlas on the wiki.

Set-up

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 .

Running

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

Related Publication

  • 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.

About

Scripts to help converting a 3D volume texture into a WebGL compatible 2D atlas of slices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%