Beispiel #1
0
        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            MyHistogram histogram = new MyHistogram();

            int[,] hist;
            hist = histogram.CalculateHistogram(image);
            Bitmap histimage;

            histimage         = histogram.DrawHistogram(hist, comboBox1.SelectedIndex);
            pictureBox1.Image = histimage;
            pictureBox1.Refresh();
        }