I've some problems with the function "colorHistogram". I post you the code:
...
map<Color,unsigned long> histogram;
colorHistogram( &histogram, image );
std::map<Color,unsigned long>::const_iterator p=histogram.begin();
...
My software stops when try to call the line -----colorHistogram( &histogram, image );
I don't know what is the problem because ImageMagick is correctly installed.
I'm using ImageMagick and Magick++ to work with C++ on a SO Linux Ubuntu 8.04. Please help me. Thanks