Page history Edit this page How do I edit this website?

LUMoS Spectral Unmixing


LUMoS Spectral Unmixing




Tristan McRae


Tristan McRae




Plugins, Color Processing, Colocalization


Learning Unsupervised Means of Spectra (LUMoS) is a blind spectral unmixing method that uses k-means clustering to separate different features of a fluorescence microscopy image into a multi-channel image in which each output channel corresponds to a single fluorophore.

Spectral Overlap

Due to the overlapping emission spectra of fluorophores, fluorescence microscopy images often have bleed-through problems, leading to a false positive detection. This problem is almost unavoidable when the samples are labeled with three or more fluorophores and completely unavoidable when fluorophores outnumber detection channels.


K-means clustering

K-means is an unsupervised learning clustering technique. Given a set of input datapoints, k-means clusters the points into k different groups based on their values. K-means defines clusters by iteratively calculating the centroid of each cluster and assigning datapoints to the nearest cluster centroid. This process is depicted below:

K-means for spectral unmixing

In the context of spectral unmixing, the inputs to k-means are individual pixels. Each pixel is represented by a 1 x n vector where n is the number of detection channels in the image. This vector is referred to as the “spectral signature” of the pixel. Pixels with similar spectral signatures are grouped into the same cluster. Each cluster is then represented as an inividual channel in the output image. The output channels correspond to unmixed fluorophores. This process will also separate background, autofluorescence and colocalization into distinct output channels.



To install the plugin in your ImageJ or Fiji installation, add the update site LUMoS. The procedure to follow an update site can be found here.

Alternatively, a full Fiji distribution with LUMoS already packaged can be downloaded. Unlike the update site, this packaged download is PC only. PC only download.

A user guide for this plugin with step by step instructions can be found here.

See Also

The following are alternative spectral unmixing ImageJ plugins. These plugins both use linear algebra based approaches. Linear unmixing approaches are not applicable in cases where fluorophores outnumber detection channels. Additionally, they both require manual ROI selection or single-fluorophore references which can be laborious to acquire. Apart from these constraints, both of these plugins can be very useful tools in the right settings.

Spectral Unmixing Plugins by Joachim Walter

Spectral Unmixing Plugin by Seth Gammon


If you use this program to generate a publication, please cite the following:

[1] McRae TD, Oleksyn D, Miller J, Gao Y-R (2019) Robust blind spectral unmixing for fluorescence microscopy using unsupervised learning. PLoS ONE 14(12): e0225410.