porespy.networks.find_junctions#

porespy.networks.find_junctions(sk)#

Finds all junctions and endpoints in a skeleton.

Parameters:

sk (ndarray) – The skeleton of an image (boolean).

Returns:

pt – A custom object with the following data added as named attributes: ‘juncs’ An array of ones where all the junction points were found ‘endpts’ An array of ones where all the endpoints were found

Return type:

Results object