Exemplo n.º 1
0
        public BIO.Framework.Core.Evaluation.Results.Results run()
        {
            Console.WriteLine("BIO.Framework project:");
            Console.WriteLine();

            Console.WriteLine();

            Database <TInputRecord> inputDatabase = settings.getDatabaseCreator().createDatabase();

            //debugging console output
            this.printDbOverview("Input Database", inputDatabase.getCollections());

            if (inputDatabase.getCollections().getRecords().Count() == 0)
            {
                throw new InvalidOperationException("Database is empty - please check the database creator");
            }

            BIO.Framework.Core.Evaluation.Results.Results results = this.internalRun(inputDatabase);

            //show results in Windoows GUI form
            BIO.Framework.Utils.UI.Evaluation.Results.ResultsForm rf = new Framework.Utils.UI.Evaluation.Results.ResultsForm(results /*,
                                                                                                                                      * biometricSystem.getInputDatabaseCreatorInstance().createDatabase()*/);
            System.Windows.Forms.Application.Run(rf);

            return(results);
        }
 public virtual void init(string method_, BIO.Framework.Core.Evaluation.Results.Statistics statistics_, BIO.Framework.Core.Evaluation.Results.Results results_)
 {
     this.method = method_;
     this.statistics = statistics_;
     this.results = results_;
     this.specificInit();
 }
Exemplo n.º 3
0
        public ResultsForm(BIO.Framework.Core.Evaluation.Results.Results r /*, BIO.Framework.Core.Database.Database<BIO.Framework.Core.Database.Record> d*/)
        {
            InitializeComponent();
            List <string> methods = r.Methods;


            List <SingleBiometricAlgorithmDataVisualizer> allMethods = new List <SingleBiometricAlgorithmDataVisualizer>();

            foreach (string m in methods)
            {
                TabPage       page = new TabPage(m);
                ResultsViewer v    = new ResultsViewer();
                v.Dock = DockStyle.Fill;
                v.init(m, r /*, d*/);
                page.Controls.Add(v);
                tabControlMethods.TabPages.Add(page);

                allMethods.Add(v.evaluatorGenuineImpostorResultGraph1);
            }

            evaluatorsDETGraph1.init(allMethods, r);
            evaluatorsROCGraph1.init(allMethods, r);



            //this.resultsViewer1.init(method_, r, d);
            //ResultsViewerOLD v = new ResultsViewerOLD();
            //v.init(method_, r, d);
            //this.Controls.Add(v);
        }
Exemplo n.º 4
0
        static void Main(string[] args)
        {
            ProjectSettings settings = new ProjectSettings();

            var project = new StandardProject <StandardRecord <StandardRecordData> >(settings);

            BIO.Framework.Core.Evaluation.Results.Results results = project.run();
        }
Exemplo n.º 5
0
        static void Main(string[] args)
        {
            //this object has responsibility for creating all needed objects
            ProjectSettings settings = new ProjectSettings();
            var             project  = new StandardProject <StandardRecord <StandardRecordData> >(settings);

            BIO.Framework.Core.Evaluation.Results.Results results = project.run();
        }
 public void init(List<SingleBiometricAlgorithmDataVisualizer> allMethods_, BIO.Framework.Core.Evaluation.Results.Results r_)
 {
     this.results = r_;
     this.allMethods = new List<Method>();
     foreach (SingleBiometricAlgorithmDataVisualizer eg in allMethods_) {
         Method e = new Method();
         e.method = eg.getMethod();
         e.statistics = eg.getStatistics();
         this.allMethods.Add(e);
     }
     this.initComponents();
 }
Exemplo n.º 7
0
 public void init(List <SingleBiometricAlgorithmDataVisualizer> allMethods_, BIO.Framework.Core.Evaluation.Results.Results r_)
 {
     this.results    = r_;
     this.allMethods = new List <Method>();
     foreach (SingleBiometricAlgorithmDataVisualizer eg in allMethods_)
     {
         Method e = new Method();
         e.method     = eg.getMethod();
         e.statistics = eg.getStatistics();
         this.allMethods.Add(e);
     }
     this.initComponents();
 }
Exemplo n.º 8
0
        public void init(string method_, BIO.Framework.Core.Evaluation.Results.Results r /*, BIO.Framework.Core.Database.Database<BIO.Framework.Core.Database.Record> d*/)
        {
            this.results = r;
            this.method  = method_;
            //this.evaluationStatisticsControl1

            statistics = new BIO.Framework.Core.Evaluation.Results.Statistics(method, results);

            statistics.autocomputeThresh();

            this.evaluationStatisticsControl1.init(this.method, this.statistics, this.results);
            this.evaluationStatisticsControl1.setAsNeeded();

            this.evaluatorGenuineImpostorResultGraph1.init(this.method, this.statistics, this.results);
            this.evaluatorGenuineImpostorResultGraph1.setAsNeeded();

            this.evaluatorDetailResultGraph1.init(this.method, this.statistics, this.results);
            this.evaluatorDetailResultGraph1.setAsNeeded();
        }
Exemplo n.º 9
0
        public void init(string method_, BIO.Framework.Core.Evaluation.Results.Results r/*, BIO.Framework.Core.Database.Database<BIO.Framework.Core.Database.Record> d*/)
        {
            this.results = r;
            this.method = method_;
            //this.evaluationStatisticsControl1

            statistics = new BIO.Framework.Core.Evaluation.Results.Statistics(method, results);

            statistics.autocomputeThresh();

            this.evaluationStatisticsControl1.init(this.method, this.statistics, this.results);
            this.evaluationStatisticsControl1.setAsNeeded();

            this.evaluatorGenuineImpostorResultGraph1.init(this.method, this.statistics, this.results);
            this.evaluatorGenuineImpostorResultGraph1.setAsNeeded();

            this.evaluatorDetailResultGraph1.init(this.method, this.statistics, this.results);
            this.evaluatorDetailResultGraph1.setAsNeeded();
        }
Exemplo n.º 10
0
 public virtual void init(string method_, BIO.Framework.Core.Evaluation.Results.Statistics statistics_, BIO.Framework.Core.Evaluation.Results.Results results_)
 {
     this.method     = method_;
     this.statistics = statistics_;
     this.results    = results_;
     this.specificInit();
 }