mia-2dstack-cmeans-presegment(1) | General Commands Manual | mia-2dstack-cmeans-presegment(1) |
mia-2dstack-cmeans-presegment - Pre-classify the input image series by using a c-means estimator
mia-2dstack-cmeans-presegment -i <in-file> -o <out-mask> -L <label> [options]
mia-2dstack-cmeans-presegment This program first evaluates a sparse histogram of an input image series, then runs a c-means classification over the histogram, and then estimates the mask for one (given) class based on class probabilities. This program accepts only images of eight or 16 bit integer pixels.
Run the program over images imageXXXX.png with the sparse histogram, threshold the lower 30% bins (if available), run cmeans with two classes on the non-zero pixels and then create the mask for class 1 as foregroundXXXX.png.
mia-2dstack-cmeans-presegment -i imageXXXX.png -o foreground -t png --histogram-tresh=30 --classes 2 --label 1
Gert Wollny
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 option '--copyright'.
v2.4.7 | USER COMMANDS |