说明:Inputs:
% FrameIn, the image need to do the LSC. it is one channel data
% centorX,centorY, the center of the picture. the centor is the optical
% centor of the picture. the OC need test in module level. and if you do
% not know the optica <wishercjf> 在 上传 | 大小:2048
说明:输入图像的帧,计算出来ccm和awb的增益
% CORS = [CCM, WB_gain] = CalCCM(FRAME,FrameGR,width,height,bayer_order)
% from frmae of photo, get the ccm data ,and AWBdata
% Inputs:
% FRAME, the image need capture in light box,and there is color checker
% in the <wishercjf> 在 上传 | 大小:5120
说明:% CORS = CombineByer(FrameR,FrameGR,FrameGB,FrameB,bayer_order)
% from channel data to raw data.
% Inputs:
% FrameR,FrameGR,FrameGB,FrameB, every channel of the photo
% bayer_order the oder of FRAME. rggb and so on
% Outputs:
% Combin <wishercjf> 在 上传 | 大小:2048
说明:% CORS = [r,gr,gb,b]=splitBayer(in,bayer_order)
% from frmae of photo, get the ccm data ,and AWBdata
% Inputs:
% in, the image need capture in light box,and there is color checker
% bayer_order the oder of FRAME. rggb and so on
% Output <wishercjf> 在 上传 | 大小:1024
说明:% CORS = [Xaverage,Yaverage] = VideoOIScenter(frame)
% get the center of the OIS test char
% Inputs:
% frame, jpg photo, and also one frmae from mpg
% Outputs:
% [Xaverage,Yaverage]
% the position of the center. Pixel <wishercjf> 在 上传 | 大小:1024