navigate.model.features.remove_empty_tiles.detect_tissue3
- navigate.model.features.remove_empty_tiles.detect_tissue3(image_data, threshold=150)
Detect tissue in an image using the computed Otsu threshold.
This function computes the Otsu threshold value for an image and compares that computed value against a minimum threshold.
Parameters:
- image_datanumpy.ndarray
The input image data as a NumPy array.
- thresholdfloat, optional
The minimum computed Otsu threshold required for tissue detection. Default is 150.
Returns:
- bool
True if the computed Otsu threshold is greater than or equal to
threshold; False otherwise.