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

BoundingBox (Point, PointSet) warping can result in None #457

Open
AhmetNSimsek opened this issue Sep 1, 2023 · 0 comments
Open

BoundingBox (Point, PointSet) warping can result in None #457

AhmetNSimsek opened this issue Sep 1, 2023 · 0 comments
Assignees
Labels
bug Something isn't working important

Comments

@AhmetNSimsek
Copy link
Collaborator

as of d35e49b

import siibra
tpl = siibra.get_template('bigbrain')
tpl.boundingbox.warp('mni152') is None

Why: The spatial backend refuses to warp points outside the borders of their diffeomorphic transformation fields.

Extremal points of bounding boxes are outside quite often. So for the BigBrain’s own bounding box, but also for 1 micron sections. Reproduced by querying 1-micron sections with a bounding box in MNI space. Siibra warps the bounding boxes of the sections to MNI space but obtains no result.

Ideally, the backend would provide an endpoint for testing if points are outside the “brain” in the reference space. but it doesn’t so far.

@AhmetNSimsek AhmetNSimsek added bug Something isn't working important labels Sep 1, 2023
@AhmetNSimsek AhmetNSimsek changed the title BoundingBox warping can result in None BoundingBox (Point, PointSet) warping can result in None Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working important
Projects
None yet
Development

No branches or pull requests

2 participants