Find the bright parts
NumPy · from Capstone: edit a photo with nothing but NumPy
3-D arrayschannel axisslicingbroadcastingnp.whereastypeclipPutting the kettle on…
Starting up…
Exercise 7
Find the bright parts. Return a uint8 array, same shape as the grayscale image, that is 255 where the grayscale value is above 120 and 0 everywhere else.
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.