problem with correlation of two images
1 回表示 (過去 30 日間)
古いコメントを表示
my code is :
{function [ cofficient ] = Untitled( image )
I = imread('D:\\Thesis Code\\Source Code\\StegoImage.png');
J=imread('D:\\Thesis Code\\Source Code\\RotatedImage.png');
corr2(I,J)
end }
I got the problem like..
Error using corr2>ParseInputs (line 40)
A and B must be the same size.
Error in corr2 (line 22)
[a,b] = ParseInputs(varargin{:});
Error in Untitled (line 7)
corr2(I,J)
how can i solve this problem ?? plz help
0 件のコメント
回答 (1 件)
Image Analyst
2014 年 11 月 30 日
The correlation will be bad if one of the images is a rotated version of the other, so don't even bother. If you want to detect if one is a scaled, translated, and rotated version of the other, try Hu's moments like in this video
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!