Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV don't have it as a single function. But you can do it in two steps: perform dilation() / erosion(), and then perform and() / or() operation between result and the mask.