示例#1
0
 public void Calculate(DataIO data)
 {
     data.CalCoef(data);
     data.CalXYZ(data);
     data.Calxyz();
     data.Caln();
     data.CalT();
     data.CalBrightness(data);
 }
示例#2
0
        private void btnBrightness_Click(object sender, RoutedEventArgs e)
        {
            //MessageBox.Show(inputData.BasicB[0].ToString());
            //double L = inputData.Lr + inputData.Lg + inputData.Lb;
            //MessageBox.Show("亮度是: " + L.ToString() + '\n' + "Lr = " + inputData.Lr.ToString()
            //				+ '\n' + "Lg = " + inputData.Lg.ToString() + '\n' + "Lb = " + inputData.Lb.ToString());
            //设置三基色坐标
            TrisBasic trisBasic = new TrisBasic(inputData);

            trisBasic.Show();

            var test = inputData.CalBrightness(inputData);

            dispLabel.Text = test;
        }