Skip to content

High performance, out-of-core CT/MRI volume visualizer for very large datasets using the Unity game engine

License

Notifications You must be signed in to change notification settings

walcht/com.walcht.ctvisualizer

Repository files navigation

Unity CTVisualizer

A Unity3D package for efficiently visualizing and manipulating large-scale volumetric datasets.

Installation

This project makes use of a native C++ rendering plugin. To get started:

  1. follow the instuctions in TextureSubPlugin to compile the plugin for your target (Windows, Linux, or Android)
  2. install the CVDS Python converter from here

Tested on these Unity versions:

Unity Version OS Status Notes
2022.3.17f1 22.04.1-Ubuntu
2022.3.17f1 macOS 14.2.1

Usage

UnityCT-Visualizer is a UI-centric application, i.e., all operations are mainly done through the provided GUI. To visualize a CT/MRI dataset within the Unity Editor:

  1. convert your dataset into CVDS format using the CVDS Python converter package

  2. run the default provided Unity scene

  3. click on import to import the converted CVDS dataset

  4. once the import is done, the volumetric object should appear along with additional UI components

  5. in the Visualization Parameters UI component, choose the transfer function (currently only 1D is supported). you can also change the interpolation method (choose trillinear for best quality)

  6. the default TF is TF1D, its UI will be shown in the bottom:

    • green line is for opacities (i.e., alpha) classification
    • bottom gradient color band/texture is for colors (no alpha) classification
    • changes are real-time reflected in the volumetric object visualization

Project Structure

TODO

Optimization Techniques

Empty space skipping

TODO

Early ray termination

TODO

Performance Statistics

TODO

License

License: MIT See LICENSE.txt file for more info.

About

High performance, out-of-core CT/MRI volume visualizer for very large datasets using the Unity game engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published