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

Opened 2011-07-29T11:17:42-05:00

Last modified 2012-09-07T16:30:53-05:00

Incorporate interface ColorTable<T>

Reported by: gharris Owned by: aivar
Priority: minor Milestone: imagej2-b4-plugins
Component: Display API Version:
Severity: minor Keywords:
Cc: Blocked By:
Blocking: #1385


Incorporate interface ColorTable<T> as appropriate where ColorTable8 is used.
E.g. in DatasetView, AbstractDatasetView, RealLUTConverter...

Change History

comment:1 Changed 2011-08-15T11:17:15-05:00 by gharris

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

comment:2 Changed 2011-09-22T15:17:30-05:00 by curtis

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

comment:3 Changed 2012-01-26T12:44:49-06:00 by curtis

  • Owner changed from gharris to curtis

comment:4 Changed 2012-07-13T22:03:48-05:00 by curtis

  • Blocking 1323 added

comment:5 Changed 2012-08-14T17:10:49-05:00 by aivar

  • Owner changed from curtis to aivar
  • Status changed from new to assigned

I'm taking over this ticket as I'm doing some work on LUTs.

comment:6 Changed 2012-08-21T14:55:35-05:00 by aivar

My approach is to rename ColorTable<T> to be AbstractColorTable<T>, then reuse ColorTable as an interface that deals with ColorTable8, ColorTable16, or whatever.

comment:7 Changed 2012-08-31T18:28:21-05:00 by aivar

The ColorTable interface doesn't use generics. The type T refers to the internal representation of the colors. A user of ColorTables shouldn't have to deal with that.

comment:8 Changed 2012-09-04T16:53:40-05:00 by curtis

  • Blocking 1385 added; 1323 removed

This ticket fits better under the Improve lookup tables (LUTs) feature.

comment:9 Changed 2012-09-07T16:30:53-05:00 by curtis

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

This work has been completed with the merge of the luts branch.