Table of Contents

Method SeamlessClone

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

SeamlessClone(InputArray, InputArray, InputArray, Point, OutputArray, SeamlessCloneFlags)

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 @cite PM03 .

public static void SeamlessClone(InputArray src, InputArray dst, InputArray mask, Point p, OutputArray blend, SeamlessCloneFlags flags)

Parameters

src InputArray

Input 8-bit 3-channel image.

dst InputArray

Input 8-bit 3-channel image.

mask InputArray

Input 8-bit 1 or 3-channel image.

p Point

Point in dst image where object is placed.

blend OutputArray

Output image with the same size and type as dst.

flags SeamlessCloneFlags

Cloning method