Hello,
I'd like to know if there is an efficient way to correct dead pixels in a picture. I get pictures from an infra red sensor that included dead pixels.
I know the coordinates of dead pixels and I know the coordinates of the better pixels alive close to dead pixels. So I would like to replace dead pixels by alive pixels in order to make picture as complete as possible.
The example attached show what I do, but when then number of dead pixels is quiet big, I suppose that the execution time should be very long.
Thanks