openalea.phenomenal.image.threshold.threshold_hsv
- openalea.phenomenal.image.threshold.threshold_hsv(image, hsv_min, hsv_max, mask=None)[source]
Binarize HSV image with hsv_min and hsv_max parameters. => cv2.inRange(hsv_image, hsv_min, hsv_max)
If mask is not None : => cv2.bitwise_and(binary_hsv_image, mask)
- Parameters:
- Returns:
out – Thresholded binary image
- Return type:
numpy.ndarray
See also