private void RadioButtonSecondImg_Rec709_Checked(object sender, RoutedEventArgs e) { if (!mInitialized) { return; } mSecondImgColorProfile = WWImageRead.ColorProfileType.Rec709; }
private void RadioButtonFirstImg_sRGB_Checked(object sender, RoutedEventArgs e) { if (!mInitialized) { return; } mFirstImgColorProfile = WWImageRead.ColorProfileType.sRGB; }
private void ReadTwoNewImgs(string pathA, double timeSecA, WWImageRead.ColorProfileType cpA, string pathB, double timeSecB, WWImageRead.ColorProfileType cpB) { mLabelIcc.Content = string.Format("Monitor:{0}, ImageA:{1} ImageB:{2}", WWImageRead.MonitorProfileName, cpA, cpB); mImgA.path = pathA; mImgB.path = pathB; mImgA.cp = cpA; mImgB.cp = cpB; mImgA.img = ReadFromFile(mImgA, SecondToHNS(timeSecA), mImageReadA); mImgB.img = ReadFromFile(mImgB, SecondToHNS(timeSecB), mImageReadB); }