Ticket #59 (closed defect: fixed)
Opened 2010-06-01T13:24:15-05:00
Last modified 2010-08-31T12:00:38-05:00
Fix bug in MinMaxCalculator with cropped images
Reported by: | curtis | Owned by: | curtis |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | SCIFIO | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
There is a bug with MinMaxCalculator where the min is computed over the entire image plane even if only a cropped region was read in.
For example:
showinf 'x.fake' -minmax -crop 20,20,50,50
produces a gradient ranging from 20 to 69. MinMaxCalculator properly identifies the max as 69, but the min value is still 0 for some reason.
Fixed in loci-java:r6482.