You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.md
+10-12Lines changed: 10 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -443,8 +443,8 @@ Implementations SHOULD prefer to store transformations as a sequence of less exp
443
443
{
444
444
"type": "scale",
445
445
"scale": [2, 3.12],
446
-
"input": "in",
447
-
"output": "out"
446
+
"input": {"name": "in"},
447
+
"output": {"name": "out"}
448
448
}
449
449
]
450
450
}
@@ -661,8 +661,8 @@ In the context of multiscales metadata, this could look like this:
661
661
{
662
662
"type": "scale",
663
663
"scale": [0.5, 0.5],
664
-
"input": "s0",
665
-
"output": "intrinsic"
664
+
"input": {"path": "s0"},
665
+
"output": {"name": "intrinsic"}
666
666
}
667
667
]
668
668
}
@@ -684,8 +684,6 @@ defines the mapping from the "intrinsic" coordinate system to the unitless "arra
684
684
Another transformation (e.g. in a `scene`) could then use the "array" coordinate system as an input or output to define transformations in array units.
685
685
:::
686
686
687
-
688
-
689
687
#### Matrix transformations
690
688
(matrix-trafo-md)=
691
689
@@ -1092,8 +1090,8 @@ For example, in 1D:
1092
1090
"name" : "a coordinate field transform",
1093
1091
"type": "coordinates",
1094
1092
"path" : "i2xCoordinates",
1095
-
"input" : "i",
1096
-
"output" : "x",
1093
+
"input" : {"name": "i"},
1094
+
"output" : {"name": "x"},
1097
1095
"interpolation" : "nearest"
1098
1096
}
1099
1097
```
@@ -1138,8 +1136,8 @@ A 1D example displacement field:
1138
1136
"name" : "a displacement field transform",
1139
1137
"type": "displacements",
1140
1138
"path" : "displacements",
1141
-
"input" : "i",
1142
-
"output" : "x",
1139
+
"input" : {"name": "i"},
1140
+
"output" : {"name": "x"},
1143
1141
"interpolation" : "linear"
1144
1142
}
1145
1143
```
@@ -1192,8 +1190,8 @@ the other two dimensions MUST be axes that are identical to the axes of the `in`
0 commit comments