Skip to main content

    Pathology inputs

    Slide URL, workflow, tile size, magnification, quality filters, and stain normalization.

    You provide a whole slide image and pick a workflow. The two inputs that most shape the result are the slide itself (its format and quality) and the workflow you choose — everything else tunes tiling, quality filtering, and normalization. The slide is read from workspace storage as an S3 URI, so upload it there first. See the quickstart for the end-to-end flow.

    Required input

    ParameterTypeWhat it does
    slide_urlstring (S3 URI)Path to the whole slide image in workspace storage. Supported: SVS, TIFF, NDPI, or standard images (PNG/JPG). Required.

    Workflow

    ParameterTypeDefaultWhat it does
    workflowenumtile_extractionWhich analysis to run: tile_extraction, tissue_detection, cell_segmentation, classification, or feature_extraction.

    Only tile_extraction, tissue_detection, and feature_extraction run. The schema accepts classification and cell_segmentation, but the backend rejects both with an "Unsupported workflow" error.

    Tile extraction parameters

    ParameterTypeDefaultRangeWhat it does
    tile_sizeinteger25664–1024Edge length in pixels of each square tile.
    overlapinteger00–128Pixel overlap between adjacent tiles.
    magnificationenum20x5x / 10x / 20x / 40xMagnification level to tile at.
    max_tilesinteger10001–10000Cap on how many tiles to keep.

    Quality filtering

    Tiles that fail either filter are discarded, so a tile set can be much smaller than the raw grid.

    ParameterTypeDefaultWhat it does
    tissue_thresholdfloat0.5Minimum fraction of a tile that must be tissue (non-background) to keep it.
    blur_thresholdfloat100.0Minimum Laplacian variance to keep a tile — lower values are blurrier and get dropped.

    Stain normalization

    ParameterTypeDefaultWhat it does
    normalizebooleantrueApply stain-color normalization.
    normalization_methodenumreinhardMethod: reinhard, macenko, or vahadane.

    Output options

    ParameterTypeDefaultWhat it does
    output_formatenumpngTile image format: png, tiff, or jpg.
    save_masksbooleantrueUpload the tissue mask (tissue-detection workflow).
    save_featuresbooleantrueUpload the feature matrix (feature-extraction workflow).

    Accepted slide formats

    The processor opens SVS, NDPI, and pyramidal TIFF via histolab/OpenSlide, and standard PNG/JPG images via PIL as a fallback. Very large slides are read region by region during tiling.

    Execution profile

    Pathology analysis runs on GPU (A10G), asynchronously, and can take 10–60 minutes depending on slide size and workflow. Input is a file path (the slide); outputs are JSON plus downloadable artifacts.

    Was this page helpful?

    On this page

    On this page

    Loading...