How to put one image(yellow cyan spots) on the top of another image(magenta), and avoid the overlap part change to white?
I want to put yellow spot image on the top of magenta image, like

I tried to use,
others_image = cv2.imwrite("others.png") #yellow and cyan spot mag_image = cv2.imwrite("magenta.png") #magenta block res_image = np.where(others_image, others_image, mag_image) However,the cyan part in yellow spot images is changed to white. How to solve this problem?


Источник: https://stackoverflow.com/questions/780 ... -the-overl