<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD><TITLE>Interfile format for STIR</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3268" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=609221214-24042008>Dear Kris,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=609221214-24042008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=609221214-24042008>Thanks for your answer for my question.
</SPAN></FONT></DIV>
<DIV dir=ltr><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr>that's weird. I haven't seen anything and can't immediatelly find
anything in the mailing lists archive</DIV>
<DIV>
<P><FONT face=Arial><SPAN class=609221214-24042008><FONT color=#0000ff size=2>I
realized that the email address I found on the web site <A
href="http://stir.sourceforge.net/">http://stir.sourceforge.net/</A> (<A
href="mailto:stir-users@lists.sourceforge.net">stir-users@lists.sourceforge.net</A>)
is not the correct one. </FONT></SPAN></FONT></P>
<P><FONT face=Arial color=#0000ff size=2><SPAN class=609221214-24042008>I will
be more specific about what I am trying to do for attenuation
correction. We have data of a voxellized phantom simulated with
an interfile of a CT scan using GATE and we want to reconstruct the data.
What I thought that I need to do for attenuation correction as a
part of precorrection using "correct_projdata" is to use the interfile of a CT
scan used for the simulation as input of "attenuation image filename". So I
simply copied the example of an interfile header file you sent to me and
changed the file name for "name of data file" and matrix sizes and scaling
factors to be correct for the interfile of a CT scan. Then I ran
"manip_image" to see whether that simple changes work. It did not work and
I have gotten the following message</SPAN></FONT></P>
<P><FONT face=Arial color=#0000ff size=2><SPAN class=609221214-24042008>WARNING:
Interfile Warning: only 'type of data := PET'
supported.</SPAN></FONT></P><FONT><SPAN class=609221214-24042008>
<P><FONT face=Arial color=#0000ff size=2></FONT><BR><FONT face=Arial
color=#0000ff size=2>WARNING: read_data: error after reading from
stream.</FONT></P>
<P><FONT face=Arial color=#0000ff size=2></FONT><BR><FONT face=Arial
color=#0000ff size=2>WARNING: read_interfile_image: error reading data or scale
factor returned by read_data not equal to 1</FONT></P>
<P><FONT face=Arial color=#0000ff size=2></FONT><BR><FONT face=Arial
color=#0000ff size=2>ERROR: DiscretisedDensity::read_from_file: test.hv seems to
be in an unsupported file format</FONT></P>
<P><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=609221214-24042008>I am wondering whether plugging the CT
scan still works for "correct_projdata" even though "manip_image" does
not work or an interfile of a CT scan cannot be used as input for
STIR. I tried to "manip_image" with an interfile of a PET scan
and I did not get the above error message. </SPAN><SPAN
class=609221214-24042008> </SPAN></FONT></FONT></FONT></P>
<P><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=609221214-24042008>Here is the header file I used for
"manip_image"</SPAN></FONT></FONT></FONT></P>
<P><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=609221214-24042008>!INTERFILE :=<BR>name of data file :=
m000-sel_CT_scan_bigVox.i33 <BR>!GENERAL DATA :=<BR>!GENERAL IMAGE DATA
:=<BR>imagedata byte order := LITTLEENDIAN<BR>number format := float<BR>!number
of bytes per pixel := 4<BR>number of dimensions := 3<BR>matrix axis label [1] :=
x<BR>!matrix size [1] := 128<BR>scaling factor (mm/pixel) [1] :=
3.90625<BR>matrix axis label [2] := y<BR>!matrix size [2] := 128<BR>scaling
factor (mm/pixel) [2] := 3.90625<BR>matrix axis label [3] := z<BR>!matrix size
[3] := 21<BR>scaling factor (mm/pixel) [3] := 1.27999<BR>number of time frames
:= 1<BR>image scaling factor[1] := 1<BR>data offset in bytes[1] :=
0<BR>quantification units := 1<BR>!END OF INTERFILE
:=<BR></SPAN></FONT></FONT></FONT><FONT face=Arial><FONT color=#0000ff><FONT
size=2><SPAN class=609221214-24042008></P></SPAN></FONT></FONT></FONT>
<P><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=609221214-24042008>Thanks,</SPAN></FONT></FONT></FONT></P>
<P><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=609221214-24042008></SPAN></FONT></FONT></FONT> </P>
<P><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=609221214-24042008>Hyejoo</SPAN></FONT></FONT></FONT></SPAN></FONT></P></DIV>
<P><pre wrap>
=====================================================================
Please note that this e-mail and any files transmitted with it may be
privileged, confidential, and protected from disclosure under
applicable law. If the reader of this message is not the intended
recipient, or an employee or agent responsible for delivering this
message to the intended recipient, you are hereby notified that any
reading, dissemination, distribution, copying, or other use of this
communication or any of its attachments is strictly prohibited. If
you have received this communication in error, please notify the
sender immediately by replying to this message and deleting this
message, any attachments, and all copies and backups from your
computer.
</pre></P></BODY></HTML>