- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
Im trying to rotate a yuv video 90 degrees but its not working as i expected
Im using ippiRotate 16u C1R, the rotate works but the colors are wrong.
Thank you in advance,
Marco
Im trying to rotate a yuv video 90 degrees but its not working as i expected
Im using ippiRotate 16u C1R, the rotate works but the colors are wrong.
Thank you in advance,
Marco
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Marco,
for the case of rotation by 90 degrees you may prefer to use ippiMirror functions which should be much faster than general ippiRotate.
And note, if your frame is 8-bit per channel you need to use 8u functions not 16u.
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Vladimir,
Thanks for the tips. Mirror functions only help when it's 180 degrees.
Unfortunatelly there is no rotate 8U_C2.
I guess I have to convert it to 24 bit, and then rotate.
Marco
Thanks for the tips. Mirror functions only help when it's 180 degrees.
Unfortunatelly there is no rotate 8U_C2.
I guess I have to convert it to 24 bit, and then rotate.
Marco
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, yes, you are correct. I mean ippiTranspose function, but this does not work with sub-sampled image formats (like YUV422 or 420).
Regards,
Vladimir
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page