I think there is one bug in the loadFromTextFile (CFeatureList) function.
for example:
CFeatureList featsSIFT_1, featsSIFT_2;
... // features extraction
featsSIFT_1.saveToTextFile("C://mrpt-0.9.1/samples/feature_extraction/imgs/f_sift1.txt");
featsSIFT_2.saveToTextFile("C://mrpt-0.9.1/samples/feature_extraction/imgs/f_sift2.txt");
CFeatureList feats1, feats2;
feats1.loadFromTextFile("C://mrpt-0.9.1/samples/feature_extraction/imgs/f_sift1.txt");
feats2.loadFromTextFile("C://mrpt-0.9.1/samples/feature_extraction/imgs/f_sift2.txt");
feats1.saveToTextFile("C://mrpt-0.9.1/samples/feature_extraction/imgs/f_sift.txt");
the result: the content of the file f_sift.txt and f_sift1.txt is different!!!!!
You're right... those two
You're right... those two functions haven' t been used for a while, and actually were totally incoherent.
They are now much better implemented in SVN HEAD: http://code.google.com/p/mrpt/source/detail?r=2168
The format of the text files can be seen in this example: http://www.mrpt.org/Feature_detection_and_tracking_basics
JL