Originally posted by Class A At that time, I used some filter or plugin (don't remember) which desatures purple/green along contrast borders. I cannot remember the exact procedure and never was satisfied, anyway. I lost interest in the K20D burst mode soon after as most others did as well
paene's method is a lot more accurate, actually.
Originally posted by paene GIMP Sobel, Convolve, HSL ...
[...]
I'm sure there must be papers on this topic -- it'd be interesting to see what's out there
This approach seems to make sense.
As for the papers ... 6 billion people don't seem to be enough
Meanwhile, I have started to write a little program which attempts to correct the artifacts. Doing it in a program gives me all the options...
Maybe, we can cooperate?
Currently, I try to restore the missing info by taking neighboring colors into account, somewhat like what is done in the demosaicing.
But combining this with the Sobel idea may be a good thing to try.
But I found that a method which works uniformly accross a range of content is hard to find, too. And fringing at spots which are burned out probably needs extra treatment as well...
Originally posted by paene The aliasing is kind of interesting -- as was noted previously, it doesn't seem to be a simple up-sampling from a single 768x1024 source image.
Currently, I extract two "half" 768x1024 images from a frame: one with even and one with odd columns only. The odd and even images aren't identical (so, there is some extra info, probably constructed by the firmware), but they are similiar. The correlation between pixels in the odd and even image is much larger than correlation to left or right neighbor.
Also, I do all my defringing in the half images as fringing there is 1 pixel wide, only
So, what I currently do is amplifying the difference between odd and even image and then smooth-merge them together. There are parameters where I can clearly see less aliasing without loosing any resolution.
One of the problems too seems to be that the sub-sampling matrix seems to pick its values from varying positions within the matrix. So, text can look awkward. In order to overcome this, one would have to know the exact sub-sampling matrix layout and restore an even larger size image first (super-resolution techniques).
There are too many parameters to tune, too. So, below, this is just some intermediate result of my attempt to improve the video. I am not satisfied, yet.
Enjoy
Enhanced 1536x1024 street video (51 MB)