How to find the bad pixels map and replace ?
22 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Image Analyst
on 21 Jan 2023
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 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!