MATLAB File Help: cv.seamlessClone Index
cv.seamlessClone

Seamless Cloning

blend = cv.seamlessClone(src, dst, mask, p)
blend = cv.seamlessClone(src, dst, mask, p, 'OptionName',optionValue, ...)

Input

Output

Options

Image editing tasks concern either global changes (color/intensity corrections, filters, deformations) or local changes concerned to a selection. Here we are interested in achieving local changes, ones that are restricted to a region manually selected (ROI), in a seamless and effortless manner. The extent of the changes ranges from slight distortions to complete replacement by novel content [PM03].

References

[PM03]:

Patrick Perez, Michel Gangnet, and Andrew Blake. "Poisson image editing". In ACM Transactions on Graphics (TOG), volume 22, pages 313-318. ACM, 2003.