12345678910111213141516171819202122232425262728293031 |
- #include <fstream>
- #include <vislearning/nice.h>
- #include <iostream>
- #include "vislearning/features/localfeatures/LFColorWeijer.h"
- using namespace std;
- using namespace NICE;
- using namespace OBJREC;
- int main(int argc, char **argv)
- {
- if(argc < 1)
- {
- cerr << "Bitte Bild angeben" << endl;
- return -1;
- }
-
- Config *conf = new Config();
- LFColorWeijer lfc(conf);
-
- //! testen
- ColorImage cimg(argv[1]);
- ColorImage out;
- lfc.visualizeFeatures (cimg,out);
-
- cimg.writePPM("org.ppm");
- out.writePPM("out.ppm");
-
- return 0;
- }
|