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

ippiLUTPalette_8u24u_C1R

Georgy_Malyshev
Beginner
323 Views
Hi,

I'm trying to use this method to convert DICOM Palette Color image to RGB. The problem is that even this method creates geometrically correct output the colors are completely out of reality.

Interface suggests that I provide LUT as const Ipp8u* pTable but one should agree that this LUT is actually an array of 256 DWORD. To check if my understanding of ippiLUTPalette_8uXXXu_C1R family is correct I tried to use ippiLUTPalette_8u32u_C1R as follows:
- create temporary 32-bit buffer
- call ippiLUTPalette_8u32u_C1R using the same palette
- convert 32-bit image to 24-bit RGB
This provides me with required output but performance degrades.

Did anybody had experience with ippiLUTPalette_8u24u_C1R?

Best regards,
Georgy
0 Kudos
1 Reply
Georgy_Malyshev
Beginner
323 Views
Thank you very much!
It was really stupid on my side to feed the method with 4*256 bytes table.
Now everything works perfectly.
0 Kudos
Reply