How to extract RGB values of image stream

2 visualizzazioni (ultimi 30 giorni)
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??

Risposta accettata

MathWorks Robotics and Autonomous Systems Team
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.

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by