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

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

saumya_satish
직원
564 조회수

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 포인트
4 응답
SergeyKostrov
소중한 기여자 II
564 조회수
>>... 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 포인트
Thomas_Jensen1
초급자
564 조회수

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 포인트
saumya_satish
직원
564 조회수

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

 

0 포인트
Thomas_Jensen1
초급자
564 조회수

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 포인트
응답