opencv blend (overlay) two image with different channels
问题 I want to overlay two images (maybe different format (channels) with opencv. Originally I use addWeighted, however, it fails on two images with different channels. Is there any way in opencv that can handle this case? Thanks 回答1: No , there is no API in OpenCV that offers this feature nativelly. On the other hand, there's nothing stopping you from writing your own code to do that. A few weeks ago a made some changes to a function I saw somewhere else on the Internet to be able to: Pass two