How can I find inner and outer boundaries of binary image
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I am working on a segmentation project, where I could successfully segment the questionable area and I got a binary image. I used bwboundaries() in order to get the boundaries, nevertheless it found one continuoes boundary instead of two ( inner and outer).
Are there any way to detect the inner- and outer boundaries separately, like this?
Thanks for your suggestions!
3 Kommentare
Image Analyst
am 13 Aug. 2021
For some arbitrary blob shape, like a kidney bean, or an asterisk, or whatever, you have no way to define the splitting point of the boundary. Just saying "the corner points" is not good enough. You're going to have to define it better than that. There could be lots of places where the change in direction is high. Try to explain in more detail what it is about those points you chose. And what do your other masks look like? Are they all U or V-shaped blobs? What about taking the convex hull and then finding the largest interior bay and finding where that boundary intersects your outer hull?
Antworten (1)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!