Image Demosaicking with Contour Stencils
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
edge.h
Go to the documentation of this file.
1 
15 #ifndef _EDGE_H_
16 #define _EDGE_H_
17 
18 struct edgestruct;
19 
21 typedef struct edgestruct
22 {
23  int x1, y1, x2, y2;
24  double Weight;
25  struct edgestruct *NextEdge;
26 } edge;
27 
29 typedef struct edgeliststruct
30 {
33  int NumEdges;
34 } edgelist;
35 
36 extern edgelist NullEdgeList;
37 
38 
39 int AddEdge(edgelist *List, int x1, int y1, int x2, int y2);
40 void FreeEdgeList(edgelist *List);
41 
42 #endif /* _EDGE_H_ */