Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6628 Discussions

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

saumya_satish
Employee
135 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
135 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.
Thomas_Jensen1
Beginner
135 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.

saumya_satish
Employee
135 Views

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

 

Thomas_Jensen1
Beginner
135 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.

Reply