0

I'm currently doing my final year project which is an android camera apps.

I'm using openCV for my project. I want to add 2 images overlay each other. I realize in C++ has addWeighted function which can add 2 images. However this function can only be used in C++. openCV in JAVA don't have such function.

I found out in JAVA have this function Imgproc.accumulate(src,dst) Does this function produce the same result as addWeighted in C++?

Zack
  • 61
  • 1
  • 3
  • 1
    http://docs.opencv.org/java/org/opencv/core/Core.html#addWeighted(org.opencv.core.Mat,%20double,%20org.opencv.core.Mat,%20double,%20double,%20org.opencv.core.Mat) – berak Dec 22 '13 at 16:46
  • possible duplicate of [add watermark small image to large image opencv4android](http://stackoverflow.com/questions/12721774/add-watermark-small-image-to-large-image-opencv4android) – Rui Marques Jan 19 '14 at 15:10

1 Answers1

0

As @berak pointed out in his comment, there is a method 'addWeighted' in the java docs for OpenCV. I believe this is what you are looking for.

droidx
  • 2,172
  • 19
  • 26