title: Showing processed images from an IP camera
body: <p>I have an IP-camera that serves images. These images are then processed via <a href="http://www.emgu.com/wiki/index.php/Main_Page" rel="nofollow">EmguCV</a> and then I want to display the processed images. </p>
  
  <p>To show the images, I use this code: </p>
  
  <pre><code>Window1(){
       ...
       this.Dispatcher.Hooks.DispatcherInactive 
           += new EventHandler(Hooks_DispatcherInactive);
  }
  
  Hooks_DispatcherInactive(...)
  {
      Next()
  }
  </code></pre>
  
  <p>Next() the calls calls the image processing methods and (should) display the image:</p>
  
  <pre><code>MatchResult? result = survey.Step();
  if (result.HasValue)
  {
      Bitmap bit = result.Value.image.Bitmap;
      ImageSource src = ConvertBitmap(bit);
      show.Source = src;
      ...
  }
  </code></pre>
  
  <p>This works fine when I hook up a normal 30fps webcam. But, the IPCam's images take over a second to get here, also when I access them via a browser. So, in the mean time, WPF shows nothing, not even the previous image that was processed. </p>
  
  <p>How can I get WPF to at least show the previous image?</p>