Supercharge Your Innovation With Domain-Expert AI Agents!

Seamless image cloning method based on matrix decomposition

A technology of seamless cloning and matrix decomposition, applied in the field of computer graphics, can solve problems such as slow convergence speed, unsuitability for solving large-scale linear systems, and poor scalability of direct solvers, achieving good scalability, low memory consumption, and improved The effect of operation speed

Inactive Publication Date: 2014-06-04
ZHEJIANG UNIV
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The idea of ​​the direct method is that the exact solution of the equation can be obtained through finite steps of arithmetic calculations. However, due to the existence of rounding in practice, this type of method can only obtain approximate solutions. The most basic of the direct method is the Gaussian elimination method
The direct solver has poor scalability and is not suitable for solving large linear systems.
The idea of ​​the iterative method is to use a certain limit process to gradually approach the exact solution of the linear equation. The iterative method requires less computer storage units and simple program design, but the iterative solver is not very robust and the convergence speed is slow.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Seamless image cloning method based on matrix decomposition
  • Seamless image cloning method based on matrix decomposition
  • Seamless image cloning method based on matrix decomposition

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0071] The present invention will be described in detail below in combination with specific embodiments.

[0072] In this embodiment, S represents the source image, and T represents the target image. with P s represents the cloned region in the source image, P t Indicates the fused region in the target image. Clone region P s and fusion region P t of the same shape and size.

[0073] The image seamless cloning method based on matrix decomposition of the present embodiment includes:

[0074] (1) Construct the Poisson equation according to the gradient field of the cloned area in the source image and the gradient field of the fusion area in the target image, and obtain the corresponding Laplace equation according to the Poisson equation.

[0075] The resulting Poisson equation is constructed as follows:

[0076] f ( x , y ) = g ( x ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a seamless image cloning method based on matrix decomposition. According to the method, an original linear system equation is built in the gradient domain method; matrix decomposition is carried out on a coefficient matrix of an original linear system to form a banded diagonal matrix in a decomposed mode, and the banded diagonal matrix is decomposed into a plurality of small banded diagonal matrixes; according to each small banded diagonal matrix, a small system equation is built, and the small system equation is solved through different threads of a GPU so as to obtain an original pixel compensation value of each pixel; the original pixel compensation values of all the pixels are substituted into the original linear system equation by being used as initial values of an original system so as to directly obtain a final pixel compensation value; furthermore, pixel values of all the pixels in a fusion area are obtained, and seamless cloning is completed. In the seamless image cloning method based on matrix decomposition, the data parallel processing capability of the GPU is fully used, operational speed is greatly increased, real-time image processing becomes possible, memory consumption is low, and the seamless image cloning method can be widely expanded to application programs.

Description

technical field [0001] The invention relates to the field of computer images, in particular to an image seamless cloning method based on matrix decomposition. Background technique [0002] In recent years, gradient domain methods have been widely used in the field of image processing, including intrinsic image restoration, seamless cloning and image stitching. The solution of these algorithms is usually to solve a large sparse linear system: the Poisson equation. However, solving the Poisson equation is a computationally and memory-intensive task that is not suitable for real-time image editing. At the same time, when dealing with large-scale images, such as megapixel images, or even megapixel images, this problem becomes extremely prominent. To solve this problem, researchers have proposed various methods. These methods can be roughly divided into two categories: degenerate space-based solvers and numerical analysis-based solvers. [0003] For the first category, degene...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T1/00G06T5/00
Inventor 张丹董建锋张大龙李盼赵磊许端清
Owner ZHEJIANG UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More