tumourkit.preprocessing.hovernet2geojson.save_contours

tumourkit.preprocessing.hovernet2geojson.save_contours(out_dir: str, name: str, contours: List[List[Tuple[float, float]]]) None

Save geojson in a file with given name in out_dir.

Parameters:
  • out_dir (str) – The directory where the file will be saved.

  • name (str) – The name of the file.

  • contours (List[Contour]) – The list of contours in the GeoJSON format.