doubleblind.blinding.VSICoder

class doubleblind.blinding.VSICoder(root_dir: Path, recursive: bool = True)

A class for encoding and decoding VSI (Virtual Slide Image) files in a directory using a generic coding scheme.

The VSICoder class extends the GenericCoder class to provide specific functionality for encoding and decoding VSI files. It supports VSI file format and allows customization of the encoding process.

Args:

root_dir (Path): The root directory containing the VSI files to be encoded/decoded. recursive (bool, optional): Flag indicating whether to perform the operation recursively on

all subdirectories. Defaults to True.

__init__(root_dir: Path, recursive: bool = True)

Methods

__init__(root_dir[, recursive])

blind([output_dir])

Blind (encode) the files in the directory.

unblind(additional_files)

Unblind (decode) the files in the directory.

Attributes

FILENAME