ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

how to convert rgb image into binary image

asked 2018-12-25 23:54:46 -0500

hamster gravatar image

Sorry but Im really new to ros and image processing. Im using uvc_camera to get image stream from web-cam and using rqt_image_view to view the image. Currently the image is in color. What can i do to convert the image into black and white. I want all color except white become black. And also how to create another window to show the binary image in rqt_image_view, because currently the color image is open via image_raw.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-01-03 08:16:36 -0500

juanlu gravatar image

updated 2019-01-03 08:16:51 -0500

Take a look at OpenCV Apps, specifially section 7 "Image Filter Nodes".

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-12-25 23:40:49 -0500

Seen: 506 times

Last updated: Jan 03 '19