Skip to main content
Remote tissue segmentation mask model. Wraps a tissue segmentation EndpointModel as a TissueMaskModel, forwarding each ModelRequest to the remote tissue segmentation endpoint.

BioptimusTissueMaskModel

Tissue mask model backed by a segmentation endpoint. Forwards each ModelRequest to the EndpointModel and returns the ModelResponse.
An EndpointModel configured for tissue segmentation.
Example:

tile_spec

Returns the tile spec from the backbone’s model spec.

process

Sends a request to the remote tissue segmentation endpoint.
ModelRequest
required
A ModelRequest containing the tile image and metadata.
ModelResponse
A ModelResponse with the segmentation output.

process_async

Sends a request asynchronously to the segmentation endpoint.
ModelRequest
required
A ModelRequest containing the tile image and metadata.
Any
An ClientSession for connection pooling.
ModelResponse
A ModelResponse with the segmentation output.