need help for image restoration algorithm based on neighboring pixel
조회 수: 1 (최근 30일)
이전 댓글 표시
In my algorithm I want to restore image in which I have coded/find neighboring pixels for a particular pixel and now I want restore/deblur that particular pixel by taking information from those neighboring pixels. Please help( by theoretical/coding )
댓글 수: 0
채택된 답변
Iain
2013년 5월 29일
If you know the index of the bad pixel, a method would be:
image(index) = mean(image([index-1 index+1 index+rows index-rows]));
But that will only work for pixels that don't have dodgy neighbours, and aren't at the edge of an image.
추가 답변 (1개)
Image Analyst
2013년 5월 29일
How was the image ruined? By blurring? Have you tried deconvlucy()?
댓글 수: 2
Image Analyst
2013년 5월 29일
It's in the help. You can also Google "Richardson Lucy convolution" and find sites like this: http://en.wikipedia.org/wiki/Richardson%E2%80%93Lucy_deconvolution
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!