def red_bgr_image() -> Iterator[BGRImage]: image = ndarray_to_bgr_image(np.zeros((100, 100, 3), dtype=np.uint8)) image[:, :, 2] = 255 return image
def white_bgr_image() -> Iterator[BGRImage]: yield ndarray_to_bgr_image(np.full((100, 100, 3), 255, dtype=np.uint8))
def empty_bgr_image() -> Iterator[BGRImage]: yield ndarray_to_bgr_image(np.zeros((0, 0, 3), dtype=np.uint8))
def black_bgr_image() -> Iterator[BGRImage]: yield ndarray_to_bgr_image(np.zeros((100, 100, 3), dtype=np.uint8))
def random_bgr_image() -> Iterator[BGRImage]: yield ndarray_to_bgr_image( np.random.randint(0, 255, size=(100, 100, 3), dtype=np.uint8))