I have 2 co-located images, both created in a similar way and both have the size of 7,221 x 119 pixels.
I want to loop through all the pixels of both images. If the pixels are black on the first image and also black on the second image then turn it into white, otherwise, no change.
How can I do it with python?