Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

"unit8 denotes int" No uint8 is a Byte (8 Bits..). If you have a look a the image data type, you see that the data is always kept in a byte-array which is the most basic data type available. So the data-array is nothing else but just a pointer to the memory in which the image is stored. This data is then interpreted according to your image type. If you have a float, a block of four consecutive bytes in read as a single float value.