Exemplo n.º 1
0
 public RBSK(RBSKRules rules, RBSKRules advanedRules, RBSKSettings settings, RBSKProbability probability)
 {
     Settings        = settings;
     Rules           = rules;
     ProbabilityFunc = probability;
     AdvancedRules   = advanedRules;
 }
Exemplo n.º 2
0
 public bool CheckRulesAgainstPoints(PointF[] points, RBSKSettings settings, Image <Gray, Byte> binaryImage)
 {
     return(m_Rules.All(rule => rule.CheckRule(points, settings, binaryImage)));
 }
Exemplo n.º 3
0
 public double GetProbability(PointF[] points, RBSKSettings settings)
 {
     return(m_ProbabilityFunc(points, settings));
 }
Exemplo n.º 4
0
 public RBSK(RBSKRules rules, RBSKSettings settings, RBSKProbability probability)
 {
     Settings        = settings;
     Rules           = rules;
     ProbabilityFunc = probability;
 }
Exemplo n.º 5
0
 public bool CheckRule(PointF[] points, RBSKSettings settings, Image <Gray, Byte> binaryImage)
 {
     return(m_Rule(points, settings, binaryImage));
 }