Giter Site home page Giter Site logo

happyxiaotao / scientific-visualization-of-a-cadaver-head Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ruange/scientific-visualization-of-a-cadaver-head

0.0 1.0 0.0 14.3 MB

CG Assignment IV: Scientific visualization of a cadaver head

C++ 91.52% C 8.48%

scientific-visualization-of-a-cadaver-head's Introduction

Scientific-Visualization-of-A-Cadaver-Head

In this assignment,I made a scientific visualization of a cadaver head using vtk(Visualization ToolKit).

Data:

The dataset comes from The stanford Volume Data Archive.

Here is the info of the original cthead data:

Description: 	CT study of a cadaver head
Dimensions:		113 slices of 256 x 256 pixels,
				voxel grid is rectangular, and
				X:Y:Z aspect ratio of each voxel is 1:1:2
Files:			113 binary files, one file per slice
File format:    16-bit integers (Mac byte ordering), file contains no header
Data source:    acquired on a General Electric CT Scanner and provided
            	courtesy of North Carolina Memorial Hospital

I used the 16-bit TIF format data which reformatted from above.

Algorithm:

The main algorithm of the rendering is Marching cubes.

Marching cubes algorithm use for extracting a polygonal mesh of an isosurface from a three-dimensional discrete scalar field (sometimes called voxels). The algorithm proceeds through the scalar field, taking eight neighbor locations at a time (thus forming an imaginary cube), then determining the polygon(s) needed to represent the part of the isosurface that passes through this cube. The individual polygons are then fused into the desired surface.The applications of this algorithm are mainly concerned with medical visualizations such as CT and MRI scan data images, and special effects or 3-D modelling with what is usually called metaballs or other metasurfaces(wiki).

Display:

There are two surfaces rendered,representing skin and bone.The opacity of the surface is adjustable.

Set skin opacity 1:

Set skin opacity 0.5:

set skin opacity 0:

scientific-visualization-of-a-cadaver-head's People

Contributors

ruange avatar

Watchers

 avatar

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.