PDA

View Full Version : Image Data size not the same as camera image size



Terry Sopkow
November 30, 2011, 22:07:59
I am trying to get the image data to be able to create a histogram of the instensity and the array size that I am getting is 3071 x 767, but my camera image size is 1024 x 768.

Attached is the code that I am using in Labview to get the image data. I am using a DMx31BU03 camera.

Thanks

Terry

1434

Stefan Geissler
December 1, 2011, 08:25:31
Hello,

the pixel format in memory is RGB24. That means 3 bytes per pixel. Therefore the line is 3x longer. (-1 because the index may is 0 based)