Photo generation method and device
A technology for generating equipment and photos, applied in the field of image processing, can solve the problem that the camera cannot remove the disturbing objects in the photos in real time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] This embodiment provides a photo generation device, refer to figure 1 , the photo generation device includes a camera 501 , an extraction device 502 , and a photo output device 503 .
[0057] refer to figure 2 , the camera 501 is used to acquire a background photo 2, and the background photo 2 includes the background 201 of the photographing scene. refer to image 3 , the camera 501 is also used to acquire the original photo 3 , the original photo includes the object 301 , the interfering object 302 and the background 201 . The extracting device 502 is used for extracting the shooting object 301 and the interfering object 302 according to the background photo 2 and the original photo 3 . refer to Figure 4 , the photo output device 503 is used to generate the target photo 4 , and the target photo 4 includes the background 201 and the subject 301 .
[0058] When using the photo generating device of this embodiment, the background photo 2 is first photographed using...
Embodiment 2
[0065] On the basis of Embodiment 1, this embodiment provides a photo generation device. When the user has no conditions to ensure that the viewing ranges of the background photo 2 and the original photo 3 are exactly the same, the photo generating device of this embodiment provides a related solution.
[0066] In this embodiment, the extracting device is also used to splice the background photo with the original photo using a picture stitching algorithm, so that the same part of the background photo overlaps with the original photo to form the first intermediate photo; the extracting device is also used to calculate the background photo The part that differs from the first intermediate photo, the part that differs includes the subject and distracting objects. The photo output device is also used to replace the interfering object in the first intermediate photo with the corresponding part in the background photo to form the target photo.
[0067] When the photographer takes a...
Embodiment 3
[0079] This embodiment provides a method for generating a photo, and the method for generating a photo is implemented by using the device for generating a photo in Embodiment 1. refer to Figure 11 , the photo generation method includes the following steps:
[0080] Step S101, acquiring a background photo, the background photo includes the background of the photographing scene;
[0081] Step S102, obtaining the original photo, the original photo includes the subject, disturbing object and background;
[0082] Step S103, extracting the shooting object and disturbing object according to the background photo and the original photo;
[0083] Step S104, generating a target photo, where the target photo includes a background and an object to be photographed.
[0084] In step S101, refer to figure 2 , taking a background photo 2 when there are no tourists or other disturbing objects, the background photo 2 includes the background 201 of the photographing scene. Because in step ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


