![]() ![]() CV_8UC(n) (n channel array with 8 bit unsigned integers (n can be from 1 to 512) ).CV_8UC4 (4 channel array with 8 bit unsigned integers).CV_8UC3 (3 channel array with 8 bit unsigned integers).CV_8UC2 (2 channel array with 8 bit unsigned integers).CV_8UC1 (single channel array with 8 bit unsigned integers).CV_64F (64 bit float floating point number).As the datatype of this array is 8 bit unsigned integers, each element should have a value from 0 to 255. Here is a single channel array with 8 bit unsigned integers. We want to use unsigned char types('U') that are 8 bit long and each pixel has 3 of these to form the 3 channels. ![]() Here is the convention for the data type used in CV_8UC3:ĬV_C ![]() We'll learn how we can write a matrix to an image file, however, for debugging purposes it's much more convenient to see the actual values. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |