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

Deconv LR method - Restoring pixel borders (reducing ringin effect)

saumya_satish
Employee
267 Views

Hi 

I tried the LR deconv method from IPP and got it working. However, I am not sure as to what I should use to restore the pixel border before calling this function ? I use edgetaper in matlab for this purpose otherwise I get the ringing effect on my deblurred result. 

Kindly help with some code snippets that demonstrates how this ringign effect is taken care in IPP ? 

Thanks

Saumya

0 Kudos
4 Replies
SergeyKostrov
Valued Contributor II
267 Views
>>... that demonstrates how this ringign effect... How that Ringing Effect looks like ( before it was restored )? Could you attach screenshots for Uncorrected and Corrected images? Thanks in advance.
0 Kudos
Thomas_Jensen1
Beginner
267 Views

Since IPP mostly requires you to add you own border pixels, since the kernel overlaps the image edges, then you must allocate a temp image buffer and then copy over your source image using for instance ippiCopyReplicateBorder. This will put you image in the middle and then duplicate pixel values in the border. When filtering, the source ROI should be middle part of the image (your source image). The destination ROI is an image with he same dimension as your source image. The duplicated pixels will reduce ringing.

0 Kudos
saumya_satish
Employee
267 Views

Thanks Thomas. That works and reduced ringing to quite an extent !

 

0 Kudos
Thomas_Jensen1
Beginner
267 Views

Your'e welcome. I'm happy my knowledge was useful for you.

Like you, I'd very much like if Intel IPP would add a training class area to the IPP web site.
This area could be read-only and could be like a forum with topics and articles. One topic could be "Reducing ringing effects when filtering". Another could be "Implementing digital filters in the frequency domain" etc.

0 Kudos
Reply