How to find the bad pixels map and replace ?
20 次查看(过去 30 天)
显示 更早的评论
Hello, I’ve a camera and I am trying to calibrate a camera and want to create a bad pixel map (dead pixel, hot pixel). I have a flat uniform gray scale image with intensity from 0 to 4095. I can see that pixels whose intensity values are lower than mean values by 600 are dead pixels and pixels whose values are greater than 600 as of the mean value are hot pixels. These are essentially the outliers. I want to first store the indices of those pixels and then replace with nearest non defected pixel value. I truly appreciate your help in advance.
0 个评论
回答(1 个)
Image Analyst
2023-1-21
Nearly always, camera sensors have a bad pixel map built into them and correct the dead pixels before they ever leave the camera. So you never see them.
Nonetheless, dead pixels could be considered salt and pepper noise and you can use a modified median filter. See attached demos.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!