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 #550 (closed defect: duplicate)

Opened 2011-05-31T15:06:46-05:00

Last modified 2011-10-18T15:26:06-05:00

Convert RGB to 8-bit color displays as grey

Reported by: bdezonia Owned by: curtis
Priority: major Milestone: imagej2-b1-initial
Component: Legacy Compatibility Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

If you convert Clown to 8-bit color it still displays as grey. The LUT from the plugin is getting lost due to AbstractDataViews rebuild() getting called.

Some thought about when to keep LUT is required. In this case we are changing a 3 channel image into a single channel image. It makes sense to throw away the old LUTs. Its just that the new single LUT is living inside the old LUTs when it should be elsewhere.

Change History

comment:1 Changed 2011-05-31T15:08:36-05:00 by bdezonia

  • Summary changed from Covert RGB to 8-bit color displays as grey to Convert RGB to 8-bit color displays as grey

comment:2 Changed 2011-05-31T15:18:08-05:00 by bdezonia

  • Status changed from new to accepted

comment:3 Changed 2011-06-14T14:53:30-05:00 by bdezonia

  • Owner changed from bdezonia to curtis
  • Status changed from accepted to assigned

AbstractDatasetView handles LUTs via ResetColorTables() and UpdateLUTs(). These two methods only assign color tables associated with the view. Must somehow use the color tables associated with the Dataset. Asking for review here as to the best implementation.

comment:4 Changed 2011-07-27T15:11:05-05:00 by curtis

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

comment:5 Changed 2011-10-18T15:26:06-05:00 by curtis

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

Looks like this ticket was filed again as #774. Closing this one as a duplicate.