scverse / scverse/spatialdata

Importing ROIs and transformations from QuPath

Open
#834 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
394
Forks
95
Avg merge
4d 3h
Merged PRs (30d)
7

Description

To align an image to a reference atlas I used ABBA to apply some transformations via elastix and bigwarp. I then exported the registrations to QuPath where I can see the atlas segmentations on the original image. I also see that it generates a json file that describes the transformations that were applied to my image. (Example below) In theory I think I should should be able to use this to create an "atlas aligned" coordinate system in spatial data? And I could also import the ROIs as shapes?

"realTransform_2": {
    "type": "AffineTransform3D",
    "affinetransform3d": [
      999.9999999999999,
      0.0,
      0.0,
      405.0,
      0.0,
      999.9999999999999,
      0.0,
      421.99999999999994,
      0.0,
      0.0,
      999.9999999999999,
      0.49999999999999994
    ]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files, tests, or entry points. Clarify whether the goal is importing QuPath ROIs, applying the JSON transformations, creating an atlas-aligned coordinate system, or all three before locating the relevant spatial-data entry points and defining completion criteria.

Written by the indexing model from the issue text.

Assessment

Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.