Newsgroups: sci.engr.biomed,sci.image.processing
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!news.mathworks.com!newshost.marcam.com!zip.eecs.umich.edu!newsxfer.itd.umich.edu!caen!hearst.acc.Virginia.EDU!murdoch!klaatu.med.Virginia.EDU!ble4x
From: elias@Virginia.EDU (Beth Elias)
Subject: Re: Conversion of CT or MR data to a more popular format...?
X-Nntp-Posting-Host: klaatu.med.virginia.edu
Message-ID: <D3Dp1G.37A@murdoch.acc.Virginia.EDU>
Sender: ble4x@klaatu.med.Virginia.EDU (Beth Elias)
Organization: University of Virginia
References: <3go5anINN8bv@skink.cis.ohio-state.edu> <3gov6a$d1c@news.duke.edu>
Date: Thu, 2 Feb 1995 15:15:15 GMT
Lines: 34
Xref: glinda.oz.cs.cmu.edu sci.engr.biomed:3380 sci.image.processing:12362

In article <3gov6a$d1c@news.duke.edu>, Bill Lorensen <lorensen@orion.mc.duke.edu> writes:
|> fayyad@cis.ohio-state.edu (elias antoine fayyad) wrote:
|> > 
|> > Has anyone out there written a piece of C code that would take a
|> > CT or MR image from the Visible Human Project and convert it to
|> > a more popular format?
|> > 
|> > If so, would this person be willing to share the code?
|> > Thanks!
|
|> 
|> You can strip the headers using the unix dd command. For example, to
|> convert a Visible Human MR file with headers,
|> 
|> zcat m_vm3596.pd.Z  | dd ibs=7900 skip=1 >somefile
|> 
|> The header for the CT files is 3416 and can be similarly stripped.
|> 
|> Bill Lorensen
|> GE Corporate R&D
|> 

I've been using khoros to read in raw image files and convert them
to tiff format. khoros is a freeware package from the Univ. of New
Mexico. You can ftp binaries for a bunch of systems. Check the 
newsgroup for more details, comp.soft-sys.khoros

As Bill said you'll need that header info. You can read the file
into khoros as a raw file and just tell it to skip over the header 
before reading the image data. That way you don't have to strip the 
header off the image file before converting it to another format.



