public Stream(UpdateGuiOnNewFrameFunction UpdateGuiOnNewFrameFunction = null)
 {
     this.updateGuiFunction = UpdateGuiOnNewFrameFunction;
     delayStopWatch = new System.Diagnostics.Stopwatch();
     current_resolution_index = 0;
     imgProcessor = new ImageProcessor();
 }
 public KinectStream(bool isBgr, UpdateGuiOnNewFrameFunction UpdateGuiOnNewFrameFunction = null)
     : base(isBgr, UpdateGuiOnNewFrameFunction)
 {}
        public Stream(bool isBgr, UpdateGuiOnNewFrameFunction UpdateGuiOnNewFrameFunction = null)
        {
            this.updateGuiFunction = UpdateGuiOnNewFrameFunction;

            ChangeResolution(DefaultResolution);

            delayStopWatch = new System.Diagnostics.Stopwatch();

            if (isBgr) imgProcessor = new BgrImageProcessor();
            else imgProcessor = new HsvImageProcessor();
        }
 public USBCamera(bool isBgr, UpdateGuiOnNewFrameFunction UpdateGuiOnNewFrameFunction = null)
     : base(isBgr, UpdateGuiOnNewFrameFunction)
 {
     ChangeFps(DefaultFPS);
     ChangeCompression(-1);
 }
 public WebCameraStream(bool isBgr, UpdateGuiOnNewFrameFunction UpdateGuiOnNewFrameFunction = null)
     : base(isBgr, UpdateGuiOnNewFrameFunction)
 {
 }
 // Ctor
 public IPCameraStream(bool isBgr, UpdateGuiOnNewFrameFunction UpdateGuiOnNewFrameFunction = null)
     : base(isBgr, UpdateGuiOnNewFrameFunction)
 {
     ChangeFps(DefaultFPS);
     ChangeCompression(DefaultCompression);
 }