[Rtk-users] how to draw geometric phantom in RTK?
Jianbing
dongjbstrong at 163.com
Thu Jun 6 10:04:40 EDT 2019
Thanks for your reply, that is very helpful.
There is anthor problem bothing me:
how to determine the voxel size and the data size on mhd file? Using GeometricPhantom.txt, the mhd data has dimensions of 256 * 256 * 256, I could not figure out where the '256' is coming from?
At 2019-06-06 21:16:04, "Aurélien Coussat" <aurelien.coussat at creatis.insa-lyon.fr> wrote:
Hi,
As far as I understand it, the text file accepts all geometries shown in https://en.wikipedia.org/wiki/Quadric, except parabolic cylinder and paraboloid family (as detailed in the last line of http://wiki.openrtk.org/index.php/RTK/Scripts/DrawGeometricPhantom).
The parameters x, y and z refer to the position of the quadric in the space, while a, b and c refer to its size in each of the dimension, respectively. The parameter beta refers to its rotation. The parameter "gray" refers to the value of your phantom within the quadric. Note that gray values add up: for instance if you want a sphere whose value is 2 within a bigger sphere whose value is one, both of them should have the parameter "gray" set to one.
Hope that this is clearer now!
Aurélien.
On Wed, 2019-06-05 at 16:46 +0800, Jianbing wrote:
Hi:
I want to use RTK to draw a geometric phantom. But the only thing I could find is <RTK/Scripts/DrawGeometricPhantom>, and there is only a simple txt file. I could not find any document about how to draw a geometric phantom with such command, what is the meaning of each parameters in the txt file?
rtkdrawgeometricphantom --phantomfile GeometricPhantom.txt -o newPhantom.mha
Furthermore, what documents shoud I refer to to modify these parameters in order to generate my own phantom?
Thanks in advance.
_______________________________________________
Rtk-users mailing list
Rtk-users at public.kitware.comhttps://public.kitware.com/mailman/listinfo/rtk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/rtk-users/attachments/20190606/f33c6a39/attachment.html>
More information about the Rtk-users
mailing list