-
Notifications
You must be signed in to change notification settings - Fork 15
Displacements are multiscales #145
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
Merged
jo-mueller
merged 14 commits into
ome:main
from
jo-mueller:displacements-are-multiscales
Jun 25, 2026
Merged
Changes from 3 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
4a03a56
spec: displacements and coordinates are just multiscales
jo-mueller fe9ff56
tests: add config to displacements example
jo-mueller 8dc51c1
chore: typo
jo-mueller e177f42
spec: Tie together "channel" infor for coords/displacements
jo-mueller f0a0527
spec: note on channel/custom in input space
jo-mueller 12994d6
Merge branch 'main' into displacements-are-multiscales
jo-mueller 7c5875b
Merge branch 'main' into displacements-are-multiscales
jo-mueller fc5d8ae
spec: minor fixes in examples
jo-mueller 1eb1304
spec: remove duplicated text
jo-mueller e0ea729
spec: improve example around displacements
jo-mueller 12497b7
spec: improve indexing example
jo-mueller 9b81015
spec: declare version as 0.6
jo-mueller c61fdf4
Merge branch 'main' into displacements-are-multiscales
jo-mueller 6878a79
Merge branch 'main' into displacements-are-multiscales
jo-mueller File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "schema": "schemas/image.schema" | ||
| } |
32 changes: 32 additions & 0 deletions
32
examples/transformations/displacements/displacement_field.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| { | ||
| "ome": { | ||
| "version": "0.6", | ||
| "name": "the_dfield", | ||
| "multiscales": [ | ||
| { | ||
| "coordinateSystems": [ | ||
| { | ||
| "name": "physical", | ||
| "axes": [ | ||
| {"name": "c", "type": "displacement", "discrete": true}, | ||
| {"name":"y", "type": "space", "unit": "micrometer"}, | ||
| {"name":"x", "type": "space", "unit": "micrometer"} | ||
| ] | ||
| } | ||
| ], | ||
| "datasets": [ | ||
| { | ||
| "path": "s0", | ||
| "coordinateTransformations": [ | ||
| { | ||
| "type": "scale", | ||
| "input" : {"path": "s0"}, | ||
| "output" : {"name": "physical"}, | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| { | ||
| "ome": "0.6", | ||
| "name": "some_image", | ||
| "multiscales": [ | ||
| { | ||
| "coordinateSystems": [ | ||
| { | ||
| "name": "physical", | ||
| "axes": [ | ||
| {"name": "y", "type": "space", "unit": "micrometer"}, | ||
| {"name":"x", "type": "space", "unit": "micrometer"} | ||
| ] | ||
| }, | ||
| { | ||
| "name": "output", | ||
| "axes": [ | ||
| {"name": "y", "type": "space", "unit": "micrometer"}, | ||
| {"name":"x", "type": "space", "unit": "micrometer"} | ||
| ] | ||
| } | ||
| ], | ||
| "datasets": [ | ||
| { | ||
| "path": "s0", | ||
| "coordinateTransformations": [ | ||
| { | ||
| "type": "scale", | ||
| "input": {"path": "s0"}, | ||
| "output": {"name": "physical"}, | ||
| "scale": [2.0, 2.0] | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "coordinateTransformations" : [ | ||
| { | ||
| "type": "displacements", | ||
| "input" : {"name": "physical"}, | ||
| "output" : {"name": "output"}, | ||
| "path" : "coordinateTransformations/displacementField" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.