Subscribe to see EXIF info for this image (if available)
Here's the output from this mornings work- used a moving average of 5 values for columns on each side of the bad one, and for the bad column. Added some code to compute thresholds used to decide if a pixel gets changed or not- the error is dependent on ISO used, and on the intensity values of the image. The difference of the moving average is added to the pixel, a cheap way of computing a local DC offset. Nina wanted to know what I was doing, told her it's just like the non-uniformity corrections we worked on together for a digital sensor in 1983.
Just to add- did a 3:1 zoom of pixels, comparing the original with dark line to the "Local DC Level adjusted image". My eye could not pick up the mending in the image, it's that close. There is structure in the dark-line, just a value subtracted out by the bad pixel. Add that value back to the affected pixels: blends in, better than replacing the line with the average of the pixels on each side of it.
Of course my software runs under DOS and is written in FORTRAN-77, as it is modified from code written in the early 1980s.
I found a recent article on restoring pixel values from columns that have been "dragged down" as happened on my camera.
The article does a good job of listing types of "bad Pixels", mine was the first type:
• Linear pixels with false bias: a category where the pixel output behaves linearly with illumination intensity or exposure time, but due to either a low or high bias compared to its neighbours, values displayed by this pixel differs considerably from the ones around it, given an homogeneous illumination;
• Nonlinear pixels: a subset of defect pixels, where the output signal displayed on an image does not relate to the illumination intensity or exposure time in a linear fashion;
• Dead pixels: are those who have very low sensitivity to illumination intensity variations, consistently presenting low grey values;
• Hot pixels: this category is highly sensible to illumination intensity variations, presenting persistent high grey values.
http://iopscience.iop.org/article/10.1088/1742-6596/772/1/012002/pdf
The article describes an algorithm to properly correct the defective values, most likely required for radiometric calibrated images.
My simple algorithm "just works" because the image cannot change so rapidly from one column to another that a moving average cannot be used to compute the error reasonably well.