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?

Risposte (1)

Image Analyst
Image Analyst il 13 Set 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 Commenti

Kotti
Kotti il 13 Set 2014
Modificato: Kotti il 13 Set 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().

Accedi per commentare.

Tag

Richiesto:

il 13 Set 2014

Commentato:

il 13 Set 2014

Community Treasure Hunt

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

Start Hunting!

Translated by