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

Method getLutInfo

ij/src/main/java/ij/plugin/ImageInfo.java:509–518  ·  view source on GitHub ↗
(ImagePlus imp)

Source from the content-addressed store, hash-verified

507 }
508
509 private String getLutInfo(ImagePlus imp) {
510 String lut = "LUT";
511 if (imp.getProcessor().isColorLut())
512 lut = "color " + lut;
513 else
514 lut = "grayscale " + lut;
515 if (imp.isInvertedLut())
516 lut = "inverting " + lut;
517 return lut;
518 }
519
520 public static String getDisplayRanges(ImagePlus imp) {
521 LUT[] luts = imp.getLuts();

Callers 1

getInfoMethod · 0.95

Calls 3

isColorLutMethod · 0.45
getProcessorMethod · 0.45
isInvertedLutMethod · 0.45

Tested by

no test coverage detected