How do we computer SSD (Sum of Squared Differences)
6 views (last 30 days)
Show older comments
Hello!
I am having two images f and g, where g contains a block which is also present in a. How can detect the block in a using SSd? How is SSD computed. Please help!
Accepted Answer
Matt J
on 20 Sep 2014
If g is a template of the block you're searching for, the minimum SSD match is equivalent to the maximum non-normalized correlation match,
correlation=conv2(f,rot90(g,2),'same');
[i,j]=find(correlation=max(correlation(:)));
10 Comments
Mohammad Al Nagdawi
on 29 Jul 2018
from the best on my knowledge the state of the art similarity measure unable to find similarity for such images that will lead to correct registration. I tried Mutual information, Jefferey divergence. conv2, RMSE, and PSNR are helpful only for monomodal images. Can you suggest a nonexistent solution I will build and try?
Image Analyst
on 29 Jul 2018
Then you'll have to develop your own. One that preprocesses the images to get something that can be used for registration, like one that finds the outer circle and center, and being robust enough to handle that gradient.
More Answers (1)
Image Analyst
on 20 Sep 2014
Didn't I answer that in your other question http://www.mathworks.com/matlabcentral/answers/155574#comment_238296
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!