示例#1
0
        void Collect(FingerprintOptions options)
        {
            InputImage = options.Path != "" ? WpfIO.GetPixels(WpfIO.Load(options.Path)) : null;

            if (InputImage != null)
            {
                Extractor.Extract(InputImage, 500);
            }
            Logs = Logger.PopLog();
        }
示例#2
0
 public ExtractionCollector(FingerprintOptions options)
 {
     Logger.Attach(new ObjectTree(Extractor));
     Collect(options);
     options.PropertyChanged += OnOptionsChange;
 }