How to draw histogram using EmguCV and C#
问题 I need to draw two types of histogram, namely monodimensional and tridimensional. I'm a newbie to EMGU and all of the samples I found on the net are in C++ or C. Are there any samples using C# and Emgucv? Thanks for helping. 回答1: The following code will segment the RED GREEN and BLUE Histogram data and put them in an array of floats for whatever use you want. float[] BlueHist; float[] GreenHist; float[] RedHist; Image<Bgr, Byte> img = new Image<Bgr, byte>("ImageFileName"); DenseHistogram