Loading...
You are not logged-in Login/Register





  • Posts   Search Threads
  • santhilakJuly 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)July 8, 2009 1:30 AM PDT
    Rate
     
    Re: 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)


    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





Forum jump:  

Intel Software Network Forums Statistics

16,369 users have contributed to 46,341 threads and 163,954 posts to date.

In the past 24 hours, we have 18 new thread(s) 102 new posts(s), and 67 new user(s).

In the past 3 days, the most popular thread for everyone has been Formula for the intersection of straight lines The most posts were made to Take a look at John Burkhard&# The post with the most views is \"-check none\" generates error

Please welcome our newest member bikerepair8


For more complete information about compiler optimizations, see our Optimization Notice.