[Gate-users] Interfile input
Järvinen Jukka Ilari
Jukka.Ilari.Jarvinen at tyks.fi
Fri Oct 26 10:59:45 CEST 2012
Hi,
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.
Call VoxelParameterized::InsertReader
Range Translator
', assuming default BIGENDIAN'LITTLEENDIAN
'nrecognised type name 'signed integer
Header read from 'm000-Testi.h33'
'Data file name 'm000-Testi.i33
Nb of planes: 326
Nb of pixels per plane: 401 401
Pixel size: 0.4 0.4
Slice thickness: 1
Matrix size: 160.4 160.4
Data type:
Data byte order: BIGENDIAN
'!ror: Could not open header file 'm000-Testi.i33
Currently my code looks like this:
/gate/world/daughters/name Polovi
/gate/world/daughters/insert parameterizedBoxMatrix
/gate/Polovi/geometry/insertReader interfile
/gate/Polovi/interfileReader/insertTranslator range
/gate/Polovi/interfileReader/rangeTranslator/readTable Range_atn.dat
/gate/Polovi/interfileReader/rangeTranslator/describe 1
/gate/Polovi/interfileReader/readFile m000-Testi.h33
The Range_atn.dat looks like this:
4
1 Air false 0.0 0.0 0.0 1.0
2 Muscle true 0.5 0.1 0.0 0.5
3 RibBone true 1.0 1.0 1.0 1.0
4 Cartilage true 0.2 0.1 0.1 0.8
If you have any suggestions as to where the error originates from or can spot it in the code, please enlighten me.
Best Regards,
Jukka Järvinen
________________________________
Lähettäjä: Järvinen Jukka Ilari
Lähetetty: 23. lokakuuta 2012 9:28
Vastaanottaja: 'gate-users at lists.opengatecollaboration.org'
Aihe: Interfile input
Hi,
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.
Thanks a lot for your answers!
Best regards,
Jukka Järvinen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20121026/3f4130a4/attachment.html>
More information about the Gate-users
mailing list