Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to the spec and schemata for RFC-2 #242

Merged
merged 39 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
ff76581
Changes to the spec and schemata for RFC-2
normanrz May 30, 2024
81d8742
typo
normanrz Jun 2, 2024
00371a3
change version in link
normanrz Jun 28, 2024
ee4ce14
adapt spec to RFC-2 revision
normanrz Jul 2, 2024
f1bab0c
Update rfc/2/index.md
normanrz Jul 4, 2024
4e4bf5a
adds schema_url + changes the root object for the JSON schemas to 'at…
normanrz Sep 26, 2024
4df0940
rm schema_url
normanrz Sep 27, 2024
1383ce6
Delete latest/schemas/_schema_url.schema
normanrz Oct 10, 2024
72c4430
mv latest 0.5 && ln -s 0.5 latest
normanrz Nov 21, 2024
8ea81d1
changelog
normanrz Nov 21, 2024
4573829
latest -> 0.5
normanrz Nov 21, 2024
647ee37
latest -> 0.5
normanrz Nov 21, 2024
9d330e8
Merge remote-tracking branch 'upstream/main' into spec-rfc2
normanrz Nov 21, 2024
36238bb
add testresources
normanrz Nov 21, 2024
e183b9a
bump ubuntu
normanrz Nov 21, 2024
733edc0
Fix markdown in html
joshmoore Nov 21, 2024
743a1e0
Remove 'Group: ome'
joshmoore Nov 21, 2024
807d547
add reference to data from the challenge
normanrz Nov 21, 2024
97fb4f8
update about
normanrz Nov 21, 2024
d1ce527
Merge branch 'spec-rfc2' of github.com:normanrz/ngff into spec-rfc2
normanrz Nov 21, 2024
7d4e921
bikeshed -f
normanrz Nov 21, 2024
e0d5c97
messaging
normanrz Nov 21, 2024
6bcb6bd
custom ome/spec-prod
normanrz Nov 21, 2024
85dcc34
Fix TR links
joshmoore Nov 21, 2024
b343cff
Update conf.py
normanrz Nov 21, 2024
b484af0
Update .github/workflows/publish.yml
normanrz Nov 21, 2024
1fe76d6
Minor wording updates
joshmoore Nov 21, 2024
1b661d3
Update Josh's affiliation
joshmoore Nov 21, 2024
237031f
OME-NGFF -> OME-Zarr
normanrz Nov 21, 2024
0fdc48a
Update index.bs
normanrz Nov 21, 2024
c71e8e6
fix link
normanrz Nov 21, 2024
5fa0230
Merge branch 'spec-rfc2' of github.com:normanrz/ngff into spec-rfc2
normanrz Nov 21, 2024
a8e8099
messaging
normanrz Nov 21, 2024
1457de2
local boilerplate?
normanrz Nov 21, 2024
8fd6a5d
fix bikeshed includes
normanrz Nov 21, 2024
e1818bd
add header.include
normanrz Nov 21, 2024
3a23c79
0.5 status -> final
normanrz Nov 21, 2024
6c430a1
Clarify: other axis type values should be strings
imagejan Nov 21, 2024
d3e1fb8
Apply change from gh-270 to 0.5
joshmoore Nov 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions latest/examples/bf2raw/image.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"bioformats2raw.layout" : 3
}
"zarr_format": 3,
"node_type": "group",
"attributes": {
"https://ngff.openmicroscopy.org/0.5": { "bioformats2raw.layout": 3 }
}
}
51 changes: 32 additions & 19 deletions latest/examples/bf2raw/plate.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,35 @@
{
"bioformats2raw.layout" : 3,
"plate" : {
"columns" : [ {
"name" : "1"
} ],
"name" : "Plate Name 0",
"wells" : [ {
"path" : "A/1",
"rowIndex" : 0,
"columnIndex" : 0
} ],
"field_count" : 1,
"rows" : [ {
"name" : "A"
} ],
"acquisitions" : [ {
"id" : 0
} ],
"version" : "0.4"
"zarr_format": 3,
"node_type": "group",
"attributes": {
"https://ngff.openmicroscopy.org/0.5": {
"bioformats2raw.layout": 3,
"plate": {
"columns": [
{
"name": "1"
}
],
"name": "Plate Name 0",
"wells": [
{
"path": "A/1",
"rowIndex": 0,
"columnIndex": 0
}
],
"field_count": 1,
"rows": [
{
"name": "A"
}
],
"acquisitions": [
{
"id": 0
}
]
}
}
}
}
57 changes: 31 additions & 26 deletions latest/examples/label_strict/colors_properties.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,36 @@
{
"image-label": {
"version": "0.5-dev",
"colors": [
{
"label-value": 0,
"rgba": [0, 0, 128, 128]
},
{
"label-value": 1,
"rgba": [0, 128, 0, 128]
"zarr_format": 3,
"node_type": "group",
"attributes": {
"https://ngff.openmicroscopy.org/0.5": {
"image-label": {
"colors": [
{
"label-value": 0,
"rgba": [0, 0, 128, 128]
},
{
"label-value": 1,
"rgba": [0, 128, 0, 128]
}
],
"properties": [
{
"label-value": 0,
"area (pixels)": 1200,
"class": "intercellular space"
},
{
"label-value": 1,
"area (pixels)": 1650,
"class": "cell",
"cell type": "neuron"
}
],
"source": {
"image": "../../"
}
}
],
"properties": [
{
"label-value": 0,
"area (pixels)": 1200,
"class": "intercellular space"
},
{
"label-value": 1,
"area (pixels)": 1650,
"class": "cell",
"cell type": "neuron"
}
],
"source": {
"image": "../../"
}
}
}
105 changes: 59 additions & 46 deletions latest/examples/multiscales_strict/multiscales_example.json
Original file line number Diff line number Diff line change
@@ -1,54 +1,67 @@
{
"multiscales": [
"zarr_format": 3,
"node_type": "group",
"attributes": {
"https://ngff.openmicroscopy.org/0.5": {
"multiscales": [
{
"version": "0.5-dev",
"name": "example",
"axes": [
{"name": "t", "type": "time", "unit": "millisecond"},
{"name": "c", "type": "channel"},
{"name": "z", "type": "space", "unit": "micrometer"},
{"name": "y", "type": "space", "unit": "micrometer"},
{"name": "x", "type": "space", "unit": "micrometer"}
],
"datasets": [
"name": "example",
"axes": [
{ "name": "t", "type": "time", "unit": "millisecond" },
{ "name": "c", "type": "channel" },
{ "name": "z", "type": "space", "unit": "micrometer" },
{ "name": "y", "type": "space", "unit": "micrometer" },
{ "name": "x", "type": "space", "unit": "micrometer" }
],
"datasets": [
{
"path": "0",
"coordinateTransformations": [
{
"path": "0",
"coordinateTransformations": [{
// the voxel size for the first scale level (0.5 micrometer)
"type": "scale",
"scale": [1.0, 1.0, 0.5, 0.5, 0.5]
}]
},
// the voxel size for the first scale level (0.5 micrometer)
"type": "scale",
"scale": [1.0, 1.0, 0.5, 0.5, 0.5]
}
]
},
{
"path": "1",
"coordinateTransformations": [
{
"path": "1",
"coordinateTransformations": [{
// the voxel size for the second scale level (downscaled by a factor of 2 -> 1 micrometer)
"type": "scale",
"scale": [1.0, 1.0, 1.0, 1.0, 1.0]
}]
},
// the voxel size for the second scale level (downscaled by a factor of 2 -> 1 micrometer)
"type": "scale",
"scale": [1.0, 1.0, 1.0, 1.0, 1.0]
}
]
},
{
"path": "2",
"coordinateTransformations": [
{
"path": "2",
"coordinateTransformations": [{
// the voxel size for the third scale level (downscaled by a factor of 4 -> 2 micrometer)
"type": "scale",
"scale": [1.0, 1.0, 2.0, 2.0, 2.0]
}]
// the voxel size for the third scale level (downscaled by a factor of 4 -> 2 micrometer)
"type": "scale",
"scale": [1.0, 1.0, 2.0, 2.0, 2.0]
}
],
"coordinateTransformations": [{
// the time unit (0.1 milliseconds), which is the same for each scale level
"type": "scale",
"scale": [0.1, 1.0, 1.0, 1.0, 1.0]
}],
"type": "gaussian",
"metadata": {
"description": "the fields in metadata depend on the downscaling implementation. Here, the parameters passed to the skimage function are given",
"method": "skimage.transform.pyramid_gaussian",
"version": "0.16.1",
"args": "[true]",
"kwargs": {"multichannel": true}
]
}
],
"coordinateTransformations": [
{
// the time unit (0.1 milliseconds), which is the same for each scale level
"type": "scale",
"scale": [0.1, 1.0, 1.0, 1.0, 1.0]
}
],
"type": "gaussian",
"metadata": {
"description": "the fields in metadata depend on the downscaling implementation. Here, the parameters passed to the skimage function are given",
"method": "skimage.transform.pyramid_gaussian",
"version": "0.16.1",
"args": "[true]",
"kwargs": { "multichannel": true }
}
}
]
}
]
}
}
}
81 changes: 40 additions & 41 deletions latest/examples/multiscales_strict/multiscales_transformations.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,46 @@
{
"multiscales": [
"zarr_format": 3,
"node_type": "group",
"attributes": {
"https://ngff.openmicroscopy.org/0.5": {
"multiscales": [
{
"axes": [
{
"name": "y",
"type": "space",
"unit": "micrometer"
},
{
"name": "x",
"type": "space",
"unit": "micrometer"
}
],
"datasets": [
{
"path": "0",
"coordinateTransformations": [
{
"scale": [
1,
1
],
"type": "scale"
}
]
}
],
"coordinateTransformations": [
"axes": [
{
"name": "y",
"type": "space",
"unit": "micrometer"
},
{
"name": "x",
"type": "space",
"unit": "micrometer"
}
],
"datasets": [
{
"path": "0",
"coordinateTransformations": [
{
"scale": [
10,
10
],
"type": "scale"
"scale": [1, 1],
"type": "scale"
}
],
"version": "0.5-dev",
"name": "image_with_coordinateTransformations",
"type": "foo",
"metadata": {
"key": "value"
]
}
],
"coordinateTransformations": [
{
"scale": [10, 10],
"type": "scale"
}
],
"name": "image_with_coordinateTransformations",
"type": "foo",
"metadata": {
"key": "value"
}
}
]
}
]
}
}
}
8 changes: 7 additions & 1 deletion latest/examples/ome/series-2.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"series" : [ "0", "1" ]
"zarr_format": 3,
"node_type": "group",
"attributes": {
"https://ngff.openmicroscopy.org/0.5": {
"series": ["0", "1"]
}
}
}
Loading
Loading