KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have an edge map extracted from edge detection module in OpenCV (canny edge detection). What I want to do is to fill the holes in the edge map. I am using C++ , and OpenCV libraries. In OpenCV there is a cvFloodFill() function, and it will fill the holes with a seed (with one of the location to start flooding). However, I am trying to fill all the interior holes without knowing the seeds.(similar to imfill() in MATLAB) Q1: how to find all the seeds, so that I could apply 'cvFloodFill()'? Q2: how to implement a 'imfill()' equivalent? Newbie in OpenCV, and any hint is appreciated.
Tags (comma-separated)
Save Edits
Cancel