Depth info in bin format

Hello!
I have many bin files (depth maps let's say 300x200). And there are classes: car(50 pictures), person(50 pictures) and dog(50 pictures).
How can I import all these files to matlab to array.
I found the function: fid=fopen (but it opens one file only).
Also, are there are any tools which would help me to extract features from these depth maps in matlab?
I tried to dfind, but it looks like there is no.

3 件のコメント

Walter Roberson
Walter Roberson 2019 年 11 月 25 日
However, with the kind of work you are doing, you should probably be looking at imageDatastore()
Iuliia Alekseenko
Iuliia Alekseenko 2019 年 11 月 25 日
yes, I tried this one, but it doesn't work in this case. In the example, they have data like mat1.mat through mat20.mat
matFileName = sprintf('mat%d.mat', k);
but mine looks like 10(1) through 10(50).
Things like *.mat don't help
Walter Roberson
Walter Roberson 2019 年 11 月 25 日
matFileName = sprintf('mat10(%d).mat', k);

サインインしてコメントする。

回答 (0 件)

質問済み:

2019 年 11 月 25 日

コメント済み:

2019 年 11 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by