ImagingDataCommons / highdicom

High-level DICOM abstractions for the Python programming language
https://highdicom.readthedocs.io
MIT License
171 stars 37 forks source link

WIP: Add coordinate transformer `for_image` classmethods #282

Closed CPBridge closed 4 months ago

CPBridge commented 5 months ago

In order to facilitate this I had to move several functions from highdicom.utils to highdicom.spatial in order to avoid circular dependencies. The methods are re-exported from highdicom.utils for backwards compatibility.

I also corrected several of the test images, which I found had errors relating to their spatial information presumably going right back to the start of the library.

@DanielaSchacherer this will help simplify some parts of your notebook