binKmeans2-msi.dataset-method function

Return a binary mask generated applying k-means clustering on peaks intensities. A finer segmentation is obtained by using a larger number of clusters than 2. The off-sample clusters are merged looking at the most frequent labels in the image corners. The lookup areas are defined by the kernel size.

  • Maintainer: Paolo Inglese
  • License: GPL (>= 3)
  • Last published: 2025-06-23