Processing WSIs
🌐 Service Address
This service accepts PUT requests at the following endpoint:
http://rayservice-qc-serve-svc.rationai-jobs-ns.svc.cluster.local:8000/
Each request needs a path to the WSI to be processed and an output directory, where the resulting masks will be stored. Additionally, you can specify what QC checks you want to include (all currently available are run by default).
Service accessibility
Please note that the service is only accessible from within the secure cluster.
Tip
Each successful request returns an xOpat link containing the processed WSI, enabling a quick visual inspection of the generated masks. The masks are displayed in the same format as in the QC report.
🧬 Structure of the PUT Request
🔒 Required parameters
The request body must include:
Parameter Name | Type | Description |
---|---|---|
wsi_path |
string | Full path to the target WSI (e.g., "/mnt/data/Projects/FNBrno/2k_prostates_2024_tiff_packed/133-24-4-HE.tiff" ) |
output_path |
string | Path to the directory where output masks will be saved (e.g., "/mnt/data/trash-bin/" ). The directory should already exist. Any files with the same name as the created masks will be overwritten. |
🎛️ Optional Parameters
Optionally, you can include the following parameters:
Parameter Name | Type | Default Value | Description |
---|---|---|---|
mask_level |
int | \(3\) | WSI level from which the tissue masks used for filtering of the tiles are created. |
sample_level |
int | \(1\) | WSI level from which the processed tiles are created. |
check_residual |
bool | True |
Toggles the Residual Artifacts Detection. |
check_folding |
bool | True |
Toggles the Folding Detection. |
check_blur |
bool | True |
Toggles the Blur Detection. |
wb_correction |
bool | True |
Toggles the White Balance Correction preprocessing. |