示例#1
0
        public void InitNewMatch(IStarMap imageFeatures, PyramidMatchType matchType, Dictionary <PSFFit, IStar> manualStars)
        {
            m_StarMap = imageFeatures;

            if (manualStars != null)
            {
                SetManuallyIdentifiedHints(manualStars);
            }

            matchType = PyramidMatchType.PlateSolve;

            m_IsCalibration = matchType == PyramidMatchType.ConfigCalibration;

            Context.Initialize(m_RA0Deg, m_DE0Deg, m_CelestialStars, m_PyramidMinMag, m_PyramidMaxMag, m_DetermineAutoLimitMagnitude, m_ManualStarMatch);

#if ASTROMETRY_DEBUG
            AstrometricFitDebugger.Init(m_FitSettings, m_PyramidMinMag, m_PyramidMaxMag, m_AstrometryMinMag, m_AstrometryMaxMag);
#endif
        }
        public void InitNewMatch(IStarMap imageFeatures, PyramidMatchType matchType, Dictionary<PSFFit, IStar> manualStars)
        {
            m_StarMap = imageFeatures;

            if (manualStars != null)
                SetManuallyIdentifiedHints(manualStars);

            matchType = PyramidMatchType.PlateSolve;

            m_IsCalibration = matchType == PyramidMatchType.ConfigCalibration;

            Context.Initialize(m_CelestialStars, m_PyramidMinMag, m_PyramidMaxMag, m_DetermineAutoLimitMagnitude, m_ManualStarMatch);

            #if ASTROMETRY_DEBUG
            AstrometricFitDebugger.Init(m_FitSettings, m_PyramidMinMag, m_PyramidMaxMag, m_AstrometryMinMag, m_AstrometryMaxMag);
            #endif
        }