Borrar filtros
Borrar filtros

How to stack data read and images and plot in 3D ?

3 visualizaciones (últimos 30 días)
Karthik
Karthik el 22 de Jul. de 2015
Respondida: Azzi Abdelmalek el 22 de Jul. de 2015
Hi, I am using the following code for reading the images and extracting the data into cells.
imagefiles = dir('*.bmp');
nfiles = length(imagefiles); % Number of files
for ii=1:nfiles
currentfilename = imagefiles(ii).name;
currentimage = imread(currentfilename);
images{ii} = currentimage;
end
how can i stack the data one below the other from cells in images{ii} and view the result in 3D ?
I attached the .mat file for images{ii}.
Thanks

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 22 de Jul. de 2015
out=reshape(cell2mat(images),250,250,[]);

Más respuestas (0)

Categorías

Más información sobre Graphics Object Identification 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