//public void ApplySobel(int xorder=1, int yorder =1, int apetureSize =17,int gray_threshold=124, int white_threshold=255) //{ // if (_ImageInput == null) // { // return; // } // Image<Gray, byte> imgGray = _ImageInput.Convert<Gray, byte>(); // Image<Gray, float> imgSobel = new Image<Gray, float>(_ImageInput.Width, _ImageInput.Height, new Gray(0)); // imgSobel = imgGray.Sobel(xorder,yorder,apetureSize); // var imgBinarize = imgSobel.Convert<Gray, byte>().ThresholdBinary(new Gray(gray_threshold), new Gray(white_threshold)); // imageBox1.Image = imgBinarize; //} private void laplacianToolStripMenuItem_Click(object sender, EventArgs e) { Laplace laplace = new Laplace(); laplace.setLaplaceInput(_ImageInput); imageBox1.Image = laplace.ApplyLaplace(); }