TissueMaskModel abstract base class used by tissue mask providers to process individual tile requests into binary segmentation masks.
TissueMaskModel
- Input:
(B, H, W, 3)—uint8RGB. - Output:
(B, H, W)—uint8, values in{0, 1}.
tile_spec
None.
Subclasses must implement this property. Return None for models that operate on arbitrary tile sizes.
process
Model request containing the RGB tile.
ModelResponse- Model response containing the binary mask.

