Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

ippiResize - Vertical Flipping

dean_taylor
Beginner
607 Views
Hi,

The ippiResize function does not seem to support a "negative step"...

The reason why I'm attempting to use a "negative step" is to simutaiously resize and vertically flip the image.

The documentation does not explictly state that a negative step is either supported or not.

Any comments or ideas?

Thanks,
Dean.
0 Kudos
6 Replies
dean_taylor
Beginner
607 Views
Just one note when attempting to do "vertical flipping" I'm using the following code to adjust the approperate variables:

--- snip ---
nNewSrcStep = -nSrcStep;
pNewSrcData = pSrcData + nSrcStep * (nSrcHeight - 1);
--- snip ---

Thanks,
Dean.
0 Kudos
Vladimir_Dudnik
Employee
607 Views

Hi Dean,

Areyou still use IPP v4.1? Weadded support for negative step in ippiResize functionin IPP v5.0 (there were requests for that). Can you move to the latest version of library?

Regards,
Vladimir

0 Kudos
dean_taylor
Beginner
607 Views
Excellent!

Have not had chance to look at IPP v5.0, gives me an excuse to now!

Does ippiCopy also support negative values?
(I am aware that I can use ippiMirror, but the code would be a lot shorter if ippiCopy did support it)

Thanks,
Dean.
0 Kudos
Vladimir_Dudnik
Employee
607 Views

Dean, yes in IPP v5.0 ippiCopy also support negative step.

Vladimir

0 Kudos
dean_taylor
Beginner
607 Views
Implemented...

works for me,

Thankyou,
Dean.
0 Kudos
Vladimir_Dudnik
Employee
607 Views
great,feedback we have from this forum is definetely help us to improve IPP libraries (there was request for support of negative step, and this functionality was implemented).
0 Kudos
Reply