Ticket #777 (closed defect: fixed)

Opened 8 years ago

Last modified 6 years ago

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) (diff)

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 Download (798.2 KB) - added by afraser 8 years ago.
Same image loaded in IJ2 (left) and IJ1 (right), note the contrast difference.
Screen shot 2011-09-22 at 1.30.18 PM.png Download (543.6 KB) - added by afraser 8 years ago.
CT sample image in IJ2 (left) and IJ1 (right)
Screen shot 2011-09-22 at 1.34.03 PM.png Download (148.4 KB) - added by afraser 8 years ago.
dot blot in IJ2 (left) and IJ1 (right)
Screen shot 2011-09-22 at 1.42.02 PM.png Download (694.5 KB) - added by afraser 8 years ago.
gel.gif in IJ2 (left) and IJ1 (right)

Change History

Changed 8 years ago by afraser

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

comment:1 Changed 8 years ago by afraser

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

Changed 8 years ago by afraser

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

comment:2 Changed 8 years ago by afraser

  • Description modified (diff)

Changed 8 years ago by afraser

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

comment:3 Changed 8 years ago by afraser

  • Description modified (diff)

Changed 8 years ago by afraser

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

comment:4 Changed 8 years ago by afraser

  • Description modified (diff)

comment:5 Changed 8 years ago by afraser

  • Description modified (diff)

comment:6 Changed 8 years ago by curtis

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

comment:7 Changed 8 years ago by afraser

  • Owner changed from afraser to curtis
  • Description modified (diff)

comment:8 Changed 8 years ago by curtis

  • Owner changed from curtis to gharris

comment:9 Changed 8 years ago by curtis

  • Owner changed from gharris to curtis

comment:10 Changed 7 years ago by curtis

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

comment:11 Changed 7 years ago by curtis

  • Blocking 1244 added

comment:12 Changed 7 years ago by curtis

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

comment:13 Changed 7 years ago by curtis

  • Blocking 1244 added

comment:14 Changed 7 years ago 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 7 years ago 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 6 years ago by bdezonia

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

comment:17 Changed 6 years ago 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.

Note: See TracTickets for help on using tickets.