Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omero metadata optional #297

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions 0.5/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -382,10 +382,20 @@ See the [OMERO WebGateway documentation](https://omero.readthedocs.io/en/stable/
for more information.

The "omero" metadata is optional, but if present it MUST contain the field "channels", which is an array of dictionaries describing the channels of the image.
Each dictionary in "channels" MUST contain the field "color", which is a string of 6 hexadecimal digits specifying the color of the channel in RGB format.
Each dictionary in "channels" MUST contain the field "window", which is a dictionary describing the windowing of the channel.
The field "window" MUST contain the fields "min" and "max", which are the minimum and maximum values of the window, respectively.
It MUST also contain the fields "start" and "end", which are the start and end values of the window, respectively.
The "channels" array length SHOULD correspond to the size of the "c" axis.
Each dictionary in "channels" MAY contain the following fields:

- "color" (string) String of 6 hexadecimal digits specifying the color of the channel in RGB format.
- "label" (string) Channel name.
- "active" (boolean) Indicates whether the channel should be displayed.
- "window" (dictionary) Values describing the windowing of the channel. All values are optional (MAY).
The "min" and "max" values may be used by viewers as the range of channel sliders.
All values can be floating-point numbers, but will likely be integers for integer pixel types.
- "min" (float) Should correspond to the minimum pixel intensity for that channel.
- "max" (float) Should correspond to the maximum pixel intensity for that channel.
- "start" (float) Start of the rendering window.
- "end" (float) End of the rendering window.
- "inverted" (boolean) If true, the rendering of darkest to brightest pixels should be inverted.

"labels" metadata {#labels-md}
------------------------------
Expand Down
Loading