Ticket #1423 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

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


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 8 years ago by bdezonia

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

comment:2 Changed 8 years ago by bdezonia

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

Fixed with commit 6c6327b2c5bd75ea3a3aa2cc4e027e833e804567

Note: See TracTickets for help on using tickets.