DATA170
Exploring Data

Activity 10

Pandas

  1. 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:

    orginial

    posterized with red and blue would be:

    posterize