Creating a paint brush in opencv C++
I want to create an image editing tool in OpenCv with C++ and for that the I need to implement the 'painting with a brush' facility available in MSPaint or other paint applications. The workflow should work like this: - The users should select an area in my the 'Brush' tool from the right hand pane. - and then scribble on the image marking the areas they want to edit. - the tool should be able to identify the pixels marked by the user for further processing. For processing.
I wanted to know about similar projects in OpenCV so that I want can see the source code and try to create make a paint brush and then use project doing the paint brush to indicate the areas of the image which requires editing. How do I do it in opencv?
Basically do something like the image attached.
Thanks,
same.
Suks