[−][src]Function opencv::photo::seamless_clone
pub fn seamless_clone(
src: &dyn ToInputArray,
dst: &dyn ToInputArray,
mask: &dyn ToInputArray,
p: Point,
blend: &mut dyn ToOutputArray,
flags: i32
) -> Result<()>
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 .
Parameters
- src: Input 8-bit 3-channel image.
- dst: Input 8-bit 3-channel image.
- mask: Input 8-bit 1 or 3-channel image.
- p: Point in dst image where object is placed.
- blend: Output image with the same size and type as dst.
- flags: Cloning method that could be cv::NORMAL_CLONE, cv::MIXED_CLONE or cv::MONOCHROME_TRANSFER