Skip to content

sgasilov/ez_ufo

Repository files navigation

EZ-UFO

Introduction

EZ-UFO provides a graphical interface to the data reconstruction tools of the ufo-kit software package (https://github.com/ufo-kit). It can be used to find the center of rotation and reconstruct X-ray microCT slices, to optimize reconstruction parameters, and to batch process multiple data sets after an experiment.

Distributed without warranty of any kind.

Main Tab Image Viewer
drawing drawing

Installation Requirements

  1. Working installation of ufo-core, ufo-python-tools, ufo-filters, tofu, and concert is required. This version was tested with

Installation Instructions

  1. Install Python 3.8
  1. Install virtualenv

    • python3.8 -m pip install virtualenv
    • virtualenv –python=$(which python3.8) ~/my_venvs/bmit38
  2. Activate virtualenv

    • source ~/my_venvs/bmit38/bin/activate
  3. Install python modules

    • pip install -r requirements.txt
  4. Download and install Tofu

  5. Install EZ_UFO

How it works

drawing

It the beginning ezufo creates a list of paths to all CT directories in the input directory recursively. A CT directory is defined as any directory, which containing a set of flats, darks, tomo, and, optionally, flats2 subdirectories. These subdirectories must contain only *.tif files with CT data. Names of directories with CT data sets are compared with the directory tree in the output directory. Those CT sets will be reconstructed, whose names are not yet in the output directory. Ezufo will create a list of formatted ufo-launch/tofu commands according to defined parameters. These commands can be executed or printed on the screen.

Three or more pre-processing steps can be applied to data:

  • An arbitrary pipeline of ufo-launch filters
  • Removal of large spots (scintillator defects)
  • Paganing/TIE phase retrieval. Sinograms can be created and filtered in order to suppress ring artifacts. Finally, CT reconstruction is performed with tofu reco algorithm. Region of interest and other miscellaneous parameters can be defined.

All temporary data is saved in multi-page tif files. It will be preserved in the temporary directory until the next reconstruction or until the Quit button is pressed. Note that the size of temporary data can easily exceed 300 GB when multiple processing steps are applied to a large CT set.

Tested Combinations

** w/o RingRemoval

  1. Straight CT with "corr" axis search <-- tested 1b. Straight CT with "min std" axis search <-- tested 1c. CT search axis "corr" and bigtiff input <-- tested
  2. PR + CT <-- tested 2b. PR + CT + vertical ROI <-- tested
  3. Prepro <-- tested
  4. Prepro and inp <-- tested
  5. Prepro and inp and PR: <-- tested 4b. Prepro and inp and PR + vert ROI <-- tested
  6. Inp <-- tested 5b. Inp with multipage input <-- tested
  7. Inp and PR <-- tested
  8. RR only <-- tested 7b. RR with bigtiff input <-- tested 7c. RR with vert ROI <-- tested
  9. RR + PR <-- tested
  10. Everything enabled <-- tested

About

User-friendly interface for optimization of parameters and batch processing of microCT data with ufo/tofu tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages