creating a surface stl from 2d images

2 visualizaciones (últimos 30 días)
Adithya Vasudevan
Adithya Vasudevan el 14 de Abr. de 2020
Comentada: EVANGELIA KALLOUDA el 1 de Sept. de 2020
I need to create a 3D model out of ~300 CT images converted to jpg
This is what I have so far
folder = 'C:\Users\Suraj\Desktop\images\Results';
for i = 109 : 433
% since a few numbers are missing between 109 and 433
try
images{i} = imread( fullfile(folder, sprintf('000%d.jpg', i) ) );
catch
continue;
end
if ndims(images{i}) > 2
I{i} = rgb2gray(images{i});
else
I{i} = images{i};
end
end
I = cat(3, I{:});
imshow(I{i});
view(3);
but i keep getting this error
Brace indexing is not supported for variables of this type.
Error in test2_3D (line 15)
imshow(I{i});
Here's a couple of sample images
  8 comentarios
Adithya Vasudevan
Adithya Vasudevan el 24 de Mayo de 2020
MaryD, So how would i display the 3D matrix as a surface rendering
EVANGELIA KALLOUDA
EVANGELIA KALLOUDA el 1 de Sept. de 2020
Is this problem solved?I am facing exactly the same so if it ia possiple let me know the appropriate code for solving it.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Lighting, Transparency, and Shading en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by