get_eosin_mask
Get the binary eosin mask from the eosin channel.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
img_eosin
|
ndarray
|
The eosin channel. Shape (H, W, 3). |
required |
Returns:
Type | Description |
---|---|
ndarray
|
np.ndarray: The binary eosin mask. Shape (H, W). |