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

Method imageCalculator

ij/src/main/java/ij/macro/Functions.java:4449–4459  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4447 }
4448
4449 void imageCalculator() {
4450 String operator = getFirstString();
4451 interp.getComma();
4452 ImagePlus img1 = getImageArg();
4453 interp.getComma();
4454 ImagePlus img2 = getImageArg();
4455 interp.getRightParen();
4456 ImageCalculator ic = new ImageCalculator();
4457 ic.calculate(operator, img1, img2);
4458 resetImage();
4459 }
4460
4461 void setRGBWeights() {
4462 double r = getFirstArg();

Callers 1

doFunctionMethod · 0.95

Calls 6

getFirstStringMethod · 0.95
getImageArgMethod · 0.95
calculateMethod · 0.95
resetImageMethod · 0.95
getCommaMethod · 0.80
getRightParenMethod · 0.80

Tested by

no test coverage detected