How to contour extraction by stroke?

How to extract the contour of the bone by draw points near the edge of the bone?

welcome.

please show your effort into solving your task.

related: Contour matching and evaluation criteria?

@wulicheng , did you mean something interactive, like snakes ?

1 Like

yes, I know snakes,but i do not have the code? Do you have source code?

please take a look at the contours tutorials

if you really need something interactive (i doubt so),
there is also an IntelligentScissors implementation

Try CVUI which is a great library supporting both C++ and Python OpenCV.
CVUI enables the fast prototyping of interactive applications using OpenCV.

thank you, that is what i need!

1 Like