Skip to content

Commit

Permalink
List channel vaulues as bullet-points. Add notes on window values
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Feb 7, 2025
1 parent 80cfe08 commit 9097eba
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions 0.5/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -383,13 +383,19 @@ 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.
The "channels" array length SHOULD correspond to the size of the "c" axis.
Each dictionary in "channels" MAY 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" MAY contain the field "label", which is a string and a boolean "active" field to indicate whether the channel
should be displayed.
Each dictionary in "channels" MAY contain the field "window", which is a dictionary describing the windowing of the channel.
The field "window" MAY contain the fields "min" and "max", which should correspond to the minimum and maximum pixel intensities for that channel, respectively.
It MAY also contain the fields "start" and "end", which are the suggested start and end rendering settings of the window, respectively.
Each dictionary in "channels" MAY contain the boolean field "inverted". If true, the renderinging of darkest to brightest pixels should be inverted.
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

0 comments on commit 9097eba

Please sign in to comment.