Community
cancel
Showing results for 
Search instead for 
Did you mean: 
giacomo_c_
Beginner
83 Views

IppiRotate IppiGetRotateShift

Hi

From Ipp 8.2 documentation

1) IppiRotate :

angle : The angle of rotation in degrees. The source image is rotated counterclockwise around the origin (0,0).

IppiRotateCenter : ... This function rotates the ROI of the source image by angle degrees (counterclockwise for positive angle values)

while IppiGetRotateShift and AddRotateShift:

angle : The angle in degrees to rotate the image clockwise around the point with coordinates (xCenter, yCenter).

Positive angle is in opposite direction for the last 2 function?

2) While not documented function IppiRotateCenter can return also ( as warning I suppose) ippStsWrongIntersectROI. Is right?

Thank's

Giacomo C.

 

 

 

0 Kudos
1 Reply
Valentin_K_Intel
Employee
83 Views

Hi Giacomo,

Thank you for the questions.
1). I think that it is the misprint in the documentation. Positive angle is in the same direction for the all 4 functions.
2). The function ippiRotateCenter  can return the warning ippStsWrongIntersectROI. It means that the rotated processed image ROI 
has no intersection with the destination ROI.

Best regards,
Valentin

Reply