X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;ds=inline;f=pi_feature.cc;h=6a9b217c56a4fdb13ae087b9477ca87a4ecf1be1;hb=346c6fdc3c36ca10142234cce291031064fa2b48;hp=300ccee32bcb6b028ea68c92d5d71da7a26fd16c;hpb=d922ad61d35e9a6996730bec24b16f8bf7bc426c;p=folded-ctf.git
diff --git a/pi_feature.cc b/pi_feature.cc
index 300ccee..6a9b217 100644
--- a/pi_feature.cc
+++ b/pi_feature.cc
@@ -12,7 +12,9 @@
// 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 //
+// Written by Francois Fleuret //
+// (C) Idiap Research Institute //
+// //
// Contact for comments & bug reports //
///////////////////////////////////////////////////////////////////////////
@@ -45,13 +47,7 @@ int PiFeature::random_registration_mode(int level) {
break;
case 4:
- if(level >= 2)
- return PiReferential::RM_BODY;
- break;
-
case 5:
- if(level >= 2)
- return PiReferential::RM_BODY_EDGES;
break;
default:
@@ -144,13 +140,6 @@ void PiFeature::draw_edge_thresholding(RGBImage *image,
®istered_window_a);
referential->draw_window(image, _registration_a, ®istered_window_a, 0);
-
-// if(!global.pictures_for_article) {
-// int tag = referential->register_edge(_registration_a, _tag);
-
-// referential->draw_edge_and_scale(image, _registration_a, ®istered_window_a,
-// tag, _edge_scale);
-// }
}
void PiFeature::print_edge_thresholding(ostream *os) {