Hello all!

I am working on a QT-GUI for a scientific camera.

The camera saves images as jpg, tiff or, which is
I guess the best for processing the images, as a
matrix filled with values (photon counts)

And for this I need to display the matrix
as an image.
(first colum is number of horizontal pixel,
the other colums equal vertical pixels)

Example:
400.00009,1962,1974,2007,1966,1920
401.00009,1978,1968,2024,2010,2028
402.0001,2012,2019,1983,1996,2019
403.0001,2090,2045,2087,2053,1998
404.0001,2075,2037,2091,2087,2043
405.0001,2129,2159,2107,2113,2088

The first idea that i thought of,
was to draw the image pixel by pixel into a QPixMap or QImage
and use a defined range of grey scales for the "coloring."

And now my question:
Has one of you ever had a similar problem or
knows a better solution?

Are there functions in QT or other libraries that deal with
image-matrices?
Would it be possible/easier to use the CImg-Library?

Any ideas are very welcome

Thanks,
Markus