(ImageProcessor ip)
| 22 | } |
| 23 | |
| 24 | public void run(ImageProcessor ip) { |
| 25 | try { |
| 26 | saveRoi(imp); |
| 27 | } catch (IOException e) { |
| 28 | String msg = e.getMessage(); |
| 29 | if (msg==null || msg.equals("")) |
| 30 | msg = ""+e; |
| 31 | IJ.error("ROI Writer", msg); |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | public void saveRoi(ImagePlus imp) throws IOException{ |
| 36 | Roi roi = imp.getRoi(); |
nothing calls this directly
no test coverage detected