Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
6 Views

ippiGrayToBin_8u1u_C1R. What bit order will be in result?

I want convert 8u matrix to 1u matrix using ippiGrayToBin_8u1u_C1R. Can I assume that bits in result have the same order as the source elements? Does this function use big-endian or little-endian format?

0 Kudos
1 Reply
Highlighted
Employee
6 Views

Hi Anna.

Inside one byte of result matrix LSB corespods the first pixel of 8-element frame in the source and MSB corresponds the last pixel.

If we consider memory as continuous sequence of bits, than the result order will be the same as the order in source matrix.

 

0 Kudos