Information processing method and electronic equipment
An information processing method and technology of electronic equipment, applied in the field of electronics, can solve problems such as synthetic edges are hard, and achieve more natural effects
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2016-05-25
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of electronic technology, in particular to an information processing method and electronic equipment. Background technique
[0002] With the continuous development of science and technology, the use of electronic equipment is becoming more and more extensive. When users use electronic devices, they often process pictures, such as changing the background picture, post-processing the pictures, and so on. When users process images, they may find that the characters or objects in some images are more beautiful, but the background is not very attractive. At this time, users will choose to replace the background in the image with their favorite background picture.
[0003] In the prior art, when replacing a picture, the user needs to crop the selected person or object from the original image, and then process the cropped image of the person or object, such as performing transparency gradient processing on the edge. Then t...
Examples
Embodiment 1
[0101] Please refer to figure 1 , the embodiment of the present application provides an information processing method, including:
[0102] S10: Determine a first image and a second image, where the area of the first image is smaller than the area of the second image;
[0103] S20: Compositing the first image on the second image to obtain a composite image;
[0104] S30: Based on the synthesized image, process a synthesized edge where the first image is synthesized to the second image, so that the first image is fused with the second image through the processed synthesized edge.
[0105] In a specific implementation process, the information processing method in this application is applied to an electronic device. The electronic device may be a mobile phone, a tablet computer, etc., or other devices, and no examples are given here. In the embodiment of the present application, the implementation process of the method in the embodiment of the present application is describe...
Embodiment 2
[0167] Based on the same inventive concept as Embodiment 1 of this application, please refer to Figure 7 , Embodiment 2 of the present application provides an electronic device, including:
[0168] display unit 71;
[0169] Processor 72, configured to determine a first image and a second image, where the area of the first image is smaller than the area of the second image; and composite the first image onto the second image to obtain a composite image ; based on the synthesized image, processing a synthesized edge from the first image to the second image, so that the first image is fused with the second image through the processed synthesized edge.
[0170] In a specific implementation process, the electronic device further includes: a memory, a transceiver and an I / O interface. Specifically, the processor may be a general-purpose central processing unit (CPU), an application-specific integrated circuit (English: Application Specific Integrated Circuit, ASIC for short),...
Embodiment 3
[0204] Based on the same inventive concept as the first embodiment of the present application, the third embodiment of the present application provides an electronic device, please refer to Figure 8 ,include:
[0205] The first determining unit 81 is configured to determine a first image and a second image, where the area of the first image is smaller than the area of the second image;
[0206] A first compositing unit 82, configured to composite the first image onto the second image to obtain a composite image;
[0207] The first processing unit 83 is configured to, based on the synthesized image, process a synthesized edge from the first image to the second image, so that the first image passes through the processed synthesized edge and the second image. Two image fusion.
[0208] Optionally, the first synthesis unit 82 includes:
[0209] The first obtaining subunit is configured to overlay the first image on the second image to obtain the composite image.
[0210] ...