refImageBinaryKmeans function

Calculate the binary reference image using k-means clustering. 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