Some problems with function "colorHistogram"
Posted: 2009-02-05T11:50:12-07:00
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
...
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