@@ -1524,14 +1524,21 @@ for more information.
15241524
15251525The ` omero ` metadata is optional, but if present it MUST contain the field ` channels ` ,
15261526which is an array of dictionaries describing the channels of the image.
1527- Each dictionary in ` channels ` MUST contain the field ` color ` ,
1528- which is a string of 6 hexadecimal digits specifying the color of the channel in RGB format.
1529- Each dictionary in ` channels ` MUST contain the field ` window ` ,
1530- which is a dictionary describing the windowing of the channel.
1531- The field ` window ` MUST contain the fields ` min ` and ` max ` ,
1532- which are the minimum and maximum values of the window, respectively.
1533- It MUST also contain the fields ` start ` and ` end ` ,
1534- which are the start and end values of the window, respectively.
1527+ The ` channels ` array length SHOULD correspond to the size of the ` c ` axis.
1528+ Each dictionary in ` channels ` MAY contain the following fields:
1529+
1530+ - ` color ` (string) String of 6 hexadecimal digits specifying the color of the channel in RGB format.
1531+ - ` label ` (string) Channel name.
1532+ - ` active ` (boolean) Indicates whether the channel should be displayed.
1533+ - ` window ` (dictionary) Values describing the windowing of the channel. All values are optional (MAY).
1534+ The ` min ` and ` max ` values may be used by viewers as the range of channel sliders.
1535+ All values can be floating-point numbers, but will likely be integers for integer pixel types.
1536+ - ` min ` (float) Should correspond to the minimum pixel intensity for that channel.
1537+ - ` max ` (float) Should correspond to the maximum pixel intensity for that channel.
1538+ - ` start ` (float) Start of the rendering window.
1539+ - ` end ` (float) End of the rendering window.
1540+ - ` inverted ` (boolean) If true, the rendering of darkest to brightest pixels should be inverted.
1541+
15351542
15361543### "labels" metadata
15371544(labels-md)=
0 commit comments