[ImageJ-bugs] [Bug 1052] New: Stack overflow upon measuring perimeter of a rounded rectangle ROI
bugzilla at fiji.sc
bugzilla at fiji.sc
Thu Apr 9 03:57:11 CDT 2015
http://fiji.sc/bugzilla/show_bug.cgi?id=1052
Bug ID: 1052
Summary: Stack overflow upon measuring perimeter of a rounded
rectangle ROI
Product: Fiji
Version: unspecified
Hardware: PC
OS: Windows
Status: NEW
Severity: minor
Priority: P5
Component: ImageJ1
Assignee: wsr at nih.gov
Reporter: ragsnoei at hotmail.com
CC: imagej-bugs at imagej.net
Measuring the perimeter of a rectangular ROI after using Edit>Selection>Make
rectangular selection rounded causes a stack overflow exception.
Macro to reproduce the error:
newImage("ROI_crash", "8-bit black", 1392, 1040, 1);
makeRectangle(660, 222, 80, 80);
run("Set Measurements...", "area mean min centroid center perimeter display
redirect=None decimal=3");
run("Make rectangular selection rounded", "radius=5");
run("Measure");
Exception:
java.lang.StackOverflowError
at
java.awt.geom.Path2D$Float$TxIterator.currentSegment(Path2D.java:952)
at ij.gui.ShapeRoi.parsePath(ShapeRoi.java:891)
at ij.gui.ShapeRoi.getRois(ShapeRoi.java:463)
at ij.gui.ShapeRoi.getLength(ShapeRoi.java:651)
at ij.gui.ShapeRoi.getLength(ShapeRoi.java:657)
The last line is repeated many times.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20150409/6e0aed19/attachment.html>
More information about the Imagej-bugs
mailing list