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

Support coordinate transformations for SpatialData shape elements #1838

Open
Tracked by #1834
keller-mark opened this issue Apr 1, 2024 · 1 comment · May be fixed by #1849
Open
Tracked by #1834

Support coordinate transformations for SpatialData shape elements #1838

keller-mark opened this issue Apr 1, 2024 · 1 comment · May be fixed by #1849
Labels
feature New feature or request spatialdata

Comments

@keller-mark
Copy link
Member

keller-mark commented Apr 1, 2024

User story

A SpatialData object can define coordinate systems and transformations between the coordinate systems for any of its spatial elements. When visualizing the data, the user expects these coordinate transformations to be applied automatically.

Preferred solution

Vitessce should use the transformations for all spatial elements, including shapes elements. (Currently, Vitessce uses the transformations when loading SpatialData images and labels elements)

This can be achieved by applying a model matrix that represents the transformation to the X/Y(/Z) coordinates after loading those coordinates from the SpatialData object (but before returning the coordinates from the data loader class's .load() function).

Relevant code and documentation:

Possible alternatives

@keller-mark
Copy link
Member Author

Once this is complete, we should also deploy an example and/or a tutorial.

@keller-mark keller-mark linked a pull request Apr 3, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request spatialdata
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant