经过阀值处理后,我们开始进行图像边缘检测和分离。
public Image<TColor, float> Sobel( int xorder, //X方向 int yorder, //Y方向 int apertureSize //一定为奇数1.3.5.7等 )Emgu.CV.Image<Bgr, Byte> YUAN = new Image<Bgr, Byte>((Bitmap)pictureBox1.Image);
pictureBox2.Image = YUAN.Convert<Gray, Byte>().Sobel(1,0, 11).ToBitmap();
public Image<TColor, float> Laplace(