- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What I tend to do on planar images is use ippResizeSqrPixel_8u_C1R on each plane independently, but be sure to initialize with ippiResizeGetBufSize using difference src/dst sizes since, as was mentioned earlier, the luma plane is a different size than the chroma planes.
Something else I've noticed is that ippiResizeFilterInit_8u_C1R with ippResizeFilterLanczos does a better job than ippiResizeSqrPixel_8u_C1R with IPPI_INTER_LANCZOS. Can someone at Intel explain why these two are different?
Peter
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Part of the problem may be using a pixel-order function on planar data. Another thing to keep in mind is that the 3 planes aren't the same size. For I420 or YV12 the U and V planes are half the width and height of the Y plane. You may have better results resizing the 3 planes separately.
Best regards,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What I tend to do on planar images is use ippResizeSqrPixel_8u_C1R on each plane independently, but be sure to initialize with ippiResizeGetBufSize using difference src/dst sizes since, as was mentioned earlier, the luma plane is a different size than the chroma planes.
Something else I've noticed is that ippiResizeFilterInit_8u_C1R with ippResizeFilterLanczos does a better job than ippiResizeSqrPixel_8u_C1R with IPPI_INTER_LANCZOS. Can someone at Intel explain why these two are different?
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page