I have an Andor Newton EMCCD Camera which I am interfacing with Labview 8. I have modified a VI supplied by Andor for capturing cooling the camera and capturing data. The data returns from the Acquisition vi as a 1D array. It is reshaped into a 2D array and then viewed on an intensity graph that is 1024 x 256 (the number of pixels on the camera). This works fine- the image is shown as blue and black in the intensity graph (although greyscale would be preferred). If I try to flatten pixmap and save the image as a jpeg, the image looks different. It seems to have lost detail, even if I turn it into a 24 bit pixmap.
Below is an image that I got using Andor's software. You can see two emission lines showing as bright regions across a grey background. The same image is shown as blue and black on the Labview output, and the bright lines are very hard to distinguish.
I'm not sure what I am doing wrong. How do I take data acquired from the CCD and output it as a jpg? Why does it look great as an intensity map but it doesn't work in jpg format?
If you want me to post the vi, just let me know.
-Tim
ANDOR Image (desired):
LABVIEW image (want it to look like Andor image):