draugr.opencv_utilities.color_space.gray.to_gray¶
- draugr.opencv_utilities.color_space.gray.to_gray(image, *, component: int = 0, to_gray_method: ToGrayMethodEnum = ToGrayMethodEnum.gray)[source]¶
convert from the default bgr cv2 format to gray, using a single component
- Parameters
image –
component –
to_gray_method –
- Returns
- Return type