You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
OK I see that I can export ROIs from QuPath as GeoJson and load them with ShapesModel.parse(). So I guess this question is more about the transformations
Hi, for parsing it depends on the format and order of axes that QuPath uses. Looking at the JSON representation above it seems that the order of axes is x, y, z, and so that you would need this matrix here:
Please let me know if it works for you, and in such case, please consider making a Pull Request to spatialdata-io by providing a general experimental parser for QuPath transformations.
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?
The text was updated successfully, but these errors were encountered: