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

조회 수: 4 (최근 30일)
Jackson Hair
Jackson Hair 2019년 8월 16일
댓글: Jackson Hair 2019년 8월 20일
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
Dheeraj Singh
Dheeraj Singh 2019년 8월 20일
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 2019년 8월 20일
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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by