combine_contours#

ripplemapper.contour.combine_contours(contour1: ndarray, contour2: ndarray) ndarray[source]#

Combine two contours into one.

Parameters:
  • contour1 (np.ndarray) – Points marking the vertices of the first contour.

  • contour2 (np.ndarray) – Points marking the vertices of the second contour.

Returns:

Combined contour vertices.

Return type:

np.ndarray