title: Wrong Gain Factors on UEye camera + PyUEye
body: <p>I'm trying a bunch of IDS Ueye cameras and I happen to have a problem with the default values. When I launch <code>ueyedemo</code> on my Ubuntu 18.04, I get images like this:</p>
  <p><img src="https://i.stack.imgur.com/VdrnZ.jpg" alt="Image as I see it" /></p>
  <p>But when I use the application's File -&gt; Save Image I get an image like this:</p>
  <p><img src="https://i.stack.imgur.com/ihjsd.jpg" alt="Image as the software sees it" /></p>
  <p>Anyway, I can correct the result to real life colors by going to uEye -&gt; Properties -&gt; Image where I change these gain values:</p>
  <p><img src="https://i.stack.imgur.com/LfF8T.jpg" alt="Gain values as they come" /></p>
  <p>To these:</p>
  <p><img src="https://i.stack.imgur.com/OlzzV.jpg" alt="New gain values" /></p>
  <p>And get an image like this:</p>
  <p><img src="https://i.stack.imgur.com/pD2nc.jpg" alt="Image with real colors" /></p>
  <p>A colleague of mine has tried the camera on Windows 10 and this does not happen. I'd either like to know how to solve this via UEye configuration or via PyUEye, because there seems to be no documentation of the library available online.</p>
  <p>For the moment, I'm using the standard example code that IDS provides, found here: <a href="https://es.ids-imaging.com/kb-pdf/simple-live-image-acquisition-with-the-python-interface-pyueye.html?file=files/downloads/support/knowledgebase/programming-examples/uEye_SimpleLive_PyuEye_OpenCV.zip" rel="nofollow noreferrer">Link</a></p>
  <p>I've found nothing after a while searching. Is there any documentation? Is this a known issue?</p>
  <p>Thanks! Any help is appreciated.</p>