1 | initial version |
That's pretty easy, just add the following lines to the end of your code:
result = result > 200; //binarize image
Mat result2;
src.copyTo(result2, result); //copy using mask
You'll get this in result2:
2 | No.2 Revision |
That's pretty easy, just add the following lines to the end of your code:
result = result (result > 200; 200); //binarize image
Mat result2;
src.copyTo(result2, result); //copy using mask
You'll get this in result2: