tumourkit.utils.postprocessing.join

tumourkit.utils.postprocessing.join(a: Tuple[int, int, List[Tuple[float, float]]], b: Tuple[int, int, List[Tuple[float, float]]]) Tuple[int, int, List[Tuple[float, float]]]

Joins two cells by appending all the points in b’s contour to a’s contour.

Parameters:
  • a (Cell) – The first cell to join.

  • b (Cell) – The second cell to join.

Returns:

A new cell containing the joined contours.

Return type:

Cell