% 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
% 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