how to generate a binary spatial mask?

1 view (last 30 days)
Kotti
Kotti on 13 Sep 2014
Commented: Image Analyst on 13 Sep 2014
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)

Image Analyst
Image Analyst on 13 Sep 2014
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.
Image Analyst
Image Analyst on 13 Sep 2014
Try imfuse() or imshowpair().

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!