[Scilab-users] IPCV - imrotate

classic Classic list List threaded Threaded
4 messages Options
der_Phil der_Phil
Reply | Threaded
Open this post in threaded view
|

[Scilab-users] IPCV - imrotate

Dear developers of IPCV,
using the function   imrotate()   seems to increse the image size.
Please see following code:

img = zeros(10,10);
imshow(img);
size(img)
img = imrotate(img,90);
imshow(img);
size(img)

I could imagine that the image size changes, when one uses rotation angles <> 90°.
But for exactly 90° this is a strange behaviour.

Best regards,
Philipp

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
mottelet mottelet
Reply | Threaded
Open this post in threaded view
|

Re: IPCV - imrotate

Le 29/04/2019 à 10:06, P M a écrit :
Dear developers of IPCV,
using the function   imrotate()   seems to increse the image size.
Please see following code:

img = zeros(10,10);
imshow(img);
size(img)
img = imrotate(img,90);
imshow(img);
size(img)

I could imagine that the image size changes, when one uses rotation angles <> 90°.
But for exactly 90° this is a strange behaviour.

Best regards,
Philipp

_______________________________________________
users mailing list
[hidden email]
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users

Is the angle in degrees or radians ?

S.

-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
der_Phil der_Phil
Reply | Threaded
Open this post in threaded view
|

Re: IPCV - imrotate

One has to enter the angle in degrees.

P.

Am Di., 30. Apr. 2019 um 08:44 Uhr schrieb Stéphane Mottelet <[hidden email]>:
Le 29/04/2019 à 10:06, P M a écrit :
Dear developers of IPCV,
using the function   imrotate()   seems to increse the image size.
Please see following code:

img = zeros(10,10);
imshow(img);
size(img)
img = imrotate(img,90);
imshow(img);
size(img)

I could imagine that the image size changes, when one uses rotation angles <> 90°.
But for exactly 90° this is a strange behaviour.

Best regards,
Philipp

_______________________________________________
users mailing list
[hidden email]
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users

Is the angle in degrees or radians ?

S.

-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Tan Chin Luh-2 Tan Chin Luh-2
Reply | Threaded
Open this post in threaded view
|

Re: IPCV - imrotate

Hi,

noted the issue.

this is due to some floating point error while computing the transformation matrix. Will fix in IPCV 4.1, in cooking. :)

rgds,
CL

On 30/4/2019 4:04 PM, P M wrote:
One has to enter the angle in degrees.

P.

Am Di., 30. Apr. 2019 um 08:44 Uhr schrieb Stéphane Mottelet <[hidden email]>:
Le 29/04/2019 à 10:06, P M a écrit :
Dear developers of IPCV,
using the function   imrotate()   seems to increse the image size.
Please see following code:

img = zeros(10,10);
imshow(img);
size(img)
img = imrotate(img,90);
imshow(img);
size(img)

I could imagine that the image size changes, when one uses rotation angles <> 90°.
But for exactly 90° this is a strange behaviour.

Best regards,
Philipp

_______________________________________________
users mailing list
[hidden email]
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users

Is the angle in degrees or radians ?

S.

-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet
_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users


-- 
Tan Chin Luh
Trity Technologies Sdn Bhd
Tel : +603 80637737
HP : +6013 3691728

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users