- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Everyone,
I'm looking for a method to convert a RGB image to Palette Color image. Where my input would be a 8u_C3R (24bits) and expecting an output in the form of 8u_C1R (8bits) along with Red (256bytes), Green (256bytes) and Blue (256bytes) Palette color LUTs or single array of LUT which contains first 256 bytes for the color Red and next 256 bytes for the color Green and final 256 bytes for color Blue.
Is there a method in IPP which methods the above requirement or any set of process can accomplish the same would be grateful?
Any suggestions in this regard is highly appreciated.
Thanks & Regards
Thilak
I'm looking for a method to convert a RGB image to Palette Color image. Where my input would be a 8u_C3R (24bits) and expecting an output in the form of 8u_C1R (8bits) along with Red (256bytes), Green (256bytes) and Blue (256bytes) Palette color LUTs or single array of LUT which contains first 256 bytes for the color Red and next 256 bytes for the color Green and final 256 bytes for color Blue.
Is there a method in IPP which methods the above requirement or any set of process can accomplish the same would be grateful?
Any suggestions in this regard is highly appreciated.
Thanks & Regards
Thilak
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How about call ippiLUTPalette_8u_C3R(), to get a interleave LUT image, Then copy interleave format to Plane format, for example, call ippiCopy_8u_C3P3().
Best Regards,
Ying

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