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 #716 (accepted defect)

Opened 2011-08-04T11:19:18-05:00

Last modified 2013-01-22T15:01:22-06:00

ProbeTool cursor is off

Reported by: bdezonia Owned by: curtis
Priority: major Milestone: imagej2-unscheduled
Component: Tools Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1629

Description

Now that the ProbeTool is always on its using a different cursor. The point under the tip of the cursor is not the same as the point being displayed in the status area. We may need to edit cursor image so that the tip is at the center. But maybe not because the other tools work fine (overlays drag at the correct points, etc.)

Curtis, assign to whomever you think is appropriate.

Change History

comment:1 Changed 2011-08-04T11:25:37-05:00 by curtis

The behavior seems the same as before to me—wrong, but the same. That is, the threshold falls at the center of each pixel rather than the boundaries. It is very likely a bug with JHotDrawImageCanvas.panelToImageCoords.

comment:2 Changed 2011-09-22T15:38:52-05:00 by curtis

Dscho fixed the panelToImageCoords bug. The probe value is no longer offset from the pixel boundary. However, everything is off by one.

comment:3 Changed 2011-11-01T10:57:41-05:00 by curtis

  • Status changed from new to accepted

comment:4 Changed 2012-02-27T11:00:56-06:00 by curtis

  • Milestone changed from imagej-2.0-beta1 to imagej-2.0-beta2

comment:5 Changed 2012-06-25T12:36:53-05:00 by curtis

  • Blocking 1242 added

comment:6 Changed 2012-07-05T16:52:59-05:00 by curtis

As of 1bb013f3, the probe is no longer wildly off, but rather always off by one data index (plus one screen pixel) in both X and Y. The bug is due to a coordinate system skew between the JHotDrawImageCanvas and DefaultImageCanvas. See also #1190 for another symptom of the same bug.

comment:7 Changed 2012-07-12T10:26:27-05:00 by curtis

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

comment:8 Changed 2012-07-12T11:00:46-05:00 by curtis

  • Blocking 1325 added; 1242 removed

comment:9 Changed 2012-09-06T14:06:21-05:00 by curtis

  • Blocking 1358 added; 1325 removed
  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0-beta5

comment:10 Changed 2013-01-22T14:55:47-06:00 by bdezonia

  • Blocking 1629 added; 1358 removed

comment:11 Changed 2013-01-22T15:01:22-06:00 by bdezonia

  • Milestone changed from imagej2-b7-ndim-data to imagej2-unscheduled