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

Method setup

packageFiles/plugins/Debayer_Image.java:23–30  ·  view source on GitHub ↗
(String arg, ImagePlus imp)

Source from the content-addressed store, hash-verified

21 static int gauss_radius = 2;
22
23 public int setup(String arg, ImagePlus imp) {
24 IJ.register(Debayer_Image.class);
25 if (IJ.versionLessThan("1.32c"))
26 return DONE;
27 imp.unlock();
28 this.imp = imp;
29 return DOES_16;
30 }
31
32 public void run(ImageProcessor ip) {
33 width = imp.getWidth();

Callers

nothing calls this directly

Calls 3

registerMethod · 0.95
versionLessThanMethod · 0.95
unlockMethod · 0.45

Tested by

no test coverage detected