Effect Image Fusion for Smooth Portrait-Background Transitions
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing image editing methods result in stiff transitions and a strong sense of fragmentation between portraits and background effects, affecting the authenticity and visual quality of output images.
Innovation Solution
A method and apparatus for generating effect images by fusing the target region of an initial image with an effect image, allowing simultaneous display of image content from both images in a superimposed manner, using techniques such as semi-transparent superimposition and inverse filtering to enhance the fusion and authenticity of the image.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If the background content is replaced by directly compositing the portrait onto the effect image, then the background effect is achieved, but the transition becomes stiff and fragmented
Solution Approach 1:
The patent applies local quality by differentiating the processing of different regions within the target area. The method identifies boundary regions where the portrait meets the background and applies specialized blending operations (such as feathering or gradient transitions) only to these boundary areas, while preserving the original sharp edges in the central portrait region. This localized approach smooths the transition without compromising the overall portrait quality or requiring complex global processing.
2Measurement precision
If the portrait region is fully opaque to maintain clarity, then the portrait detail is preserved, but the background effect visibility is reduced
Solution Approach 1:
The patent implements partial action by applying transparency or blending only to specific portions of the portrait (particularly the boundary regions) rather than the entire portrait. This allows the central portrait area to remain fully opaque and sharp for maximum detail preservation, while the edge regions use partial transparency to reveal the background effect, achieving a balance between portrait clarity and background visibility.
Data Source
Figure 1~2
Figure 3~4
Figure 5
AI summary
Embodiments of the present disclosure provide an effect image generation method and apparatus, an electronic device, and a storage medium. The method comprises: acquiring an initial image, the initial image comprising a target region; and fusing the target region of the initial image with an effect image to generate a fused image, wherein the fused image comprises at least one subregion, and image content in the target region and image content of the effect image are simultaneously displayed in the subregion.