I would like to share a method I came up with to fix dark columns that calibration/cosmetic correction did not take care of.
See pic1 upper right corner.
Pic6 is a blowup of the column and we can see that it is not a straight column. I guess that's why CC and calibration did not catch it.
What I like to do is replace all darker pixels in that specific area with a value that is the same as the median of the background. I start by making a small preview of only background (pic2) and then dragging that to the desktop, creating a new image from it.
Open PixelMath and in the first field enter
iif(x() > UpLeft && x() < UpRight && $T >= BadLow && $T <= BadHigh ,Target,$T)
In the field Symbols enter
UpLeft = 26, UpRight = 30, BadLow = 0.0016, BadHigh = 0.0018, Target = med(green_DBE_DBE_Preview01)
The text in the Symbols field are parameters.
UpLeft : Left border of area to fix
UpRight : Right border of area to fix
BadLow: Lower value of pixels to fix
BadHigh: Upper value of pixels to fix
Target: median value of preview
You need to zoom in on the image and use the Readout to find the 2 x-values. On both side of the bad column. Also use Readout to find the K-value of the pixel you like to fix. In my case it was 0.0017 so I choose 0.0016 and 0.0018 as low and high value.
Then you just drag the process icon on the image and all pixels between UpLeft and UpRight that are value between 0.0016 and 0.0018 will be replaced with the median value.
I managed to fix almost all dark pixels as you can see in pic4.
The process can be improved if we would add also Y-values and thus further restrict where the correction will take place.
Note: If you have a proper dark column ie. all pixels at same Y-value then this will not work OK. All the dark pixels will have the median value and you will end up with a new column, only lighter.
To fix this we would could use a small random value on the median but I did not find any such function in Pixelmath.
I like this function. I will try to make it in to a script so I could use previews for selecting waht area to work.
To be continued...
regards
Mats