private void MenuItem_Click_AI_TM(object sender, RoutedEventArgs e)
 {
     try
     {
         var wnd = new WndTransitionMatrix()
         {
             Title = ((MenuItem)sender).Header.ToString()
         };
         wnd.SetTransitionMatrix(_rmp.ArtificialImageTransitionProbabilityMatrix);
         wnd.Show();
     }
     catch { }
 }
 private void MenuItem_Click_PRI_TMV(object sender, RoutedEventArgs e)
 {
     try
     {
         var wnd = new WndTransitionMatrix()
         {
             Title = ((MenuItem)sender).Header.ToString()
         };
         wnd.SetTransitionMatrix(_rmp.RealImageVerticalTransitionMatrix);
         wnd.Show();
     }
     catch { }
 }