2 #ifndef vbl_graph_partition_h_ 3 #define vbl_graph_partition_h_ 22 # include <vcl_msvc_warnings.h> 26 #include <vil/vil_image_view.h> 34 #endif // vbl_graph_partition_h_
implements a disjoint set (union, find)
void vbl_graph_partition(vbl_disjoint_sets &ds, std::vector< vbl_edge > &edges, float t)
t is a constant that determines the threshold on edge weight to form disconnected sets
A class representing a graph edge with integer vertex ids.