MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / ice

Method ice

ij/src/main/java/ij/plugin/LutLoader.java:221–231  ·  view source on GitHub ↗
(byte[] reds, byte[] greens, byte[] blues)

Source from the content-addressed store, hash-verified

219 }
220
221 int ice(byte[] reds, byte[] greens, byte[] blues) {
222 int[] r = {0,0,0,0,0,0,19,29,50,48,79,112,134,158,186,201,217,229,242,250,250,250,250,251,250,250,250,250,251,251,243,230};
223 int[] g = {156,165,176,184,190,196,193,184,171,162,146,125,107,93,81,87,92,97,95,93,93,90,85,69,64,54,47,35,19,0,4,0};
224 int[] b = {140,147,158,166,170,176,209,220,234,225,236,246,250,251,250,250,245,230,230,222,202,180,163,142,123,114,106,94,84,64,26,27};
225 for (int i=0; i<r.length; i++) {
226 reds[i] = (byte)r[i];
227 greens[i] = (byte)g[i];
228 blues[i] = (byte)b[i];
229 }
230 return r.length;
231 }
232
233 int spectrum(byte[] reds, byte[] greens, byte[] blues) {
234 Color c;

Callers 1

getBuiltInLutMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected