Splitting RGB data
Perhaps you'd like to better understand Monet's use of the color blue. Your task is to create a version of the Monet rgb_array
that emphasizes parts of the painting that use lots of blue by making them even bluer! You'll perform the splitting portion of this task in this exercise and the stacking portion in the next.
numpy
is loaded as np
, and the Monet rgb_array
is available.
Diese Übung ist Teil des Kurses
Introduction to NumPy
Interaktive Übung zum Anfassen
Probieren Sie diese Übung aus, indem Sie diesen Beispielcode ausführen.
# Split rgb_array into red, green, and blue arrays
red_array, green_array, blue_array = ____