- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello
I have RS D435 and I would like to know if there is a way to read
the raw data file that created with "Intel RealSense Viewer"
in the SDK C++ ?
or even better if I can read it with Matlab ?
thanks,
roobi
- Tags:
- Intel® RealSense
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The link below contains scripting for recording files and playing them bak.
https://github.com/IntelRealSense/librealsense/blob/master/src/media/readme.md librealsense/readme.md at master · IntelRealSense/librealsense · GitHub
The release of a MATLAB wrapper for RealSense SDK 2.0 is due soon.
Also, a user recently used the script below to read a created raw depth stream in MATLAB. Presumably, you should change the 'IntelDepth.raw' file reference to whatever the name of your own file is.
***********
FID = fopen('IntelDepth.raw');
DepthImage = fread(FID, [720, 1280], 'uint8');
fclose(FID)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
in the link you send, I can only find how to read "*.bag" files
this methods don't work for "*.raw" files
in addition, this script will open the file correctly,
you need to read line by line and then transpose the matrix.
FID = fopen('IntelDepth.raw');
DepthImage = fread(FID, [1280, 720], 'uint16')';
fclose(FID);
thanks for you help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a discussion on the MATLAB forum about opening a .raw in MATLAB.
https://uk.mathworks.com/matlabcentral/answers/72525-how-to-open-raw-files-in-matlab How to open .raw files in matlab? - MATLAB Answers - MATLAB Central
Contributors on that discussion suggested that it can be hard to open a .raw in MATLAB because there are different types of .raw and you need to find out the particular configuration values of your .raw
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page