[ome-devel] Adding min/max information to PyramidTiffReader

Paul van Schayck paul at vanschayck.nl
Tue Dec 20 10:41:04 GMT 2016


Hi Sebastien,

Thanks for the update.

On Tue, Dec 20, 2016 at 10:47 AM, Sebastien Besson (Staff)
<s.besson at dundee.ac.uk> wrote:
> Unfortunately the required changes to set the minmax within a format reader
> are breaking. As we are
> trying to keep the changes in the Bio-Formats 5.3+ line
> backwards-compatible, this means we will not be
> able to put these changes in place before the next round of breaking changes
> in Bio-Formats 6.x for which
> we currently have no defined roadmap/timeline.

If you have any trello card or trac issue to track, can you let me know. Thanks.

In the meantime I created this OMERO script [1] a while a go to fix
the minmax after importing. This does not however do exactly what I
would like. The function setChannelGlobalMinMax() cuts of the channel
min and max values to the ones specified. I would like to still be
able to set the min and max to values higher and lower. I guess this
is called a rendering setting. Would you be able to give me a few
pointers on how to create and save rendering settings from the Python
API. And to set those as the primary rendering settings being used for
all users.

Thanks,

Paul

[1] https://github.com/M4I-nanoscopy/omero-user-scripts/blob/master/omero/util_scripts/Fix_MinMax.py


More information about the ome-devel mailing list