[bug #50151] [octave forge] (image) normxcorr2 is not compatible with Matlab
"Dmitri A. Sergatskov" <[email protected]> Tue, 7 Jul 2026 09:49:21 -0400 (EDT)
| Newsgroups | gmane.comp.gnu.octave.bugs |
|---|---|
| Message-ID | <[email protected]> |
--===============4615143276956784991==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
UGxlYXNlIHVzZSB0aGUgYnVnIHRyYWNrZXIgdG8gcG9zdCB1cGRhdGVzIHRvIGEgYnVnIHJlcG9y
dC4gIFRoZSBtYWlsaW5nIGxpc3QgaXMgaW50ZW5kZWQgYXMgYSByZWFkLW9ubHkgbm90aWZpY2F0
aW9uIHN0cmVhbS4gIEluZm8gcG9zdGVkIHRvIHRoaXMgbWFpbGluZyBsaXN0IGFkZHJlc3Mgd29u
J3QgYXBwZWFyIGluIHRoZSB0cmFja2VyIGRhdGFiYXNlIHdoZXJlIGl0IGlzIG1vc3QgdXNlZnVs
LgoK
--===============4615143276956784991==
Content-Type: MULTIPART/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; BOUNDARY="8323329-1189641421-1783432161=:607195"
Content-Disposition: inline
--8323329-1189641421-1783432161=:607195
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline
Follow-up Comment #7, bug #50151 (group octave):=0A=0AA minor issue, may be=
change:=0A=0Aif (nargin =3D=3D 3 && ! islogical (use_fft))=0A error ("n=
ormxcorr2: third argument [use_fft] must be logical");=0A end=0A=0Ato=0A=
=0A if (nargin =3D=3D 3 && (! islogical (use_fft) || ! isscalar (use_fft)))=
=0A error ("normxcorr2: third argument [use_fft] must be a scalar logica=
l");=0A end=0A=0A=0AOtherwise it would silently accept things like `normxc=
orr2 (T, I, [true=0Afalse])` with somewhat unexpected results. =0A=0ADmitri=
.=0A-- =0A=0A=0A=0A=0A _________________________________________________=
______=0A=0AReply to this item at:=0A=0A <https://savannah.gnu.org/bugs/?5=
0151>=0A=0A_______________________________________________=0AMessage sent v=
ia Savannah=0Ahttps://savannah.gnu.org/=0A
--8323329-1189641421-1783432161=:607195
Content-Type: APPLICATION/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCak0D4QAKCRCqLAuaBUf3
Tl+cAQCG/bDbylooDqHvkhYMtNP3VaHTKxpWPNCJ94vFo39aqgEAm4oczXohN050
WhnYLA6mpKjbV4Mh/3Fzn0tEcb5Psgg=
=QfXc
-----END PGP SIGNATURE-----
--8323329-1189641421-1783432161=:607195--
--===============4615143276956784991==--