AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

AForge Histogram controll

The forum is to discuss topics related to different areas of image processing and computer vision.

AForge Histogram controll

Postby christina wie » Sat Jul 13, 2013 1:43 pm

Hello
I am a bits suck in getting to know the aforge histogram controll. I red the documentation that there is a controll and you can display it so now what i want is a button when pressed displays histogram.Below is my code

Code: Select all
                   //all under a button clicked
                        Histogram histogram=new Histogram();
                        int[] histogramValues = new int[] { 3, 8, 53, 57, 79, 69};
                        histogram.Values = histogramValues;
                        histogram.Show();

The code runs and i have debugged it its fine its just that nothing is displayed after the button is pressed. Now i am still ocassional coder so please expect silly question one question is that do i also need to add something on my form? i looked in the toolbox of vs2008 but could not find a histogram control etc.?

Regards
christina wie
 
Posts: 52
Joined: Fri Jul 01, 2011 6:48 am



Return to Image Processing and Computer Vision