View my account

Pixel data and 3D tensors in Matlab data scripts

Comments

6 comments

  • Aznie Syaarriehaah

    Hi 180445034,
    The depth_example script will capture and render the depth frame with a live device. The depth_view_capture will capture and render the depth example based on apps. Then, the pointcloud_example is to generate and visualize the 3D point cloud from the live stream.In pointcloud_example.m line starting line 23, you can see the command that produces the 3D point cloud , the X= vertices(:,1,1); Y=vertices(:,2,1); Z=vertices(:,3,1); will create 3D array to the point cloud.

    Regards,
    Aznie
    Intel RealSense Customer Support

    0
    Comment actions Permalink
  • 180445034

    Thank you for your reply. Aznie,
    I understand that the 3D tensor of pointcloud_example is used.
    But are depth_example and depth_view_example not calculated in the code for 3D tensors?
    Also, are there any codes in these scripts related to pixel data obtained from depth data?

    0
    Comment actions Permalink
  • Aznie Syaarriehaah

    Hi 180445034,
    What do you mean by pixel data? Can you be more specific and describe whats data you are looking for.

    Regards,
    Aznie
    Intel RealSense Customer Support

    0
    Comment actions Permalink
  • 180445034

    Hello. Aznie,
    I use matlab to run depth_example and depth_view_example to get images with different colors depending on the depth.
    I'm looking for where in the script the code for the pixel data needed to get different colors depending on the depth I get with the Depth camera.
    I'm also looking for code for RGB data with images that can be obtained using realsense.
    I think that depth_example and depth_view_example use the matlab code that exists in the "+ realsense" file, so that code is also relevant.
    I'm sorry for my lack of explanation, but please reply.

    0
    Comment actions Permalink
  • Aznie Syaarriehaah

    Hi 180445034,
    In the depth_example and depth_view_example script, there is no extra pixel data used in the colorizer, and the colorizer use only the depth for the colorizer. So, the pixel will base on the depth itself, not on other pixel information.

    Regards,
    Aznie
    Intel RealSense Customer Support

    0
    Comment actions Permalink
  • 180445034

    I was able to understand.
    Thank you for staying with me for a long reply. Aznie.

    0
    Comment actions Permalink

Please sign in to leave a comment.