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

Method addLut

ij/src/main/java/ij/ImagePlus.java:2561–2566  ·  view source on GitHub ↗
(LookUpTable lut, FileInfo fi)

Source from the content-addressed store, hash-verified

2559 }
2560
2561 private void addLut(LookUpTable lut, FileInfo fi) {
2562 fi.lutSize = lut.getMapSize();
2563 fi.reds = lut.getReds();
2564 fi.greens = lut.getGreens();
2565 fi.blues = lut.getBlues();
2566 }
2567
2568 /** Returns the FileInfo object that was used to open this image.
2569 Returns null for images created using the File/New command.

Callers 1

getFileInfoMethod · 0.95

Calls 4

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

Tested by

no test coverage detected