Ask Your Question
0

Adding / blending images

asked 2012-12-30 07:26:47 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

I want the code for blending two images in opencv android java...

The images shall be objects of Mat (image matrices)

i found in c++ opencv "addWeighted( src1, alpha, src2, beta, 0.0, dst);" is used... whats the corresponding class and fuction in java??

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-12-30 08:43:53 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

Core.addWeighted(..). There are several versions of this function in Java, but all of them uses C++ addWeighted.

edit flag offensive delete link more

Comments

Imgproc.accumlate(); is this relevant???

muthu gravatar imagemuthu ( 2012-12-30 09:32:22 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-12-30 07:26:47 -0500

Seen: 1,068 times

Last updated: Dec 30 '12