LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I convert the two-dimensional array, created using imaqimagetoarray, into a 480x640 matrix that I can look at each pixel value in?

ImaqImageToArray returns a void pointer to the array, and you need to typecast that to whatever type of data you are using ie (unsigned char)arrayptr. You can then access it like an array using arrayptr[0][0].
0 Kudos
Message 2 of 2
(2,958 Views)