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

Method createImage

ij/src/main/java/ij/plugin/LutLoader.java:421–427  ·  view source on GitHub ↗
(FileInfo fi, boolean show)

Source from the content-addressed store, hash-verified

419 }
420
421 private void createImage(FileInfo fi, boolean show) {
422 IndexColorModel cm = new IndexColorModel(8, 256, fi.reds, fi.greens, fi.blues);
423 ByteProcessor bp = createImage(cm);
424 setProcessor(fi.fileName, bp);
425 saveLUTName(this, fi);
426 if (show) show();
427 }
428
429 /** Opens the specified ImageJ LUT and returns
430 it as an IndexColorModel. Since 1.43t. */

Callers 14

showLutMethod · 0.95
showMethod · 0.45
paintMethod · 0.45
TreePanelClass · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
paintMethod · 0.45
paintMethod · 0.45
MemoryMonitorMethod · 0.45
paintMethod · 0.45
paintMethod · 0.45

Calls 4

saveLUTNameMethod · 0.95
setProcessorMethod · 0.45
showMethod · 0.45
putRowMethod · 0.45

Tested by

no test coverage detected