Example #1
0
 public ObjectSearchWorker()
 {
     camera = new Camera("ObjectSearch");
     camera.Subscribe();
     camera.CalibrateCamera(3);
     processor = new Processing(camera);
 }
Example #2
0
 /// <summary>
 /// Enhances the target camera's image using the selected threshold bounds.
 /// </summary>
 /// <returns></returns>
 public Image Enhance()
 {
     if (Target == null)
         return null;
     Processing ps = new Processing(Target);
     Image<Rgb, Byte> image = Target.GetImage();
     Image<Gray, Byte> enhanced = ps.EnchancedImage(Min, Max);
     return enhanced.ToBitmap(image.Width, image.Height);
 }