summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/ovision/see/genct.cc
blob: aae25300b15cf7f2ceb19542770ba595d11b5de3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// genct.cc 
// robert - Programme du robot APBteam
// Copyright (C) 2005 Olivier Gaillard

#include <iostream>
#include <vector>
#include <string>

#include "segmLearn.hh"
#include "colorTable.hh"
#include "oconfig.hh"

int 
main(int argc, char **argv) 
{
    /////////////////////////////////////////////////////////////////////////////////////////
    /// Initialisation des classes
    OConfig *oconfig_;
    try
      {
	oconfig_ = new OConfig; 
      }
    catch (std::string &e)
      {
	std::cerr << e << std::endl;
	return 1;
      }
    ColorTable tab;
    /////////////////////////////////////////////////////////////////////////////////////////
    /// Cr�ation de la table 
    tab.create (oconfig_->nnNbColor, true);
    tab.save ();
    return 0;
}