porespy.networks.merge_nearby_juncs#
- porespy.networks.merge_nearby_juncs(sk, juncs, dt=3)#
Merges nearby junctions found in the skeleton
- Parameters:
sk (ndarray) – A boolean image of the skeleton of the phase of interest
juncs (ndarray) – A boolean array the same shape as sk with True values indicating the junction points of the skeleton.
dt (ndarray or int, optional) – The distance transform of the phase of interest. If dt is a scalar, then a hard threshold is used to determine “near” junctions.
- Returns:
results – A Results object with images of pores and throats each containing the labelled clusters of connected voxels.
- Return type:
dataclass