@@ -1491,12 +1491,13 @@ if not datasets:
14911491### "omero" metadata (transitional)
14921492(omero-md)=
14931493
1494- [ =Transitional=] information specific to the channels of an image and how to render it can be found under the ` omero ` key in the group-level metadata:
1494+ Information specific to the channels of an image and how to render it
1495+ can be found under the ` omero ` key in the group-level metadata (i.e., under ` "ome" > "omero" ` ):
14951496
14961497``` json
1497- "id" : 1 , # ID in OMERO
1498- "name" : " example.tif" , # Name as shown in the UI
1499- "channels" : [ # Array matching the c dimension size
1498+ "id" : 1 , // ID in OMERO
1499+ "name" : " example.tif" , // Name as shown in the UI
1500+ "channels" : [ // Array matching the c dimension size
15001501 {
15011502 "active" : true ,
15021503 "coefficient" : 1 ,
@@ -1513,9 +1514,9 @@ if not datasets:
15131514 }
15141515],
15151516"rdefs" : {
1516- "defaultT" : 0 , # First timepoint to show the user
1517- "defaultZ" : 118 , # First Z section to show the user
1518- "model" : " color" # "color" or "greyscale"
1517+ "defaultT" : 0 , // First timepoint to show the user
1518+ "defaultZ" : 118 , // First Z section to show the user
1519+ "model" : " color" // "color" or "greyscale"
15191520}
15201521```
15211522
@@ -1525,11 +1526,13 @@ for more information.
15251526The ` omero ` metadata is optional, but if present it MUST contain the field ` channels ` ,
15261527which is an array of objects describing the channels of the image.
15271528The ` channels ` array length SHOULD correspond to the size of the respective channels axis, if present.
1528- Each object in ` channels ` MAY contain the following fields:
1529+ Each object in ` channels ` is optional and MAY contain the following fields:
15291530
15301531- ` color ` (string) String of 6 hexadecimal digits specifying the color of the channel in RGB format.
15311532- ` label ` (string) Channel name.
15321533- ` active ` (boolean) Indicates whether the channel should be displayed.
1534+ - ` coefficient ` : (float) Value to multiply the pixel values of the channel by when rendering.
1535+ - ` family ` : (string) Used transfer function family for rendering the channel, e.g. "linear", "log", "gamma".
15331536- ` window ` (dictionary) Values describing the windowing of the channel.
15341537 If provided, ` start ` and ` end ` values MUST be specified.
15351538 All values can be floating-point numbers, but will likely be integers for integer pixel types.
0 commit comments