merquaco.figures.plot_mask

merquaco.figures.plot_mask(mask_input: ndarray | str | Path, ax: Axes = None, title: str = '', out_file: str | Path = '', dpi: int = 200)

Processes and plots binary msk

Parameters:
  • mask_input (np.ndarray, str, Path) – Array of or path to binary mask.

  • ax (plt.Axes, optional) – Axes on which to plot mask. Default is None.

  • title (str, optional) – Title for plot. Default is ‘’.

  • out_file (str or Path, optional) – Path at which to save mask. Default is ‘’.

  • dpi (int, optional) – DPI value for saving plot. Default is 200.

Return type:

None