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?

Answers (1)

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 Comments

Kotti
Kotti on 13 Sep 2014
Edited: Kotti on 13 Sep 2014
Actually , I have two registered images and want to blend them to create a mosaic, so i wanted to create a spatial mask.
Try imfuse() or imshowpair().

Sign in to comment.

Tags

Asked:

on 13 Sep 2014

Commented:

on 13 Sep 2014

Community Treasure Hunt

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

Start Hunting!