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

Method getDisplayMode

ij/src/main/java/ij/macro/Functions.java:5762–5768  ·  view source on GitHub ↗
(ImagePlus imp)

Source from the content-addressed store, hash-verified

5760 }
5761
5762 void getDisplayMode(ImagePlus imp) {
5763 Variable v = getVariableArg();
5764 String mode = "";
5765 if (imp.isComposite())
5766 mode = ((CompositeImage)imp).getModeAsString();
5767 v.setString(mode);
5768 }
5769
5770 void getPosition(ImagePlus imp) {
5771 Variable channel = getFirstVariable();

Callers 5

doStackMethod · 0.95
cropMethod · 0.45
runMethod · 0.45
setupMethod · 0.45
setPositionMethod · 0.45

Calls 4

getVariableArgMethod · 0.95
setStringMethod · 0.95
isCompositeMethod · 0.80
getModeAsStringMethod · 0.80

Tested by

no test coverage detected