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

3 views (last 30 days)
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)

yanqi liu
yanqi liu on 7 Feb 2022
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?

Prachi Kulkarni
Prachi Kulkarni on 15 Feb 2022
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

Community Treasure Hunt

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

Start Hunting!