You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Point could be made optional when the size of the src is the same as dest? #15928
When src is the same as desk, and a mask is provided, the expected behaviour could be to blend the dest inside the src where the mask are 255,255,255 instead of requiring the p (the centre) to be specified?
at this point I didn't see the use of the required argument p, as I expected the function to match the mask. But since it's a required argument, I provided (w//2, h//2) for p (the centre of everything). But instead of having the src aligned into dest, the resulting cloning was shifted up to the centre of the screen!
Activity
alalek commentedon Nov 17, 2019
Documentation says that "p" is:
Are you expecting API of "normalClone()"? (it is not exposed in public API)
alalek commentedon Nov 19, 2019
@sturkmen72 I believe request here is for avoiding mask ROI handling through
boundingRect(). Or at least use the same ROI for destination, like this: