Display 3D Image Slice with Line of Intersection with Second Image Slice

3 vues (au cours des 30 derniers jours)
Jackson Hair
Jackson Hair le 16 Août 2019
Commenté : Jackson Hair le 20 Août 2019
I'm trying to build an image viewer to visualize 3D medical images. I'd like to have 3 total slices displayed concurrently on 2D plots with lines on each indicating intersection with the other 2 slices so that the user can navigate through the image stack by dragging and rotating these lines.
I have already written the code to sample these slices from the image volume and solve for the line of intersection between two slices.
The line is just the x, y, z coordinates on either end. I can make the 2D plot with one of these two images with just imagesc(im) but I cannot figure out how to convert the 3D location of the line with its corresponding location on the 2D plot. Can anyone help me?
  7 commentaires
Dheeraj Singh
Dheeraj Singh le 20 Août 2019
If you have the intersection points of the images, can't you use plot3 for plotting the line to show the intersection between the images.
Jackson Hair
Jackson Hair le 20 Août 2019
Right, that's what I have in the above image, but I don't want to display the images in 3D space. I'm trying to display three 2D slices arbitrarily sampled from the total 3D data with lines representing the intersection of the other 2D slices, like in the image below:
2D Display.jpg

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Read, Write, and Modify Image dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by