Store output program to a 3 d array as matrix
1 view (last 30 days)
Show older comments
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 Comments
Jan
on 31 Jan 2017
@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.
Answers (1)
Niels
on 1 Feb 2017
Edited: Niels
on 1 Feb 2017
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
2 Comments
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!