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

3 Ansichten (letzte 30 Tage)
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.

Antworten (2)

yanqi liu
yanqi liu am 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?
  1 Kommentar
Amit Chakraborty
Amit Chakraborty am 7 Feb. 2022
Thank you for your response !
Yes I want to add the the points here in the image as well!

Melden Sie sich an, um zu kommentieren.


Prachi Kulkarni
Prachi Kulkarni am 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);

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by