void Collect(FingerprintOptions options) { InputImage = options.Path != "" ? WpfIO.GetPixels(WpfIO.Load(options.Path)) : null; if (InputImage != null) { Extractor.Extract(InputImage, 500); } Logs = Logger.PopLog(); }
public ExtractionCollector(FingerprintOptions options) { Logger.Attach(new ObjectTree(Extractor)); Collect(options); options.PropertyChanged += OnOptionsChange; }