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?

Antworten (1)

Image Analyst
Image Analyst am 13 Sep. 2014

0 Stimmen

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 Kommentare

Kotti
Kotti am 13 Sep. 2014
Bearbeitet: Kotti am 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 am 13 Sep. 2014
Try imfuse() or imshowpair().

Melden Sie sich an, um zu kommentieren.

Tags

Gefragt:

am 13 Sep. 2014

Kommentiert:

am 13 Sep. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by