How to get depth data from raw file?
7 ビュー (過去 30 日間)
古いコメントを表示
I'm using Intel RealSense Depth module D430. And I have a raw file of a frame that I got from IntelRealsense Viewer and I would like to import that file into MATLAB and get the depth values at one point (if it is possbile). How can I get this information from raw file?
5 件のコメント
Walter Roberson
2020 年 2 月 11 日
https://linuxtv.org/downloads/v4l-dvb-apis/uapi/v4l/pixfmt-z16.html gives the file byte order of RAW files, and indicates that the bytes are in little-endian order, which is the same used on all current MATLAB implementations. You can fopen() and fread() using 'uint16' as the datatype
However it might be easier to loadlibrary() of the libsense or libsense2 library and use higher-level calls to retrieve information.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Low-Level File I/O についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!