|
发表于 2007-6-25 11:30:26
|
显示全部楼层
<DIV class=quote><B>以下是引用<I>longago</I>在2007-6-25 10:14:08的发言:</B>
学到不少,顶一下,让更多的人知道[em08]
我眼神好像不好,楼上给的两副图我就没看出区别~
[em10][em10]</DIV>
Actually.. Those two images are only a little difference...
What I mention is
If the original data is Y0 U0 Y1 V0, Y2 U1 Y3 V1, Y4 U2 Y5 V2 ..
If we only delay one pixel for YUYV data, the output data will be U0 Y1 V0 Y2, U1 Y3 V1 Y4.
And we know the output data is not YUYV format, it is UYVY data format.
So we convert the format to correct format to YUYV, we can get Y1 U0 Y2 V0, Y3, U1 Y4 V1...
Consider the Y component. If the original first line Y data is Y0 ~ Yn. Then the delay
one pixel Y data will be Y1 ~ Yn+1. You can find that the sequence of the Y is still
the same. Hence the whole image should be looked the same as orignal image but
one pixel shift. But U and V data will have some error. Originally the U0 is for y0, y1.
After pixel delay, U0 is for Y1 and Y2. So there are only a little difference in the image.
The reason cause the zigzag that chiefhe say should be caused by the sensor ISP
internally. Sensor ISP should get wrong bayer pattern for itself. |
|