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 #501 (new enhancement)

Opened 2011-05-04T16:06:56-05:00

Last modified 2013-01-23T09:58:02-06:00

Make rendering quality a preference

Reported by: bdezonia Owned by: bdezonia
Priority: minor Milestone: imagej2-unscheduled
Component: UI Framework Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1634

Description

Currently SwingImageCanvas renders using nearest neighbor interpolation. There is code in place that allows rendering as bilinear when zooming in (simply by changing the rendering hint constant).

Make the rendering hints settable

one for when zoomed factor > 1 (to see hard pixel boundaries)
one for when zoom factor < 1 (to avoid decimation)

Put them in an options dialog perhaps. Certainly make a couple of preferences.

Change History

comment:1 Changed 2011-06-21T14:58:47-05:00 by bdezonia

  • Summary changed from Make rendering quality of SwingImageCanvas a preference to Make rendering quality a preference

SwingImageCanvas is gone. Still the user should be able to specify a rendering quality (or interpolation scheme).

comment:2 Changed 2011-09-21T14:42:57-05:00 by bdezonia

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

comment:3 Changed 2012-05-14T10:55:15-05:00 by bdezonia

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

comment:4 Changed 2012-07-16T14:46:53-05:00 by bdezonia

  • Blocking 1244 added

comment:5 Changed 2012-08-14T10:46:42-05:00 by curtis

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

This ticket does not fit the beta4 theme of plugin work. It will fit in marginally better with the beta5 theme of flexible data handling.

Last edited 2012-08-14T10:47:03-05:00 by curtis

comment:6 Changed 2013-01-23T09:58:02-06:00 by bdezonia

  • Blocking 1634 added; 1244 removed
  • Milestone changed from imagej2-b7-ndim-data to imagej2-unscheduled