[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44830] image package: imtransform gives diffe
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #44830] image package: imtransform gives different numbers on simple rotation |
Date: |
Tue, 14 Apr 2015 10:43:56 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0 |
Follow-up Comment #1, bug #44830 (project octave):
The third column in the transform matrix is unused for 'affine' transforms.
Does simplifying the call as follows change Matlab result:
clear;
pkg load image;
M = [0 1 0; 0 1 0; 0 1 0];
a=45;
t = maketform ('affine',[cosd(a) sind(a); -sind(a) cosd(a); 0 0]);
imtrans = imtransform (M,t,'fillvalues',0)
Also what should we think about the fact that Matlab output is not symmetric?
I expect (may be wrong though) symmetries around both diagonals for such
rotation of 45°.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44830>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/