NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1165 (new defect)

Opened 2012-05-10T14:54:44-05:00

Last modified 2012-08-14T10:34:02-05:00

Polygon overlays draw/fill incorrectly

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b9-rois
Component: Core Version:
Severity: serious Keywords:
Cc: senseneyj@… Blocked By:
Blocking: #285

Description

In the imagej-devel email list Justin Senseney noted issues when drawing and filling polygon overlays.

1) Filling polygon overlays is inaccurate for smoothed polygons. Rather than the smoothed region being filled the regular polygon made of the control points are filled

2) When a smooth polygon self intersects the drawing is inaccurate

3) If you draw a polygon overlay, then drag it, and fill it the wrong area is filled. It fills the polygon outline at the location before the drag.

Change History

comment:1 Changed 2012-05-11T14:16:54-05:00 by bdezonia

Justin Senseney reports "item (3) for #1165 is not accurate. If you draw a polygon overlay, then fill it, then drag it, you cannot perform subsequent fill or inverse operations. My picture was not clear on this point. The current item (3) operation works fine."

comment:2 Changed 2012-05-14T13:27:23-05:00 by curtis

  • Blocking 1143 added

comment:3 Changed 2012-06-26T12:35:43-05:00 by bdezonia

With imglib commit 4f5cb624ee87d7ddecbf13b91b946b95c9c1479c number 3) now fixed.

Must still address #'s 1) and 2).

comment:4 Changed 2012-06-26T12:38:47-05:00 by bdezonia

That last commit seems to have fixed 2) also.

comment:5 Changed 2012-07-03T13:26:11-05:00 by bdezonia

  • Blocking 285 added

comment:6 Changed 2012-07-03T13:28:24-05:00 by bdezonia

  • Blocking 1143 removed

comment:7 Changed 2012-07-03T13:41:48-05:00 by bdezonia

  • Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta4

comment:8 Changed 2012-08-14T10:34:02-05:00 by curtis

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta6

ROIs will be the focus of beta6.