Translate a segmentation by the given amount.
mia-2dsegshiftperslice -i <in-file> -o <out-file> -S <shift> [options]
mia-2dsegshiftperslice This program move the segmentation(s) of an image series by using a shift that is given on a per-slice base. The program can be used to correct the segmentation of the images if a linear registration was executed that only applies a translation and does not correct the segmentation automatically.
input segmentation set
output segmentation set
output image filename base
shift of segmentation - base name
verbosity of output, print messages of given level and higher priorities. Supported priorities starting at lowest level are:
info \(hy Low level messages
trace \(hy Function call trace
fail \(hy Report test failures
warning \(hy Warnings
error \(hy Report errors
debug \(hy Debug output
message \(hy Normal messages
fatal \(hy Report only fatal errors
print copyright information
print this help
print a short help
print the version number and exit
Maxiumum number of threads to use for processing,This number should be lower or equal to the number of logical processor cores in the machine. (-1: automatic estimation).
Shirt the segmentation given in set segment.set by files shiftXXXX.txt and store the result in shifted.set. Note, the numbering of the shiftXXXX.txx files must coincide. mia-2dsegshiftperslice -i segment.set -o shifted.set -g shifted -S shift
Gert Wollny
This software is Copyright (c) 1999\(hy2013 Leipzig, Germany and Madrid, Spain. It comes with ABSOLUTELY NO WARRANTY and you may redistribute it under the terms of the GNU GENERAL PUBLIC LICENSE Version 3 (or later). For more information run the program with the option '--copyright'.