- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am using Wiener Filter's IPP function. The code is something like this:
IppStep=ImageWidth; IppiSize ROISize={ImageWidth, ImageHeight}; IppiSize MaskSize={3, 3};
XAnchor=MaskWidth>>1;
YAnchor=MaskHeight>>1;
IppiPoint Anchor={XAnchor, YAnchor};
NoiseValue[0]=0.9;
NoiseValue[1]=0.9;
Channels=1;
IppSt=ippiFilterWienerGetBufferSize(ROISize, MaskSize, Channels, &BufferSize);
pBuffer=(Ipp8u*)ippMalloc(BufferSize);
IppSt=ippiFilterWiener_8u_C1R(imgsrcIPP.data, IppStep, imgdestIPP.data, IppStep, ROISize, MaskSize, Anchor, NoiseValue, pBuffer);
ippFree(pBuffer);
The code works fine with images with small dimensions (50x50 pixels or less) but with larger images it crashes. I have read manual of IPP many times, but couldn't fix the problem. Can anybody help ?
Regards,
D.
I am using Wiener Filter's IPP function. The code is something like this:
IppStep=ImageWidth; IppiSize ROISize={ImageWidth, ImageHeight}; IppiSize MaskSize={3, 3};
XAnchor=MaskWidth>>1;
YAnchor=MaskHeight>>1;
IppiPoint Anchor={XAnchor, YAnchor};
NoiseValue[0]=0.9;
NoiseValue[1]=0.9;
Channels=1;
IppSt=ippiFilterWienerGetBufferSize(ROISize, MaskSize, Channels, &BufferSize);
pBuffer=(Ipp8u*)ippMalloc(BufferSize);
IppSt=ippiFilterWiener_8u_C1R(imgsrcIPP.data, IppStep, imgdestIPP.data, IppStep, ROISize, MaskSize, Anchor, NoiseValue, pBuffer);
ippFree(pBuffer);
The code works fine with images with small dimensions (50x50 pixels or less) but with larger images it crashes. I have read manual of IPP many times, but couldn't fix the problem. Can anybody help ?
Regards,
D.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
could you first take a look on topics where Wiener filter was discussed. Probably that question was already answered.
How do I use the FilterWiener function?
Regards,
Vladimir

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