Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

Problem while replacing old ippiResizeCenter method with ippiResize method

$
0
0

Hi,

  We were using the resizeCenter method in our software which takes parameters to scaleX & scaleY and offsets in X & Y directions .

  Now we want to upgrade the software to 8.2 where this method is totally removed.

  I saw the resizeCubic method but this method doesn't take the scale in X & Y directions and also offset.

  But the new method considers only the ROI's of source and destination. 

  I really doesn't understand the concept behind the new resizeCubic method ,that how we can scale down/ up the source raster to fit  inside the

  destination raster.

   All i need is to perform both scaling and shift together like the methods ippiResizeCenter and ippiResizeSqrPixel.

   Unfortunately both these methods were depreciated and  ippiResizeCenter is totally remove.

   We have to perform the zoom and pan in the source image which we used to perform before using ippiResizeCenter using the new ippiresizeCubic

   We even have the source image with different aspect ration which we used to handle by setting the different scale X & ScaleY in resizeCenter    method. I didn' understand how to handle these kind of images and perform zoom and pan using the new method  ippiResize<interpolationtype>

   Can you please provide a small code snippet to perform the zoom and pan on the source image to display it in the destination buffer using the method    ippiResize<interpolationtype> method?

   

Thanks & Regards,

Muralidhar

 

  

 

  

   


Viewing all articles
Browse latest Browse all 1489

Trending Articles