public MatchCollector(ExtractionData probe, ExtractionData candidate) { var tree = new ObjectTree(Matcher); tree.Remove("MinutiaMatcher.EdgeTablePrototype"); tree.Remove("MinutiaMatcher.RootSelector"); tree.Remove("MinutiaMatcher.Pairing"); tree.Remove("MinutiaMatcher.MatchScoring"); Logger.Attach(tree); Collect(probe.Template, candidate.Template); probe.PropertyChanged += (source, args) => { if (args.PropertyName == "Template") { Collect(probe.Template, candidate.Template); } }; candidate.PropertyChanged += (source, args) => { if (args.PropertyName == "Template") { Collect(probe.Template, candidate.Template); } }; }
public void Initialize(Options options) { Probe = new ExtractionData(); Candidate = new ExtractionData(); Match = new MatchData(this); ProbeLog = new ExtractionCollector(options.Probe); Probe.Collector = ProbeLog; CandidateLog = new ExtractionCollector(options.Candidate); Candidate.Collector = CandidateLog; MatchLog = new MatchCollector(Probe, Candidate); Match.Collector = MatchLog; NotifyPropertyChanged("Probe"); NotifyPropertyChanged("Candidate"); NotifyPropertyChanged("Match"); }
public ProbeMatchData(ExtractionData extraction, MatchData match) { ExtractionData = extraction; Match = match; }
public CandidateMatchData(ExtractionData extraction, MatchData match) { ExtractionData = extraction; Match = match; }