i use dm6437 and lupa-300 cmos sensor, the CFA cofficient and dark frame subtraction are done properly ,but the image is not ideal. take the following image for example ,the face of the cat is greenish,but actually it is pure white. how to solve this?
meanwhile ,can i load the Gamma cofficient like this?
VPFE_PREV_SET_TBL_ADDR =0x1400; //CFA系数表地址
for(i = 0;i < 576;i++)
{
VPFE_PREV_SET_TBL_DATA =cfa_coef[i]; //CFA系数表装入寄存器
}
VPFE_PREV_SET_TBL_ADDR =0x0000; // red gamma 系数表地址
for(i = 0;i < 1024;i++)
{
VPFE_PREV_SET_TBL_DATA = Rgamma_coef[i]; // CFA系数表装入寄存器
}