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

Method setup

ij/src/main/java/ij/plugin/filter/Translator.java:23–30  ·  view source on GitHub ↗
(String arg, ImagePlus imp)

Source from the content-addressed store, hash-verified

21 private boolean overlayOnly;
22
23 public int setup(String arg, ImagePlus imp) {
24 this.imp = imp;
25 if (imp!=null) {
26 origOverlay = imp.getOverlay();
27 Undo.saveOverlay(imp);
28 }
29 return flags;
30 }
31
32 public void run(ImageProcessor ip) {
33 ip.setInterpolationMethod(interpolationMethod);

Callers

nothing calls this directly

Calls 2

saveOverlayMethod · 0.95
getOverlayMethod · 0.45

Tested by

no test coverage detected