Skip to content

Foam (4D)

Introduction

In this hands-on tutorial, we will take a look at how we can use RECASTX to explore a 4D dataset from a dynamic tomography scan (tomoscopy).

Prerequisites

This tutorial assumes you have already followed our installation guide to install the reconstruction server and the GUI client on a server machine and a client machine, respectively. You will also need to install foamstream on the server machine in order to stream the data from files.

We are going to use the Foam dataset offered by TomoBank. Go to the homepage, and then navigate to Datasets/Dynamic/Foam data and download the file dk_MCFG_1_p_s1_.h5. You can also find the description of the dataset there.

Running

Streaming the data

Open a terminal and run:

foamstream-tomo --datafile <Your/folder/dk_MCFG_1_p_s1_.h5>
You can find the shapes of the Dark, Flat and Projection images from the output of foamstream.

Starting the reconstruction server

Open another terminal and run:

recastx-recon

Starting the GUI client

Open a terminal and run:

recastx-gui

Set the following parameters in the GUI:

  • Set Column Count, Row Count and Angle Count to 2016, 1800 and 300, respectively.

Make sure the SCAN MODE is set to Discrete and click the Process button.

Foam slices

Three high-resolution slices

Note

We turned off the volume reconstruction in order to save the network bandwidth for visualization. See Performance consideration for more details. Therefore, there is no preview while dragging the slice.