Added median filter but for some reason it always trigger pointer exceptions

This commit is contained in:
2022-09-14 19:52:34 +02:00
parent 15a69c20ae
commit 6b392ab1e7
5 changed files with 198 additions and 41 deletions
+40 -39
View File
@@ -31,12 +31,15 @@
this.pbxOriginal = new System.Windows.Forms.PictureBox();
this.gpbx1 = new System.Windows.Forms.GroupBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.lblTimer1 = new System.Windows.Forms.Label();
this.btnDowload1 = new System.Windows.Forms.Button();
this.pbxResult1 = new System.Windows.Forms.PictureBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.lblTimer2 = new System.Windows.Forms.Label();
this.btnDownload2 = new System.Windows.Forms.Button();
this.pbxResult2 = new System.Windows.Forms.PictureBox();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.lblTimer3 = new System.Windows.Forms.Label();
this.btnDownload3 = new System.Windows.Forms.Button();
this.pbxResult3 = new System.Windows.Forms.PictureBox();
this.gpbxFiles = new System.Windows.Forms.GroupBox();
@@ -47,9 +50,6 @@
this.lsbEffects = new System.Windows.Forms.ListBox();
this.groupBox6 = new System.Windows.Forms.GroupBox();
this.pnlEffectToolbox = new System.Windows.Forms.Panel();
this.lblTimer1 = new System.Windows.Forms.Label();
this.lblTimer2 = new System.Windows.Forms.Label();
this.lblTimer3 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.pbxOriginal)).BeginInit();
this.gpbx1.SuspendLayout();
this.groupBox2.SuspendLayout();
@@ -95,6 +95,18 @@
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Result 1";
//
// lblTimer1
//
this.lblTimer1.AutoSize = true;
this.lblTimer1.BackColor = System.Drawing.Color.Black;
this.lblTimer1.ForeColor = System.Drawing.Color.Green;
this.lblTimer1.Location = new System.Drawing.Point(6, 25);
this.lblTimer1.Name = "lblTimer1";
this.lblTimer1.Size = new System.Drawing.Size(54, 20);
this.lblTimer1.TabIndex = 2;
this.lblTimer1.Text = "0.00s";
this.lblTimer1.Visible = false;
//
// btnDowload1
//
this.btnDowload1.Location = new System.Drawing.Point(44, 247);
@@ -127,6 +139,18 @@
this.groupBox3.TabStop = false;
this.groupBox3.Text = "Result 2";
//
// lblTimer2
//
this.lblTimer2.AutoSize = true;
this.lblTimer2.BackColor = System.Drawing.Color.Black;
this.lblTimer2.ForeColor = System.Drawing.Color.Green;
this.lblTimer2.Location = new System.Drawing.Point(6, 25);
this.lblTimer2.Name = "lblTimer2";
this.lblTimer2.Size = new System.Drawing.Size(54, 20);
this.lblTimer2.TabIndex = 3;
this.lblTimer2.Text = "0.00s";
this.lblTimer2.Visible = false;
//
// btnDownload2
//
this.btnDownload2.Location = new System.Drawing.Point(44, 247);
@@ -159,6 +183,18 @@
this.groupBox4.TabStop = false;
this.groupBox4.Text = "Result3";
//
// lblTimer3
//
this.lblTimer3.AutoSize = true;
this.lblTimer3.BackColor = System.Drawing.Color.Black;
this.lblTimer3.ForeColor = System.Drawing.Color.Green;
this.lblTimer3.Location = new System.Drawing.Point(6, 25);
this.lblTimer3.Name = "lblTimer3";
this.lblTimer3.Size = new System.Drawing.Size(54, 20);
this.lblTimer3.TabIndex = 4;
this.lblTimer3.Text = "0.00s";
this.lblTimer3.Visible = false;
//
// btnDownload3
//
this.btnDownload3.Location = new System.Drawing.Point(44, 247);
@@ -237,6 +273,7 @@
this.lsbEffects.Name = "lsbEffects";
this.lsbEffects.Size = new System.Drawing.Size(188, 204);
this.lsbEffects.TabIndex = 4;
this.lsbEffects.SelectedIndexChanged += new System.EventHandler(this.lsbEffects_SelectedIndexChanged);
//
// groupBox6
//
@@ -255,42 +292,6 @@
this.pnlEffectToolbox.Size = new System.Drawing.Size(188, 250);
this.pnlEffectToolbox.TabIndex = 2;
//
// lblTimer1
//
this.lblTimer1.AutoSize = true;
this.lblTimer1.BackColor = System.Drawing.Color.Black;
this.lblTimer1.ForeColor = System.Drawing.Color.Green;
this.lblTimer1.Location = new System.Drawing.Point(6, 25);
this.lblTimer1.Name = "lblTimer1";
this.lblTimer1.Size = new System.Drawing.Size(54, 20);
this.lblTimer1.TabIndex = 2;
this.lblTimer1.Text = "0.00s";
this.lblTimer1.Visible = false;
//
// lblTimer2
//
this.lblTimer2.AutoSize = true;
this.lblTimer2.BackColor = System.Drawing.Color.Black;
this.lblTimer2.ForeColor = System.Drawing.Color.Green;
this.lblTimer2.Location = new System.Drawing.Point(6, 25);
this.lblTimer2.Name = "lblTimer2";
this.lblTimer2.Size = new System.Drawing.Size(54, 20);
this.lblTimer2.TabIndex = 3;
this.lblTimer2.Text = "0.00s";
this.lblTimer2.Visible = false;
//
// lblTimer3
//
this.lblTimer3.AutoSize = true;
this.lblTimer3.BackColor = System.Drawing.Color.Black;
this.lblTimer3.ForeColor = System.Drawing.Color.Green;
this.lblTimer3.Location = new System.Drawing.Point(6, 25);
this.lblTimer3.Name = "lblTimer3";
this.lblTimer3.Size = new System.Drawing.Size(54, 20);
this.lblTimer3.TabIndex = 4;
this.lblTimer3.Text = "0.00s";
this.lblTimer3.Visible = false;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);