OME (Open Microscopy Environment) develops open-source software and data format standards for the storage and manipulation of biological light microscopy data. A joint project between universities, research establishments and industry in Europe and the USA, OME has over 20 active researchers with strong links to the microscopy community. Funded by private and public research grants, OME has been a major force on the international microscopy stage since 2000.
Companion PR to https://github.com/ome/omero-server/pull/164 which fixes the bin assignment in the getHistorgram API. The bug fix exposes the fact that the underlying integration tests were incorrect
This PR fixes the assertions for the existing tests (uint8 and uint16) and expands the coverage to also test signed pixel types as well as 32 and 64 bit pixel types.
As ground truth, the Python snippet below returns the expected non-zero bin counts for all scenarios
This PR is now in a fairly good state, should cover a wider range of pixel types and can be used to review the server histogram fixes proposed in https://github.com/ome/omero-server/pull/164.
Companion PR to https://github.com/ome/omero-server/pull/164 which fixes the bin assignment in the
getHistorgram
API. The bug fix exposes the fact that the underlying integration tests were incorrectThis PR fixes the assertions for the existing tests (uint8 and uint16) and expands the coverage to also test signed pixel types as well as 32 and 64 bit pixel types.
As ground truth, the Python snippet below returns the expected non-zero bin counts for all scenarios