find_boundaries#

ripplemapper.contour.find_boundaries(gray_image: ndarray) tuple[source]#

Find the upper and lower boundaries of the edge region.

Parameters:

gray_image (np.ndarray) – Grayscale image.

Returns:

Upper and lower boundaries as numpy arrays.

Return type:

tuple