示例#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;
 }
 /// <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;
 }