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

Opened 2012-08-17T15:26:27-05:00

Last modified 2012-08-20T15:57:41-05:00

Unsigned 32-bit images don't survive IJ2->IJ1->IJ2 round trip

Reported by: aivar Owned by: bdezonia
Priority: minor Milestone: imagej2-b4-plugins
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1420

Description

Create a test ramp image (File\New\Image) with unsigned 32-bit, the image looks fine with a grayscale ramp, but if you apply a LUT (Image/Lookup Tables/Fire) the LUT range is distorted.

(This is the third screen capture in luts.png, attached to parent ticket 1420.)

The initial range of values for the ramp image is 0.0...4.294E9, from top left to lower right corner. After you apply a LUT the range becomes 0.0...2.145E9. With the probe tool you can see values in the black area on the right are all 0. The left side of the image shows half of a proper ramp.

Change History

comment:1 Changed 2012-08-18T13:06:26-05:00 by bdezonia

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

comment:2 Changed 2012-08-20T15:57:41-05:00 by bdezonia

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

Fixed with commit 6c6327b2c5bd75ea3a3aa2cc4e027e833e804567