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

Opened 2011-04-05T12:24:15-05:00

Last modified 2011-04-05T16:29:07-05:00

Fix display of nonprimitive pixel type images

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2011: Mar-28 to Apr-08
Component: Display API Version:
Severity: serious Keywords:
Cc: Blocked By:


Now that the Image > Type submenu commands are in place it is apparent that certain pixel types that are not represented by primitive types (1-bit, 12-bit) do not display at all. Also due to a limitation within AWT, pixel data of long type cannot be represented either. Fix AWTDisplayController::getImagePlane() to correctly make BufferedImages for all supported types.

Change History

comment:1 Changed 2011-04-05T12:24:21-05:00 by bdezonia

  • Status changed from new to accepted

comment:2 Changed 2011-04-05T12:24:24-05:00 by bdezonia

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

comment:3 Changed 2011-04-05T12:26:25-05:00 by bdezonia

Note my rewrite of AWTDisplayCOntroler::getImagePlane() treats all data types as gray level measurements against the full range of the type. Future changes should rely on the range of pixel data actually present in a Dataset. Data is represented by a 16-bit unsigned BufferedImage.

comment:4 Changed 2011-04-05T16:29:07-05:00 by bdezonia

  • Milestone changed from imagej-2.0-alpha2 to biweekly-2011: Mar-28 to Apr-08