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 #448 (closed defect: fixed)

Opened 2011-04-20T17:09:35-05:00

Last modified 2011-04-28T16:51:25-05:00

Zoom bug: zoom to rect

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej-2.0-alpha2
Component: Display API Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

Zooming to a selected rectangle is not accurate. This functionality can be tested by selecting the ZoomTool and dragging out a rectangle over the currently displayed image. Note the UI is not in place to see the rect you have dragged. But the code should work. It instead zooms near the desired region. The ZoomTool code is not the problem. The problem lies in SwingNavigableImageCanvas.

Change History

comment:1 Changed 2011-04-28T12:31:30-05:00 by bdezonia

  • Status changed from new to accepted

After Curtis zoom code rewrite this method is still somewhat broken. A negative scale possibility was avoided already. But choosing a zoom rect does not zoom to fit exactly. It is possible to choose a rect and actually zoom out a little.

comment:2 Changed 2011-04-28T16:51:25-05:00 by bdezonia

  • Status changed from accepted to closed
  • Resolution set to fixed

fixed