Ask Your Question

Revision history [back]

image binaryzation

Hello All: Source Image image description

Code here: cvtColor(Src, gray, COLOR_BGR2GRAY); threshold(gray, binary, 0, 255, THRESH_BINARY_INV | THRESH_OTSU);

Destination Imageimage description

I want to extract the contours of seven circles,What shall I do? thanks! image description