Let's say I have a numpy array of shape (100, 100, 3)
, and that it represents an image in RGB
encoding. How do I iterate over the individual pixels of this image.
Specifically I want to map this image with a function.
Note, I got that array from opencv.