- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I want to apply ippiFilterWiener() to a full image.
please tell me some example code.
I want to apply ippiFilterWiener() to a full image.
please tell me some example code.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
// allocate memory
Ipp8u *myImage,*filterOut, *buffer;
IppiSize imgSize = {300,400};
int bufSize;
myImage = ippsMalloc_8u(300*400);
// create an dummy image
ippiImageJaehne_8u_C1R(myImage,imgSize.width,imgSize);
//get the buffer size
ippiFilterWienerGetBufferSize(imgSize, imgSize, 1, &bufSize);
buffer = ippsMalloc_8u(bufSize);
// perform filtering
ippiFilterWiener_8u_C1R(myImage, imgSize.width, filterOut, imgSize.width, imgSize, imgSize, <>, 0.5, buffer);
--hope this helps to get started !!
check out .. ippiman.pdf !!
-madan ankapura
Ipp8u *myImage,*filterOut, *buffer;
IppiSize imgSize = {300,400};
int bufSize;
myImage = ippsMalloc_8u(300*400);
// create an dummy image
ippiImageJaehne_8u_C1R(myImage,imgSize.width,imgSize);
//get the buffer size
ippiFilterWienerGetBufferSize(imgSize, imgSize, 1, &bufSize);
buffer = ippsMalloc_8u(bufSize);
// perform filtering
ippiFilterWiener_8u_C1R(myImage, imgSize.width, filterOut, imgSize.width, imgSize, imgSize, <>, 0.5, buffer);
--hope this helps to get started !!
check out .. ippiman.pdf !!
-madan ankapura
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