Task #13261 (closed)
Opened 8 years ago
Closed 8 years ago
DeltavisionReader - Incorrect size T for series over 32,767
Reported by: | dgault | Owned by: | dgault |
---|---|---|---|
Priority: | minor | Milestone: | Unscheduled |
Component: | Bio-Formats | Version: | OMERO-5.2.0 |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
Issue raised on mailing list - http://lists.openmicroscopy.org.uk/pipermail/ome-users/2016-July/006085.html
For the DeltavisionReader? we are reading the size T as a signed 2 byte Integer (Short) as per the specification we have.
However in the example provided by the user we have a time series longer than the max short value of 32,767. In this case the number read wraps around to a negative value and results in a java.lang.NegativeArraySizeException?
When the image is opened using the Deltavision Opener plugin for Fiji it displays correctly (though the source code suggests that it too is reading a short) - https://imagej.nih.gov/ij/plugins/track/delta.html
Change History (4)
comment:1 Changed 8 years ago by sbesson
- Milestone set to Unscheduled
comment:2 Changed 8 years ago by sbesson
- Type changed from Bug to Task
comment:3 Changed 8 years ago by sbesson
- Component set to Bio-Formats
comment:4 Changed 8 years ago by sbesson
- Resolution set to fixed
- Status changed from new to closed
- Version set to OMERO-5.2.0
See https://github.com/openmicroscopy/bioformats/pull/2590