Hi all,
a very typical application when reading image data from a harware interface is to convert the raw byte buffer into an array of unsigned short representing an image (i.e. address scaling).
What is the IPP function to do this? I have seen copying, bit downscaling, moving but not such an address scaling.
The function usually looks like
for (unsigned long index=0; index ushort_buf=(unsigned short)byte_buf;
Thank you.
Arnaud.
a very typical application when reading image data from a harware interface is to convert the raw byte buffer into an array of unsigned short representing an image (i.e. address scaling).
What is the IPP function to do this? I have seen copying, bit downscaling, moving but not such an address scaling.
The function usually looks like
for (unsigned long index=0; index
Thank you.
Arnaud.
链接已复制
3 回复数
Hi Arnaud,
I think you are looking for ippiConvert_8u16s function's family (we have variants for single channel or gray images, three channels and four channels images).
What kind of application do you develop? Is it something to do with raw video data from camera? What other functionality you is interested in for that application?
Regards,
Vladimir
I think you are looking for ippiConvert_8u16s function's family (we have variants for single channel or gray images, three channels and four channels images).
What kind of application do you develop? Is it something to do with raw video data from camera? What other functionality you is interested in for that application?
Regards,
Vladimir
Hi Vladimir,
yes, it seems to be the one, thank you.
I'm working on high speed data acquisition for production testing purposes. I will probably also need some FFT, statistical function, least square linear regression and box filters.
Best regards,
Arnaud.
yes, it seems to be the one, thank you.
I'm working on high speed data acquisition for production testing purposes. I will probably also need some FFT, statistical function, least square linear regression and box filters.
Best regards,
Arnaud.
