X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=folded-ctf.git;a=blobdiff_plain;f=materials.cc;h=64729dbadae673ab6ba889e68a69ec42756e0f80;hp=21f6790e0d4cc8f6b5aea134d4e6cd180efbbd3a;hb=4953a336630d0ee905c949bf1fe846b85cabb744;hpb=9c00c8a160373b13221431441d29e9493d889ec4 diff --git a/materials.cc b/materials.cc index 21f6790..64729db 100644 --- a/materials.cc +++ b/materials.cc @@ -171,7 +171,7 @@ void write_pool_images_with_poses_and_referentials(LabelledImagePool *pool, if(detector) { int nb_features = 100; for(int f = 0; f < nb_features; f++) - if(f == 0 || f ==50 || f == 53) { + if(f == 0 || f == 50 || f == 53) { int n_family, n_feature; if(f < nb_features/2) { n_family = 0; @@ -192,17 +192,6 @@ void write_pool_images_with_poses_and_referentials(LabelledImagePool *pool, u++; } - // sprintf(buffer, "/tmp/image-%05d.png", i); - // cout << "Writing " << buffer << endl; - // result_sp.write_png(buffer); - - // if(global.write_tag_images) { - // sprintf(buffer, "/tmp/image-%05d_tags.png", i); - // cout << "Writing " << buffer << endl; - // image->compute_rich_structure(); - // image->write_tag_png(buffer); - // } - pool->release_image(i); }