フィルターのクリア

problem with correlation of two images

1 回表示 (過去 30 日間)
Farjana Yeasmin
Farjana Yeasmin 2014 年 11 月 30 日
回答済み: Image Analyst 2014 年 11 月 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

回答 (1 件)

Image Analyst
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

Community Treasure Hunt

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

Start Hunting!

Translated by