Create image message - MATLAB - MathWorks América Latina
la.mathworks.com › help › rosTo convert the image to a MATLAB ® image, use the readImage function. Creation Syntax msg = rosmessage ('sensor_msgs/Image') Description example msg = rosmessage ('sensor_msgs/Image') creates an empty Image object. To specify image data, use the msg.Data property. You can also get these image messages off the ROS network using rossubscriber.