Azzera filtri
Azzera filtri

How to merge two segmented parts of same Image???

2 visualizzazioni (ultimi 30 giorni)
I segmented ROI part of an image and applied some operation on ROI and Non-ROI separately. Now, after that, I want to merge these parts back to show the reconstructed image. How can I do this? Please provide a Matlab function to solve this problem. Thanks in advance...

Risposta accettata

Image Analyst
Image Analyst il 11 Nov 2018
Modificato: Image Analyst il 11 Nov 2018
Just OR them together:
finalBinaryImage = binaryImage1 | binaryImage2;
  6 Commenti
Image Analyst
Image Analyst il 6 Mar 2020
That is the gray scale image that you want to mask. I called mine grayImage. What did you call your variable?
Mouaz Alsamman
Mouaz Alsamman il 9 Giu 2021
can you share the code on how to merge the two ROI images ?

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by