RTK/Scripts/DrawGeometricPhantom: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div class="floatcenter">[[File:NewGeometries.jpg|300px]] [[File:NewGeometries2.jpg|300px]]</div> | <div class="floatcenter">[[File:NewGeometries.jpg|300px]] [[File:NewGeometries2.jpg|300px]]</div> | ||
This script uses the file [ | This script uses the file [https://data.kitware.com/api/v1/item/5b179c928d777f15ebe20208/download GeometricPhantom.txt] as input in order to create a cone inside a cylinder. | ||
<source lang="bash"> | <source lang="bash"> |
Latest revision as of 11:14, 12 November 2018
Error creating thumbnail: File missing
Error creating thumbnail: File missing
This script uses the file GeometricPhantom.txt as input in order to create a cone inside a cylinder.
# Create a 3D geometric phantom
rtkdrawgeometricphantom --phantomfile GeometricPhantom.txt -o newPhantom.mha
This script is a short example that allows you to create a previously specified geometric phantom.
RTK accepts all geometries shown in Wiki Quadric, exceptions ( parabolic cylinder and paraboloid family )