In cv2.seamlessClone, how does the function use p?

asked 2018-07-24 13:56:50 -0600

In the tutorial (https://docs.opencv.org/3.0-beta/modu...), it mentions that p is 'point in dst image where object is placed'. But it is still not very clear.

p is the coordinate for the left-top corner of src image? or it is the coordinate for the center of src image? or it is the coordinate for the center of mask?

All three coordinates will not make a large difference, but I am working on a project which requires precise coordinate.

Thank you for your help.

edit retag flag offensive close merge delete

Comments

p is center of the mask

LBerger gravatar imageLBerger ( 2018-07-24 15:18:49 -0600 )edit