Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

porting a statement from C++ to Java

hi all! I have following OpenCv mask statment, which i am unable to convert o my Java android. It is in C++

im1 = cmyk[3].mul(1 - cmyk[1]) > 0.25;

cmyk[1] and im1 are Mat objects.i get following error

The operator - is undefined for the argument type(s) int, Mat

Kindly point me to to right direction. thanks