How to do detect and join convex portions in a bw image with some criteria?
5 次查看(过去 30 天)
显示 更早的评论
Hi, I have a binary image in which there are roughly convex portions which would finally make closed shapes. I have attached the image here. This is what I want to do: 1) The joint convex parts which face in opposite directions are to be separated. 2) The disjoint convex parts that face each other and are also close to each other(by image co-ordinate values) are to be fused together. 3) There are similar objects in the image so the algorithm must work for all.
Basically I need to close all convex regions. Please tell me how to proceed. I am stuck here since last two days. I have knowledge about convexhull. But that was not working fine because there are many convex portions of different sizes and facing in different directions.
0 个评论
回答(1 个)
Image Analyst
2014-4-2
You'll probably have to manually split those apart since where you split it doesn't seem to follow any normal splitting method, like watershed for example. Same for connecting them. You have a very special description for how things should be joined that does not match up with any usual joining methods, like morphological closing, so you're stuck writing your own if you can, but you may have to end up manually painting regions together.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Bounding Regions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!