Neil's News

My Brain

22 July 2008

Recently I took part in a genetics research experiment. The study was related to Fragile X syndrome[?] and involved two days of mental evaluations and medical exams. I don't have Fragile X, but they needed a normal person as a control subject. Granted, "normal" doesn't really apply to me; according to the debrief I'm nearly three standard deviations away from normal. But it was fun and I got some MRI time.

And of course that meant writing a pile of software to interpret and render the 11 million voxels of data (not only is my software open source, but apparently so am I). Scanning, cropping, histograms, black-equalization, white-equalization, contrast-enhance, scaling, rendering -- all in 3D. In the process I discovered two (inconsequential) off-by-one errors in the MRI scanner's software.

Items of note:

  • The bright thing on my right forehead is a vitamin E[?] marker they taped there so they could determine which side was right and which was left (I'm relatively symetrical otherwise).
  • The hoops around my ears are part of the (otherwise invisible) headset, not part of me.
  • The wide grooves around the back of my head in the 3D view are from the (invisible) rubber goggles -- yes, they really started to dig into my skin after an hour.
  • The data becomes very noisy on the plane near my ears. I was unable to completely eliminate this noise algorithmically. On the 3D view this rendered as two giant walls that obscured the view, so I had to crop them off. Hence no ears.
  • Also note the blood vessels dangling below my severed head on the 3D view (sorry, you weren't eating lunch, were you?).

The X/Y/Z axis animations were pretty straightforward, I'm getting good at them (I rendered a set last year). The rotating 3D view was more challenging. I wrote a Python script which generated a POV-Ray file, then rendered that file. Unfortunately my home computer didn't have anywhere close to the capacity required to even parse the POV-Ray file, let alone render it. But as the sticker on my laptop says, "My other computer is a data center". So I rendered the the whole thing over a weekend using Google's hardware.

If you've had an MRI done and would like linear animations made on each axis (no 3D view), just send me either an animated GIF of one axis or a stack of image slices. I'd be happy to run my software over your data set.


[Wow, the Domino Domino Logic video in my previous post has attracted over 70,000 views. An unexpected hit.]

< Previous | Next >

 
-------------------------------------
Legal yada yada: My views do not necessarily represent those of my employer or my goldfish.