1 | initial version |
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).
2 | No.2 Revision |
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?