()
| 4434 | } |
| 4435 | |
| 4436 | ImagePlus getImageArg() { |
| 4437 | ImagePlus img = null; |
| 4438 | if (isStringArg()) { |
| 4439 | String title = getString(); |
| 4440 | img = WindowManager.getImage(title); |
| 4441 | } else { |
| 4442 | int id = (int)interp.getExpression(); |
| 4443 | img = WindowManager.getImage(id); |
| 4444 | } |
| 4445 | if (img==null) interp.error("Image not found"); |
| 4446 | return img; |
| 4447 | } |
| 4448 | |
| 4449 | void imageCalculator() { |
| 4450 | String operator = getFirstString(); |
no test coverage detected