Beispiel #1
0
 private void button5_Click(object sender, EventArgs e)
 {
     readImage = new ReadImage("foto.jpg");
     //textBox1.AppendText(readImage.ListOFAttributes());
     foreach (var item in readImage.ListOFAttributes())
     {
         listBox1.Items.Add(item);
     }
     //listBox1.Items.Add(readImage.ListOFAttributes());
 }
Beispiel #2
0
        private void button4_Click_1(object sender, EventArgs e) // Transformata Fouriera (wykres widma FFT)
        {
            readImage = new ReadImage("Lena.jpg");

            Bitmap image = new Bitmap(readImage.GetImage(), new Size(256, 256));

            FFT = new FFT(image);
            pictureBox1.Image = FFT.GetForwardFFT();
            label1.Text       = "Wykres widma FFT";
            pictureBox2.Image = FFT.GetBackFTT();
            label2.Text       = "Obraz po FFT";
        }