RTK/Examples/VarianReconstruction

From Openrtk
Revision as of 09:08, 1 February 2013 by Mvila (talk | contribs) (Created page with "== Varian Reconstruction == The first step before we can proceed with our reconstruction is to convert Varian's geometry into RTKs format using a command line tool. In order...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Varian Reconstruction

The first step before we can proceed with our reconstruction is to convert Varian's geometry into RTKs format using a command line tool. In order to carry out the reconstruction you just need to follow these simple steps:

1. Download Varian dataset, Varian-data

2. Run the application to convert Varian's geometry into RTKs:

 ./rtkvarianobigeometry --xml_file ProjectionInfo.xml --path Scan0/ --regexp Proj_.*.hnd -o varianGeometry

3. Reconstruct varian-data using RTK applications such as rtkfdk algorithm. In this case we are going to reconstruct just a slice (30) of the whole volume:

 rtkfdk \
   --geometry geometry.xml \
   --regexp .*.hnd \
   --path ../Scan0 \
   --output slice30.mha \
   --verbose \
   --spacing 0.25,0.25,0.25 \
   --dimension 1024,1,1024 \
   --origin -127.875,30,-127.875

4. We apply the FOV (field of view) filter, in order to discard everything that is outside our FOV:

 rtkfieldofview \
   --geometry geometry.xml \
   --regexp .*.hnd \
   --path ../Scan0 \
   --reconstruction slice30.mha \
   --output slice30.mha \
   --verbose

5. Finally you can visualize your result with e.g. VV and it should look like the image below:

VarianSnapshot.jpg