GImage ToGray(GImage src) { return new GImage(src.InRange(new Emgu.CV.Structure.Gray(0), new Emgu.CV.Structure.Gray(100)).Bitmap); }