c++ - Logical operations in OpenCV from Java -


in opencv's c++ api, 1 can elementwise boolean operations (and, or, xor, not) using syntax this:

mat a, b; mat c = & b; 

and others. know there no operator overloading in java; i'm looking how java api exposes same functionality exposed in c++ in form. i've found core.bitwise_* functions already, per bit, not per matrix element.

this operator overloading. in java operator overloading not supported. if require can introduce method this.

for example -

mat a, b; mat c; c = mat.dooperation(a, b);   

where dooperation() static method in mat -

public static dooperation(mat a, mat b){    //do whatever want } 

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -