Filter löschen
Filter löschen

need help for image restoration algorithm based on neighboring pixel

1 Ansicht (letzte 30 Tage)
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 )

Akzeptierte Antwort

Iain
Iain am 29 Mai 2013
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 Kommentar
Navjot
Navjot am 29 Mai 2013
Is index means coordinates of an image i.e. position of pixels also if we have a whole deblur image can we restore a whole image by using information from neighboring pixel method

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Image Analyst
Image Analyst am 29 Mai 2013
How was the image ruined? By blurring? Have you tried deconvlucy()?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by