ofxHistogram addon for openFrameworks which gets the histogram of an image. probably inefficient -- could use some looking over by someone more adept at openCv.