Beispiel #1
0
        public double SmoothAngle(double angle)
        {
            var estimatedPoint = _angleFilter.GetEstimatedPoint(new System.Drawing.Point((int)(angle * Factor), 0));

            return(estimatedPoint.X / Factor);
        }
Beispiel #2
0
        public double SmoothDepth(double depth)
        {
            var estimatedPoint = _depthFilter.GetEstimatedPoint(new System.Drawing.Point((int)(depth * Factor), 0));

            return(estimatedPoint.X / Factor);
        }
Beispiel #3
0
        public Point SmoothPoint(Point point)
        {
            var estimatedPoint = _positionFilter.GetEstimatedPoint(new System.Drawing.Point((int)(point.X * Factor), (int)(point.Y * Factor)));

            return(new Point(estimatedPoint.X / Factor, estimatedPoint.Y / Factor));
        }