palette reduction

Win32 Programming

    Next

  • 1. Is it possible to capture GDI streams?
    Is it possible to capture GDI streams for the visible desktop and printer devices BEFORE the commands are sent to the devices - like hooking GDI?
  • 2. getting notification for system date change
    Hi All, can any body please tell me how i can get system date change notification. rgds, Ritu
  • 3. About GDI+. How do get Color of Transparent, from GIF of Dynamic ?
    Hello, About programming to use GDI+. How do get Color of Transparent, from GIF of Dynamic ? I want oneself to draw, with the program of my MMX. I can not get Color of Transparent , from Image::GetPropertyItem of PropertyTagIndexTransparent and PropertyTagGlobalPalette. Because they do not exist. Why? How should I do? Thank you, player
  • 4. Further alpha troubles.
    Hello. Could somebody tell me if it is infact possible to use AlphaBlend when drawing to a printer device context? If not then there is no point in me explaining the rest of the question! If so, then I will follow with the rest of the problem.. Thanks in advance for any help. Kind regards. Mark Coleman

palette reduction

Postby Vipin » Mon, 27 Jun 2005 05:16:55 GMT

Hi Guys,
             I want to know of a palette reduction algorithm. Basically I
will have a 24 bpp  image and I want it to be reduced to 8bpp. Has anyone
here come across a algorithm which would do some analysis on the 24bpp image
and reduce to 8bpp maintaining the spatial correctness of the image? Any
pointers to scientific journal or so is welcome. I don't want to specify a
palette statically, instead the palette reduction should happen at runtime
based on input image.

Thanks
Vipin



Re: palette reduction

Postby Vipin » Mon, 27 Jun 2005 05:58:43 GMT

Ignore the post.




image



Re: palette reduction

Postby Mike D Sutton » Mon, 27 Jun 2005 07:05:32 GMT

>              I want to know of a palette reduction algorithm. Basically I

You're going to want an colourspace quantisation algorithm, Octree and neural network methods are the most common and should return
you plenty of results with a quick web search, here's one for example:
 http://www.**--****.com/ 
Also, any graphics library worth it's salt will contain this kind of functionality so you may want to have a look into those too.
Hope this helps,

    Mike


 - Microsoft Visual Basic MVP -
E-Mail:  XXXX@XXXXX.COM 
WWW:  http://www.**--****.com/ 




Return to Win32 Programming

 

Who is online

Users browsing this forum: No registered users and 7 guest