% 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 % Outputs: % [r,gr,gb,b]:every channel of the photo