logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mia-2dsegmentcropbox - Evaluate a crop-box around a manual segmentation.

Author(S)

       Gert Wollny

Description

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.

Example

       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

Name

       mia-2dsegmentcropbox - Evaluate a crop-box around a manual segmentation.

Options

              -i --in-file=(required, input); string
                     input segmentation set

              -p --override-imagepath
                     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=(required, output); string
                     output segmentation set

              -c --cropped-base=crop
                     Base name for the cropped image files, the file type and numbering will  be  based  on  the
                     input image file type and numbering.

              -e --enlarge=5
                     Enlarge  the  area  around  the  obtained  sbounding  box  by this number of pixels in each
                     direction

   Help&Info
              -V --verbose=warning
                     verbosity of output, print  messages  of  given  level  and  higher  priorities.  Supported
                     priorities starting at lowest level are:

                        trace ‐ Function call trace
                        debug ‐ Debug output
                        info ‐ Low level messages
                        message ‐ Normal messages
                        warning ‐ Warnings
                        fail ‐ Report test failures
                        error ‐ Report errors
                        fatal ‐ Report only fatal errors

                 --copyright
                     print copyright information

              -h --help
                     print this help

              -? --usage
                     print a short help

                 --version
                     print the version number and exit

   Processing
                 --threads=-1
                     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).

Synopsis

mia-2dsegmentcropbox-i<in-file>-o<out-file>[options]

See Also