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

How do I use the FilterWiener function?

yongseok
Beginner
379 Views
Hi,
I want to apply ippiFilterWiener() to a full image.
please tell me some example code.
0 Kudos
1 Reply
micromysore1
Beginner
379 Views
// 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
0 Kudos
Reply