write sequence of image
14 ビュー (過去 30 日間)
古いコメントを表示
i have a sequence of images formed inside the for loop, my aim is to store each image using a matrix having the same size of image formed
1 件のコメント
Stephen23
2014 年 9 月 11 日
編集済み: Stephen23
2014 年 9 月 11 日
MATLAB has lots of image handling functions. Start browsing the image help , and you will learn lots of ways to import, display and manipulate images. Try writing your own code, and enjoy the learning process!
Images in MATLAB are arrays already, so what exactly is it that you are trying to do?
回答 (1 件)
Image Analyst
2014 年 9 月 11 日
You can make a 3D matrix
for k = 1 : N
% some code to create a rgay scale image
% Stick into a slice of a 3D array
array3d(:,:,k) = grayImage;
end
Or put into a cell array
for k = 1 : N
% some code to create a rgay scale image
% Stick into a cell of a cell array
cellArray{k} = grayImage;
end
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!