how to generate a binary spatial mask?

I have two images and i want to generate a mask for one of them by using a corelation between them.can anyone help me with this?

回答 (1 件)

Image Analyst
Image Analyst 2014 年 9 月 13 日

0 投票

Use xcorr2() to do the correlation but I have no idea what you plan on doing with that output image to make a mask. What are you thinking? Threshold it or something?????

2 件のコメント

Kotti
Kotti 2014 年 9 月 13 日
編集済み: Kotti 2014 年 9 月 13 日
Actually , I have two registered images and want to blend them to create a mosaic, so i wanted to create a spatial mask.
Image Analyst
Image Analyst 2014 年 9 月 13 日
Try imfuse() or imshowpair().

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

タグ

質問済み:

2014 年 9 月 13 日

コメント済み:

2014 年 9 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by