Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
Thread Tools  Search this thread 
santhilak
Total Points:
40
Registered User
July 6, 2009 9:09 AM PDT
Method(s) does the reverse work of ippiLUTPalette_8u24u_C1R. We need to convert a RGB data to Palette color data (Pixel inded and RGB LUTs)
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
Ying H (Intel)
Total Points:
5,187
Status Points:
4,687
Brown Belt
July 8, 2009 1:30 AM PDT
Rate
 
#1

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







Intel Software Network Forums Statistics

8438 users have contributed to 31541 threads and 100358 posts to date.
In the past 24 hours, we have 12 new thread(s) 45 new posts(s), and 55 new user(s).

In the past 3 days, the most popular thread for everyone has been /fpp interferes with breakpoints/stepping through code - again The most posts were made to IVF 11.1.051 freezes during build The post with the most views is Yes - a small (if possible)

Please welcome our newest member coryg91