Ejemplo n.º 1
0
        //加工前画像製造クラス
        //KinectImage kinectImage;

        #endregion

        //コンストラクタ
        public SystemMain()
        {
            this.recKinect    = new RecordedData();
            this.kinectDevice = new KinectDevice();
            //this.camera._showImageEvent += this.CastingImage;
            this.inputPackage     = new ShadowPackage();
            this.processedPackage = new ShadowPackage();

            this.inputimgTimer   = new System.Threading.Timer(new TimerCallback(this.CastingImage));
            this.processimgTimer = new System.Threading.Timer(new TimerCallback(this.ProcessImage));
            this.outputimgTimer  = new System.Threading.Timer(new TimerCallback(this.Calibration));
            this.inputimgTimer.Change(0, 100);
            this.processimgTimer.Change(0, 100);
            this.outputimgTimer.Change(0, 100);
        }
Ejemplo n.º 2
0
        //加工前画像製造クラス
        //KinectImage kinectImage;

        #endregion

        //コンストラクタ
        public SystemMain()
        {
            this.recKinect = new RecordedData();
            this.kinectDevice = new KinectDevice();
            //this.camera._showImageEvent += this.CastingImage;
            this.inputPackage = new ShadowPackage();
            this.processedPackage = new ShadowPackage();

            this.inputimgTimer = new System.Threading.Timer(new TimerCallback(this.CastingImage));
            this.processimgTimer = new System.Threading.Timer(new TimerCallback(this.ProcessImage));
            this.outputimgTimer = new System.Threading.Timer(new TimerCallback(this.Calibration));
            this.inputimgTimer.Change(0,100);
            this.processimgTimer.Change(0,100);
            this.outputimgTimer.Change(0,100);
        }