Adding ROIs to existing MPL axes #413
-
Hello, I have a single slice DICOM image of a basic image quality phantom. I now want to overlay those ROIs on MPL axes as a quick sanity check, but using the plot2axes method on an existing axes just produces a blank canvas? What is the easiest way to do this? Thanks so much in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
If you want to overlay the ROIs into the original image then you likely want to use the same axis for the ROI and image. I.e.
Let me know how it goes. |
Beta Was this translation helpful? Give feedback.
If you want to overlay the ROIs into the original image then you likely want to use the same axis for the ROI and image. I.e.
fig, ax = plt.subplots()
img.plot(ax)
north.plot2axes(ax, 'red')
Let me know how it goes.