[bug #50257] [octave forge] (image) imtranslate is not Matlab compatible
Avinoam Kalma <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.bugs |
|---|---|
| Message-ID | <[email protected]> |
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.
Follow-up Comment #4, bug #50257 (group octave):
Running the commands:
img = uint8([1 2 3 4; 5 6 7 8; 9 10 11 12; 13 14 15 16]);
result = imtranslate(img, [0.3, 1.7], "cubic")
On 11.1.0 I get:
result =
0 0 0 0
0 0 1 1
1 3 4 5
5 7 8 10
On 7.2.0 I get:
result =
0 0 0 0
0 0 0 1
1 3 4 5
5 7 8 9
The cause of the difference is a change in interp2
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?50257>
_______________________________________________
נשלחה הודעה דרך Savannah
https://savannah.gnu.org/
signature.asc
(application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaaCfsQAKCRCqLAuaBUf3 Tm0qAP0ar5h3SCRawyLEq7YnYQrTDhVCFj2LAGgzFysjwUEMtwD+N6Gt11n5Wmiw ggZyeUHtoOZWNP4rtH0/MP12aR8MaQo= =VkLA -----END PGP SIGNATURE-----