(ImagePlus imp)
| 125 | } |
| 126 | |
| 127 | private void enlarge(ImagePlus imp) { |
| 128 | if (!imp.okToDeleteRoi()) return; |
| 129 | Roi roi = imp.getRoi(); |
| 130 | if (roi!=null) { |
| 131 | Undo.setup(Undo.ROI, imp); |
| 132 | roi = (Roi)roi.clone(); |
| 133 | (new RoiEnlarger()).run(""); |
| 134 | } else |
| 135 | noRoi("Enlarge"); |
| 136 | } |
| 137 | |
| 138 | /* |
| 139 | if selection is closed shape, create a circle with the same area and centroid, otherwise use<br> |