|
From: | Avinoam Kalma |
Subject: | [Octave-bug-tracker] [bug #50151] image package: normxcorr2 is not compatible with Matlab |
Date: | Thu, 26 Jan 2017 04:46:01 +0000 (UTC) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?50151> Summary: image package: normxcorr2 is not compatible with Matlab Project: GNU Octave Submitted by: avinoam Submitted on: Thu 26 Jan 2017 04:45:59 AM GMT Category: Octave Forge Package Severity: 3 - Normal Priority: 5 - Normal Item Group: Matlab Compatibility Status: None Assigned to: None Originator Name: Avinoam Originator Email: Open/Closed: Open Discussion Lock: Any Release: other Operating System: Any _______________________________________________________ Details: For example, use the following script (check_norm.m): s = [-1 0 0 1 1 1 0 -1 -1 0 1 0 0 -1]; t = [1 1 0]; x = normxcorr2(t,s) Running in Matlab: >> check_norm x = Columns 1 through 8 0 -1.0000 -0.5000 -1.0000 -0.5000 0 1.0000 0.8660 Columns 9 through 16 0.5000 -1.0000 -0.8660 0.5000 0.5000 1.0000 0.5000 0 Running in Octave: >> check_norm x = Columns 1 through 11: 1.00000 -0.50000 -0.50000 -1.00000 -0.50000 0.00000 1.00000 0.86603 0.50000 -1.00000 -0.86603 Columns 12 through 16: 0.50000 0.50000 1.00000 -0.50000 -0.50000 The two first entries and the two last entries are different. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?50151> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |