- 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
Hello,
Again, the function I'm using is:
ippiRotate_16u_C1R
I'm starting to consider, converting it to RGB, rotating and then converting back to YUV.
This sound very inefficient, there must be another way.
Thanks
Again, the function I'm using is:
ippiRotate_16u_C1R
I'm starting to consider, converting it to RGB, rotating and then converting back to YUV.
This sound very inefficient, there must be another way.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I decided to go for the conversion first solution.
I convert it first using:
ippiYCbCr422ToBGR_8u_C2C3R
Then I use the rotate, everything looks fine.
Still I would like to know your opinion on how to skip the conversion step.
Thank you.
I decided to go for the conversion first solution.
I convert it first using:
ippiYCbCr422ToBGR_8u_C2C3R
Then I use the rotate, everything looks fine.
Still I would like to know your opinion on how to skip the conversion step.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to IPP documentation on details of function naming convention. We use C1 for one-channels (gray) images and we use 16u for 16-bit per channel image, meaning that pixel value is in range from 0 to 65535.
We do not provide function which implement rotation on 4:2:2 sampled data so you need conversion step.
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