Ticket #1525 (reviewing defect)

Opened 7 years ago

Last modified 6 years ago

Move some compositing code into Imglib

Reported by: bdezonia Owned by: hinerm
Priority: major Milestone: imagej2-b8-analysis
Component: ImgLib2 Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1519

Description (last modified by bdezonia) (diff)

Right now DatasetView has a method that can take a set of data values and turn them into a ColorRGB. This is needed in a couples places in IJ2. Unfortunately it is done by replicating a compositing algorithm from the Projectors code of Imglib2. We need to change the Imglib projectors to allow one to query them with values and get values back as a result. So you could query a projector with channel values and get the RGBA type value back. Then eliminate the code in DefaultDatasetView that copies the Imglib logic.

(One thing to wonder; how will these two areas of code be affected when ticket #721 is addressed)

Change History

comment:1 Changed 7 years ago by bdezonia

  • Description modified (diff)

comment:2 Changed 7 years ago by bdezonia

  • Blocking 1398 added

comment:3 Changed 6 years ago by bdezonia

  • Blocking 1519 added; 1398 removed
  • Milestone changed from imagej2-b7-ndim-data to imagej2-b8-analysis

comment:4 Changed 6 years ago by bdezonia

  • Owner changed from bdezonia to hinerm
  • Status changed from new to reviewing

Hinerm, you've done work on the projectors. Would you be willing to tackle this? The method in questions is DefaultDatasetVIew::getColor(channelCollection).

Note: See TracTickets for help on using tickets.