pulmonarytoolkit icon indicating copy to clipboard operation
pulmonarytoolkit copied to clipboard

Change coordinates

Open mollymolla opened this issue 5 years ago • 1 comments

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

mollymolla avatar Sep 01 '19 15:09 mollymolla

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).

tomdoel avatar Jan 04 '21 22:01 tomdoel