Skip to content

Commit ef642a2

Browse files
authored
Merge branch 'main' into scene_coordinateTransformations_input_path_optional
2 parents a2694d3 + c2572cd commit ef642a2

6 files changed

Lines changed: 32 additions & 47 deletions

File tree

authors.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ project:
3636
github: toloudis
3737
orcid: 0000-0003-2620-1233
3838

39-
- name: Forest Collmann
39+
- name: Forrest Collman
40+
orcid: 0000-0002-0280-7022
4041
github: fcollman
4142

4243
- name: Nathalie Gaudreault

examples/coordinate_systems/.config.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/coordinate_systems/arrayCoordSys.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

index.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1475,6 +1475,12 @@ is the coordinate system that is referenced by all multiscale coordinate transfo
14751475
* A single scale or identity transformation
14761476
* A sequence transformation containing one scale and one translation transformation.
14771477

1478+
```{note}
1479+
These transformations are expected to consistently align the datasets across all scales in the intrinsic coordinate system.
1480+
For the most common downsampling methods such as classical binning,
1481+
translations should be (pixel-size-at-resolution-N - pixel-size-at-resolution-0) / 2 for correct multi-scale alignment.
1482+
```
1483+
14781484
In these cases, the scale transformation specifies the pixel size in physical units or time duration.
14791485
If scaling information is not available or applicable for one of the axes,
14801486
the value MUST express the scaling factor between the current resolution
@@ -1979,6 +1985,20 @@ A transformation from instrument3 to instrument1 can be obtained
19791985
by composing the two transformations above.
19801986
:::
19811987

1988+
```{hint} Which coordinate system to display?
1989+
When reading [`scene`](#scene-md) metadata,
1990+
some applications may want to choose a coordinate system as a default reference,
1991+
e.g. for immediate display.
1992+
If they do so, it is RECOMMENDED that the scene's first entry under the `coordinateSystems` field is used as the default, if present.
1993+
Likewise, when writing scene metadata, if there is a coordinate system that acts as a common reference for other coordinate systems within the scene or its child multiscales, it is RECOMMENDED that this coordinate system be stored as the first coordinateSystems entry in the scene.
1994+
1995+
If no coordinate system is defined therein, but only in the respective linked multiscale groups,
1996+
viewers may want to expose a choice for the user to select a coordinate system for display when opening the dataset for the first time.
1997+
1998+
1999+
2000+
```
2001+
19822002
## Specification naming style
19832003
(naming-style)=
19842004

schemas/scene.schema

Lines changed: 4 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -48,41 +48,12 @@
4848
"additionalProperties": false,
4949
"description": "Must reference a coordinate system defined in the same metadata document (path empty)"
5050
}
51-
},
52-
"required": ["input", "output"]
53-
}
54-
]
55-
}
56-
},
57-
"arrayCoordinateSystem": {
58-
"type": "object",
59-
"properties": {
60-
"name": {
61-
"type": "string",
62-
"description": "Name of coordinate space"
63-
},
64-
"axes": {
65-
"allOf": [
66-
{
67-
"$ref": "axes.schema"
68-
},
69-
{
70-
"type": "array",
71-
"items": {
72-
"type": "object",
73-
"properties": {
74-
"type": {
75-
"const": "array"
76-
}
77-
}
78-
}
79-
}
80-
]
51+
]
52+
},
53+
"description": "Constrained input/output for coordinate transformations in scene metadata"
8154
}
82-
},
83-
"required": [
84-
"axes"
8555
]
56+
8657
}
8758
},
8859
"type": "object",

version_history.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ All notable changes to this project will be documented in this file.
88

99
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1010

11+
## [0.6.rc0] - 2026-06-11
12+
13+
### Added
14+
15+
- Added suggestion on which coordinate system to use for display in the spec document.
16+
1117
## [0.6.dev4] - 2026-04-22
1218

1319
### Changed

0 commit comments

Comments
 (0)