Ticket #428 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

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:
Blocking:

Description

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 9 years ago by bdezonia

  • Status changed from new to accepted

comment:2 Changed 9 years ago by bdezonia

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

comment:3 Changed 9 years ago 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 9 years ago by bdezonia

  • Milestone changed from imagej-2.0-alpha2 to biweekly-2011: Mar-28 to Apr-08
Note: See TracTickets for help on using tickets.