Ask Your Question

Gale's profile - activity

2016-03-25 05:44:46 -0600 asked a question Error resizing an image

I have a problem we I resize an image. I have a scource IplImage and I use the following code to resize that image:

  m_pResizedImage = cvCreateImage(cvSize(m_ulResizedFrameWidth, m_ulResizedFrameHeight), IPL_DEPTH_8U, 3);

  cvResize(m_pFullSizeImage, m_pResizedImage);

As result a obtain a wong image. Attached you can see the fullsize image and the resize result. What's wrong ?

Thanks a lot

C:\fakepath\FullSizeCameraImage.jpg

C:\fakepath\ResizedCameraImage.jpg