1 | initial version |
In OpenCV you can use the cv::FindContours()
. It offers a similar result (the contours of the connected component blobs).
It's not an indentical replacement, but you can extract all the needed information from here.
You may also want to know about cv::Moments
, which calculates statistics about your blobs, and cv::contourArea()
- for area, and cv::arcLength()
for perimeter