Neil's News

+ 2010
+ 2009
+ 2008
- 2007
 Sequence Converter
 Widgetless
 Visa Swap
 Voxel Brain
 Quake
 Prefix Matching
 12 Girls Band
 Waves to Wine
 Sphere Builder
 SF Panorama
 Global Warming
 Cycling at Mach 1
 First Steps
 Power
 Who Gadget
 Transposing Diffs
 Bike to Work
 Google Code
 Spaghetti Monster
 Visitors
 Maker Faire 2007
 Brave New World
 420
 COMP2405
 H-1B Visa
 Mandelbrot Scroll
 Carved Links
 New Page
 Moo Inspector
 Fridge Letters
 Vet Tax
 Boredom and Frustration
 Crescent Moon
 Nesting
 Queen Mary 2
 Social Security
 SketchUp
 San Francisco
 Traffic Bugs
+ 2006
+ 2005
+ 2004
+ 2003
+ 2002

Voxel Brain

19 November 2007

Magnetic resonance imaging[?] produces extremely detailed and valuable data. Visualizing that data can be a challenge. Often one gets the data in the form of an animated view of slices from one side of the subject to another. Here's a Python script which takes these slices, reconstitutes the object in memory then reslices it on other axises.

Original right-left animation. [Side view of human MRI slice]
Computed top-bottom animation. [Top view of human MRI slice]
Computed front-back animation. [Front view of human MRI slice]

This particular scan contains over 9 million voxels. Fortunately the voxels appear to be cubes, so no scaling is required. Humans are annoyingly symmetrical, so I'm uncertain if the original animation is left-right or right-left -- thus the computed slices might be mirrored.

< Previous | Next >

 
-------------------------------------