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

3 vues (au cours des 30 derniers jours)
Amit Chakraborty
Amit Chakraborty le 4 Fév 2022
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.

Réponses (2)

yanqi liu
yanqi liu le 7 Fév 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 commentaire
Amit Chakraborty
Amit Chakraborty le 7 Fév 2022
Thank you for your response !
Yes I want to add the the points here in the image as well!

Connectez-vous pour commenter.


Prachi Kulkarni
Prachi Kulkarni le 15 Fév 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);

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by