Juan P. Pertierra
November 10th, 2003, 01:18 PM
In order to further illustrate the disadvantages of 1CCD systems versus 3CCD systems, I figured I would post exactly how 1CCD systems work, and explain how the approximation is done. (This in particular is exactly how Sony 1CCD systems work, other systems might be slightly different.)
First of all, some symbols. As you might know, colors can be represented in terms of Red, Green and Blue components(RGB), or they can be represented in terms of Luminance(Y) and Chromiance(C) So:
Cy=Cyan=G+B
Ye=Yellow=R+G
Mg=Magenta=R+B
R=Red=R
G=Green=G
B=Blue=B
Y=Luminance=R+G+B
C=Chroma difference=R-Y
Now, Sony 1CCD systems have a one-color filter in front of each CCD sensor or pixel. The filter is either Cy, Ye, Mg or G. Thus, a Cy(Cyan) filter, would let the Green and Blue components through, while blocking off the Red component of the light.
Here is the the arangement of the filters, along a trivial 4pixel by 4pixel area of the CCD:
Line1= Cy Ye Cy Ye
Line2= G Mg G Mg
Line3= Cy Ye Cy Ye
Line4= Mg G Mg G
You get the picture. So, how do we turn this mosaic of filtered pixels into relevant color? First of all, to approximate the actual color of one pixel, we need 4 adjacent pixels. The CCD itself, doesn't output the value of each pixel, but actually outputs the SUM of the value of TWO vertically adjacent pixels.
For example, (Line 1 + Line 2) and (Line 3+Line4) would be output for the EVEN fields of the interlaced image, and (Line2+Line3) would be a line in the ODD field. The read out from the CCD for the first line(part of the EVEN FIELD) would be:
(Cy+G), (Ye+Mg), (Cy+G), (Ye+Mg)
Now, if we have these values, how do we get color from them? The truth is, we can't get perfect R,G,B color but we can approximate it. Like I said, we need values from 4 sensors so the first thing we do is add the value we get for the pixel we are interested in, with the next value for the sum of the two adjacent pixels. Suppose we are interested in the very first pixel on the EVEN line above, and we want to approximate the luminance(R+G+B) of the pixel:
(Cy+G)+(Ye+Mg) = (2G+B)+(2R+B+G) = 2R+3G+2B
if we now divide this by 2 we get:
R+1.5G+B
This is the best we can do, which is an approximation for the actual luminance(R+G+B). So we see, that one aspect of the approximation is the fact that the colors are not taken from the actual pixel we are interested in, but rather surrounding pixels. Yet, the other aspect of the apprixmation is the mathematical one above, in which we cannot obtain an exact measure of Y.
To fully characterize the color we not only need Y but also C(chroma difference) which is defined as R-Y. However, it is clear that since Y in itself is an approximation and not accurate, R-Y will also be an approximation since it uses our value for Y calculated above.
In a 3CCD system, we have one CCD for each color R,G,B. Thus, colors are accurately represented and do not have to be approximated. Manufacturers usually increase the pixel count of 1CCD systems in order to obtain a better approximation.
Hope this helps,
Juan
First of all, some symbols. As you might know, colors can be represented in terms of Red, Green and Blue components(RGB), or they can be represented in terms of Luminance(Y) and Chromiance(C) So:
Cy=Cyan=G+B
Ye=Yellow=R+G
Mg=Magenta=R+B
R=Red=R
G=Green=G
B=Blue=B
Y=Luminance=R+G+B
C=Chroma difference=R-Y
Now, Sony 1CCD systems have a one-color filter in front of each CCD sensor or pixel. The filter is either Cy, Ye, Mg or G. Thus, a Cy(Cyan) filter, would let the Green and Blue components through, while blocking off the Red component of the light.
Here is the the arangement of the filters, along a trivial 4pixel by 4pixel area of the CCD:
Line1= Cy Ye Cy Ye
Line2= G Mg G Mg
Line3= Cy Ye Cy Ye
Line4= Mg G Mg G
You get the picture. So, how do we turn this mosaic of filtered pixels into relevant color? First of all, to approximate the actual color of one pixel, we need 4 adjacent pixels. The CCD itself, doesn't output the value of each pixel, but actually outputs the SUM of the value of TWO vertically adjacent pixels.
For example, (Line 1 + Line 2) and (Line 3+Line4) would be output for the EVEN fields of the interlaced image, and (Line2+Line3) would be a line in the ODD field. The read out from the CCD for the first line(part of the EVEN FIELD) would be:
(Cy+G), (Ye+Mg), (Cy+G), (Ye+Mg)
Now, if we have these values, how do we get color from them? The truth is, we can't get perfect R,G,B color but we can approximate it. Like I said, we need values from 4 sensors so the first thing we do is add the value we get for the pixel we are interested in, with the next value for the sum of the two adjacent pixels. Suppose we are interested in the very first pixel on the EVEN line above, and we want to approximate the luminance(R+G+B) of the pixel:
(Cy+G)+(Ye+Mg) = (2G+B)+(2R+B+G) = 2R+3G+2B
if we now divide this by 2 we get:
R+1.5G+B
This is the best we can do, which is an approximation for the actual luminance(R+G+B). So we see, that one aspect of the approximation is the fact that the colors are not taken from the actual pixel we are interested in, but rather surrounding pixels. Yet, the other aspect of the apprixmation is the mathematical one above, in which we cannot obtain an exact measure of Y.
To fully characterize the color we not only need Y but also C(chroma difference) which is defined as R-Y. However, it is clear that since Y in itself is an approximation and not accurate, R-Y will also be an approximation since it uses our value for Y calculated above.
In a 3CCD system, we have one CCD for each color R,G,B. Thus, colors are accurately represented and do not have to be approximated. Manufacturers usually increase the pixel count of 1CCD systems in order to obtain a better approximation.
Hope this helps,
Juan