Giter Site home page Giter Site logo

retire2053 / monkeygl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jiwenchen/monkeygl

0.0 0.0 0.0 40.72 MB

A fast c++/cuda library of 3D render for the medical imaging

License: MIT License

Shell 0.08% C++ 53.19% C 46.21% Cuda 0.47% CMake 0.04%

monkeygl's Introduction

MonkeyGL (Monkey Graphic Library)

A fast 3d render library for the medical imaging.
All the calculations are based on the cuda (@Nvidia company).
Totally independent of the OpenGL context.

requirements (so far)

ubuntu 20.04 LTS
cuda 11.6.0
intel cpu
g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Python 3.9.5 python3-dev python3.9-dev

install cuda

linux (tested in Ubuntu)

./install/cuda_install_ubuntu.sh

build project

linux (tested in Ubuntu)

command: bash ./build.sh {project name} {build_type}
project name: cpp / pybind
build type: Debug / Release / Clean
project cpp: will get c++ shared library (libMonkeyGL.so) in ./build, which can be called by cpp.
project pybind: will get pybind11 shared library (pyMonkeyGL.so) in ./pybind11_interface/build, which can be called in python.

examples

cardiac.raw

size: 512 x 512 x 361
spacing: 0.351 x 0.351 x 0.3
direction: [1, 0, 0; 0, 1, 0; 0, 0, -1]
render performance(no sampling): 25 fps
picture: Volume Render of Cardiac

body.raw

size: 512 x 512 x 1559
spacing: 0.7422 x 0.7422 x 1.0
direction: [1, 0, 0; 0, 1, 0; 0, 0, -1]
render performance(no sampling): 25 fps
picture: Volume Render of Body

multi volume rendering with the different alpha value

picture: Multi-Volume Render with alpla as 0.4 of BG picture: Multi-Volume Render with alpla as 0.8 of BG

MPR

picture: Axial picture: Sagittal picture: Coronal

CPR

picture: Stretched CPR picture: Straightened CPR

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.