distance_map# ripplemapper.contour.distance_map(binary_map: ndarray) → ndarray[source]# Compute the distance map of a binary image. Parameters: binary_map (np.ndarray) – Binary image with interiors marked as 1’s and exteriors as 0’s. Returns: Normalized distance map. Return type: np.ndarray