コード例 #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);
 }
コード例 #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);
 }