title: Operations on 2 images (adding, subtraction etc. ), without using a buffer
body: <p>I want to know is there any way to make operations on two images without analyzing them pixel by pixel. I try to make a mix view from two cameras in real time. Becouse of that, operations must be made with speed 10 frames per second at least. </p>
  
  <p>First version of my program looks like this:</p>
  
  <pre><code>                        CPylonImage im1;
                  CPylonImage im2;
  
      uint32_t width = im2.GetWidth();
          uint32_t height = im2.GetHeight();
          uint8_t* buffer1 = static_cast&lt;uint8_t*&gt;( im1.GetBuffer());
          uint8_t* p1 = buffer1;
          uint8_t* buffer2 = static_cast&lt;uint8_t*&gt;( im2.GetBuffer());
          uint8_t* p2 = buffer2;
          for (uint32_t y = 0; y &lt; height; ++y)
          {
              for (uint32_t x = 0; x &lt; width; ++x, ++p1)
              {
                  *p2 = (uint8_t)*p1+*p2;
                  ++p2;
              }
          }
          ShowImage( im2, "Mixed image");
  </code></pre>
  
  <p>But this was too slow.</p>
  
  <p>I will be very grateful for any answer.</p>