private void custom3x3FilterToolStripMenuItem_Click(object sender, EventArgs e) { phaseThree newPhase = new phaseThree(); customFilter cs = new customFilter(); cs.ShowDialog(); MASK = cs.passValue; if (newPhase.Conv3x3(image, MASK)) { this.Invalidate(); pictureBox2.Image = image.Clone() as Bitmap; } }
private void loG7x7ToolStripMenuItem_Click_1(object sender, EventArgs e) { phaseThree newPhase = new phaseThree(); pictureBox2.Image = newPhase.LoG7x7((Bitmap)image.Clone()); }
private void runLengthToolStripMenuItem_Click(object sender, EventArgs e) { phaseThree newPhase = new phaseThree(); Run_Length newRun = new Run_Length(newPhase.bitPlaneRunlength((Bitmap)image.Clone())); }