How can I convert a series of 2D images (grayscale) into a 3D image?
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have collected a series of images from a line laser hitting a rotating metal sphere with an industrial camera, and processed them accordingly, now keeping a series of images of the outline of the metal sphere (grayscale image). I need to convert this series of 2D images into a 3D image. How do I do this? How do I write the code?
2 commentaires
Réponse acceptée
Image Analyst
le 10 Jan 2023
You can use cat
image3d = cat(3, image1, image2, image3, image4, image5); % etc.
Or you can do in a loop
image3d = cat(3, image3d, thisImage);
where this image is that particular image, for example read in from a disk file or cell array or whatever.
9 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 3-D Volumetric Image Processing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!