From: Jeanette on 15 Jul 2010 10:23 I keep getting the following error message when running a code in which I'm using a cross correlation method. Can't figure out why this error starting happening: The values of TEMPLATE cannot all be the same. Error in ==> normxcorr2>ParseInputs at 242 checkIfFlat(T); Error in ==> normxcorr2 at 55 [T, A] = ParseInputs(varargin{:}); Error in ==> AdamCorrelationTracker9 at 212 corr2=normxcorr2(sub_Im1(:,:,1),sub_Im2(:,:,1)); Any clues?
From: Wayne King on 15 Jul 2010 11:02 "Jeanette " <jeanette_hariharan(a)yahoo.com> wrote in message <i1n5ka$o9q$1(a)fred.mathworks.com>... > I keep getting the following error message when running a code in which I'm using a cross correlation method. Can't figure out why this error starting happening: > > The values of TEMPLATE cannot all be the same. > > Error in ==> normxcorr2>ParseInputs at 242 > checkIfFlat(T); > > Error in ==> normxcorr2 at 55 > [T, A] = ParseInputs(varargin{:}); > > Error in ==> AdamCorrelationTracker9 at 212 > corr2=normxcorr2(sub_Im1(:,:,1),sub_Im2(:,:,1)); > > Any clues? Hi Jeanette, What does sub_Im1(:,:,1) look like? Is it a matrix consisting of identical values for each element? Wayne
|
Pages: 1 Prev: fetching total returns from bloomberg Next: change the line color in plots |