Module qute.data.io

Input/output commodity functions.

Functions

def get_cell_restoration_demo_dataset(download_dir: Union[pathlib.Path, str, ForwardRef(None)] = None)

If not yet present, download and expands restoration demo dataset.

Parameters

download_dir : Path | str = Path()
Directory where the cell segmentation datasets will be downloaded and extracted.

three_classes = bool If True, the segmentation demo with three classes (Background, Object, Border) will be downloaded; if False, the segmentation demo with two classes (Background, Object).

Returns

path: Path of the extracted restoration demo dataset.

def get_cell_segmentation_demo_dataset(download_dir: Union[pathlib.Path, str, ForwardRef(None)] = None, three_classes: bool = True)

If not yet present, download and expands segmentation demo dataset.

Parameters

download_dir : Path | str = Path()
Directory where the cell segmentation datasets will be downloaded and extracted.
three_classes : bool
If True, the segmentation demo with three classes (Background, Object, Border) will be downloaded; if False, the segmentation demo with two classes (Background, Object).

Returns

path: Path of the extracted segmentation demo dataset.

def get_cell_segmentation_idt_demo_dataset(download_dir: Union[pathlib.Path, str, ForwardRef(None)] = None)

If not yet present, download and expands segmentation demo dataset.

Parameters

download_dir : Path | str = Path()
Directory where the cell segmentation datasets will be downloaded and extracted.

Returns

path: Path of the extracted segmentation demo dataset.