Is cv::add() missing argument to pass mask?
I can only call cv::add(src1, src2, dst)
Is it a bug?
ps: my case
I can only call cv::add(src1, src2, dst)
Is it a bug?
ps: my case
As seen here you can call the function with a mask. Be sure that the mask only contains 0 and 1 values and is thus a binary image.
So your code should look like
cv::add(src1, src2, dst, mask);
If your openCV does not accept this, then please download the latest version. This does support the function.
EDIT: I have tested it inside my VS2012 which links to the OpenCV2.4.5 and the argument list is supported as seen in the figure below.
XCode is using the C++ libraries right? Then this should work. What openCV version are you using? Did you download it from main download page?
Please file a bug report for this one. I am getting more and more the impression this is actually a bug.
Then ask the same person for directions... i cannot help you more on this topic :)
Asked: 2013-04-24 01:54:57 -0600
Seen: 466 times
Last updated: Apr 30 '13