00001
00009 class CCCGraph: public CCLabeling
00010 {
00011 protected:
00012
00013 short int* tabl,*tabc;
00014 int cnb,lth,lmax;
00015
00016 void Transform(graph & g);
00017 void NodesConstruct();
00018 void EdgesConstruct(int,int);
00019 void LengthTabConstruct();
00020 void EdgesConstruct();
00021
00022 void NodesCreate(graph &,node_map<GLab> &);
00023 void EdgesCreate(graph &,node_map<GLab> &,edge_map<bool> &,int,int);
00024 void LengthTabCreate(graph &,node_map<GLab> &,edge_map<bool> &);
00025 void EdgesCreate(graph &,node_map<GLab> &,edge_map<bool> &);
00026 public:
00027
00028 node_map<GLab> cgnl;
00029 edge_map<bool> cgel;
00030 graph cg;
00031
00032 CCCGraph(Image*);
00033 ~CCCGraph();
00034 void CGConstruct(int,int);
00035 void CGCreate(graph &,node_map<GLab> &,edge_map<bool> &,int,int);
00036 };
00037