Store output program to a 3 d array as matrix
1 次查看(过去 30 天)
显示 更早的评论
Sorry if i sounded stupid, i am new to matlab
I wanted to do experiment on fingervein system, i got 10 users with 12 images of each person, i have create all my pre processing step in my main function including the looping
but what i wanted to know is how do i save all the processesd image into array and concatenating them into one 3d matrix so my output will be 10x12. It is possible?
Thank you
3 个评论
Jan
2017-1-31
@Aliff Zin: Please post more details, e.g. example data or existing code. I'm sure it is possible what you want, but I assume the answ3er "yes" will not make you happy.
回答(1 个)
Niels
2017-2-1
编辑:Niels
2017-2-1
A=cell(10,12);
for user=1:10
for imageNumber= 1:12
% for this to work you will need some way to get the right name
% cant help any further without more information (like image names etc)
A{user,imageNumber}=imread ("replace.png");
end
end
i think this might be kind of what you wanted
A{user,imageNumber} % will get you the data you want to access
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!