예제 #1
0
 public IList <Point> GetContourPoints(DepthMap contourMap)
 {
     this.contourMap    = contourMap;
     this.contourPoints = new List <Point>();
     this.Process();
     return(this.contourPoints);
 }
예제 #2
0
 public IList<Point> GetContourPoints(DepthMap contourMap)
 {
     this.contourMap = contourMap;
     this.contourPoints = new List<Point>();
     this.Process();
     return this.contourPoints;
 }
예제 #3
0
 public Contour CreateContour(DepthMap map, float left, float top)
 {
     if (map.FillRate < 0.01) {
         return Contour.Empty;
     }
     var points = this.Translate(this.tracer.GetContourPoints(map), (int)left, (int)top);
     points = this.thinner.Filter(points);
     return new Contour(points);
 }
예제 #4
0
        public Contour CreateContour(DepthMap map, float left, float top)
        {
            if (map.FillRate < 0.01)
            {
                return(Contour.Empty);
            }
            var points = this.Translate(this.tracer.GetContourPoints(map), (int)left, (int)top);

            points = this.thinner.Filter(points);
            return(new Contour(points));
        }
예제 #5
0
 private Contour CreateContour(DepthMap map, Cluster cluster)
 {
     return(this.contourFactory.CreateContour(map, cluster.X, cluster.Y));
 }
예제 #6
0
 private Contour CreateContour(DepthMap map, Cluster cluster)
 {
     return this.contourFactory.CreateContour(map, cluster.X, cluster.Y);
 }