Write a Python program that uses numpy and imageio to posterize an image. The image should replace all dark pixels with one color and all light pixels with another color.
For example, the image:
posterized with red and blue would be:
Pandas
Write a Python program that uses numpy and imageio to posterize an image. The image should replace all dark pixels with one color and all light pixels with another color.
For example, the image:
posterized with red and blue would be: