title: System.UriFormatException
body: <p>I'm facing a problem in c# <code>System.URI.FormatExption</code></p>
  
  <p>To make things clear I'm using a Matlab method which is <code>Segseuil</code> and 
  it returns a picture path <code>result</code>. I wanted to save this image for other users but the exception appears.</p>
  
  <pre><code>private void segmenter(object sender, RoutedEventArgs e)  {
   s.SegSeuil(0, (MWCharArray)name, (MWCharArray)result);
   BitmapImage tmp = new BitmapImage(new Uri(result));  // exception here 
   image.Source = tmp;
  
  }
  </code></pre>