필터 지우기
필터 지우기

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

조회 수: 3 (최근 30일)
Karthik
Karthik 2015년 7월 22일
답변: Azzi Abdelmalek 2015년 7월 22일
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

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2015년 7월 22일
out=reshape(cell2mat(images),250,250,[]);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Object Identification에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by