mia-2dsegment-local-kmeans(1) | General Commands Manual | mia-2dsegment-local-kmeans(1) |
mia-2dsegment-local-kmeans - Run a k-means segmentation of a 2D image.
mia-2dsegment-local-kmeans -i <in-file> [options]
mia-2dsegment-local-kmeans This program runs the segmentation of a 2D image by applying a localized k-means approach that helps to overcome intensity inhomogeneities in the image. The approach evaluates a global k-means clustering, and then separates the image into overlapping regions where more k-means iterations are run only including the locally present classes, i.e. the classes that relatively contain more pixels than a given threshold.
Run the segmentation on image test.png using three classes, local regions of 40 pixels (grid width 20 pixels), and a class ignore threshold of 0.01.
mia-2dsegment-local-kmeans -i test.png -o label.png -n 3 -g 20 -t 0.01
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 |