Best way of masking on warpAffine?
Hi,
Just like using mask when copying image:
image1.copyTo(image2, mask)
I just want to apply warpAffine only on a particular region because I only need a small part of image for example mouth. But existing warpAffine methods do not seem to accept any masks. Therefore I need to find a smart and easy way to do masking warpAffine method in order to reduce running time. Has anyone here thought about it before? Please give me some tips!