Ask Your Question

Revision history [back]

The clue is in the error message:

'array op array' (where arrays have the same size and the same number of channels)

Your addition fails because panels[0] is a single channel image and image2 has as many channels as are in rain.jpg (presumably three).

The clue is in the error message:

'array op array' (where arrays have the same size and the same number of channels)

Your addition fails because panels[0] is a single channel image and image2 has as many channels as are in rain.jpg (presumably three).three). What effect are you trying to achieve?