- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I want to fill image holes, using a distance transform of another image.
Is there a way - to get aclosest pixels map(i.e. not only the distance map , but also the closest pixel'slocation/adress)or to flood fill an image using another image's non zero pixels and theirclosest pixels??
Thank you..
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
This functionality (distance transform with the labels of the nearest points) has been added to the very latest CVS version of OpenCV
that can be retrieved from SourceForge:
http://sourceforge.net/cvs/?group_id=22870Actually, it is not exactly what it requested, because all pixels in a connected component have the same labels, so the labels of the nearest connected components, not the nearest pixels, are returned. Though, this feature can be easily added, if need.
Regards,
Vladimir
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page