コード例 #1
0
        public BaslerCamera(Basler.Pylon.ICameraInfo cameraInfo)
        {
            _grabCount = -1;
            _count     = 0;

            _camera = new Basler.Pylon.Camera(cameraInfo);
            _camera.StreamGrabber.ImageGrabbed += StreamGrabber_ImageGrabbed;

            _camera.Open();

            _converter = new Basler.Pylon.PixelDataConverter();
            _converter.OutputPixelFormat = Basler.Pylon.PixelType.RGB8packed;
        }
コード例 #2
0
 public CameraDriver_Basler()
 {
     _stopWatch           = new System.Diagnostics.Stopwatch();
     _converter           = new PixelDataConverter();
     _isBandedCameraEvent = false;
 }