KipTool manual: Conversion tools - neutronimaging/imagingsuite GitHub Wiki

Conversion Tools

Return to TOC

Several tools for image manipulation are implemented, they can be accessed from the menu in the main window by clicking on File processing. These tools are independent from eventually loaded data and processing chain in the main window.

figures/kiptoolScreenShots/FileProcessingMenu.png

The following tools are available:

Reslice Images

With this dialog it is possible to reslice a 3D dataset along the other two orthogonal directions. Data are directly streamed to disk to the given destination path.

Steps:

  1. Browse to the input files.
  2. Adjust if needed the first and last image indexes.
  3. Click Preview to visualize a middle slice of the input dataset.
  4. Select the desired orthogonal plane: XZ, YZ, or both.
  5. Select the Destination path
  6. Click on Start reslicing to run the module.

figures/kiptoolScreenShots/ReslicerDialog.png

Go back up

Merge Volumes

This module implements the stitching of registered datasets. The module requires that the two volumes have a common overlapping region that will be averaged. After that, a new merged volume will be created and saved.

Steps:

  1. In the Input data area, browse to the input data paths.
  2. Click on the Load data buttons, a transversal slice of the loaded datasets will appear in the bottom panels.
  3. In the Mix geometry area select the order of the mixing, where mix A-B means that the last part of the first dataset (Data A) will be mixed with the first part of the second dataset (Data B), and viceversa. Select Mix start as the slice position of the first data set where to begin the stitching. Select Mix length, as the number of slices to be used as overlapping region. Mix start + Mix length intuitively can not be bigger then the image size of the first dataset, and the second dataset must have a number of slices obviously at least equal to the Mix length. The stitching method is a sigmoid weighted average, where the different slices are weighted proportionally to their distance to the datasets.
  4. Click on Test mix to see the effect of the stitching on the test transversal plane (bottom right image).
  5. Click on Start to start the stitching for the entire dataset. A new single multi-frame will be created according to the given destination path and file mask.

figures/kiptoolScreenShots/MergeVolumes.png

Go back up

File Conversion

The File Conversion tool implements several type of image manipulation. The basic operation is the file format conversion.

Steps:

  1. Select the source files to be converted, use the + button to select a series of files to be converted
  2. In the output area select the destination path and the desired file mask. The extension of the file mask automatically defines the output image format. In the shown example, we convert a set of images from fits to tif.
  3. Click the Start conversion button to start the processing.

figures/kiptoolScreenShots/FileConversion.png

Go back up

Combination of different scans is also possible. This could be useful when for example a scan was interrupted resulting in two datasets with different names. Steps:

  1. Select the scans to be combined with the + button, in the example we select two scans.
  2. Choose the destination path and eventually change the file mask extension to the desired format.
  3. Click the Start conversion button to start the processing. A new single dataset with consistent name indexes will be saved to the disk.

figures/kiptoolScreenShots/CombineScans.png

Go back up

Combine repeated projections. Often the same projection is taken repeated times during a neutron imaging experiment to increase the image quality. The Conversion tool implements several averaging algorithms for combining repeated projections. Steps:

  1. Load the input datasets with the + button.
  2. Check Combine images on the right side of the windows.
  3. Select how many images you want to combine. In the example, the input dataset is made of 2400 images, the projections were repeatedly acquired 3 times, so that the output will be made of 800 files. Check your math: the remainder should be zero.
  4. Select your preferred method in the pull-down method: Sum, Average, Median, Weighted Average, Min and Max. Default is Weighted Average.
  5. Click on Start conversion to start the processing and save the results in the given destination path with the chosen file name and extension.

figures/kiptoolScreenShots/CombineRepeatedProjections.png

Other options are the Skip list, the cropping, and the Scan order conversion.

From the skip list, one can choose files in the loaded dataset to be excluded from the processing. This option was implemented to exclude those neutron images that came with a lower dose. By clicking on the Get skip list button, the program is able to predict which images need to be excluded, given the histogram counts, so that images with lower counts come from lower dose and are possibly 'bad'.

By checking ROI, images can be cropped through a user-given region of interest. Click on the Get button to open a dialog that interactively allows to choose the region to be used for image cropping.

By selecting in the Scan order pull-down menu the Golden ratio option, the program will reorder the input dataset in ascending angle order.

Go back up

Return to TOC