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

2 次查看(过去 30 天)
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...

采纳的回答

Image Analyst
Image Analyst 2018-11-11
编辑:Image Analyst 2018-11-11
Just OR them together:
finalBinaryImage = binaryImage1 | binaryImage2;
  6 个评论
Image Analyst
Image Analyst 2020-3-6
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 2021-6-9
can you share the code on how to merge the two ROI images ?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by