Pull out just the red channel as a 2-D array

NumPy · from Capstone: edit a photo with nothing but NumPy

3-D arrayschannel axisslicingbroadcastingnp.whereastypeclip

Putting the kettle on…

Starting up…

Exercise 4

Pull out just the red channel as a 2-D array. It'll be drawn as a grayscale image.

your answer
stuck? the lesson behind it
Capstone: edit a photo with nothing but NumPy
Every idea from the track, applied to something you can see.