Filter löschen
Filter löschen

How to plot the points of intersection between a sliced plane (MRI data) and a line?

1 Ansicht (letzte 30 Tage)
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 Kommentar
Tanguy
Tanguy am 16 Sep. 2020
Hi Tomislav,
You can use the line tool of imtool3D (line button on the right of the viewer)
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!

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 7 Nov. 2012
Might want to try FEX:slice-o-matic

Weitere Antworten (1)

Matt J
Matt J am 6 Nov. 2012
RBLINE will probably be a useful tool for making this.
  2 Kommentare
Tomislav
Tomislav am 7 Nov. 2012
I cant get it to work for 3D. In 2D its a nice tool, but I need to cross a line trough 3D axis.
Thanks.
Matt J
Matt J am 7 Nov. 2012
I don't think you can draw a line interactively in 3D, for reasons we discussed here.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Biomedical Imaging finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by