Want transparent image even after blending
问题 I am trying to blend two images as shown here. This is my whole code #include <cv.h> #include <highgui.h> #include <iostream> using namespace cv; int main( int argc, char** argv ) { double beta; double input; Mat src1, src2, dst; /// Ask the user enter alpha std::cout<<" Simple Linear Blender "<<std::endl; std::cout<<"-----------------------"<<std::endl; src1 = imread("face.jpg"); src2 = imread("necklace1.png"); if( !src1.data ) { printf("Error loading src1 \n"); return -1; } if( !src2.data )