public Calibration(Form1 baseForm)
        {
            this.baseForm = baseForm;

            nativeProgressCallback = new CompasscalImports.ProgressCallback(this.nativeProgressEvent);

            //set gains to 1 by default
            gainAndTransform.matrix[0, 0] = 1;
            gainAndTransform.matrix[1, 1] = 1;
            gainAndTransform.matrix[2, 2] = 1;
        }
示例#2
0
        public Calibration(Form1 baseForm)
        {
            this.baseForm = baseForm;

            nativeProgressCallback = new CompasscalImports.ProgressCallback(this.nativeProgressEvent);

            //set gains to 1 by default
            gainAndTransform.matrix[0, 0] = 1;
            gainAndTransform.matrix[1, 1] = 1;
            gainAndTransform.matrix[2, 2] = 1;
        }