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 #794 (closed defect: moved)

Opened 2011-09-26T12:03:53-05:00

Last modified 2014-08-30T07:04:32-05:00

16 bit images should auto scale on load

Reported by: afraser Owned by: curtis
Priority: major Milestone: imagej2-b8-analysis
Component: Display API Version:
Severity: serious Keywords:
Cc: Blocked By: #1384
Blocking: #1244

Description (last modified by afraser)

16 bit images should use "pretty good" auto-scaling by default. (5%-95% or whatever IJ1 does)

EDIT: IJ1 does something different.

Test on the CT sample image which renders very differently in IJ1 and IJ2

Need to fix #795 first

Change History

comment:1 Changed 2011-09-26T12:08:34-05:00 by afraser

  • Description modified

comment:2 Changed 2011-10-10T10:51:25-05:00 by curtis

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

comment:3 Changed 2011-10-14T10:55:11-05:00 by afraser

  • Description modified

comment:4 Changed 2011-10-24T11:41:21-05:00 by afraser

  • Owner changed from afraser to curtis

comment:5 Changed 2011-11-07T11:05:44-06:00 by curtis

  • Owner changed from curtis to gharris

comment:6 Changed 2012-01-26T12:44:48-06:00 by curtis

  • Owner changed from gharris to curtis

comment:7 Changed 2012-02-27T11:00:58-06:00 by curtis

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

comment:8 Changed 2012-06-08T12:19:58-05:00 by curtis

  • Component changed from other to ij-display

comment:9 Changed 2012-07-03T13:50:10-05:00 by curtis

Duplicated this bug with the latest code, using T1 Head. First save to TIFF, then reopen in ImageJ2, and the range is set to 0-885 instead of 3-521 like ImageJ1 does. As stated above, the reason is that ImageJ1's default autoscaling is not a naive min-to-max but rather a statistical range computation.

comment:10 Changed 2012-07-03T13:50:51-05:00 by curtis

  • Blocking 1244 added
  • Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta4

comment:11 Changed 2012-08-14T10:47:47-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:12 Changed 2012-10-03T16:37:20-05:00 by bdezonia

Fixing this requires image statistics and histogram info. Wait on ticket #1384

Last edited 2012-10-03T16:37:50-05:00 by bdezonia

comment:13 Changed 2012-10-03T16:38:05-05:00 by bdezonia

  • Blocked By 1384 added

comment:14 Changed 2013-03-07T15:47:56-06:00 by bdezonia

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

comment:15 Changed 2013-10-07T16:37:48-05:00 by bdezonia

In general the default autoscaling method should be modified to do what IJ1 does. And it should apply to all kinds of images and not just 16-bit.

comment:16 Changed 2014-08-30T07:04:32-05:00 by curtis

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