I have a single channel image with shape (1024,1024).
I want to overlay it with a color image of shape (1024,1024,3) using
dst = cv2.addWeighted(im, 1, newimg, 1, 0)
So First, I want to know, how can I convert newimg to 1024x1024x3...Because im
is of shape 1024x1024x3