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 #284 (closed task: fixed)

Opened 2010-11-24T14:57:27-06:00

Last modified 2012-02-24T15:20:53-06:00

Improve data type support in imagej 2.0 core

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: biweekly-2010: Nov-15 to Nov-24
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1014

Description

Made break between pixel type (UINT12, USHORT, BYTE, etc.) with storage type (UINT8, INT16. LONG, etc.). Created an EncodingManager. This generalizes handling of type data. Also added BitType support. These changes motivated by the fact that setPixels(), for a UINT12 data type, gets passed an array of integers. Need to separate out what a type represents versus how it is encoded. Improved runtime type checking for setPixels().

Change History

comment:1 Changed 2010-11-24T14:57:33-06:00 by bdezonia

  • Status changed from new to accepted

comment:2 Changed 2010-11-24T14:57:37-06:00 by bdezonia

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

comment:3 Changed 2012-02-24T15:20:53-06:00 by curtis

  • Blocking 1014 added