Don said:
On Sun, 23 Jan 2005 23:48:15 +0000, Kennedy McEwen
Let's make sure we're talking about the same orientation because I
would call the edges horizontal, not vertical. So, just to make sure:
It's the edges which are parallel to the lamp and the CCD row. In
other words, the first few rows of pixels scanned by the CCDs have a
blue cast, and the last few rows scanned are reddish.
In other words, looking at the image afterwards, the top edge has a
blue cast, and the bottom edge the red. Are we talking about the same
edges?
Seems to be - those are the edges that I would expect to exhibit this
effect.
....
Ah... Houston, we (may?) have a problem! ;o)
The back of the scanner lid is black.
OK - you are looking at something much more fundamental. A black
background means no light from the back to give a specular reflection at
grazing incidence.
What you have there is just straight forward change in illumination of
one edge relative to the other. The scanner light cannot be in exactly
the same position as the sensor - well it can if a beam splitting
arrangement is used, but not in most flatbed scanners. So it is always
offset from the sensor - either leading or lagging it relative to the
scan head motion. That means that objects which are not flat will cast
shadows, and the size of the shadow will change as the head (and light
source) moves. Usually this just means that one edge is light and the
other dark, but clearly in some positions the edge will transition
between the two. If this transition occurs between the coloured lines
being sampled then one edge will appear blue (because it is in shadow
for green and red) and the other red (because it is in shadow for green
and blue), since the CCD lines are usually in that sequence red, green,
blue.
How much variation you get this will depend on several factors - how
broad the illumination band is, how close it is to the optical axis of
the scanner, how far the scanner head (and light source) move between
sampling each line of the CCD. Best case would be:
* a broad source (so little effect on illumination of the subject when
the source moves). Note that scanning the subject further from the
glass surface will reduce the effective width of the light source,
making illumination variation more likely.
* far off the scanner optical axis (so that vertical edges are well
defined as being in or out of shadow and unlikely to transition between
sampling colour lines). Note that scanning the subject further from the
scanner glass will bring the light closer to the optic axis in angular
terms, making illumination variation more likely.
* short distance between samples of each colour (so there is little
change in lamp position and hence illumination).
I just had a look for this on my Epson flatbed and can only see a very
marginal effect, which I would not have noticed if I had not been
looking for it. I also had a close look at the scanner lighting
arrangement while making a slow (high resolution) pass - sunglasses at
the ready, those lamps are *bright*! Although the scanner lamp is a
fairly narrow tube, the reflector makes this a relatively even broad
source, about 1cm or so. It appears to be mounted at approximately
45deg to the optic axis - assuming the optic axis is perpendicular to
the flatbed. Finally, the optic aperture on the scanner head is only
2-3mm wide, to the scanner head must be moving quite a lot less than
this between sampling the red, green and blue colours of each line of
pixels. Overall, I am not surprised I don't see much of a problem, but
obviously your scanner is different.
Sorry, I really seem to have come at this backwards - from really
complex suggestions through to a much more simple and obvious one!