Hi all.
I have a peice of code that
1)
- Reads an 8-bit grayscale image. Labview reports its depth as 8.
- Extracts the 1d array
- Repackages as a 2d array
- Draws using unflatten pixmap
(And this works fine.)
2)
- Initializes two arrays of 8-bit data, one array to one value, the other to another, the same size as the image.
- Repackages as a 2d array
- Draws using unflatten pixmap
However this doesn't work, the array is always initilized to 0; or at least, the images appear black (0).
What can be wrong?
(The above is for testing another piece of code).