image binaryzation
Hello All: Source Image
Code here: cvtColor(Src, gray, COLOR_BGR2GRAY); threshold(gray, binary, 0, 255, THRESH_BINARY_INV | THRESH_OTSU);
Destination Image
I want to extract the contours of seven circles,What shall I do? thanks!
Few suggestions: You can try Hough Circles detection method. Another observation, the circles are present the edges of the image. So, you can limit your search region.