Appending Voxel Intensity with the Voxel Co-ordinates and Plotting ?

I have this two Data.
img_64_chest.mat = Voxel Intensity.
voxel_coords.mat = Voxel Co.ordinate [1st Col : X , 2nd Col: Y, 3rd Col: Z]
I want to append the data first and want to plot the image of the voxel intensity. It will be 4 dimensional Matrix : X coords, Y coords, Z coords, Voxel Intensity. I did this in Mathematica but not able to doing it in the MATLAB.
Any kinds of help will be appreciated. Thank you in advance for your kind assistance.

Answers (2)

yes,sir,if show 3d,just use
load img_64_chest.mat
volshow(img)
then you can get 3d show
but what voxel_coords use to?add points on it?

1 Comment

Thank you for your response !
Yes I want to add the the points here in the image as well!

Sign in to comment.

Hi,
You can use the location and intensity information to create and display a point cloud.
load img_64_chest.mat img
load voxel_coords.mat voxel_cords
ptCloud = pointCloud(voxel_cords,Intensity=reshape(img,[],1));
pcshow(ptCloud);

Products

Release

R2020b

Asked:

on 4 Feb 2022

Answered:

on 15 Feb 2022

Community Treasure Hunt

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

Start Hunting!