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

Method getColorModel

ij/src/main/java/ij/process/LUT.java:47–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 }
46
47 public IndexColorModel getColorModel() {
48 if (cm==null) {
49 byte[] reds=new byte[256]; getReds(reds);
50 byte[] greens=new byte[256]; getGreens(greens);
51 byte[] blues=new byte[256]; getBlues(blues);
52 cm = new IndexColorModel(8, getMapSize(), reds, greens, blues);
53 }
54 return cm;
55 }
56
57 public byte[] getBytes() {
58 int size = getMapSize();

Callers 15

invertLookupTableMethod · 0.45
createEmptyStackMethod · 0.45
resetStackMethod · 0.45
getProcessorMethod · 0.45
convertToRealStackMethod · 0.45
readCompressedFrameMethod · 0.45
updateLutMethod · 0.45
setCustomLutMethod · 0.45
makeSurfacePlotMethod · 0.45
expandStackMethod · 0.45
runMethod · 0.45
saveAsJpegMethod · 0.45

Calls 4

getRedsMethod · 0.95
getGreensMethod · 0.95
getBluesMethod · 0.95
getMapSizeMethod · 0.45

Tested by

no test coverage detected