Accord.Vision.Tracking.Camshift.checkSteadiness C# (CSharp) 메소드

checkSteadiness() 개인적인 메소드

Checks for aberrant fluctuations in the tracking object.
private checkSteadiness ( ) : bool
리턴 bool
        private bool checkSteadiness()
        {
            if (angleHistory.StandardDeviation > 0.13)
                unstableCounter++;
            else unstableCounter--;

            unstableCounter = Math.Max(0, Math.Min(unstableCounter, angleHistory.Window));

            bool steady = unstableCounter < angleHistory.Window;

            return steady;
        }