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

Method createLut

ij/src/main/java/ij/ImagePlus.java:1788–1794  ·  view source on GitHub ↗

Creates a LookUpTable object that corresponds to this image.

()

Source from the content-addressed store, hash-verified

1786 }
1787 /** Creates a LookUpTable object that corresponds to this image. */
1788 public LookUpTable createLut() {
1789 ImageProcessor ip2 = getProcessor();
1790 if (ip2!=null)
1791 return new LookUpTable(ip2.getColorModel());
1792 else
1793 return new LookUpTable(LookUpTable.createGrayscaleColorModel(false));
1794 }
1795
1796 /** Returns true is this image uses an inverting LUT that
1797 displays zero as white and 255 as black. */

Callers 11

createEmptyStackMethod · 0.95
getFileInfoMethod · 0.95
runMethod · 0.80
writeImageMethod · 0.80
writeBitmapPaletteMethod · 0.80
shrinkMethod · 0.80
drawColorBarMethod · 0.80
saveAsLutMethod · 0.80
showHistogramMethod · 0.80
drawMethod · 0.80
readLutMethod · 0.80

Calls 3

getProcessorMethod · 0.95
getColorModelMethod · 0.95

Tested by

no test coverage detected