alexh110
1st November 2012, 06:03
2 Entertain recently released "Ambassadors Of Death" on DVD: a "Dr. Who" serial from 1970.
Richard Russell's Colour Recovery software was used to extract and restore colour from black and white film prints of several of the episodes.
However I was disappointed by the number of PAL quadrant errors remaining in the recovered colour content. I think it should be possible to correct many of them with a fully automated AviSynth process.
When the CR process makes a quadrant error, the colours produced correspond to precise reflections of the correct colours in the U and/or V axis. So if the correct colour should be (u,v), the erroneous colours will be either (u,-v), (-u,v) or (-u,-v).
This makes the errors potentially easy to spot, because such precise reflections would be extremely unlikely to occur naturally together in the same image.
The error correction process would have to identify the dozen or so most common colours in each frame (allowing a certain margin for different shades of the same colour).
Then you would check to see if any of these colours are reflections of each other in the U and/or V axis (again allowing some degree of margin for small variations in shade).
If reflections are found, we can assume the erroneous colour(s) will occupy fewer pixels than the correct colour(s), since a fair degree of error correction has already been performed on the material by Richard Russell using his Quadrant Editor software.
The erroneous colours can then be corrected by reflecting them in the appropriate axis (or axes), thus mapping them into the same quadrant as the correct colour.
Unfortunately I don't think my software skills are quite up to writing the code for this process; but wondered if anyone else would like to give it a try? I'm keen to see whether it would produce any improvement.
I'm guessing it would have to be a bespoke plugin, rather than an Avisynth script?
The input would ideally come directly from the vob files of the DVD.
Richard Russell's Colour Recovery software was used to extract and restore colour from black and white film prints of several of the episodes.
However I was disappointed by the number of PAL quadrant errors remaining in the recovered colour content. I think it should be possible to correct many of them with a fully automated AviSynth process.
When the CR process makes a quadrant error, the colours produced correspond to precise reflections of the correct colours in the U and/or V axis. So if the correct colour should be (u,v), the erroneous colours will be either (u,-v), (-u,v) or (-u,-v).
This makes the errors potentially easy to spot, because such precise reflections would be extremely unlikely to occur naturally together in the same image.
The error correction process would have to identify the dozen or so most common colours in each frame (allowing a certain margin for different shades of the same colour).
Then you would check to see if any of these colours are reflections of each other in the U and/or V axis (again allowing some degree of margin for small variations in shade).
If reflections are found, we can assume the erroneous colour(s) will occupy fewer pixels than the correct colour(s), since a fair degree of error correction has already been performed on the material by Richard Russell using his Quadrant Editor software.
The erroneous colours can then be corrected by reflecting them in the appropriate axis (or axes), thus mapping them into the same quadrant as the correct colour.
Unfortunately I don't think my software skills are quite up to writing the code for this process; but wondered if anyone else would like to give it a try? I'm keen to see whether it would produce any improvement.
I'm guessing it would have to be a bespoke plugin, rather than an Avisynth script?
The input would ideally come directly from the vob files of the DVD.