We're Hiring!

Histogram settings

General user discussion about using and improving the OME Data Model. Please ask new questions at https://forum.image.sc/tags/ome-xml
Please note:
Historical discussions about the OME Data Model. Please look for and ask new questions at https://forum.image.sc/tags/ome-xml

Histogram settings

Postby Uppstrom » Thu May 02, 2013 8:54 am

I'm looking for a suitable place to insert information about the histogram transform (boundaries) used to transform the captured 16-bit image to an 8-bit displayed image. I am working with a system for electron microscopy and it is fairly common to have nearly all of your image data in a narrow peak at the lower end of the 16-bit range. To view this on screen, the data is then transformed to 8 bits using an upper and lower bound placed around this peak. These bounds are usually auto-calculated (crop 0.5% of raw histogram on each side or some such) but can be overridden by the user. The bounds for this transformation would be nice to save in the OME file.

So my question - is there a place where such information can be saved in the OME structure, and if not, are there any plans to incorporate it in future versions?

Posts: 2
Joined: Thu May 02, 2013 8:31 am

Re: Histogram settings

Postby ajpatterson » Thu May 02, 2013 11:28 pm

Hello Uppstrom,

At present there are no rendering setting stored in the OME file, there are however rendering setting used by the OMERO server.

In the OMERO server each channel has rendering settings. These settings stored on a per-user basis. If you software were to write the data directly to an OMERO server then you could store these values.

In the OME file you can store values in Structured Annotations. This would allow software that knows about your annotations to read the values, and the OMERO server will preserve the annotation. The server would not by default copy your values to the rendering settings, but this step could be achieved post-import using a custom script.

It could be possible in a future OME file schema to move the values from the annotation into the core model.

If you want either of these approaches outlines in full let me know.

Andrew Patterson
Software Developer, Open Microscopy Environment
Wellcome Trust Centre for Gene Regulation and Expression
University of Dundee
Posts: 50
Joined: Fri May 01, 2009 11:18 am

Re: Histogram settings

Postby Uppstrom » Thu May 16, 2013 11:59 am

The structured annotation alternative seems pretty straightforward, will try it,
thank you!

Posts: 2
Joined: Thu May 02, 2013 8:31 am

Return to User Discussion and Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest