[Rtk-users] Problem while creating a phantom

Vincent Libertiaux vl at xris.eu
Fri Dec 15 09:05:15 CET 2023


Thank you Simon !

V.

On 14.12.23 19:44, Simon Rit wrote:
> Hi Vincent,
> The RTK format for the description of phantom is not good. What 
> happens is that it expects one of three values (A, B or C) to be 0 so 
> that he knows the direction of the cylinder. I would suggest to switch 
> to Fobild's format which is now well handled by RTK in opinion. See
> https://web.archive.org/web/20070611224909/http://www.imp.uni-erlangen.de/forbild/deutsch/results/drasim.html
> From the command line, switch to it with the --forbild flag.
> Simon
>
> On Thu, Dec 14, 2023 at 11:31 AM Vincent Libertiaux <vl at xris.eu> wrote:
>
>     Hi RTK community,
>
>     I am getting unexpected results (see attached picture) when
>     designing a
>     phantom.
>
>     Here is my text file:
>
>     [Box]   A=70   B=15    C=4 z=0,    x=0,    y=0,    beta=0, gray=1
>     [Cylinder] A=0.8    B=15     C=0.8 z=0,    x=0,    y=0,
>     beta=0,     gray=10
>
>     And the command I use for drawing:
>
>     rtkdrawgeometricphantom -o phantom.mha --phantomfile test.txt
>     --spacing
>     0.139 --dimension 1000
>
>     I am expecting a cylinder across my box, but as you can see on the
>     attachment, the cylinder's radius decreases along its axis.
>
>     Could someone please give me a clue on what I am doing wrong ?
>
>     Many thanks,
>
>     Vincent
>     _______________________________________________
>     Rtk-users mailing list
>     rtk-users at openrtk.org
>     https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/rtk-users/attachments/20231215/867906ac/attachment.htm>


More information about the Rtk-users mailing list