openalea.phenomenal.segmentation.graph

Functions

connect_all_node_with_nearest_neighbors(graph)

Connect all the nodes in the graph together

create_graph(voxels_position, voxels_size)

Create a networkx.graph from voxels positions and voxels_size

graph_from_voxel_grid(voxel_grid[, ...])

Return a weigthed networkx graph builded from a voxel_grid object where each node of the graph is the tuple position of the voxels center.