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 #1430 (closed defect: wontfix)

Opened 2012-08-23T12:33:58-05:00

Last modified 2014-08-20T12:29:45-05:00

Image Calculator does not reuse LUTS

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej-2.0.0
Component: Plugins Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1016

Description

If you make a 1-bit black and white image and run Image Calculator between it and the particles sample image the resultant pixel data is correct and the LUTs are all greyscale.

However in IJ1 particles has an inverting LUT. So if you add the two images with particles as the 1st image the resulting image also has an inverting LUT. In reversed order it does not. The resulting image takes its LUT from the first source image. We are not doing this in IJ2.

Change History

comment:1 Changed 2012-08-23T12:34:28-05:00 by bdezonia

  • Blocking 1339 added

comment:2 Changed 2012-08-27T15:59:07-05:00 by bdezonia

  • Milestone changed from imagej-2.0.0-beta4 to imagej-2.0.0

There is not a simple method to fix this issue. One of the nice things about the RealImageCalculator plugin is that it operates on Datasets and has a good API for it. However to be able to assign the inverting LUT we need to work with displays. Since displays will soon support multiple Datasets we would have to work on the active dataset in the display. This is a little broken and we may determine that we don't need to reuse the first Dataset's LUT after all. Holding off for now.

comment:3 Changed 2012-08-28T09:54:26-05:00 by bdezonia

  • Blocking 1016 added; 1339 removed

comment:4 Changed 2014-08-20T12:29:45-05:00 by curtis

  • Status changed from new to closed
  • Resolution set to wontfix

Punting on this issue for now, until the  Data/View/Display redesign is complete.