Hello Community,
I am currently working with the OHIF Viewer and am using the Rectangle Scissor Tool to annotate regions. While the tool works perfectly for drawing rectangles on the image, I need to extract the coordinates of the rectangle (e.g., the top-left and bottom-right points) programmatically.
Has anyone worked with this tool and successfully retrieved the coordinates? Specifically, I am looking for:
- The API or method within OHIF Viewer that provides the rectangle’s coordinates after it’s drawn.
- Any configuration or event listeners I need to enable to capture this data.
Thank you in advance for your help!
Best regards,
Amritha