see the 3d image and see the coordinates while moving the mouse over the image

1 visualización (últimos 30 días)
I have a nii binary medical image. How can I visualize it in a way that I be able to move my mouse over it and see the coordinates I am moving over?
Or how can I visualize some specific points in the format of ijk on the image also?

Respuestas (1)

Matt J
Matt J el 26 de Jul. de 2021
Editada: Matt J el 26 de Jul. de 2021
You can use imshow() to display any particular slice of the image and then use the axis datatip button to get the in-slice 2D coordinates of particular pixels.
It is not mathematically possible to have a 3D datatip on a 2D rendering of 3D space (although the dataip will work on a surface plot).

Categorías

Más información sobre Import, Export, and Conversion en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by