title: C#: Fast and Smart algorithm to Compare two byte array (image)
body: <p>I'm running a process on a WebCam Image. I'd like to Wake Up that process only if there is major changes.</p>
  
  <ul>
  <li>Something moving in the image</li>
  <li>Lights turn on</li>
  <li>...</li>
  </ul>
  
  <p>So i'm looking for a fast efficient algorithm in C# to compare 2 byte[] (kinect image) of the same size. </p>
  
  <ul>
  <li>I just need kind of "diff size" with a threashold</li>
  <li>I found some motion detection algorithm but it's "too much"</li>
  <li>I found some XOR algorithm but it might be too simple ? Would be great If I could ignore small change like sunlight, vibration, etc, ...</li>
  </ul>