overlay to image matrix together

3 ビュー (過去 30 日間)
mahesh chathuranga
mahesh chathuranga 2013 年 9 月 12 日
I want to overlay two images (in resultant image I want to see details of both images.) any one can help me?
  1 件のコメント
Jan
Jan 2013 年 9 月 12 日
Please avoid posting multiple thread containing the same questions, see http://www.mathworks.com/matlabcentral/answers/87007-overlay-two-image-matrix-together. Now both threads contains answers and the confusion level is increased without any need.

サインインしてコメントする。

採用された回答

Image Analyst
Image Analyst 2013 年 9 月 12 日
Try imfuse() or imshowpair().
  3 件のコメント
Image Analyst
Image Analyst 2013 年 9 月 12 日
編集済み: Image Analyst 2013 年 9 月 12 日
You used a + instead of a comma. Try imfuse(H,V). Plus you need to have a modern version of MATLAB. You probably should upgrade to R2013b, because you probably have an ancient version.
mahesh chathuranga
mahesh chathuranga 2013 年 9 月 13 日
thank you

サインインしてコメントする。

その他の回答 (2 件)

Laurent
Laurent 2013 年 9 月 12 日
It depends a lot on your images and what you exactly want, but did you try to just sum them?
overlay_im=image1+image2;
If this is not what you need, please elaborate more on what you would like to achieve.
  2 件のコメント
mahesh chathuranga
mahesh chathuranga 2013 年 9 月 12 日
thank you.but this is not the result what i want. this is my problem, i have two images derived from one image. image1=vertical edges of the original image image2=horizontal edges of the original image now i want to overlay both without summing them
Laurent
Laurent 2013 年 9 月 12 日
編集済み: Laurent 2013 年 9 月 12 日
Ah, assuming that your images are binary images you could do:
overlay_im=image1|image2;

サインインしてコメントする。


Steve Eddins
Steve Eddins 2013 年 9 月 12 日
Image Analyst's answer to use imfuse is good. To use imfuse, you have to have the Image Processing Toolbox with version R2012a or later.
Another option is imoverlay on the File Exchange.
  1 件のコメント
mahesh chathuranga
mahesh chathuranga 2013 年 9 月 13 日
thank you

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by