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