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...
0 个评论
采纳的回答
Image Analyst
2018-11-11
编辑:Image Analyst
2018-11-11
Just OR them together:
finalBinaryImage = binaryImage1 | binaryImage2;
6 个评论
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?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!