예제 #1
0
        protected void RGBSubCompensation(OC_Mode mode, int band, int gray)
        {
            InitializeForCompensation(mode, band, gray);
            Apply_RGB_And_Measure(mode, band, gray);

            while (vars.Optic_Compensation_Succeed == false && vars.Optic_Compensation_Stop == false)
            {
                RGB Gamma = ocparam.Get_OC_Mode_RGB(mode, band, gray);
                RGBOpticCompensation(ref Gamma, mode, band, gray);

                if (Is_OC_Infished(ocparam.Get_OC_Mode_LoopCount(mode, band, gray), DP213OCSet.Get_MaxLoopCount()))
                {
                    break;
                }

                Set_RGB_LoopCount(Gamma, mode, band, gray);
                Apply_RGB_And_Measure(mode, band, gray);
            }
        }