write sequence of image

14 次查看(过去 30 天)
Jishnu C Rajan
Jishnu C Rajan 2014-9-11
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
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
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

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by