Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6689 Discussions

ippiGrayToBin_8u1u_C1R. What bit order will be in result?

ANNA_K_
Beginner
265 Views

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
DANEEL_L_Intel
Employee
265 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
Reply