Ticket #2009 (new defect)

Opened 7 years ago

DefaultAutoscaleMethod could use valid bits range

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-unscheduled
Component: Data Model Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1628


When the DefaultAutoscaleMethod is run on an interval of data that has a single value (data min == data max) the returned display range is [type min, type max]. It would be nice if it instead ran from [valid bits min, valid bits max]. However valid bits is associated with an ImgPlus and this autoscale method works on an IterableInterval<T>. Decide whether to provide a version that uses ImgPlus and restricts to valid bits.

Note: See TracTickets for help on using tickets.