Magick++ quantize function

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Ien

Magick++ quantize function

Post by Ien »

Hello,

I'am a student who is in internship for a lab. My subject deals with images processing and documents recognition. I'am trying to develop programs who need some color quantization. I'working with magick++ API and i'would like to know how the function quantize() work please. What type of algorithme have been develop for it . I don't need the code, just to kown how does it work to develop the parts who will follow the call of quantiz in my programs.

Thank you for your great job, this API is very nice and useful!


Julien
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Magick++ quantize function

Post by magick »

RTM. See http://www.imagemagick.org/script/quantize.php for a description of the color reduction algorithm.
Ien

Re: Magick++ quantize function

Post by Ien »

Thank you
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Magick++ quantize function

Post by anthony »

You may like to try to understand the source code too. Contributions and Patches are of course welcome.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Ien

Re: Magick++ quantize function

Post by Ien »

Could you tell me if there is any function to get the value of the thresholds ?

Thank you
Post Reply