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

How to use ippiLUT8u_C3IR

ido_t_
Beginner
354 Views

Hi.

I would like to use IppiLUT (ipp 9.0) to convert input rgb image (unsigned 8 bit) to different rgb image values.

So i need LUT with input size of 256*256*256 = 16MB and output size of 16MB * 3 (16MB output r, 16MB output g, and 16MB, output b)

Do you have any example to use ippiLUT_Init_8u for such case?

I'm not sure how should pValues and pLevels arguments to the the init function should look like.

 

IppStatus ippiLUT_Init_8u(IppiInterpolationType interpolation, IppChannels channels, IppiSize roiSize, const Ipp32s* pValues[], const Ipp32s* pLevels[], int nLevels[], IppiLUT_Spec* pSpec);

 

Regards,

Ido

 

0 Kudos
1 Reply
Jing_Xu
Employee
354 Views

So i need LUT with input size of 256*256*256 = 16MB and output size of 16MB * 3 (16MB output r, 16MB output g, and 16MB, output b)

I'm sorry but I don't quite follow this line. Could you make a simple example?

0 Kudos
Reply