フィルターのクリア

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 Center および File ExchangeGraphics Object Identification についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by