Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

i have a problem with use of natsortfiles function and divide my images

조회 수: 1 (최근 30일)
Elahe Karimi
Elahe Karimi 2019년 5월 21일
마감: Stephen23 2019년 5월 21일
hello,
I used the function given in the link below to Ordered read the images in the file.
In line 53 --->There was no error because it was a structure , but now (When i used of natsortfiles function :https://www.mathworks.com/matlabcentral/answers/335698-how-to-sort-a-structure-array ) it has an error ,i think because it changed into a cell array.
To resolve this problem, I used the line 47 (structtt = cat (1, cellFileNames {:});) but the problem has not been resolved. In general, i want to read my images in folders (sorted :1,2,3,4,.....) and divide them to train and test images.
Please help me. Thank you so much
1.PNG

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by