MATLAB File Help: cv.seamlessClone | Index |
Seamless Cloning
blend = cv.seamlessClone(src, dst, mask, p)
blend = cv.seamlessClone(src, dst, mask, p, 'OptionName',optionValue, ...)
[x,y]
in dst
image where object is placed.dst
.src
and mask
and output dst
, between MATLAB's RGB order and
OpenCV's BGR (input: RGB->BGR, output: BGR->RGB). default trueImage 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].
[PM03]:
Patrick Perez, Michel Gangnet, and Andrew Blake. "Poisson image editing". In ACM Transactions on Graphics (TOG), volume 22, pages 313-318. ACM, 2003.