From what I read, I think your case is more suited for the RealSense community than for the Aero community.
Do you have any questions related to Aero? If you don’t, please tell me so I can move this case to the corresponding community.
Could you please explain a bit further what you are trying to accomplish?
What I infer from the previous post is the following (please correct me if I’m wrong): you capture images with a RealSense camera which is mounted on an Aero drone, you capture and store that data using the RealSense SDK, finally, you take that data and print it in MATLAB.
If the last question is if the PXCImage function can be used in the RealSense SDK, then the answer is yes, it can. Check all the available functions of the latest SDK here: https://software.intel.com/sites/landingpage/realsense/camera-sdk/v2016r3/documentation/html/index_kwindex.html. Notice that the PXCImage is called Image in the last SDK, (https://software.intel.com/sites/landingpage/realsense/camera-sdk/v2016r3/documentation/html/pxcimage.html).
Please keep in mind that any interaction with MATLAB is out of the scope of this technical support team.
Actually I mean, I didn't use Realsense SDK and only use realsense and opencv library and its function.
and My query was Realsense SDK is available on Aero board
I know that SDK is usually appiled in Windows of PC or Android application
So I'm trying to get depth value of each pixel without SDK
Thank you for further explaining your inquiry.
To answer your question, the RealSense SDK is not available for the Aero board, as you mentioned, the SDK is currently just available for Windows (8.1 and 10).
I understand that you want to get the depth value of each pixel without using the SDK (and that is why use are using the sample code from https://software.intel.com/en-us/articles/using-librealsense-and-opencv-to-stream-rgb-and-depth-data). What I don’t understand is why you are experiencing an issue with said code, are you sure the issue is related to the contouring graph from MATLAB?
You may want to give this two examples a try:
I’ll be waiting for your response.
What I don’t understand is why you are experiencing an issue with said code, are you sure the issue is related to the contouring graph from MATLAB?
- No I just wanted to verify my code for depth value. I thought that If I make contouring graph using data, I can get the same image with capture on Aero board however It was different. MATLAB was for simple test.
I tried both examples before. they worked well the first one's result here
I got pixel data consists of 0~255, 8bit unsigned integer format. how can I convert this to image and distance value?
Thanks for the clarification regarding your MATLAB code.
I saw that you are receiving assistance from MartyG in the RealSense community (https://communities.intel.com/thread/113395), I recommend you to follow his suggestion.
You can share the picture that you posted here so he can get a deeper understanding of what you are trying to accomplish.
I also recommend you to continue sharing your updates in the RealSense community since the inquiry is more suited for that forum.
Have a nice day.