Image processing method and device
An image processing, image technology, applied in the field of image processing, can solve problems such as difficulty in high-quality photos
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] Embodiments of the present invention provide a method for image processing, such as figure 1 , the method includes:
[0037] 101. Acquire a first instruction for processing an image to be processed and a background image, the image to be processed includes a preset image, the background image includes a blank area, and the first instruction is used to instruct the Blank areas are replaced with the preset image.
[0038] Wherein, the subject of execution of the method is an electronic device capable of processing image information. Such as smartphones, PCs, and PADs.
[0039] The image to be processed is the image currently being collected, or a stored image that has been called.
[0040] For example, when a user takes a photo with an electronic device, a background image is loaded on the display interface of the electronic device, indicating that the blank area of the background image is replaced with a preset image in the photo being taken; A background image is ...
Embodiment 2
[0069] In the following, the preset image is a face image as an example for illustration. In order to better match the face image and the background image, the embodiment of the present invention provides an image processing method, such as figure 2 As shown, the method includes:
[0070] 201. Acquire a first instruction for processing an image to be processed and a background image, the image to be processed includes a human face image, the background image includes a blank area, and the first instruction is used to instruct to process the background image The blank area of is replaced with the face image.
[0071] 202. From the image to be processed, detect and acquire an image of a first area of the image to be processed, where the image of the first area includes at least one face image.
[0072] 203. Determine a scaling factor and a translation parameter of an image in the first area according to the areas of the blank area and the first area and the position inform...
Embodiment 3
[0090] The embodiment of the present invention provides an image processing device 30, such as image 3 As shown, the device 30 includes:
[0091] An acquisition unit 31, a first detection unit 32, a determination unit 33, a processing unit 34 and a display unit 35;
[0092] The obtaining unit 31 is configured to obtain a first instruction for processing the image to be processed and the background image, the image to be processed includes a preset image, the background image includes a blank area, and the first instruction is used to indicate The blank area of the background image is replaced with the preset image.
[0093] The first detection unit 32 is configured to detect and obtain an image of a first area of the image to be processed from the image to be processed, and the image of the first area includes at least one of the preset images .
[0094] The determination unit 33 is configured to determine a scaling factor and a translation parameter of the image of th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com