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

Method setLuts

ij/src/main/java/ij/CompositeImage.java:593–600  ·  view source on GitHub ↗
(LUT[] luts)

Source from the content-addressed store, hash-verified

591
592 /* Sets the channel LUTs with clones of the LUTs in 'luts'. */
593 public void setLuts(LUT[] luts) {
594 int channels = getNChannels();
595 if (lut==null) setupLuts(channels);
596 if (luts==null || luts.length<channels)
597 throw new IllegalArgumentException("Lut array is null or too small");
598 for (int i=0; i<channels; i++)
599 setChannelLut(luts[i], i+1);
600 }
601
602 /** Copies the LUTs and display mode of 'imp' to this image. Does
603 nothing if 'imp' is not a CompositeImage or 'imp' and this

Callers 10

runMethod · 0.95
setImageMethod · 0.80
showDialogMethod · 0.80
dialogItemChangedMethod · 0.80
toHyperStackMethod · 0.80
convertStackToHSMethod · 0.80
runMethod · 0.80
convertToGray8Method · 0.80
convertToGray16Method · 0.80
convertToGray32Method · 0.80

Calls 3

setupLutsMethod · 0.95
setChannelLutMethod · 0.95
getNChannelsMethod · 0.45

Tested by

no test coverage detected