[Gate-users] problem with voxelized phantom (Mohsen Sadat shahabi)
Ahmed Elmekawy
ahmedfelmekawy at gmail.com
Wed Oct 15 20:00:06 CEST 2014
Hi User,
your macro should read the header which is h33, I am not sure why your
macro doesn't able to read the header.
Regards,
Ahmed
On Tue, Oct 14, 2014 at 3:52 AM, Said Kaddouch <saidkaddouch at gmail.com>
wrote:
> Dear Ahmed
>
> I want to use Zubal voxelized phantom in my simulation. I converted the
> Zubal data format to interfile using
>
> (X)Medcon as follows :
>
>
> Number of images [1]? 243
>
> General header offset to binary data [0 bytes]? 0 (or 4096)
>
> Image header offset to binary data [0 bytes]? 0 (or 4096)
>
> Image header repeated before each image [No]? No
>
> Swap the pixel bytes [No]? No
>
> Same characteristics for all images [Yes]? Yes
>
> ALL IMAGES
>
> ----------
>
> Absolute offset in bytes [0]? 0
>
> Image columns [0]? 128
>
> Image rows [0]? 128
>
> Pixel data type:
>
> 1 -> bit
>
> 2 -> Int8 3 -> Uint8
>
> 4 -> Int16 5 -> Uint16
>
> 6 -> Int32 7 -> Uint32
>
> 10 -> float 11 -> double
>
> 12 -> ascii
>
> 20 -> RGB
>
> Your choice [4]? 5
>
> after running my macro with virtual GATE6.2 the following messages appear
> and running procedure aborts.
>
> '!ror: Could not open header file 'zubal_phantom.i33
>
> [Core-0] Initialization of geometry
>
> -------- EEEE ------- G4Exception-START -------- EEEE -------
>
> *** G4Exception : GeomSolids0002
>
> issued by : G4Box::G4Box()
>
> Dimensions too small for Solid: hof_zubal_solid!
>
> hX, hY, hZ = 0, 0, 0
>
> *** Fatal Exception *** core dump ***
>
> -------- EEEE -------- G4Exception-END --------- EEEE -------
>
> Gate can not open the header file. what to do to solve this problem.
>
> can you help me please?
>
> 2014-10-13 22:59 GMT+02:00 Ahmed Elmekawy <ahmedfelmekawy at gmail.com>:
>
>> Hi Mohsen,
>>
>> Yes, you can use Xmedcon program to convert whatever you need, which mean
>> dicom or analyze format image to interfile format, that mean " xxxx.dcm
>> or xxxx.hdr and xxxx.img to xxxx.h33 and xxxx.i33" .
>>
>> Use this link ( http://xmedcon.sourceforge.net/Main/Download ) to
>> download the package but use Windows package not Mac iso package because
>> Mac iso doesn't have viewer screen as I tried before may be it will work
>> with you for Mac, after install Xmedcon with windows system, you can open
>> the image and save as the image with interfile format and you will get
>> image with extension h33 and i33.
>>
>>
>> Best Regards,
>> Ahmed
>>
>> On Sun, Oct 12, 2014 at 8:49 PM, xcao <xcao at mail.ihep.ac.cn> wrote:
>>
>>> hello,mohsen
>>>
>>> You may use the software xmedcon to try, it can transfer xcat
>>> data to Gate。
>>>
>>> Shelly
>>> ------------------------------
>>> xcao
>>>
>>> *From:* gate-users-request
>>> <gate-users-request at lists.opengatecollaboration.org>
>>> *Date:* 2014-10-12 16:54
>>> *To:* gate-users <gate-users at lists.opengatecollaboration.org>
>>> *Subject:* Gate-users Digest, Vol 101, Issue 12
>>> Send Gate-users mailing list submissions to
>>> gate-users at lists.opengatecollaboration.org
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>> or, via email, send a message with subject or body 'help' to
>>> gate-users-request at lists.opengatecollaboration.org
>>>
>>> You can reach the person managing the list at
>>> gate-users-owner at lists.opengatecollaboration.org
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of Gate-users digest..."
>>> ------------------------------
>>>
>>> Message: 2
>>> Date: Sun, 12 Oct 2014 10:45:04 +0100
>>> From: Mohsen Sadat shahabi <s.mohsen_shahabi at yahoo.com>
>>> To: "gate-users at lists.opengatecollaboration.org"
>>> <gate-users at lists.opengatecollaboration.org>
>>> Subject: [Gate-users] problem with voxelized phantom
>>> Message-ID:
>>> <1413107104.80514.YahooMailNeo at web171705.mail.ir2.yahoo.com>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> Hello Gate Users
>>>
>>> I want to use Zubal phantom in gate and downloaded zubal .dat file from internet.
>>>
>>> I converted this file to .hdr+ .img files using imagej software. I used this files for voxelized phantom
>>> and it do not work.
>>>
>>> Now i think maybe converting the .dat file to .h33 + .i33 files works. I searched whole internet an there is nothing about .i33 file.
>>>
>>> Can anyone help me for converting .dat file to .i33 file?(i already added intrerfile_Tp pluging to imagej, but there is nothing about .i33 or .h33)
>>> thanks in advance
>>> mohsen
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL: <
>>> http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20141012/59a82f7e/attachment.html
>>> >
>>>
>>> ------------------------------
>>>
>>> _______________________________________________
>>> Gate-users mailing list
>>> Gate-users at lists.opengatecollaboration.org
>>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>>
>>> End of Gate-users Digest, Vol 101, Issue 12
>>> *******************************************
>>>
>>> _______________________________________________
>>> Gate-users mailing list
>>> Gate-users at lists.opengatecollaboration.org
>>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>>
>>
>>
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20141015/6d6d18d7/attachment-0001.html>
More information about the Gate-users
mailing list