martijnpieters / mcgpu

Automatically exported from code.google.com/p/mcgpu
1 stars 0 forks source link

More input samples #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Could you please to place / point out more complex voxel geometry files in 
order to check the program ? 

In particularly, is it possible to transfer the data from
http://noodle.med.yale.edu/zubal/index.htm
to penEasy 2008 format ? 

Original issue reported on code.google.com by serdyuk....@gmail.com on 4 Aug 2011 at 10:01

GoogleCodeExporter commented 8 years ago
We have not used the Zubal phantoms with MC-GPU yet but it is totally possible 
to convert these phantoms to the MC-GPU format. We usually use the free 
phantoms from the 
[http://www.itis.ethz.ch/services/anatomical-models/virtual-population/ Virtual 
Family].

To convert the voxel files to the MC-GPU format you will need to read the Zubal 
or Virtual Family phantom data (binary data with an organ number for each 
voxel) and write the data as text with two long columns giving the material 
identification and density of each voxel. Usually it is not necessary to define 
more than 10 biological materials to simulate the human body, many organs have 
similar atomic composition. For the voxel density you can use the nominal 
material density or change the voxel density according to the organ.
You will also need to write some information at the header of the voxel file. 
For information on the header file you can look the sample file in the 
distribution. The format is also described in detail in a chapter 50 of the 
"GPU computing gems" book. 

    Andreu

Original comment by andre...@gmail.com on 16 Aug 2011 at 1:24

GoogleCodeExporter commented 8 years ago
Would you consider making your input specifications available for the Duke 
phantom that you used in your paper?  We're getting the Virtual Family phantoms 
and would like to try out MC-GPU on a cluster of S2050 GPUs.

Original comment by jpnwalt...@gmail.com on 20 Aug 2011 at 12:25

GoogleCodeExporter commented 8 years ago
The utility I uploaded to Google Code reads a binary voxel file with a number 
identifying the organ corresponding to each voxel and outputs an MC-GPU voxel 
file with the Monte Carlo material number and density for each voxel.

You can easily adapt the code and input table to convert the Virtual Family 
phantoms or other phantoms. You just need to modify the conversion table that 
assigns a material and density to a particular organ number.

Make sure the binary file is written in "unsigned char" (1 byte) numbers. You 
can change this in the code if necessary (look for the "fread" code). Also, the 
uploaded zubal2mcgpu.c code inverts the Z axis of the phantom. For Virtual 
Family's Duke you will have to change this, but I think it will be needed for 
Ella. 
You may also need to extend the code to output a portion of the phantom. Having 
all the phantom from head to toes may take too much memory for your GPUs, and 
it is not necessary in many cases.

Original comment by andre...@gmail.com on 26 Aug 2011 at 4:23