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

Change coordinates #39

Open
mollymolla opened this issue Sep 1, 2019 · 1 comment
Open

Change coordinates #39

mollymolla opened this issue Sep 1, 2019 · 1 comment

Comments

@mollymolla
Copy link

Hello, I need to change the coordinate system from PTK coordinates to DICOM coordinates (based on tutorial 2), but i can't do it. Is anyone able to help me? Thanks thanks,
Monica

@tomdoel
Copy link
Owner

tomdoel commented Jan 4, 2021

hi @mollymolla did you manage to resolve this? There is a class MimImageCoordinateUtilities which contains various methods for converting between coordinate systems. For example MimImageCoordinateUtilities.PTKToDicomCoordinates(ptk_coordinates, template_image) will convert from PTK to DICOM coordinates (it requires a template image so it knows how to do the conversion).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants