最小二乘法求CCM色彩还原矩阵

代码

int calc_ccm(double *r, double *g, double *b, double *R, double *G, double *B, int num, double *ccm)
{
    double sum_rr=0, sum_gg=0, sum_bb=0, sum_rg=0, sum_gb=0, sum_rb=0;
    double sum_rR=0, sum_gR=0, sum_bR=0, sum_rG=0, sum_gG=0, sum_bG=0, sum_rB=0, sum_gB=0, sum_bB=0;
    int i, j;
    
    for (i=0; i

最小二乘法求CCM色彩还原矩阵_第1张图片

博客链接:http://www.voidcn.com/article/p-zpnlmlea-yz.html

你可能感兴趣的:(ISP,isp)