- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
from the depth example when we take an image using the matlab sdk, we got the depth image resolution 1280x720 and the rgb image 640x480, how can i control the resolution? (using the viewer tool there is a lot of resolution options...)
Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wrote an answer recently about configuring camera settings via the MATLAB wrapper of the SDK. Unfortunately it seems to have been lost when Intel switched to a new forum website last week. I will try to replicate the basic details from memory.
In the MATLAB wrapper of the RealSense SDK 2.0 SDK, configuration instructions can be set up using a 2-step process.
- Define the parameters of an instruction using a command called validateattributes
- Use a cfg configuration instruction in the line after the validateattributes statement to set up a configuration for a particular camera setting.
On lines 4 and 5 of the MATLAB wrapper example script linked to below, you can see an example of a setup using this pairing of validateattributes and cfg:
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/matlab/rosbag_example.m
I would recommend posting a question at the RealSense GitHub site, where the RealSense engineers and developers reside, as they have deep knowledge of the RealSense SDK's code. You can post there by going to the link below and clicking the New Issues button.
https://github.com/IntelRealSense/librealsense/issues

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page