Created
June 3, 2021 15:14
-
-
Save bogovicj/9f7b2a02bd7d84baaa324b77fc4424a6 to your computer and use it in GitHub Desktop.
Read and print an imagej LUT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@File lut | |
lut = ij.plugin.LutLoader.openLut( lut.getCanonicalPath() ); | |
for( i in 0..<lut.getMapSize() ) | |
{ | |
println( [lut.getRed( i ), lut.getGreen(i), lut.getBlue(i)].join(" ") ) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment