Amélioration Save/Load + Tests Robobo + modif gitIgnore

This commit is contained in:
Unknown 2018-08-08 15:45:19 +02:00
parent 09d1eeb838
commit 1cd55aba7a
6734 changed files with 102638 additions and 39401 deletions

View file

@ -79,7 +79,7 @@ int main(int argc, char **argv)
if (flag_resize != 0)
{
cout << "WARNING: The input images is resized to " << wS << "x" << hS << " for ASIFT. " << endl
cout << "WARNING: The input image is resized to " << wS << "x" << hS << " for ASIFT. " << endl
<< " But the results will be normalized to the original image size." << endl << endl;
float InitSigma_aa = 1.6;
@ -137,20 +137,59 @@ int main(int argc, char **argv)
zoom1 = 1;
}
// unsigned int nb_ref =2;
// unsigned int nb_ref =3;
// std::string refData[] = {
// "book_training/train_image_000.png",
// "book_training/train_image_001.png",
// "book_training/train_image_002.png",
// "book_training/000.png",
// "book_training/train_image_003.png"};
unsigned int nb_ref =5;
unsigned int nb_ref =7;
std::string refData[] = {
"robobo_references/robobo_000.png",
"robobo_references/robobo_001.png",
"robobo_references/robobo_002.png",
"robobo_references/robobo_003.png",
"robobo_references/robobo_004.png"};
// "robobo_references/0.jpg",
// "robobo_references/1.jpg",
// "robobo_references/2.jpg",
// "robobo_references/3.jpg",
// "robobo_references/4.jpg",
// "robobo_references/5.jpg",
// "robobo_references/6.jpg",
"robobo_references/000.jpg",
"robobo_references/001.jpg",
"robobo_references/002.jpg",
"robobo_references/003.jpg",
"robobo_references/004.jpg",
"robobo_references/005.jpg",
"robobo_references/006.jpg",
"robobo_references/000_2.jpg",
"robobo_references/001_2.jpg",
"robobo_references/002_2.jpg",
"robobo_references/003_2.jpg",
"robobo_references/004_2.jpg",
"robobo_references/005_2.jpg",
"robobo_references/006_2.jpg",
"robobo_references/007_2.jpg",
"robobo_references/000.png",
"robobo_references/001.png",
"robobo_references/002.png",
"robobo_references/003.png",
"robobo_references/004.png",
"robobo_references/005.png",
"robobo_references/006.png",
"robobo_references/000_a.png",
"robobo_references/001_a.png",
"robobo_references/002_a.png",
"robobo_references/003_a.png",
"robobo_references/004_a.png",
"robobo_references/006_a.png",
"robobo_references/000_2.png",
"robobo_references/001_2.png",
"robobo_references/002_2.png",
"robobo_references/003_2.png",
"robobo_references/004_2.png",
"robobo_references/006_2.png"};
// unsigned int nb_ref =21;
// std::string refData[] = {
@ -208,7 +247,8 @@ int main(int argc, char **argv)
}
ASIFT_matcher matcher;
matcher.setResizeImg(flag_resize);
matcher.resizeImg(flag_resize);
// matcher.showInfo(false);
time_t tstart, tend;
tstart = time(0);