Ticket #550 (closed defect: duplicate)

Opened 8 years ago

Last modified 8 years ago

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

  • Status changed from new to accepted

comment:3 Changed 8 years ago 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 8 years ago by curtis

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

comment:5 Changed 8 years ago 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.

Note: See TracTickets for help on using tickets.