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 #1152 (new defect)

Opened 2012-05-03T11:36:42-05:00

Last modified 2012-08-14T10:33:56-05:00

Filled overlays should draw accurately

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

Description (last modified by bdezonia)

If you draw an ellipse overlay and then use the Fill command things look fine at 100% scale. If you zoom in it looks like there a some discrepancy between JHotDraw's representation and the data filled. Fill uses PointSets indirectly. It looks possible that the ConditionalPointSet condition is off by a < vs. <= or a (0.5,0.5) translation of center.

(Later edit: in general we need to make sure all Overlays have outlines and fills that match up nicely and are symmetric rather than biased to the right and bottom)

Change History

comment:1 Changed 2012-05-10T14:36:26-05:00 by bdezonia

  • Cc senseneyj@… added
  • Description modified
  • Summary changed from Filled ellipses may have inaccuracy to Filled overlays should draw accurately

comment:2 Changed 2012-05-11T16:08:42-05:00 by bdezonia

There is an interesting discussion of how we should approach definitions of ROI anchor points, outlines, etc. throughout this thread:

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

  • Blocking 1143 added

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

  • Blocking 285 added

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

  • Blocking 1143 removed

comment:6 Changed 2012-07-12T10:56:28-05:00 by bdezonia

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

comment:7 Changed 2012-08-14T10:33:56-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.