...

/

Bitwise Image Processing Exercise 2

Bitwise Image Processing Exercise 2

This lesson is an exercise on bitwise image processing.

We'll cover the following...

Exercise: The invisibility spell

Figure 1 shows images of a white cat and a black and white surface.

In the exercise below, you are given the two images as two-dimensional NumPy arrays. Your job is to perform bitwise AND at every pixel ...

Figure 2: Output of the exercise.
Figure 2: Output of the exercise.