OpenCV java alpha Blending

I am trying to port the following code (from C++ to Java) to make good alpha blending between my images, but It did not work: #include opencv2/opencv.hpp using namespace cv; using namespace std; int main(int argc, char** argv) { // Read the images Mat foreground = imread(“puppets.png”); Mat background = imread(“ocean.png”); Mat alpha = imread(“puppets_alpha.png”);…

Details