Hi,
i am actually porting some code to Android, but i don't know, how i can translate this code :
myMat.setTo(0, otherMat < threshVal);
As i think, every value in the matrix - myMat is set to 0 when the value at the corresponding place in "otherMat" is lower than "threshVal" - right?
I would just use a for-loop to solve this, but i think there must be a better way - just as in the C-Code Version.
Thank you for your help.