include/VocabTree.h
src/VocabTree.cpp
* Moved methods definition to a source file since the class is not
templated anymore.
* Simplified class attributes, moved to the method where they are used
since no need to be class scoped. Hence changed some methods signature.
* Simplified vocabulary tree node attributes since most of them are not
useful bu t rather taken directly from the kmeansindex struct node
definition.
* Changed set nodes weights method access modifier from private to
public.
* Changed class attributes access modifier from private to protected.
* Changed signature of method for scoring object creation.

src/main.cpp
tests/KMajority_test.cpp
* Moved here KMajorityIndex usage example from src/main.cpp to its
corresponding test source file (not yet working)
include/VocabTree.h
* Added new class definition for holding an element of the inverted
document file.
* Added new attribute for the vocabulary tree node structure to hold the
inverted document file.
* Cleaning commented lines.
* In class VocabTree, implemented save and load methods.
* Declared methods for adding images to the the inverted file, computing
word weights and applying them to obtain the DB BoW vectors, as well as
methods for cleaning and normalizing DB BoW vectors database, and
scoring query image matrices.

src/VocabTree.cpp
* Defined newly declared methods.
* Cleaning commented lines.
* Commented out useless methods definitions which make part no more of
the class declaration.

src/main.cpp
* Implemented usage example of the newly declared and defined VocabTree
methods.
VocabLearn/VocabLearn.cpp
* Added stub code of this application used for learning and writing a
vocabulary.
.gitignore
* Ignored compressed YAML files produced using OpenCV FileStorage API.
include/VocabTree.h
* Removed pooled allocator and usedMemory method declaration since it
was causing troubles because it serves only for allocating memory while
skipping constructors of simple structures.
* Declared new method for returning the size of three.
* Uncommented and changed signature of transform method declaration.

src/VocabTree.cpp
* Methods re-ordering for easy access between method calls.
* Comment cleaning.
* Fixed problem in tree save function due to misuse of the OpenCV
FileStorage API.
* Changed polled allocation call for simple "new" instructions.
* In method computeClustering, assigning weight 1.0 to leaf nodes.
* Commented messages to stdout.
* Re-implemented transform method.
* In range-based loops obtaining elements by reference since by default
it is passed by value.
* In method scoreQuery, fixed cv:Mat row access index problem and
scoring formula, while validating bow vector elements range.


src/main.cpp
* Completed usage example of VocabTree class and fixed some a row index
access problem.

VocabLearn/VocabLearn.cpp
* Added code for input parameters handling.
src/main.cpp
* Added some comments to render more readable the code.
.gitignore
* Ignored executable for extracting images features.

FeatureExtract/FeatureExtract.cpp
* Created application for extracting features from a given set of images
in a folder and writing the extracted descriptors onto text files.

FeatureExtract/MakeFile
* Created makefile for compiling folder's source files and creating
corresponding executable.
include/opencv2/extensions/features2d.hpp
FeatureExtract/FeatureExtract.cpp
src/main.cpp
* Moved Agast and DBrief initialization in OpenCV into an independent
header.

src/features2d_init.cpp
* Implemented method for initializing extensions module.

FeatureExtract/Makefile
* Added new object to the linking command.

VocabBuildDB/VocabBuildDB.cpp
* Stub code for main function.
include/AgastFeatureDetector.h ->
lib/opencv2_extensions/include/AgastFeatureDetector.h
include/DBriefDescriptorExtractor.h ->
lib/opencv2_extensions/include/DBriefDescriptorExtractor.h
include/opencv2/extensions/features2d.hpp ->
lib/opencv2_extensions/include/opencv2/extensions/features2d.hpp
src/AgastFeatureDetector.cpp ->
lib/opencv2_extensions/src/AgastFeatureDetector.cpp
src/DBriefDescriptorExtractor.cpp ->
lib/opencv2_extensions/src/DBriefDescriptorExtractor.cpp
src/features2d_init.cpp ->
lib/opencv2_extensions/src/features2d_init.cpp
* Moved files to the folder of third-party libraries.

lib/opencv2_extensions/Makefile
* Created makefile for compiling source files with detector and
descriptor wrap implementations.

FeatureExtract/Makefile
* Changed paths of included and linked libraries according to detector
and descriptor extensions refactoring.

FeatureExtract/FeatureExtract.cpp
* Refactored way of initializing opencv extensions module (my detector
and descriptor wrappers).

VocabBuildDB/VocabBuildDB.cpp
* Added stub code for the main program for building vocab database.