Esempio n. 1
0
        public double cal_mt2_theta(OpenCvSharp.FlipMode _flipmode, double az1center, double alt1center)
        {
            double theta;

            if (mt2mode == mmWest)
            {
                theta = -(az1center + alt1center);
            }
            else
            {
                theta = -(az1center - alt1center);
            }


            if (_flipmode == OpenCvSharp.FlipMode.XY)
            {
                theta = -theta;
            }
            return(theta);
        }
Esempio n. 2
0
        /// <summary>
        /// MT2 Thetaの計算
        /// </summary>
        /// <remarks>
        /// KV_DATA -> az,alt etcに変換
        /// </remarks>
        public double cal_mt2_theta(OpenCvSharp.FlipMode _flipmode)
        {
            double theta;

            if (mt2mode == mmWest)
            {
                theta = -(this.az1_c + this.alt1_c);
            }
            else
            {
                theta = -(this.az1_c - this.alt1_c);
            }


            if (_flipmode == OpenCvSharp.FlipMode.XY)
            {
                theta = -theta;
            }
            return(theta);
        }