ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
There aren't. In fact, rosmsg users visualization_msgs/ImageMarker
comes up completely dry.
The problem with ImageMarker
is that there's a very simple alternative: just draw your markers/annotations on the input image, publish that as a new topic, and watch in image_view
. Why use ImageMarker
then?
Pros:
Cons:
ImageMarker
s than to use cv::circle()
.So, I don't see the use case. You add complexity without gaining a whole lot. Probably ImageMarker
was a bad idea from the beginning.
By contrast, visualization_msgs/Marker
is useful because it lets you talk to rviz
, and because it describes the world. Marker
can be understood on its own. rviz
integrates data about the world from an arbitrary number of sources, so a Marker
topic is just one more channel. Whereas an ImageMarker
is useless without the source image, so why separate the two?