Pal
Pal

Reputation: 1039

Image processing library/algorithm in c/c++ for contour coordinate detection

Trying to find the contour boundary points of a set of images as a list of x,y coordinates. Here is a set of sample images and I'm looking for the boundaries of the white, gray and the inner blue regions of the donut(cardiac segments). I'm able to get the coordinate of of each color based on levels however, finding the boundary coordinates efficiently is a challenge. Tried convex hull but with limited success. Any advice would be appreciated. Ideally a C++ library that may have a routine to efficiently compute the list. Since,there are lots of such images, efficiency is a key factor.

enter image description here A list of images containing contours of interest.

Upvotes: 1

Views: 1202

Answers (1)

PSchn
PSchn

Reputation: 728

OpenCV is a good image processing library with lots of features including findContours. There is a also a GPU support but i dont think for the findContours algorithm. But its free and easy to implement. Maybe the performance is still good enough.

Upvotes: 1

Related Questions