X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=error_rates.h;h=2834e6a0b527d21c86f80209f1cb74e8446fbfab;hb=8a90240a648bc6328c887e10cc31e4b6d6ea9497;hp=71906d6b2a26b6344231a82cb1697e130df61853;hpb=d922ad61d35e9a6996730bec24b16f8bf7bc426c;p=folded-ctf.git diff --git a/error_rates.h b/error_rates.h index 71906d6..2834e6a 100644 --- a/error_rates.h +++ b/error_rates.h @@ -1,20 +1,33 @@ +/* + * folded-ctf is an implementation of the folded hierarchy of + * classifiers for object detection, developed by Francois Fleuret + * and Donald Geman. + * + * Copyright (c) 2008 Idiap Research Institute, http://www.idiap.ch/ + * Written by Francois Fleuret + * + * This file is part of folded-ctf. + * + * folded-ctf is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published + * by the Free Software Foundation, either version 3 of the License, + * or (at your option) any later version. + * + * folded-ctf is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with folded-ctf. If not, see . + * + */ -/////////////////////////////////////////////////////////////////////////// -// This program is free software: you can redistribute it and/or modify // -// it under the terms of the version 3 of the GNU General Public License // -// as published by the Free Software Foundation. // -// // -// This program is distributed in the hope that it will be useful, but // -// WITHOUT ANY WARRANTY; without even the implied warranty of // -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // -// General Public License for more details. // -// // -// You should have received a copy of the GNU General Public License // -// along with this program. If not, see . // -// // -// Written by Francois Fleuret, (C) IDIAP // -// Contact for comments & bug reports // -/////////////////////////////////////////////////////////////////////////// +/* + + Two functions to compute a detector error rate on a pool of scenes. + + */ #ifndef ERROR_RATES_H #define ERROR_RATES_H @@ -25,6 +38,4 @@ void print_decimated_error_rate(int level, LabelledImagePool *pool, Detector *detector); -void parse_scene(Detector *detector, const char *image_name); - #endif