This is the command mia-2dsegmentcropbox that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
mia-2dsegmentcropbox - Evaluate a crop-box around a manual segmentation.
mia-2dsegmentcropbox -i <in-file> -o <out-file> [options]
mia-2dsegmentcropbox This program is used on a segmentation set and evaluates a bounding
box that encloses the segmentation in all slices. This bounding box is then used to crop
the original images, correct the segmentation and store a new segmentation set with the
cropped images. The cropped images will be of the same type as the original images. If no
segmentation is given in the set, the result is undefined.
-i --in-file=(input, required); string
input segmentation set
Instead of using the path of the image files as given in the segmentation
set, assume the files are located in the current directory
-o --out-file=(output, required); string
output segmentation set
Base name for the cropped image files, the file type and numbering will be
based on the input image file type and numbering.
Enlarge the area around the obtained sbounding box by this number of pixels
in each directionEnlarge the area around the obtained sbounding box by this
number of pixels in each direction
Help & Info
verbosity of output, print messages of given level and higher priorities.
Supported priorities starting at lowest level are:
info ‐ Low level messages
trace ‐ Function call trace
fail ‐ Report test failures
warning ‐ Warnings
error ‐ Report errors
debug ‐ Debug output
message ‐ Normal messages
fatal ‐ 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).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).
Evaluate the optimal cropping for a segmentation set segment.set and enlarge it by 3
pixels. Store the resulting set in the file cropped.set.
mia-2dsegmentcropbox -i segment.set -o cropped.set -e 3
This software is Copyright (c) 1999‐2015 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
Use mia-2dsegmentcropbox online using onworks.net services