I couldn't find a ready to use FLANN BoW matcher so for now I used a simple vector and check the L2 norm between each new BoW and each BoW in the map->see vectorbowmatcher class. I added the relative new method to visualize the new type of data into matchviewer class. I cleaned up the mess in the main.cpp and created 3 separated files, one for each different method.
Added a draft of the code to generate the confusion matrix, TODO: put inside a separate function and prepare a mask whit known real informations to overlap over the confusion matrix. With this overlap it should be easy to compare different methods on the same dataset.