refImageBinaryKmeansMulti function

Calculate the binary reference image using k-means clustering with multi-cluster merging. K-means is run on the first npcs principal components to speed up the calculations.

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