<html><head></head><body><div>Hi,</div><div><br></div><div>As far as I understand it, the text file accepts all geometries shown in <a href="https://en.wikipedia.org/wiki/Quadric">https://en.wikipedia.org/wiki/Quadric</a>, except parabolic cylinder and paraboloid family (as detailed in the last line of <a href="http://wiki.openrtk.org/index.php/RTK/Scripts/DrawGeometricPhantomà">http://wiki.openrtk.org/index.php/RTK/Scripts/DrawGeometricPhantom</a>).</div><div>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.</div><div><br></div><div>Hope that this is clearer now!</div><div><br></div><div>Aurélien.</div><div><br></div><div>On Wed, 2019-06-05 at 16:46 +0800, Jianbing wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:18px;font-family:simhei"><div><span style="font-family: "Times New Roman";">Hi:</span></div><div><span style="font-family: "Times New Roman";"> I want to use RTK to draw a geometric phantom. But the only thing I could find is <</span><a href="http://wiki.openrtk.org/index.php/RTK/Scripts/DrawGeometricPhantom" style="text-decoration: underline; font-family: "Times New Roman";"><span style="font-family: "Times New Roman";">RTK/Scripts/DrawGeometricPhantom</span></a><span style="font-family: "Times New Roman";">>, 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?</span></div><div><pre style="font-family: monospace, Courier; color: black; background-color: rgb(249, 249, 249); border: 1px solid rgb(221, 221, 221); padding: 1em; white-space: pre-wrap; line-height: 1.3em; tab-size: 4; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span style="font-family: "Times New Roman";">rtkdrawgeometricphantom --phantomfile GeometricPhantom.txt -o newPhantom.mha</span></pre></div><div><span style="font-family: "Times New Roman";"> Furthermore, what documents shoud I refer to to modify these parameters in order to generate my own phantom?</span></div><div><span style="font-family: "Times New Roman";"> Thanks in advance.</span></div><div><br></div><div><br></div><div><br></div><div><br></div></div><pre>_______________________________________________
Rtk-users mailing list
<a href="mailto:Rtk-users@public.kitware.com">Rtk-users@public.kitware.com</a>
<a href="https://public.kitware.com/mailman/listinfo/rtk-users">https://public.kitware.com/mailman/listinfo/rtk-users</a>
</pre></blockquote></body></html>