Image Splicing Seam Line Avoidance in Regions of Importance
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The occurrence of an optimal seam line in regions of importance, such as faces, leads to deformation and poor visual effects in image splicing due to inaccurate registration and blending.
Innovation Solution
An image splicing method that determines a to-be-processed region within the overlapping area, sets higher weight values for adjacent pixel pairs within this region, and identifies the splicing path with the least seam line intensity as the optimal seam line to perform image splicing, thereby excluding the seam line from the region of interest.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If the optimal seam line is determined based on minimizing energy difference between images, then the registration accuracy is improved, but the region of importance may be deformed and the visual effect deteriorates
Solution Approach 1:
The patent applies local quality by differentiating the treatment of different regions within the overlapping area. Regions of importance (such as faces) are identified and assigned special protection, while other regions follow the standard energy-minimization seam line approach. This allows the seam line determination to have different characteristics in different spatial locations, preserving important regions while maintaining overall registration accuracy.
2Reliability
If the seam line passes through the region of importance to minimize overall energy difference, then the global splicing accuracy is improved, but the local visual effect in the region of importance deteriorates
Solution Approach 1:
The overlapping region is segmented into regions of importance and non-important regions. This segmentation allows the seam line optimization to be performed separately for different segments, ensuring that the seam line avoids regions of importance while still achieving good global splicing accuracy through optimized path selection in non-important regions.
3Manufacturing precision
If the optimal seam line is found by minimizing energy difference, then the image blending accuracy is improved, but the deformation of important regions increases
Solution Approach 1:
The patent applies preliminary anti-action by pre-identifying regions of importance before determining the seam line. By marking these regions in advance and incorporating them into the energy minimization function as constraints, the seam line determination process proactively prevents deformation of these regions rather than correcting it afterward. The energy function is modified to penalize paths that pass through important regions.
Data Source
AI summary
The present invention relates to an image splicing method and apparatus. The image splicing method includes: acquiring a first image and a second image; determining a to-be-processed region within the overlapping region, where a region within the overlapping region except the to-be-processed region is a remaining region; obtaining a weight value of each adjacent pixel pair of the remaining region; setting a weight value of an adjacent pixel pair within the to-be-processed region; determining a splicing path having the least seam line intensity of all splicing paths; and performing image splicing on the first image and the second image along the optimal seam line. According to the image splicing method and apparatus of the present invention, a seam line can be excluded from a to-be-processed region, so as to ensure that the to-be-processed region is spliced naturally and to improve subjective perception of a user in viewing an image.


