define boundaries and merge two objects

4 visualizzazioni (ultimi 30 giorni)
I have these both segemented objects and I want to define their boundaries by drawing a perfect circle after that I want to merge these objects in one image . could you help?

Risposta accettata

Image Analyst
Image Analyst il 8 Ott 2022
Assuming they both have the same number of rows and columns, you can do
maskBoth = mask1 | mask2; % Merge -- make union of the two binary images.
  1 Commento
Image Analyst
Image Analyst il 8 Ott 2022
You can use viscircles to draw perfect circles into the overlay above the image.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by