def _draw_mask_on_image(src_image, mask):
    """
    Draw a mask on an image.

    Parameters
    ----------
    src_image : np.ndarray
        Image.
    mask : np.ndarray
        Mask.

    Returns
    -------
    np.ndarray
        Image with mask.
    """
    dst_image = src_image.copy()
    dst_image_g = dst_image[:, :, 1]
    dst_image_g[mask <= 127] = 255
    dst_image_b = dst_image[:, :, 0]
    dst_image_b[mask > 127] = 255
    return dst_image