how to combine two different images in matlab?
2 ビュー (過去 30 日間)
古いコメントを表示
how can i add two functions ? how can i add two images
0 件のコメント
採用された回答
Walter Roberson
2014 年 2 月 1 日
newimage = image1 + image2;
Unless the two images are not the same size. Or unless you do not mean "add" in the arithmetic sense and instead mean something like "put them side by side".
2 件のコメント
Image Analyst
2014 年 2 月 1 日
編集済み: Image Analyst
2014 年 2 月 1 日
If they're integers (uint8 or uint16), cast to double to prevent clipping.
Regarding Walter's display suggestion, try imshowpair(), imfuse(), or montage().
Walter Roberson
2014 年 2 月 1 日
Ashok didn't say anything about wanting to prevent clipping. I suspect Ashok has not thought about that problem.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!