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.

TDA4VM: purple edges around bright spot

Part Number: TDA4VM

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

bright_spot_test.zip