<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.17114" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=179114908-26102012><FONT face=Arial
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=179114908-26102012><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=179114908-26102012><FONT face=Arial
color=#0000ff size=2>I am trying to input an interfile (named m000-Testi) and
Gate returns the error below. I have created the interfile with xmedcon and have
tried all pixel types (default, uint8 and int16), both endians and writing to
single file. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=179114908-26102012><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=179114908-26102012>
<DIV>Call VoxelParameterized::<WBR>InsertReader</DIV>
<DIV> Range Translator</DIV>
<DIV>', assuming default BIGENDIAN'LITTLEENDIAN</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><BR></DIV>
<DIV>'nrecognised type name 'signed integer</DIV>
<DIV> Header read from 'm000-Testi.h33'</DIV>
<DIV>'Data file name 'm000-Testi.i33</DIV>
<DIV> Nb of planes: 326</DIV>
<DIV> Nb of pixels per plane: 401 401</DIV>
<DIV> Pixel size: 0.4 0.4</DIV>
<DIV> Slice thickness: 1</DIV>
<DIV> Matrix size: 160.4
160.4</DIV>
<DIV> Data type: </DIV>
<DIV> Data byte order:<SPAN> </SPAN>BIGENDIAN</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><BR></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><BR></DIV>
<DIV>'!ror: Could not open header file 'm000-Testi.i33</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=179114908-26102012>Currently my code looks like this:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>
<DIV>/gate/world/daughters/name Polovi </DIV>
<DIV>/gate/world/daughters/insert parameterizedBoxMatrix</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>/gate/Polovi/geometry/<WBR>insertReader interfile </DIV>
<DIV>/gate/Polovi/interfileReader/<WBR>insertTranslator range </DIV>
<DIV>/gate/Polovi/interfileReader/<WBR>rangeTranslator/readTable
Range_atn.dat </DIV>
<DIV>/gate/Polovi/interfileReader/<WBR>rangeTranslator/describe 1 </DIV>
<DIV>/gate/Polovi/interfileReader/<WBR>readFile m000-Testi.h33 </DIV><FONT
face=Arial color=#0000ff size=2></FONT></DIV>
<DIV> </DIV>
<DIV>
<DIV><SPAN class=179114908-26102012></SPAN><FONT face=Arial><FONT
color=#0000ff><FONT size=2>T<SPAN class=179114908-26102012>he Range_atn.dat
looks like this:</SPAN></FONT></FONT></FONT><BR></DIV>
<DIV>
<DIV>4</DIV>
<DIV>1 Air false 0.0 0.0 0.0 1.0</DIV>
<DIV>2 Muscle true 0.5 0.1 0.0 0.5</DIV>
<DIV>3 RibBone true 1.0 1.0 1.0 1.0</DIV>
<DIV>4 Cartilage true 0.2 0.1 0.1 0.8</DIV></DIV></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=179114908-26102012>If you
have any suggestions as to where the error originates from or can spot it in the
code, please enlighten me.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=179114908-26102012><FONT face=Arial color=#0000ff size=2>Best
Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=179114908-26102012><FONT face=Arial color=#0000ff size=2>Jukka
Järvinen</FONT></SPAN></DIV></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=fi dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Lähettäjä:</B> Järvinen Jukka Ilari
<BR><B>Lähetetty:</B> 23. lokakuuta 2012 9:28<BR><B>Vastaanottaja:</B>
'gate-users@lists.opengatecollaboration.org'<BR><B>Aihe:</B> Interfile
input<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=736111706-23102012><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=736111706-23102012><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=736111706-23102012><FONT face=Arial size=2>How do I use
interfile-reader in Gate? I am using vGate 6.2 and would like to import a DICOM
ct-data set to use as world and daughters. If I understand correctly, that is
possible after conversion with the reader.</FONT></SPAN></DIV>
<DIV><SPAN class=736111706-23102012><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=736111706-23102012><FONT face=Arial size=2>Thanks a lot for
your answers!</FONT></SPAN></DIV>
<DIV><SPAN class=736111706-23102012><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=736111706-23102012><FONT face=Arial size=2>Best
regards,</FONT></SPAN></DIV>
<DIV><SPAN class=736111706-23102012><FONT face=Arial size=2>Jukka
Järvinen</FONT></SPAN></DIV></BODY></HTML>