- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks A LOT !!! I'll try it .
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page