Animation from CT scan images



Jaymis on Create Digital Motion writes:

On Monday I had a CT scan. If you haven't already, every visualist should go for a ride in a computed tomography machine. It's the best mix of futuristic medicine and video geekness I've ever encountered. As happens with most medical imaging these days, I came away with both a collection of printed films and a CD full of images. However, unlike previous scans and xrays which were generally disparate grainy stills of amorphous organs or bones, these prints showed hundreds of clear, consecutive slices through my body.

Looking at the films I knew immediately that I should be able to use the frames to create an animation. Checking through the CD I found a folder of images named "CT000000″, "CT000001″ etc. Some quick googling informed me that these are DICOM format files, which contain both patient information and imagery.

Anyone on Windows who works with images should know the fantastic, free image viewer/toolkit Irfanview - it's the VLC of the still-image world! Irfanview has a plugin in its default bundle which allows it to read and operate on DICOM files, as long as they have a .DCM extension. Fortunately Irfanview's batch functions feature both Rename and Convert, so I was able to quickly go from the aforementioned folders of consecutively named, extensionless files; to folders filled with consecutively named .BMPs, which any visualist will recognize as a Good Thing.

I can't wait to do this with my MRI images!


Recent Entries

Comments

Oldest comments listed first.

Posted by: Xray on March 14, 2009 at 2:59 AM

Really????

Except for the fact that CT gives a very high dose of ionizing radiation, I couldn't agree more. MRI would be safer.
If your running a Mac, google Osirix and you can d/l CT images that don't mean you need a large dose of xrays!


Posted by: Stephen on March 14, 2009 at 3:21 AM

Computed Tomography is just a way of processing the images - tomography is a way of building up a 3-dimensional image of an object by using 2D slices and computed is because it's faster that way.

Saying that CT gives you a high dose of radiation is kinda up there with saying that Photoshop's Polar Coordinates filter gives you AIDS. The problem is that those 2D slices are generally generated with a powerful X-Ray machine but the technology does date back to 1971 and that's what they were using back then. Even CNN has used a form of tomography, it's a pretty powerful image processing technology.


Posted by: Xray on March 14, 2009 at 8:14 AM

CT safety

Lol! I am sorry! Have I missed something with your analogy? Jaymis suggests "very visualist should go for a ride in a computed tomography machine". So, if you toddle off to your local CT machine and have them scan you, you will receive a high dose of ionising radiation. Period. Your radiation dose (depending on weight) would be around 14mSv, around 20x greater than a plain film x-ray. All ionising radiation carries a risk of developing cancer and so exposure should be medically justified.
If you do want to see images like these, MRI scans would be better.
Now, how do I get rid of photoshop? I sure don't want to catch AIDS from that pesky polar co-ordiante filter...


Posted by: Becky Stern on March 14, 2009 at 9:58 AM

Hey folks, Im sure Jaymis had a medical reason to get a CT scan, he just wanted to do something fun with the imagery! Just like me and my MRI; I never would be able to afford to get one if my insurance weren't footing the bill, so the animations (or in my case, embroidery) are just a happy byproduct of a medical procedure.


Posted by: Adolph Trudeau on March 14, 2009 at 10:06 AM

One of the things making a movie misses out on is the way that medical imaging software adjusts levels/contrast/etc to better see different types of body tissue. Bone is interesting but soft tissue is pretty neat too!

In the below link, someone who had an MRI made a neat wood block puzzle/model of the diagnostic image:

http://neil.fraser.name/news/2008/01/04/

I think he later processed the data into a 3d fly-through but I couldn't find that immediately.


Posted by: Aion on March 14, 2009 at 7:57 PM

neat

yep, did this and more with my brain scan
raw data animated:
http://www.youtube.com/watch?v=P4lMCxklmXU

3D voxelized data:
http://www.youtube.com/watch?v=Rzk-rmciQ5c


Posted by: jaymis.myopenid.com on March 14, 2009 at 10:35 PM

Hi guys. There was indeed a legitimate medical reason for this particular scan.

I've also done another version with the organs included:
http://vimeo.com/3613290

Jaymis


Posted by: Neuroscientist on March 15, 2009 at 8:28 AM

Try this for your MRI Data

You can try Brainvoyager for your MRI data. They have a free Viewer that allows some neat stuff.

Or, can also use SPM if you have a version of MATLAB available. (Just google SPM, download the software and look at the good documentation.) It's released under GNU, but still you need Matlab.


Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television
Holiday Gift Guides from MAKE


Gifts for Dads
More guides: Science and Chemistry, Gifts Under $20, Santa Claus Machines, Geek Toys for Grown Up Girls & Boys


Check out all of the episodes of Make: television

Alex Rider Dream Gadget Contest
Make: Science Room

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter




    Maker SHED

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Subscribe to MAKE Magazine!

    Make: Online authors!

    Gareth BranwynGareth Branwyn
    Senior Editor


    Phillip TorronePhillip Torrone
    Senior Editor
    | AIM | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Current Podcast

    itunesdl.gif Weekend Project: Beetlebot Simple robot from your parts bin that avoids obstacles. Thanks go to Jerome Demers for the original article in MAKE, Volume 12. To download the Beetlebot video, click here or subscribe in iTunes. Check out the complete Beetlebot article... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    MAKE Fascination video series brought to you by Dow

    Make: Education
    MAKE: en Español MAKE: Japan
    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog