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

Opened 2011-09-22T12:27:14-05:00

Last modified 2013-10-07T16:33:05-05:00

Some images render differently in IJ2

Reported by: afraser Owned by: curtis
Priority: blocker Milestone: imagej2-b8-analysis
Component: Display API Version:
Severity: critical Keywords: display, rendering
Cc: Blocked By:
Blocking: #1244

Description (last modified by curtis)

Boats.gif appears more contrasty than the IJ1 version.

I've confirmed that it's not just a different image file by saving the image to my desktop from IJ2 and reopening it in IJ1... it still looks different.

This display issue hasn't been limited to this one file and is a huge problem, especially for testing functionality of other commands and plugins.

Additional sample images that render differently in IJ2:

  • CT (420K, 16-bit DICOM) — significantly less contrasty in IJ2
  • Dot Blot (7K) — appears darker or more contrasty (subtle) in IJ2. Look at the dark spot at grid position (4,4)
  • Gel (105K) — appears lighter in IJ2
  • HeLa Cells (1.3M, 48-bit RGB) — appears darker in IJ2
  • Mitosis (26MB, 5D stack) — significantly darker in IJ2
  • Neuron (1.6M, 5 channels) — All channels appear darker and less contrasty in IJ2
  • TEM Filter (112K) — Image is slightly darker in IJ2 (8 bit)
  • Tree Rings (48K) — Image is lighter in IJ2

tested with ff78f1f00c5069b267bd05ed9c5350c3100536f2

Attachments

Screen shot 2011-09-22 at 1.26.59 PM.png (798.2 KB) - added by afraser 2011-09-22T12:28:08-05:00.
Same image loaded in IJ2 (left) and IJ1 (right), note the contrast difference.
Screen shot 2011-09-22 at 1.30.18 PM.png (543.6 KB) - added by afraser 2011-09-22T12:32:17-05:00.
CT sample image in IJ2 (left) and IJ1 (right)
Screen shot 2011-09-22 at 1.34.03 PM.png (148.4 KB) - added by afraser 2011-09-22T12:40:02-05:00.
dot blot in IJ2 (left) and IJ1 (right)
Screen shot 2011-09-22 at 1.42.02 PM.png (694.5 KB) - added by afraser 2011-09-22T12:42:31-05:00.
gel.gif in IJ2 (left) and IJ1 (right)

Change History

Changed 2011-09-22T12:28:08-05:00 by afraser

Same image loaded in IJ2 (left) and IJ1 (right), note the contrast difference.

comment:1 Changed 2011-09-22T12:31:48-05:00 by afraser

  • Description modified
  • Summary changed from boats.gif renders differently in IJ2 to Some images render differently in IJ2

Changed 2011-09-22T12:32:17-05:00 by afraser

CT sample image in IJ2 (left) and IJ1 (right)

comment:2 Changed 2011-09-22T12:39:28-05:00 by afraser

  • Description modified

Changed 2011-09-22T12:40:02-05:00 by afraser

dot blot in IJ2 (left) and IJ1 (right)

comment:3 Changed 2011-09-22T12:41:10-05:00 by afraser

  • Description modified

Changed 2011-09-22T12:42:31-05:00 by afraser

gel.gif in IJ2 (left) and IJ1 (right)

comment:4 Changed 2011-09-22T14:21:05-05:00 by afraser

  • Description modified

comment:5 Changed 2011-09-26T11:32:15-05:00 by afraser

  • Description modified

comment:6 Changed 2011-09-26T11:45:47-05:00 by curtis

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

comment:7 Changed 2011-10-24T13:23:42-05:00 by afraser

  • Owner changed from afraser to curtis
  • Description modified

comment:8 Changed 2011-11-07T11:05:22-06:00 by curtis

  • Owner changed from curtis to gharris

comment:9 Changed 2012-01-26T12:44:45-06:00 by curtis

  • Owner changed from gharris to curtis

comment:10 Changed 2012-02-27T11:00:57-06:00 by curtis

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

comment:11 Changed 2012-06-25T13:47:39-05:00 by curtis

  • Blocking 1244 added

comment:12 Changed 2012-06-25T13:48:00-05:00 by curtis

  • Description modified
  • Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta4

comment:13 Changed 2012-06-25T13:48:56-05:00 by curtis

  • Blocking 1244 added

comment:14 Changed 2012-08-14T10:47:28-05:00 by curtis

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

This ticket does not fit the beta4 theme of plugin work. It will fit in marginally better with the beta5 theme of flexible data handling.

comment:15 Changed 2012-11-21T16:59:30-06:00 by aivar

I'm not sure how Adam captured these images, but note that the IJ2 screenshot plugin distorts colors also, see trac #1576. So these screenshots are certainly valid for comparing results but the colors may differ from an actual 'live' IJ2 window.

comment:16 Changed 2013-03-07T15:47:18-06:00 by bdezonia

  • Milestone changed from imagej2-b7-ndim-data to imagej2-b8-analysis

comment:17 Changed 2013-10-07T16:33:05-05:00 by bdezonia

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

Quite a while ago the legacy layer was changed to use IJ1's display range settings when possible. So opening these images via Open Samples results in the same views with no apparent differences. Saving these images to disk and opening them in IJ2 via the Open command will likely have display differences as our current DefaultAutoscaleMethod does not match IJ1's approach. There is already a ticket for that (#794) and so I am closing this ticket as fixed.