cli_masks#

cli_masks(usage_help='Path to the input directory containing masks to process corresponding to image tiles and whole-slide images. Patches are only processed if they are within a masked area. If masks are not provided, then a tissue mask will be automatically generated for whole-slide images or the entire image is processed for image tiles. Supported file types are jpg, png and npy.', default=None)[source]#

Enables –masks option for cli.

Parameters:
  • usage_help (str) –

  • default (str | None) –

Return type:

callable