img_to_graph
- sklearn.feature_extraction.image.img_to_graph(img, *, mask=None, return_as=<class 'scipy.sparse._coo.coo_array'>, dtype=None)
Graph of the pixel-to-pixel gradient connections.
Edges are weighted with the gradient values.
Read more in the User Guide.
- Parameters