How to extract RGB values of image stream
1 view (last 30 days)
Vasil Ppov on 25 Nov 2017
Hello! I connected two computers in a net. Kinect sensor is attached to the first computer, and the computer is ROS master. The first one transfers data to the second computer. Simulink model on the slave computer receives RGB image stream i want to read rgb values. How it can be done??
MathWorks Robotics and Autonomous Systems Team on 5 Dec 2017
You will need a Subscriber in Simulink to subscribe to the topic (on which the image is being streamed), and then use the ReadImage block: https://www.mathworks.com/help/robotics/ref/readimageblock.html to extract RGB data.