Ejemplo n.º 1
0
 /// <summary>
 ///   Constructs a new feature tree node.
 /// </summary>
 ///
 public HaarFeatureNode(double threshold, double leftValue, double rightValue, bool tilted, params int[][] rectangles)
 {
     this.Feature    = new HaarFeature(tilted, rectangles);
     this.Threshold  = threshold;
     this.LeftValue  = leftValue;
     this.RightValue = rightValue;
 }
Ejemplo n.º 2
0
 /// <summary>
 ///   Constructs a new feature tree node.
 /// </summary>
 /// 
 public HaarFeatureNode(double threshold, double leftValue, double rightValue, bool tilted, params int[][] rectangles)
 {
     this.Feature = new HaarFeature(tilted, rectangles);
     this.Threshold = threshold;
     this.LeftValue = leftValue;
     this.RightValue = rightValue;
 }