Change coordinates
mollymolla opened this issue · 1 comments
mollymolla commented
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 commented
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).