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에서 Search Path에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!