MATLAB Answers

How to plot a point in 3D data displayed in volume Viewer?

30 views (last 30 days)
M W
M W on 27 Jan 2020
Answered: Selva Karna on 28 Jan 2020
I have a 3D medical image.
I want to mark a certain point in that image and display the 3D image with volumeViewer.
The point has x,y,z coordinates.
How can I plot this point into the 3D image and display both in volume Viewer?

  0 Comments

Sign in to comment.

Accepted Answer

Selva Karna
Selva Karna on 28 Jan 2020
To view 3d Volume:
clc
clear all;
close all;
your volume=V;
volshow(V)
3Point view:
% Make mask 3d based on your 3d points
len=length(your 3d points);
% Create Mask
3d_mask=zeros(your_3d points(size));
3d_mask(:,:,:)=your_3d_mask_holes;
volshow(3d_mask)

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!