フィルターのクリア

Trace boundaries of objects in NOT binary images

5 ビュー (過去 30 日間)
Silvia
Silvia 2013 年 10 月 31 日
コメント済み: Ankit Sahay 2020 年 9 月 4 日
Hello,
I'd need some help. I need to trace region boundaries in an image. I would need exactly what bwboundaries does but in multi-label images because my image is not binary.
I have a lot of objects, holes, objects inside other objects ... I have to detect all the objects and get its boundaries. I have found only bwboundaries but i couln't find anything for not binary images.
Thank you very much

採用された回答

Image Analyst
Image Analyst 2013 年 10 月 31 日
You can binarize the image and then call it
binaryImage = labeledImage > 0
If the objects are touching and still labeled (which you must have done with a custom algorithm) then you will need multiple binary images:
binaryImage = labeledImage == labelNumberThatYouWant;
do it for every label number that you want the boundary of.
  5 件のコメント
Image Analyst
Image Analyst 2020 年 9 月 3 日
I have no idea what you want - no idea what "deal with" means to you. Start a new question and attach your image(s).
Ankit Sahay
Ankit Sahay 2020 年 9 月 4 日
Okay. Thanks!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFeature Detection and Extraction についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by