In images aligning, how to exclude some areas from xcorr2 execution?
2 次查看(过去 30 天)
显示 更早的评论
Hi,
I'm trying to align two images using the procedure described into the "Align Two Images Using Cross-Correlation" example, from the documentation:
In few words, I subtract the mean value and then I perform the cross-correlation. In my case, the result is good but not precise enough.
In details, I have two similar photos to align. The background in the pictures is similar, but not the same, because it is slightly shifted, so the need to align. However, one image presents an occlusion due to a small object.
So, I would like to perform xcorr2 excluding the pixels corresponding to the object, i.e., to perform the alignment only considering the background. How can I do this?
Thanks for your answers.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Segmentation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!