Manpage of SINO-DEI
Section: User Commands (1)
Return to Main Contents
sino-dei - Forms DEI-based sinogram(s).
sino-dei [OPTIONS...] <minus list> <plus list> <result mask>
Performs following procedures:
1) reads two text files describing the arrays of input files (foreground-background pairs) in minus and plus position of the analyzer crystal.
2) removes the backgrounds in accordance with these files.
3) performs the DEI extraction of the requested contrast component.
4) constructs the sinograms of the slices requested in the slice string.
- <minus list>
List of the input images in the minus position.
- <plus list>
List of the input images in the plus position.
Arguments "<minus list>" and "<plus list>". Text file which describes the stack of input images: foregrounds and (optionally) background(s). The strings in the file can be one of the following forms:
#BACKGROUND# <background filename>
The string prefixed with the "#BACKGROUND# " gives the name of the background file right after the prefix. This background file contains the background contrast for all foregrounds below it until the next background string is met. No background removal is performed for all foregrounds given in the strings above the first background. If the string starting with the prefix does not contain any background name then all following foregrounds are considered as is ( i.e. no background removal is performed).
#DARKCURRENT# <dark current filename>
The string prefixed with the "#DARKCURRENT# " gives the name of the dark current file right after the prefix. If more than one DC file is given, then the average of all are used.
The foreground string gives the name of the actual contrast of the sample.
The string starting with '#' sign, is treated as a comment.
Empty strings can be used for grouping and have no influence.
- <result mask>
Output result mask.
Defaults to "sino-<minus list>-@.tif".
Used when there is a need to describe a stack of output files. In this case the special character represents the number of the output file in the stack. The result mask is a string which forms the names of the processed slices. The mask should (but not must) contain the '@' character which denotes the position where the slice number will be inserted:
If there is no '@' in the mask, it is inserted together with the '-' prefix right before the file extension (if any) or at the end of the mask (if no extension).
If there are more than one '@' character in the mask, only the last of them is replaced by the slice number.
For example the mask
produces file names similar to this (for the 13th slice):
Note that the path(s) to the files must exist: the program will not create any directory.
- -C, --component=STRING
Type of the contrast component.
The component of the contrast to extract via the DEI method. Must be one of the following strings (case insensitive):
A, ABS, ABSORPTION - for the absorption component
R, REF, REFRACTION - for the refraction component
- -s, --slice=STRING
Slices to be processed.
The string describing the slices in the image stack which are to be processed. Must be a string consisting only of numbers, commas ',' minus signs '-' and the character 'n'. First the string is divided into the substrings separated by comas and each substring is processed on it's own:
The string consisting only of numbers is read as the integer and added to the list of the reconstructed slices.
The string with the minus sign surrounded by the numbers adds all slices in the range into the list.
If the string starts with the minus then the range start is assumed to be 1.
If minus is the last character in the string then the range finishes at the maximum slice number.
If the string has negation prefix 'n' then the slice(s) are excluded from the previously formed list.
If all substrings have 'n' prefix or the first substring contains only it, then the meaning of the whole string is "all except ...".
Two and more negations are interpreted as a single one.
If no slice string is given then all slices are reconstructed.
For example the following string:
requests processing of the slices with numbers 1, 2, 4, 6, 9, 20 to 400, 440 to 449, 471 to 500, 800 to 909, 915 and 921 to the end.
- -i, --int
Output image(s) as integer.
If this option is not set, the output format defaults to the 32-bit float-point TIFF (regardless of the extension). If it is set, the image format is derived from the output file extension (TIFF if the extension does not correspond to any format).
DEI input parameters.
Options required for the DEI processing.
- -m, --minus-rc=FLOAT
Reflectivity in the minus position [0.5]
- -p, --plus-rc=FLOAT
Reflectivity in the plus position [0.5]
- -M, --minus-drv=FLOAT
Derivative of the RC in the minus position [1.0]
- -P, --plus-drv=FLOAT
Derivative of the RC in the plus position [-1.0]
- -v, --verbose
- -?, --usage
Outputs brief usage message.
- -h, --help
Outputs help message.
When combined with the "-v|--verbose" option may output more detailed message.
ctas(1), ctas-bg(1), ctas-ct(1), ctas-ct-abs(1), ctas-ct-dei(1), ctas-ct-edei(1), ctas-ct-ipc(1), ctas-dei(1), ctas-edei(1), ctas-ipc(1), ctas-f2i(1), ctas-ff(1), ctas-sino(1), ctas-sino-abs(1), ctas-sino-dei(1), ctas-sino-ipc(1), ctas-ts(1), ctas-ct-line(1)
- DEI input parameters.
- Standard options.
- SEE ALSO:
This document was created by
using the manual pages.
Time: 06:49:20 GMT, July 29, 2010