RTK/Scripts/RayBoxIntersection: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<div class="floatcenter">[[File:RayBoxsinogram.jpg|300px]] [[File:RayBoxFDK.jpg|300px]]</div> | <div class="floatcenter">[[File:RayBoxsinogram.jpg|300px]] [[File:RayBoxFDK.jpg|300px]]</div> | ||
This script uses the file [ | This script uses the file [http://wiki.openrtk.org/images/f/fa/Box.txt Box.txt] as input. | ||
<source lang="bash"> | <source lang="bash"> |
Latest revision as of 00:59, 4 October 2016
Error creating thumbnail: File missing
Error creating thumbnail: File missing
This script uses the file Box.txt as input.
# Create a simulated geometry
rtksimulatedgeometry -n 360 -o geometry.xml
# Create a box volume
rtkdrawgeometricphantom -o box.mha --spacing 1 --dimension 90 --phantomfile box.txt
# Calculate radiological path of the box (ray intersection length)
rtkrayboxintersection -g geometry.xml -i box.mha -o rayboxintersection.mha --spacing 1 --dimension 256
# Reconstruct/Backproject the set of projections
rtkfdk -g geometry.xml -p . -r rayboxintersection.mha -o fdk.mha --spacing 1 --dimension 256