- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much!
It was really stupid on my side to feed the method with 4*256 bytes table.
Now everything works perfectly.
It was really stupid on my side to feed the method with 4*256 bytes table.
Now everything works perfectly.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page