NOTICE! This is a static HTML version of a legacy LOCI Software ticket.

LOCI projects are now located on GitHub. The Bio-Formats project can be found here.

Ticket #344 (closed enhancement: fixed)

Opened 2009-01-07T11:39:15-06:00

Last modified 2011-02-02T04:45:00-06:00

More robust support for 1, 2 and 4 bit images

Reported by: melissa Owned by: melissa
Priority: major Milestone:
Component: bio-formats Severity: minor
Keywords: Cc: FCORNELI@…
Blocked By: Blocking:

Description

1, 2 and 4 bit images are currently supported, but not in the most flexible way. Instead of storing these images in their original bit depth, we automatically convert them to 8 bit data and throw away the original bit depth. We should do the following:

  • use the type BufferedImage.TYPE_BYTE_BINARY when constructing BufferedImages
  • add a new flag to the API to toggle how openBytes handles < 8 bit data - developers can choose whether to get original data (e.g. 1 byte represents 8 pixels), or expanded data (i.e. 1 byte represents 1 pixel)
  • potentially add new pixel types to the OME data model (uint1, uint2, uint4, etc.)
  • update the TIFF writer to export 1, 2 and 4 bit data

Change History

comment:1 Changed 2009-01-07T12:46:19-06:00 by melissa

  • Milestone set to bio-formats-4.1.0

comment:2 Changed 2009-01-12T16:07:03-06:00 by curtis

  • Cc FCORNELI@… added

comment:3 Changed 2009-10-20T10:16:53-05:00 by melissa

  • Milestone bio-formats-4.1 deleted

comment:4 Changed 2011-02-02T04:45:00-06:00 by curtis

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

moved to  ome:#4107