How to plot the points of intersection between a sliced plane (MRI data) and a line?
Show older comments
I have a 3d matrix representing a volume.
I would like to take two points with Data Cursor, plot a line connecting that plot, and then on vertical and horizontal slices of that volume (3D MRI head) see the point where line penetrated the slice.
Thanks.
1 Comment
Tanguy
on 16 Sep 2020
Hi Tomislav,
load mristack.mat
tool = imtool3D(mristack);
tool.setAspectRatio([1 1 5]); % pixel size 1x1x5 mm3

You'll get that

Then switch to axial view and do the same
Hope that helps!
Accepted Answer
More Answers (1)
Categories
Find more on Neuroimaging in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!