Would you please supply an exapmle for pyramid usage

Would you please supply an exapmle for pyramid usage

Hello !

Would you please supply an exapmle for pyramid usage ( downscale ) , I'll appreciate this as I have problems with that .
What is the minimum image size for downscale processing ?

Thanka you very much .

Jack

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi,

You have a complete sample in R.Taylor book : chapter 12 pp.420 sv.
(R.Taylor Intel Integrated Performance Primitives How to Optimize Software Applications Using Intel IPP, Intel Press). Get this excellent book.
srsr

Thanks ! I'll buy it .

Meanwhile may you have a look at the following code , why do I get "stack around stepbytes varaible is corrupted "? It seems that ippiPyrDownGetBufSize_Gauss5x5 corrupts stack with new allocation ???

const int W=64 , H=64 ;
int stepbytes , stepbytes2 , pBufSize;
IppiSize size={ W, H };
IppiSize size2 ={ W/2 , H/2 };

Ippi8u* img = ippiMalloc_8u_C1( size.width , size.height , &stepbytes );
Ippi8u* pyr = ippiMalloc_8u_C1( size2.width , size2.height , &stepbytes2);

IppStatus st= ippiPyrDownGetBufSize_Gauss5x5( size.width , ipp8u , 1 , pBufSize );

IppStatus st2= ippiPyrDown_Gauss5x5_8u_C1R( img , stepbytes , pyr , stepbytes2 , size , &pBufSize);

ippiFree(img);
ippiFree(pyr);

cout<

THANKS A LOT

Thanks A LOT !!! I'll try it .

Leave a Comment

Please sign in to add a comment. Not a member? Join today