Ejemplo n.º 1
0
 public void ImagefromCamera(Camera camera)//相機讀取(Image)
 {
     if (Image != null)
     {
         Image.Dispose();
     }
     HOperatorSet.GenEmptyObj(out Image);
     camera.captrue(out Image);
     HOperatorSet.GetImageSize(Image, out hv_Width, out hv_Height);
 }
Ejemplo n.º 2
0
 public void ImagefromCameraandshow(Camera camera,HTuple Window)//相機讀取(Image)
 {
     if (Image != null)
     {
         Image.Dispose();
     }
     HOperatorSet.GenEmptyObj(out Image);
     camera.captrue(out Image);
     HOperatorSet.GetImageSize(Image, out hv_Width, out hv_Height);
     this.ShowImage_autosize(Window);
 }