This is probably totaly wrong place to ask this question, but I am getting desperate. Been looking all over the web for an answer.
Is there any way to determine the internal format of the data in an IplImage? The amounts of bits per channel is there, all good. But a 32bit integer and a 32bit float is kinda different on bit level. How can I determine if I get feeded with floats or integers from the captures? Are they allways integers or can they deviate and be a float from time to time?
Assume that if no value in the feed is higher than 1.0 it’s a floats… but then on the other hand, a 0.001 float read as an int is way more than 1. =/