Skip to content

Instantly share code, notes, and snippets.

View fedebenelli's full-sized avatar
⬇️

Federico E. Benelli fedebenelli

⬇️
View GitHub Profile
@lacan
lacan / lutToIntensity.ijm
Last active July 24, 2019 01:12
Reconvert color coded image to intensity based on color scale. #ImageJ #Fiji #Macro
/*
* Reconvert color LUT to intensity
* Olivier BURRI
* BioImaging and Optics Platform BIOP, EPFL
* In reply to an ImageJ Forum Post http://forum.imagej.net/t/split-colored-height-map-of-moon-in-greyscale-images/
* Provided As-Is
*/
// Before running this macro, make sure that you have an image called LUT with the color scalebar separately