This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello, Mayank,
Now our 0820 sensor works well on TDA4 after patching the AE and pre-AWB codes.
But now I meet another problem when the sensor capturing objects under the sunlight. For example, Fig 1 is the raw image of cars under the sun, and the bright spots looks quite normal; Fig 2 is the yuv image with TI's default ISP parameters, obvious purple edges are observed around the bright spots.
Fig. 1
Fig. 2
To vertify the cause of this problem, we bypass the CCM step to get yuv image (Fig. 3), (to bypass CCM, we set the color corection matrix to [[256, 0, 0],[0, 256, 0],[0, 0, 256]]), but the purple edges still exist.
Fig. 3
Therefore, I guss this problem is caused after raw capture and before CCM. Could it be caused in data bits companding step?
looking forward to your reply.
Jianxiong Hua
Yes, it looks like companding/decompanding issue. Do you have PWL kneepoints used for companding?
The sensor compands the raw data from 20 bits to 12 bits before its outpus, the knee points are listed below (also see the atached file).
In DCC tool, we set the knee points as below, is it correct?
I'm also confused about the setting. In my opinion, two curves are needed to firstly decompanding raw data from 12 bits to 20 bits, and then companding from 20 bits to 16 bits for VISS process. But how can I know the two curves from the DCC knee points setting?
Tuning Tool snapshot attached is very low resolution I can not read it. Please try a higher resolution snapshot.
Hi Gang,
We have found the way to solve this issue.
Thanks!
best regards,
Jianxiong