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

Method grays

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

Source from the content-addressed store, hash-verified

198 }
199
200 int grays(byte[] reds, byte[] greens, byte[] blues) {
201 for (int i=0; i<256; i++) {
202 reds[i] = (byte)i;
203 greens[i] = (byte)i;
204 blues[i] = (byte)i;
205 }
206 return 256;
207 }
208
209 int primaryColor(int color, byte[] reds, byte[] greens, byte[] blues) {
210 for (int i=0; i<256; i++) {

Callers 1

getBuiltInLutMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected