WO2015032099A1 - 图像处理方法和终端 - Google Patents

图像处理方法和终端 Download PDF

Info

Publication number
WO2015032099A1
WO2015032099A1 PCT/CN2013/083152 CN2013083152W WO2015032099A1 WO 2015032099 A1 WO2015032099 A1 WO 2015032099A1 CN 2013083152 W CN2013083152 W CN 2013083152W WO 2015032099 A1 WO2015032099 A1 WO 2015032099A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
background
picture
terminal
user
Prior art date
Application number
PCT/CN2013/083152
Other languages
English (en)
French (fr)
Inventor
焦铸
余烽
闫鹏飞
Original Assignee
宇龙计算机通信科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Priority to PCT/CN2013/083152 priority Critical patent/WO2015032099A1/zh
Priority to CN201380069027.XA priority patent/CN104885444A/zh
Publication of WO2015032099A1 publication Critical patent/WO2015032099A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/272Means for inserting a foreground image in a background image, i.e. inlay, outlay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Definitions

  • the present invention relates to the field of image processing technologies, and in particular, to an image processing method and a terminal. Background technique
  • the background of the photograph taken is directly obtained when photographing. If the user needs to replace the background of the photograph, it needs to be modified by Photoshop or the like after photographing.
  • the invention is based on the above technical problems, and proposes a new image processing scheme, which can customize the background of the photographing when photographing, and automatically process the background of the photograph.
  • the present invention provides an image processing method, including: acquiring a background image; and after receiving the shooting instruction, generating a photo with the background image as a background.
  • the processing tool performs the modification of the photo background, which facilitates the user's operation and improves the user's photographing experience.
  • the obtained background image may be a picture in the terminal local storage space or the corresponding cloud storage space, or may be a picture obtained through a network.
  • the step of acquiring a background picture comprises: pushing a picture associated with the location information according to location information of the shooting terminal, and using the associated picture as the background picture.
  • the user pushes a picture associated with the location information of the photographing terminal during the tour, so that the user can intuitively know the iconic attraction of the location, such as the landmark building at the location, etc., when the user does not visit At the time of the attraction, the picture of the attraction can also be used as the background of the photo; in addition, the detailed address information of the attraction in the picture can also be displayed on the pushed picture, and if the user needs to visit the iconic attraction of the location, The specific location of the iconic attraction can be found according to the address information on the pushed picture, which avoids the user not knowing the location and misses the attraction, which is beneficial to enhance the user experience.
  • the step of acquiring the background image further includes: selecting, from the associated picture, a picture that does not match the background pattern in the photograph taken by the photographing terminal, and extracting the extracted picture As the background picture.
  • the picture matching the background of the taken photo and the location may be matched, and the unmatched picture is pushed to the user. Selecting, so that the user can clearly know the untaken sights, and then choose to use it as the background of the photograph or go to the attraction to visit and shoot; in addition, due to the limitation of the terminal screen, if all the information related to the location information is associated The pictures are displayed, which may cause confusion on the screen of the terminal. Users also need to select photos of the spots that are not taken in multiple photos, which is not conducive to the user's experience. Only the pictures of unrecorded spots are displayed, which can be displayed on the screen of the terminal.
  • the step of acquiring a background picture comprises: searching for a picture matching the input key information from a network database or a local database, and using the matched picture as the background picture.
  • the user can search for and select a desired background picture according to his own needs.
  • the keyword "Tiananmen” can be used to search for images related to Tiananmen. It avoids the choice of multiple images in the local or network and consumes a large amount of user selection time, which is beneficial to enhance the user experience.
  • the plurality of pictures are subjected to fusion processing to obtain the background picture.
  • the user can customize the content in the background picture and the distribution pattern between different contents. It is beneficial to meet the different operational needs of users and enhance the fun of user operations.
  • the user may divide the terminal screen into multiple regions, and input different key information in different regions, and search for multiple images according to multiple different key information input by the user. Process to get the corresponding background image. For example, the user divides the search area of the terminal screen into four areas, enters the keyword "tree” in area one, "character” in area two, "road” in area three, and "flowers" in area four.
  • the four images can be merged according to the location of the region set by the user, to obtain the background image desired by the user, and the generated background image will include “trees” and characters. " ", "road” and “flowers”, of course, the user can select one of the multiple images searched for each keyword as the image associated with the keyword. In this case, you can also add various areas to the above. A picture that matches a keyword is used as a background image. It is not necessary to perform image fusion processing to reduce the waiting time of the user.
  • the method further includes: performing background feature extraction on the captured photo, the captured scene image captured by the camera, or the background image; searching from a local database or a network database to match the background feature a picture, and push the matching picture to the user.
  • background feature extraction is performed on the photograph taken, the captured scene image captured by the camera in real time or the background image selected by the user, and the image matching the background feature is searched from the local database or the network database.
  • these matched pictures can be used as sample pictures, so that the user can intuitively know the different shooting methods (such as shooting angle, shooting skills, etc.) of multiple pictures that match the background features.
  • the shooting effect allows the user to select the optimal shooting method for taking pictures.
  • an optimal shooting image and/or corresponding shooting skill associated with the background feature may be pushed, thereby enabling the user to take a sample and/or Take the appropriate shooting skills to get the best shots.
  • the method further includes: performing background feature extraction on the captured photo, the captured scene image captured by the camera, or the background image; and displaying the iconicity associated with the background feature according to the background feature background.
  • the background feature extraction is performed on the captured photo, the captured scene image captured by the camera in real time or the background image selected by the user, and the iconic background associated with the background feature is prompted, so that the user can directly select
  • the iconic background of the tip is taken as a background image.
  • the user may be dissatisfied with the background of the captured picture.
  • the iconic background of the prompt may be selected to replace the background of the captured picture, thereby obtaining an optimal picture;
  • the iconic background associated with the background feature may be prompted according to the shooting scene captured by the camera.
  • the iconic background of the prompt may also be directly selected as the shooting background.
  • the terminal can also prompt the iconic background associated with the background feature in the background image, so that the user can select the most Excellent background picture, so as to get the best shot, in addition, after seeing the iconic background of the current attraction, the user can guide the user to the iconic building of the current attraction to take photos.
  • the method further comprises: after starting the camera of the photographing terminal, capturing a photographed scene image, extracting a foreground image from the photographed scene image; and viewing the photographing terminal
  • the interface displays a view image synthesized by the foreground image and the background image for generating the photo.
  • the captured scene image can be understood as a real-time image captured by the terminal camera after the camera is activated and before the shutter is pressed.
  • the captured image of the captured scene is stored, and the foreground image is extracted from the captured scene map.
  • the foreground image can be understood as the protagonist in the image of the shooting scene.
  • the current shooting scene is a child singing a song on the stage, then the child is the foreground image, and the child singing on the stage is the scene image.
  • the framing image is an image that is subjected to image processing before being pressed and displayed on the terminal display screen.
  • the background of the stage is replaced with a beach, and the synthesized image is that the child sings on the beach.
  • the image can be displayed for the user to refer to whether the image is suitable, such as whether the mobile terminal is needed, adjusting the shooting parameters, etc. If appropriate, the user can press the shutter to generate a photo of the child singing on the beach after pressing the shutter.
  • the foreground image is extracted from the shooting scene, and the framing image synthesized by the foreground image and the background image is displayed on the terminal framing interface, so that the user can see that the foreground image is selected when photographing.
  • the position in the background picture so that the user can select the optimal shooting angle, so that the processed view image can be displayed on the terminal display to ensure the best taken picture.
  • the user can select among the plurality of foreground images.
  • the user can also firstly capture the image of the scene. Select the foreground image that needs to be extracted, and then extract it to reduce the process of extracting the foreground image.
  • the user can adjust the specific position of the foreground image in the background image during shooting, thereby selecting the optimal shooting angle. To ensure the best possible photo.
  • displaying the moving process of the foreground image relative to the background image on the framing interface also enables the user to experience the authenticity of the shooting scene, which is beneficial to enhance the user experience.
  • the terminal display For example, if the child sings on the stage, the child's image on the beach is displayed on the terminal display. If the user feels that the child's position is wrong, the terminal can be moved, and the image layout change can be displayed in real time on the display screen. User-friendly.
  • the real-time shooting scene is displayed on the terminal framing interface, and the photo synthesized by the foreground image and the background image is displayed after the shooting is completed, so that the terminal puts the fusion processing of the image after the shooting is completed, which is beneficial to lowering the terminal.
  • the processing load of the processor during the framing process is beneficial to lowering the terminal.
  • the terminal interface displays the image of the child singing on the stage.
  • a picture of the child singing at the beach is generated.
  • the foreground image is obtained by face recognition detection or obtained according to a user selection.
  • the detection is directly performed by the face recognition technology, without the user manually selecting, which simplifies the user's operation process.
  • the selection box can be displayed on multiple foreground images to facilitate the user to select and improve the user's operating experience.
  • the environment data of the terminal is acquired, and the photographing parameter is configured according to the environment data.
  • the environment parameters of the terminal are acquired, and the camera parameters of the terminal are configured according to the environment data, so that the terminal can automatically configure the camera parameters according to the detected environmental parameters, such as the light intensity, without manually setting the user.
  • the intelligence of the photo taking process Specifically, if the photographing mode previously used by the user is the "standard" mode, and the user needs to take a photo at night, the terminal can automatically set the "night scene” mode according to the detected light intensity and the like without requiring the user to manually call up the setting.
  • the interface and then the cumbersome process of selecting the framing mode, enhances the user experience.
  • the terminal detects that the environment parameter changes, the user may prompt the user to reconfigure the camera parameter by popping up a prompt window, etc., so that the user can select according to the need.
  • the background image obtained by the method in the present invention can be saved to the cloud storage space corresponding to the local terminal or the terminal, so that the user can directly search the local or corresponding cloud when searching through the terminal and need to change the background of the photo.
  • the time spent searching the background image in the network is reduced, which is convenient for the user's choice.
  • a terminal including: an acquiring unit, configured to acquire a background image; an image generating unit, connected to the acquiring unit, configured to generate, after receiving the shooting instruction Background photo for background photo.
  • the processing tool performs the modification of the photo background, which facilitates the user's operation and improves the user's photographing experience.
  • the obtained background image may be a picture in the terminal local storage space or the corresponding cloud storage space, or may be a picture obtained through a network.
  • the method further includes: a first pushing unit connected to the acquiring unit, and pushing a picture associated with the location information according to the location information of the terminal, for the acquiring unit to acquire.
  • the user pushes a picture associated with the location information of the photographing terminal during the tour, so that the user can intuitively know the iconic attraction of the location, such as the landmark building at the location, etc., when the user does not visit At the time of the attraction, the picture of the attraction can also be used as the background of the photo; in addition, the detailed address information of the attraction in the picture can also be displayed on the pushed picture, and if the user needs to visit the iconic attraction of the location, The specific location of the iconic attraction can be found according to the address information on the pushed picture, which avoids the user not knowing the location and misses the attraction, which is beneficial to enhance the user experience.
  • the method further includes: a selecting unit, selecting, from the associated picture, a picture that does not match a background pattern in the photograph taken by the terminal, and using the extracted picture as the background image .
  • the picture matching the background of the taken photo and the location may be matched, and the unmatched picture is pushed to the user. Selecting, so that the user can clearly know the untaken sights, and then choose to use it as the background of the photograph or go to the attraction to visit and shoot; in addition, due to the limitation of the terminal screen, if all the information related to the location information is associated The pictures are displayed, which may cause confusion on the screen of the terminal. Users also need to select photos of the spots that are not taken in multiple photos, which is not conducive to the user's experience. Only the pictures of unrecorded spots are displayed, which can be displayed on the screen of the terminal. It is more tidy and clear, and it is convenient for users to choose.
  • the method further includes: a matching unit, searching for a picture matching the input key information from the network database or the local database, for the acquiring unit to acquire.
  • the user can search for and select a desired background picture according to his own needs.
  • the keyword "Tiananmen” can be used to search for images related to Tiananmen. It avoids the choice of multiple images in the local or network and consumes a large amount of user selection time, which is beneficial to enhance the user experience.
  • the method further includes: an image fusion unit, when the plurality of pictures are matched according to the plurality of different key information, respectively, the plurality of pictures are merged to obtain the background picture.
  • an image fusion unit when the plurality of pictures are matched according to the plurality of different key information, respectively, the plurality of pictures are merged to obtain the background picture.
  • the user divides the search area of the terminal screen into four areas, enters the keyword “tree” in area one, “character” in area two, “road” in area three, and “flowers” in area four.
  • when searching for the corresponding four images separately, the four images can be merged according to the location of the region set by the user, to obtain the background image desired by the user, and the generated background image will include “trees” and characters.
  • "",”road” and “flowers” of course, the user can select one of the multiple images searched for each keyword as the image associated with the keyword. In this case, you can also add various areas to the above.
  • a picture that matches a keyword is used as a background image. It is not necessary to perform image fusion processing to reduce the waiting time of the user.
  • the method further includes: a first feature extraction unit, performing background feature extraction on the captured photo, the captured scene image captured by the camera, or the background image; the second pushing unit, from a local database or a network A picture matching the background feature is searched in the database, and the matched picture is pushed to the user.
  • background feature extraction is performed on the photograph taken, the captured scene image captured by the camera in real time or the background image selected by the user, and the image matching the background feature is searched from the local database or the network database.
  • these matched pictures can be used as sample pictures, so that the user can intuitively know the different shooting methods (such as shooting angle, shooting skills, etc.) of multiple pictures that match the background features.
  • the shooting effect allows the user to select the optimal shooting method for taking pictures.
  • an optimal shooting image and/or corresponding shooting skill associated with the background feature may be pushed, thereby enabling the user to take a sample and/or Take the appropriate shooting skills to get the best shots.
  • the method further includes: a second feature extraction unit, performing background feature extraction on the captured photo, the captured scene image captured by the camera, or the background image; and the prompting unit, according to the background feature prompting The iconic background associated with the background feature.
  • the background feature extraction is performed on the captured photo, the captured scene image captured by the camera in real time or the background image selected by the user, and the iconic background associated with the background feature is prompted, so that the user can directly select
  • the iconic background of the tip is taken as a background image.
  • the user may be dissatisfied with the background of the captured picture.
  • the iconic background of the prompt may be selected to replace the background of the captured picture, thereby obtaining an optimal picture;
  • the iconic background associated with the background feature may be prompted according to the shooting scene captured by the camera.
  • the iconic background of the prompt may also be directly selected as the shooting background.
  • the terminal can also prompt the iconic background associated with the background feature in the background image, so that the user can select the most Excellent background picture, so as to get the best shot, in addition, after seeing the iconic background of the current attraction, the user can guide the user to the iconic building of the current attraction to take photos.
  • the method further includes: a third feature extraction unit that extracts a foreground image from the captured scene image before receiving the shooting instruction and after the camera of the terminal captures the captured scene image;
  • the processing unit synthesizes the framing image according to the foreground image and the background image, so that the image generating unit generates the photo; and the display unit displays the framing image synthesized by the image processing unit on the framing interface of the terminal.
  • the captured scene image can be understood as a real-time image captured by the terminal camera after the camera is activated and before the shutter is pressed.
  • the captured image of the captured scene is stored, and the foreground image is extracted from the captured scene map.
  • the foreground image can be understood as the protagonist in the image of the shooting scene.
  • the current shooting scene is a child singing on the stage, then the child is the foreground image, and the child singing on the stage is the scene image.
  • the framing image is an image that is subjected to image processing before being pressed and displayed on the terminal display screen, for example, the child is extracted from the foreground image.
  • the background of the stage is replaced with a beach
  • the synthesized image is that the child sings on the beach
  • the image can be displayed for the user to refer to whether the image is suitable, such as whether the mobile terminal is needed, adjusting the shooting parameters, etc., if appropriate, the user
  • the shutter can be pressed to generate a photo of the child singing on the beach after pressing the shutter.
  • the foreground image is extracted from the shooting scene, and the framing image synthesized by the foreground image and the background image is displayed on the terminal framing interface, so that the user can see that the foreground image is selected when photographing.
  • the position in the background picture so that the user can select the optimal shooting angle, so that the processed view image can be displayed on the terminal display to ensure the best taken picture.
  • the user can select among the plurality of foreground images.
  • the user can also firstly capture the image of the scene. Select the foreground image that needs to be extracted, and then extract it to reduce the process of extracting the foreground image.
  • the display unit is further configured to display, when the foreground in the shooting scene moves relative to the terminal, a moving process of the foreground image relative to the background image on the framing interface.
  • the user can adjust the specific position of the foreground image in the background image during shooting, thereby selecting the optimal shooting angle. To ensure the best possible photo.
  • displaying the moving process of the foreground image relative to the background image on the framing interface also enables the user to experience the authenticity of the shooting scene, which is beneficial to enhance the user experience.
  • the terminal display For example, if the child sings on the stage, the child's image on the beach is displayed on the terminal display. If the user feels that the child's position is wrong, the terminal can be moved, and the image layout change can be displayed in real time on the display screen. User-friendly.
  • the method further includes: a fourth feature extraction unit, after receiving the shooting instruction, extracting the foreground image from a captured scene image captured by a camera of the terminal; The unit is also for generating the photo synthesized by the foreground image and the background image.
  • the real-time shooting scene is displayed on the terminal framing interface, and the photo synthesized by the foreground image and the background image is displayed after the shooting is completed, so that the terminal puts the fusion processing of the image after the shooting is completed, which is beneficial to lowering the terminal.
  • the processing load of the processor during the framing process is beneficial to lowering the terminal.
  • the terminal interface displays the image of the child singing on the stage.
  • a picture of the child singing at the beach is generated.
  • the foreground image is obtained by face recognition detection or obtained according to a user selection.
  • the detection is directly performed by the face recognition technology, without the user manually selecting, which simplifies the user's operation process.
  • the selection box can be displayed on multiple foreground images to facilitate the user to select and improve the user's operating experience.
  • the photographing parameter is configured according to the environment data.
  • the environment parameters of the terminal are acquired, and the camera parameters of the terminal are configured according to the environment data, so that the terminal can automatically configure the camera parameters according to the detected environmental parameters, such as the light intensity, without manually setting the user.
  • the intelligence of the photo taking process Specifically, if the photographing mode previously used by the user is the "standard" mode, and the user needs to take a photo at night, the terminal can automatically set the "night scene” mode according to the detected light intensity and the like without requiring the user to manually call up the setting.
  • the interface, and then the cumbersome process of selecting the framing mode enhances the user experience.
  • the user may prompt the user to reconfigure the camera parameter by popping up a prompt window, etc., so that the user can select according to the need.
  • the user can customize the background of the photographing when taking a photo, and it is not necessary to use a professional image processing tool to modify the background of the photograph after the photographing is completed, which facilitates the operation of the user and improves the photographing experience of the user.
  • a program product stored on a non-transitory machine readable medium for image processing, the program product comprising a machine executable for causing a computer system to perform the following steps Command: Get a background image; After receiving the shooting instruction, generate a photo with the background image as the background.
  • a non-transitory machine readable medium storing a program product for image processing, the program product comprising machine executable instructions for causing a computer system to perform the following steps: a background image; after receiving the shooting instruction, generating a photo with the background image as a background.
  • a storage medium storing a machine readable program, wherein the machine readable program causes the machine to execute the image processing method according to any one of the above aspects.
  • FIG. 1 shows a schematic flow chart of an image processing method according to an embodiment of the present invention
  • FIG. 2 shows a schematic block diagram of a terminal in accordance with an embodiment of the present invention
  • 3A through 3J are diagrams showing a terminal photographing interface according to an embodiment of the present invention. detailed description
  • FIG. 1 shows a schematic flow chart of an image processing method according to an embodiment of the present invention.
  • an image processing method includes: Step 102: Acquire a background image; Step 104: After receiving a shooting instruction, generate a photo with the background image as a background.
  • the processing tool performs the modification of the photo background, which facilitates the user's operation and improves the user's photographing experience.
  • the obtained background image may be a picture in the terminal local storage space or the corresponding cloud storage space, or may be a picture obtained through a network.
  • the step of acquiring a background picture comprises: pushing a picture associated with the location information according to location information of the shooting terminal, and using the associated picture as the background picture.
  • the user pushes a picture associated with the location information of the photographing terminal during the tour, so that the user can intuitively know the iconic attraction of the location, such as the landmark building at the location, etc., when the user does not visit At the time of the attraction, the picture of the attraction can also be used as the background of the photo; in addition, the detailed address information of the attraction in the picture can also be displayed on the pushed picture, and if the user needs to visit the iconic attraction of the location, The specific location of the iconic attraction can be found according to the address information on the pushed picture, which avoids the user not knowing the location and misses the attraction, which is beneficial to enhance the user experience.
  • the step of acquiring the background image further includes: selecting, from the associated picture, a picture that does not match the background pattern in the photograph taken by the photographing terminal, and extracting the extracted picture As the background picture.
  • the picture matching the background of the taken photo and the location may be matched, and the unmatched picture is pushed to the user. Selecting, so that the user can clearly know the untaken sights, and then choose to use it as the background of the photograph or go to the attraction to visit and shoot; in addition, due to the limitation of the terminal screen, if all the information related to the location information is associated The pictures are displayed, which may cause confusion on the screen of the terminal.
  • the step of acquiring a background picture comprises: searching for a picture matching the input key information from a network database or a local database, and using the matched picture as the background picture.
  • the user can search for and select a desired background picture according to his own needs.
  • the keyword "Tiananmen” can be used to search for images related to Tiananmen. It avoids the choice of multiple images in the local or network and consumes a large amount of user selection time, which is beneficial to enhance the user experience.
  • the plurality of pictures are subjected to fusion processing to obtain the background picture.
  • the user can customize the content in the background picture and the distribution pattern between different contents. It is beneficial to meet the different operational needs of users and enhance the fun of user operations.
  • the user may divide the terminal screen into multiple regions, and input different key information in different regions, and search for multiple images according to multiple different key information input by the user. Process to get the corresponding background image. For example, the user divides the search area of the terminal screen into four areas, enters the keyword "tree” in area one, "character” in area two, "road” in area three, and "flowers" in area four.
  • the four images can be merged according to the location of the region set by the user, to obtain the background image desired by the user, and the generated background image will include “trees” and characters. " ", "road” and “flowers”, of course, the user can select one of the multiple images searched for each keyword as the image associated with the keyword. In this case, you can also add various areas to the above. A picture that matches a keyword is used as a background image. It is not necessary to perform image fusion processing to reduce the waiting time of the user.
  • the method further includes: performing background feature extraction on the captured photo, the captured scene image captured by the camera, or the background image; searching from a local database or a network database to match the background feature a picture, and push the matching picture to the user.
  • background feature extraction is performed on the photograph taken, the captured scene image captured by the camera in real time or the background image selected by the user, and the image matching the background feature is searched from the local database or the network database.
  • these matched pictures can be used as sample pictures, so that the user can intuitively know the different shooting methods (such as shooting angle, shooting skills, etc.) of multiple pictures that match the background features.
  • the shooting effect allows the user to select the optimal shooting method for taking pictures.
  • an optimal shooting image and/or corresponding shooting skill associated with the background feature may be pushed, thereby enabling the user to take a sample and/or Take the appropriate shooting skills to get the best shots.
  • the method further includes: performing background feature extraction on the captured photo, the captured scene image captured by the camera, or the background image; and displaying the iconicity associated with the background feature according to the background feature background.
  • the background feature extraction is performed on the captured photo, the captured scene image captured by the camera in real time or the background image selected by the user, and the iconic background associated with the background feature is prompted, so that the user can directly select
  • the iconic background of the tip is taken as a background image.
  • the user may be dissatisfied with the background of the captured picture.
  • the iconic background of the prompt may be selected to replace the background of the captured picture. Therefore, the optimal picture can be obtained.
  • the iconic background associated with the background feature can be prompted according to the shooting scene captured by the camera.
  • the user can directly Select the iconic background of the prompt as the shooting background to get the best shooting effect; in addition, when the user selects a picture as the background image for shooting, the terminal can also prompt to be associated with the background feature in the background image.
  • the iconic background so that the user can select the best background image to get the best photo taken.
  • the user can guide the user to the iconic building of the current attraction. Take photos.
  • the method before receiving the photographing instruction, further comprises: after starting the camera of the photographing terminal, capturing a photographed scene image, extracting a foreground image from the photographed scene image; and viewing the photographing terminal
  • the interface displays a view image synthesized by the foreground image and the background image for generating the photo.
  • the captured scene image can be understood as a real-time image captured by the terminal camera after the camera is activated and before the shutter is pressed.
  • the captured image of the captured scene is stored, and the foreground image is extracted from the captured scene map.
  • the foreground image can be understood as the protagonist in the image of the shooting scene.
  • the current shooting scene is a child singing a song on the stage, then the child is the foreground image, and the child singing on the stage is the scene image.
  • the framing image is an image that is subjected to image processing before being pressed and displayed on the terminal display screen.
  • the background of the stage is replaced with a beach, and the synthesized image is that the child sings on the beach.
  • the image can be displayed for the user to refer to whether the image is suitable, such as whether the mobile terminal is needed, adjusting the shooting parameters, etc. If appropriate, the user can press the shutter to generate a photo of the child singing on the beach after pressing the shutter.
  • the foreground image is extracted from the shooting scene, and the framing image synthesized by the foreground image and the background image is displayed on the terminal framing interface, so that the user can see that the foreground image is selected when photographing.
  • the position in the background picture so that the user can select the optimal shooting angle, so that the processed view image can be displayed on the terminal display to ensure the best taken picture.
  • the user can select among the plurality of foreground images.
  • the user can also firstly capture the image of the scene. Select the foreground image that needs to be extracted, and then extract it to reduce the process of extracting the foreground image.
  • the user can adjust the specific position of the foreground image in the background image during shooting, thereby selecting the optimal shooting angle. To ensure the best possible photo.
  • displaying the moving process of the foreground image relative to the background image on the framing interface also enables the user to experience the authenticity of the shooting scene, which is beneficial to enhance the user experience.
  • the terminal display For example, if the child sings on the stage, the child's image on the beach is displayed on the terminal display. If the user feels that the child's position is wrong, the terminal can be moved, and the image layout change can be displayed in real time on the display screen. User-friendly.
  • the real-time shooting scene is displayed on the terminal framing interface, and the photo synthesized by the foreground image and the background image is displayed after the shooting is completed, so that the terminal puts the fusion processing of the image after the shooting is completed, which is beneficial to lowering the terminal.
  • the processing load of the processor during the framing process is beneficial to lowering the terminal.
  • the terminal interface displays the image of the child singing on the stage.
  • a picture of the child singing at the beach is generated.
  • the foreground image is obtained by face recognition detection or is selected according to a user.
  • the detection is directly performed by the face recognition technology, without the user manually selecting, which simplifies the operation process of the user.
  • the selection box may be separately displayed on the plurality of foreground images to facilitate the user to select and improve the user's operating experience.
  • the photographing parameter is configured according to the environment data.
  • the environment parameters of the terminal are acquired, and the camera parameters of the terminal are configured according to the environment data, so that the terminal can automatically configure the camera parameters according to the detected environmental parameters, such as the light intensity, without manually setting the user.
  • the intelligence of the photo taking process Specifically, if the photographing mode previously used by the user is the "standard" mode, and the user needs to take a photo at night, the terminal can automatically set the "night scene” mode according to the detected light intensity and the like without requiring the user to manually call up the setting.
  • the interface, and then the cumbersome process of selecting the framing mode enhances the user experience.
  • the terminal may prompt the user to reconfigure the camera parameter by popping up a prompt window, etc., so that the user can select according to the need.
  • the background image obtained by using the method in this manner may be saved to the cloud storage space corresponding to the local terminal or the terminal, so that the user can directly search for the local or corresponding terminal when the photo is taken through the terminal and the photo background needs to be replaced.
  • the cloud can get the required background image, which reduces the time spent searching the background image in the network, which is convenient for the user to choose.
  • FIG. 2 shows a schematic block diagram of a terminal in accordance with an embodiment of the present invention.
  • the terminal 200 according to the embodiment of the present invention includes: an obtaining unit 202, configured to acquire a background image; an image generating unit 204, connected to the obtaining unit 202, after receiving the shooting instruction, A photo is generated with the background image as a background.
  • the processing tool performs the modification of the photo background, which facilitates the user's operation and improves the user's photographing experience.
  • the obtained background image may be a picture in the terminal local storage space or the corresponding cloud storage space, or may be a picture obtained through a network.
  • the method further includes: a first pushing unit 206, connected to the acquiring unit 202, and pushing a picture associated with the location information according to the location information of the terminal, for the acquiring unit 202 gets.
  • the user pushes a picture associated with the location information of the photographing terminal during the tour, so that the user can intuitively know the iconic attraction of the location, such as the landmark building at the location, etc., when the user does not visit At the time of the attraction, the picture of the attraction can also be used as the background of the photo; in addition, the detailed address information of the attraction in the picture can also be displayed on the pushed picture, and if the user needs to visit the iconic attraction of the location, The specific location of the iconic attraction can be found according to the address information on the pushed picture, which avoids the user not knowing the location and misses the attraction, which is beneficial to enhance the user experience.
  • the method further includes: a selecting unit 208, selecting, from the associated picture, a picture that does not match a background pattern in the photograph taken by the terminal, and using the extracted picture as the background image.
  • the picture matching the background of the taken photo and the location may be matched, and the unmatched picture is pushed to the user. Selecting, so that the user can clearly know the untaken sights, and then choose to use it as the background of the photograph or go to the attraction to visit and shoot; in addition, due to the limitation of the terminal screen, if all the information related to the location information is associated The pictures are displayed, which may cause confusion on the screen of the terminal. Users also need to select photos of the spots that are not taken in multiple photos, which is not conducive to the user's experience. Only the pictures of unrecorded spots are displayed, which can be displayed on the screen of the terminal. It is more tidy and clear, and it is convenient for users to choose.
  • the matching unit 210 searches for a picture matching the input key information from the network database or the local database for the obtaining unit 202 to acquire.
  • the user can search for and select a desired background picture according to his own needs.
  • the keyword "Tiananmen" can be used to search for images related to Tiananmen. It avoids the choice of multiple images in the local or network and consumes a large amount of user selection time, which is beneficial to enhance the user experience.
  • the method further includes: an image fusion unit 212, when the plurality of pictures are matched according to the plurality of different key information, respectively, the plurality of pictures are merged to obtain the background picture.
  • the user can customize the content in the background picture and the distribution pattern between different contents. It is beneficial to meet the different operational needs of users and enhance the fun of user operations.
  • the user may divide the terminal screen into multiple regions, and input different key information in different regions, and search for multiple images according to multiple different key information input by the user. Process to get the corresponding background image. For example, the user divides the search area of the terminal screen into four areas, enters the keyword "tree” in area one, "character” in area two, "road” in area three, and "flowers" in area four.
  • the four images can be merged according to the location of the region set by the user, to obtain the background image desired by the user, and the generated background image will include “trees” and characters. " ", "road” and “flowers”, of course, the user can select one of the multiple images searched for each keyword as the image associated with the keyword. In this case, you can also add various areas to the above. A picture that matches a keyword is used as a background image. It is not necessary to perform image fusion processing to reduce the waiting time of the user.
  • the method further includes: a first feature extraction unit 214, performing background feature extraction on the captured photo, the captured scene image captured by the camera, or the background image; the second pushing unit 216, from the local database Or searching for a picture matching the background feature in the network database, and pushing the matched picture to the user.
  • background feature extraction is performed on the photograph taken, the captured scene image captured by the camera in real time or the background image selected by the user, and the image matching the background feature is searched from the local database or the network database.
  • these matched pictures can be used as sample pictures, so that the user can intuitively know the different shooting methods (such as shooting angle, shooting skills, etc.) of multiple pictures that match the background features.
  • the shooting effect allows the user to select the optimal shooting method for taking pictures.
  • an optimal shooting image and/or corresponding shooting skill associated with the background feature may be pushed, thereby enabling the user to take a sample and/or Take the appropriate shooting skills to get the best shots.
  • the method further includes: a second feature extraction unit 218, performing background feature extraction on the captured photo, the captured scene image captured by the camera, or the background image; the prompting unit 220, according to the background feature An iconic background associated with the background feature is prompted.
  • the background feature extraction is performed on the captured photo, the captured scene image captured by the camera in real time or the background image selected by the user, and the iconic background associated with the background feature is prompted, so that the user can directly select
  • the iconic background of the tip is taken as a background image.
  • the user may be dissatisfied with the background of the captured picture.
  • the iconic background of the prompt may be selected to replace the background of the captured picture, thereby obtaining an optimal picture;
  • the iconic background associated with the background feature may be prompted according to the shooting scene captured by the camera.
  • the iconic background of the prompt may also be directly selected as the shooting background.
  • the terminal can also prompt the iconic background associated with the background feature in the background image, so that the user can select the most Excellent background picture, so as to get the best shot, in addition, after seeing the iconic background of the current attraction, the user can guide the user to the iconic building of the current attraction to take photos.
  • the method further includes: a third feature extraction unit 222, before the capturing instruction is received and after the camera of the terminal captures the captured scene image, extracting the foreground image from the captured scene image;
  • the image processing unit 224 synthesizes the framing image according to the foreground image and the background image, for the image generating unit 204 Generating the photo; displaying unit, displaying a framing image synthesized by the image processing unit on a framing interface of the terminal.
  • the captured scene image can be understood as a real-time image captured by the terminal camera after the camera is activated and before the shutter is pressed. In this scheme, the captured image of the captured scene is stored, and the foreground image is extracted from the captured scene map.
  • the foreground image can be understood as the protagonist in the image of the shooting scene.
  • the current shooting scene is a child singing on the stage, then the child is the foreground image, and the child singing on the stage is the scene image.
  • the framing image is an image that is subjected to image processing before being pressed and displayed on the terminal display screen.
  • the background of the stage is replaced with a beach, and the synthesized image is that the child sings on the beach.
  • the image can be displayed for the user to refer to whether the image is suitable, such as whether the mobile terminal is needed, adjusting the shooting parameters, etc. If appropriate, the user can press the shutter to generate a photo of the child singing on the beach after pressing the shutter.
  • the foreground image is extracted from the shooting scene, and the framing image synthesized by the foreground image and the background image is displayed on the terminal framing interface, so that the user can see that the foreground image is selected when photographing.
  • the position in the background picture so that the user can select the optimal shooting angle, so that the processed view image can be displayed on the terminal display to ensure the best taken picture.
  • the user can select among the plurality of foreground images.
  • the user can also firstly capture the image of the scene. Select the foreground image that needs to be extracted, and then extract it to reduce the process of extracting the foreground image.
  • the display unit 226 is further configured to display, when the foreground in the shooting scene moves relative to the terminal, display the movement of the foreground image relative to the background image on the framing interface. process.
  • the user can adjust the specific position of the foreground image in the background image during shooting, thereby selecting the optimal shooting angle. To ensure the best possible photo.
  • displaying the moving process of the foreground image relative to the background image on the framing interface also enables the user to experience the authenticity of the shooting scene, which is beneficial to enhance the user experience.
  • the terminal display For example, if the child sings on the stage, the child's image on the beach is displayed on the terminal display. If the user feels that the child's position is wrong, the terminal can be moved, and the image layout change can be displayed in real time on the display screen. User-friendly.
  • the method further includes: a fourth feature extraction unit 228, after receiving the shooting instruction, extracting the foreground image from a captured scene image captured by a camera of the terminal;
  • the generating unit 204 is further configured to generate the photo synthesized by the foreground image and the background image.
  • the real-time shooting scene is displayed on the terminal framing interface, and the photo synthesized by the foreground image and the background image is displayed after the shooting is completed, so that the terminal puts the fusion processing of the image after the shooting is completed, which is beneficial to lowering the terminal.
  • the processing load of the processor during the framing process is beneficial to lowering the terminal.
  • the terminal interface displays the image of the child singing on the stage.
  • a picture of the child singing at the beach is generated.
  • the foreground image is obtained by face recognition detection or obtained according to a user selection.
  • the detection is directly performed by the face recognition technology, without the user manually selecting, which simplifies the user's operation process.
  • the selection box can be displayed on multiple foreground images to facilitate the user to select and improve the user's operating experience.
  • the photographing parameter is configured according to the environment data.
  • the environment parameters of the terminal are acquired, and the camera parameters of the terminal are configured according to the environment data, so that the terminal can automatically configure the camera parameters according to the detected environmental parameters, such as the light intensity, without requiring the user to manually enter
  • the line setting realizes the intelligentization of the photographing process. Specifically, if the photographing mode previously used by the user is the "standard" mode, and the user needs to take a photo at night, the terminal can automatically set the "night scene” mode according to the detected light intensity and the like without requiring the user to manually call up the setting. The interface, and then the cumbersome process of selecting the framing mode, enhances the user experience.
  • the terminal may prompt the user to reconfigure the camera parameter by popping up a prompt window, etc., so that the user can select according to the need.
  • the background image obtained by using the method in this manner may be saved to the cloud storage space corresponding to the local terminal or the terminal, so that the user can directly search for the local or corresponding terminal when the photo is taken through the terminal and the photo background needs to be replaced.
  • the cloud can get the required background image, which reduces the time spent searching the background image in the network, which is convenient for the user to choose.
  • FIG. 3A to 3J A schematic diagram of a terminal photographing interface according to an embodiment of the present invention will be described in detail below with reference to Figs. 3A to 3J.
  • 3A through 3J are diagrams showing a terminal photographing interface according to an embodiment of the present invention.
  • the terminal according to an embodiment of the present invention may be a smartphone terminal having a photographing function, a tablet, a camera, or the like.
  • the function of the cloud service 302 can be turned on in the setting interface, so as to obtain the background image from the network when taking a photo.
  • the cloud background 304 mode can be selected so that the background image acquired from the network can be taken as the background of the photographed photograph when photographing.
  • the picture in the network may be actively or passively searched by the terminal to obtain a background picture desired by the user.
  • the terminal in this embodiment may not set the function of the cloud service 302 (as shown in FIG. 3A), and only needs the user to store the background image to be used in advance in the local storage space of the terminal.
  • the cloud background 304 (as shown in FIG. 3B) mode may not be set, and a mode such as "custom background" may be set. When the user selects this mode, the photo can be customized when taking a photo. Background
  • the picture to be selected 306 can be displayed as a background on the terminal screen, and the user can select the picture as the background picture for taking the picture.
  • the to-be-selected picture 306 displayed on the terminal screen may be a picture in the terminal local storage space or the corresponding cloud storage space, or may be a picture acquired through the network.
  • the photo including the background picture 308 and the foreground image 312 is displayed on the terminal screen 310.
  • the image processing method of the terminal can include the following two implementation modes:
  • the foreground image 312 and the background image 310 are simultaneously displayed on the interface of the terminal, and when the foreground image 312 in the shooting scene moves relative to the terminal, the moving process of the foreground image 312 with respect to the background image 308 is displayed on the framing interface of the terminal.
  • the specific implementation method of the embodiment is: after starting the camera of the terminal, capturing the captured scene image, extracting the foreground image 312 from the captured scene image; and displaying the foreground image 312 and the background image 308 at the framing interface of the photographing terminal. Framing image for generating photo 310
  • the child represented by the foreground image 312 takes a picture at the seaside.
  • the foreground image 312 can be extracted and the background picture 308 can be directly displayed on the current terminal.
  • the terminal can be moved, and the change of the image layout can be displayed in real time on the display screen, which is convenient for the user to refer to.
  • the movement process of the foreground image 312 relative to the background image can also be displayed on the background image displayed on the current interface.
  • This embodiment allows the user to see the position of the foreground image 312 in the selected background image 308 when taking a picture, thereby allowing the user to select the optimal shooting angle to ensure optimal shots.
  • a real-time shooting scene is displayed, and after the shooting is completed, a picture 310 in which the foreground image 312 and the background image 308 are combined is displayed.
  • the specific method of this embodiment is as follows: After receiving the shooting instruction, capture The captured scene image is taken, the foreground image 312 is extracted from the captured scene image, and after the shooting is completed, the photo 310 synthesized by the foreground image 312 and the background image 308 is displayed.
  • the child represented by the foreground image 312 takes a picture at the seaside. If it is necessary to replace the seaside background with the content displayed by the background image 308, the foreground image 312 can be extracted. The foreground image is still displayed on the terminal interface. 3 12 The scene at the seaside, but when the user presses the shutter, after the shooting is completed, the photo of the foreground image 312 and the background image 308 is displayed on the terminal interface.
  • the terminal puts the fusion processing of the picture after the shooting is completed, which reduces the processing load of the processor in the framing process and reduces power consumption.
  • the extracted foreground image 312 is obtained by face recognition detection, or is selected according to the user.
  • the detection is directly performed by the face recognition technology, and the user does not need to manually select, which simplifies the user's operation process.
  • FIG. 3E there are a plurality of foreground images in the shooting scene, as shown in FIG. 3E, there are foreground images 312, trash cans 314, and iron towers 316 in the shooting scene, which can be selected by the user at the time of selection, and can be A selection box is displayed on each of the foreground images for selection.
  • the picture associated with the location information is pushed according to the detected location information, so that the user can intuitively know the landmark location of the location, such as the landmark building of the location, when the user is not visiting.
  • the picture of the attraction may also be used as the background of the photo; in addition, as shown in FIG. 3F, the detailed address information of the attraction in the picture may also be displayed on the pushed picture 318.
  • 320 if the user needs to visit the iconic attraction of the location, the specific location of the iconic attraction can be found according to the address information 320 on the pushed picture, and the user is not missed from the location and misses the attraction.
  • the location information can be displayed directly or hidden in advance, and displayed when the user operates the image 318 through a preset gesture (e.g., when swiping to the right).
  • a picture that does not match the background pattern in the photo taken by the terminal may be selected from the picture associated with the location information as the pushed background picture. So that the user can clearly know the unphotographed attractions, and then choose to use it as the background of the photo or go to the attraction to visit and shoot; In addition, due to the limitation of the terminal screen, if all the pictures associated with the location information are Displayed, it may cause confusion on the screen of the terminal. Users also need to select photos of the spots that are not taken in multiple photos, which is not conducive to the user's experience. Only the pictures of unrecorded spots can be displayed, which can make the display on the terminal screen more tidy. Clear, convenient for the user's choice.
  • the user has taken 5 photos in the Summer Palace.
  • the 5 photos were taken at the 5 attractions of the Summer Palace.
  • the cloud server will push the Summer Palace to the user according to the feature information and location information of the photos taken by the user.
  • the user can find the corresponding spots according to the photos pushed, or take photos directly with the photos as the background pictures.
  • the user can search for a picture matching the input key information from the network database or the local database as a background picture.
  • the keyword "Tiananmen” can be used to search for images related to Tiananmen, which avoids the choice of multiple images in the local or network and takes a lot of user selection time.
  • the user can also match multiple images according to a plurality of different key information, and combine multiple images to obtain a background image.
  • the terminal search interface 322 can be divided into four areas, the keyword “sun” is input in area one, “big mountain” is input in area two, and “tree” is input in area three, in area four. Enter “Road” inside, then when searching for the corresponding four images, you can combine the four images according to the location of the area set by the user to get the background image that the user needs.
  • the user can be in each keyword. One of the multiple images searched for is selected as the image associated with the keyword.
  • the background pictures 324 and 326 are background pictures searched according to the above search method, and the user can select one of them as the background for taking a picture.
  • the terminal may perform background feature extraction on the captured photo, the captured scene image captured by the camera in real time, or the background image selected by the user, and search from the local database or the network database to match the background feature.
  • Optimal shots 328 and/or corresponding shooting techniques allow the user to take shots based on the shot 328 and/or corresponding shooting techniques for optimal shooting.
  • the terminal may also prompt an iconic background (not shown) associated with the extracted background feature, and the user may directly select the iconic background of the prompt as the background image for shooting.
  • the user may be dissatisfied with the background of the captured picture.
  • the iconic background of the prompt may be selected to replace the background of the captured picture, thereby obtaining an optimal picture;
  • the iconic background associated with the background feature may be prompted according to the shooting scene captured by the camera.
  • the iconic background of the prompt may also be directly selected as the shooting background. Shooting for optimal shooting results;
  • the terminal can also prompt the iconic background associated with the background feature in the background image, so that the user can select the most Excellent background image for optimal photo taking.
  • the terminal can also automatically configure the camera parameters when detecting changes in its own environment parameters, without the need for the user to manually set up, and realize the intelligentization of the photographing process. Specifically, if the photographing mode previously used by the user is the "standard" mode, and the user needs to take a photo at night, the terminal can automatically set the "night scene” mode according to the detected light intensity and the like without requiring the user to manually call up the setting. The interface, and then the cumbersome process of selecting the framing mode, enhances the user experience. Certainly, when the terminal detects that the environment parameter changes, the user may also prompt the user to switch to the night scene mode by popping up the prompt window 330 as shown in FIG. 3J. If the user selects “OK”, the terminal switches the shooting mode to the night scene. mode.
  • the background image obtained by using the method in this manner may be saved to the cloud storage space corresponding to the local terminal or the terminal, so that the user can directly search for the local or corresponding terminal when the photo is taken through the terminal and the photo background needs to be replaced.
  • the cloud can get the required background image, which reduces the time spent searching the background image in the network, which is convenient for the user to choose.
  • a program product (not shown) stored on a non-transitory machine readable medium for image processing, the program product comprising for causing a computer system to execute
  • the following steps are machine executable instructions: obtaining a background image; after receiving the shooting instruction, generating a photo with the background image as a background.
  • a nonvolatile machine readable medium storing a program product (not shown) for image processing, the program product comprising a computer system for performing the following steps
  • the machine executable instruction acquires a background image; after receiving the shooting instruction, generates a photo with the background image as a background.
  • a machine readable program (not shown) for causing a machine to perform the image processing method according to any one of the above aspects.
  • a storage medium (not shown) storing a machine readable program, wherein the machine readable program causes the machine to perform any of the technical solutions described above Image processing method.
  • the technical solution of the present invention is described in detail above with reference to the accompanying drawings. It is considered that in the related art, the user cannot customize the background of the photo during the photographing process, and can only be modified by the image modifying tool, such as Photoshop, after the photographing is completed. The use of image modification tools requires relevant expertise, which is difficult for the average user to use. Therefore, the present invention provides an image processing method and a terminal.
  • the user can customize the background of the photographing when taking a photo, without using a professional image processing tool to perform a photo background after the photographing is completed. Modification, the photo background can be replaced or modified during the shooting process, which enhances the user's photo experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Circuits (AREA)
  • Image Processing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本发明提供了一种图像处理方法和一种终端,其中,所述图像处理方法包括:获取背景图片;在接收到拍摄指令后,生成以所述背景图片为背景的照片。通过本发明的技术方案,可以在拍照时自定义拍照的背景,并且自动对照片背景进行处理,提升了用户的拍照体验。

Description

说 明 书
图像处理方法和终端
技术领域
本发明涉及图像处理技术领域, 具体而言, 涉及一种图像处理方法和一种终端。 背景技术
在相关技术中, 拍摄的照片背景是在拍照时直接获取的, 如果用户需要对照片的背景进 行更换, 需要在拍照之后通过 Photoshop等工具进行修改。
用户在拍照时无法自定义背景, 只能在拍照之后再对照片进行修改, 操作过程的繁瑣影 响了用户的体验。 此外, 对于图像的修改工具例如 Photoshop , 需要具备相关的专业知识才能 正常使用, 对于一般用户来说, 使用起来比较困难。
因此, 如何方便地在拍照时自动更换照片的背景成为亟待解决的技术问题。 发明内容
本发明正是基于上述技术问题, 提出了一种新的图像处理方案, 可以在拍照时自定义拍 照的背景, 自动对照片背景进行处理。
有鉴于此, 本发明提出了一种图像处理方法, 包括: 获取背景图片; 在接收到拍摄指令 后, 生成以所述背景图片为背景的照片。
在该技术方案中, 通过获取背景图片, 并在接收到拍摄指令后, 生成以上述背景图片为 背景的照片, 使得用户在拍照时可以自定义拍照的背景, 无需在拍摄完成之后使用专业的图 像处理工具进行照片背景的修改, 方便了用户的操作, 提升了用户的拍照体验。 具体来说, 获取的背景图片可以是终端本地存储空间或对应的云存储空间中的图片, 也可以是通过网络 获取的图片。
在上述技术方案中, 优选地, 所述获取背景图片的步骤包括: 根据拍摄终端的位置信息 推送与所述位置信息相关联的图片, 将所述相关联的图片作为所述背景图片。
具体来说, 例如用户在旅游期间, 通过推送与拍摄终端的位置信息相关联的图片, 使得 用户可以直观地得知所在位置的标志性景点, 例如所在位置的标志性建筑等, 当用户未参观 该景点时, 也可以将该景点的图片作为拍照的背景; 此外, 在推送的图片上也可以显示出该 图片中的景点的详细地址信息, 若用户需要到所在位置的标志性景点参观, 则可以根据推送 的图片上的地址信息找到该标志性景点的具体位置, 避免了用户对所在位置不了解而错过该 景点, 有利于提升用户的体验。
在上述技术方案中, 优选地, 所述获取背景图片的步骤还包括: 从所述相关联的图片中 选取出与所述拍摄终端已拍摄照片中的背景图样不匹配的图片, 将提取的图片作为所述背景 图片。
在该技术方案中, 若用户已经拍摄过所在位置的一张或多张图片, 则可以通过将已拍照 片的背景与所在位置相关联的图片相匹配, 并将不匹配的图片推送给用户进行选择, 使得用 户可以清楚的得知未拍摄的景点, 从而选择将其作为拍照的背景或者前去该景点进行参观并 拍摄; 此外, 由于终端屏幕的限制, 若将与所在位置信息相关联的所有图片都显示出来, 可 能造成终端屏幕显示的混乱, 用户也需要在多张照片中选择没有拍摄的景点照片, 不利于用 户的体验, 而只显示未拍摄景点的图片, 可以使终端屏幕上的显示更加整洁、 清楚, 方便了 用户的选择。 在上述技术方案中, 优选地, 所述获取背景图片的步骤包括: 从网络数据库或本地数据 库中搜索出与输入的关键信息匹配的图片, 将匹配的图片作为所述背景图片。
在该技术方案中, 通过从网络数据库或本地数据库中搜索出与输入的关键信息匹配的图 片, 并将匹配的图片作为背景图片, 可以使用户根据自己的需求搜索并选择所需的背景图 片, 例如可以通过关键字 "天安门" 搜索与天安门相关的图片, 避免了在本地或网络中的多 张图片中进行选择而耗费用户大量的选择时间, 有利于提升用户的体验。
在上述技术方案中, 优选地, 在分别根据多个不同的关键信息匹配出多张图片时, 将所 述多张图片进行融合处理, 以得到所述背景图片。
在该技术方案中, 通过将根据多个不同的关键信息匹配出的多张图片进行融合处理, 以 作为背景图片, 使得用户可以自定义背景图片中的内容, 以及不同内容之间的分布格局, 有 利于满足用户不同的操作需求, 提升了用户操作的趣味性。 具体来说, 用户在进行搜索时, 可以将终端屏幕划分为多个区域, 并在不同的区域中分别输入不同的关键信息, 根据用户输 入的多个不同关键信息将搜索到多张图片进行融合处理, 以得到相应的背景图片。 例如用户 将终端屏幕的搜索区域划分为四个区域, 在区域一里面输入关键字 "树木" , 在区域二里面 输入 "人物" , 在区域三里面输入 "道路" , 在区域四里面输入 "花丛" , 则在分别搜索到 相应的四张图片时, 可以按照用户设置的区域位置, 将四张图片进行融合处理, 以得到用户 需要的背景图片, 生成的该背景图片将包括 "树木" 、 人物" 、 "道路" 以及 "花丛" , 当 然用户可以在每个关键字搜索到的多张图片中选择一张作为与该关键字相关联的图片。 此 夕卜, 也可以将各个区域与上述多个关键字相匹配的一张图片作为背景图片, 不必进行图片的 融合处理, 以缩减用户等待的时间。
在上述技术方案中, 优选地, 还包括: 对已拍摄的照片、 摄像头捕获的拍摄场景图像或 所述背景图片进行背景特征提取; 从本地数据库或网络数据库中搜索出与所述背景特征相匹 配的图片, 并将相匹配的图片推送给用户。
在该技术方案中, 通过对已拍摄的照片、 摄像头实时捕获的拍摄场景图像或用户已选的 背景图片进行背景特征提取, 并从本地数据库或网络数据库中搜索出与该背景特征相匹配的 图片, 在拍摄时, 可将匹配出的这些图片作为样图, 使得用户可以直观地得知与该背景特征 相匹配的多张图片的不同拍摄方法 (例如拍摄角度、 拍摄技巧等) 而得到的不同拍摄效果, 从而使得用户能够选择最优的拍摄方法进行拍照。 进一步地, 在推送与提取出的背景特征相 匹配的图片时, 可以推送与该背景特征相关联的最优的拍摄样图和 /或相应的拍摄技巧, 从而 使得用户根据拍摄样图和 /或相应的拍摄技巧进行拍摄, 以得到最优的拍摄效果。
在上述技术方案中, 优选地, 还包括: 对已拍摄的照片、 摄像头捕获的拍摄场景图像或 所述背景图片进行背景特征提取; 根据所述背景特征提示与所述背景特征相关联的标志性背 景。
在该技术方案中, 通过对已拍摄的照片、 摄像头实时捕获的拍摄场景图像或用户已选的 背景图片进行背景特征提取, 并提示与该背景特征相关联的标志性背景, 使得用户可以直接 选择提示的标志性背景作为背景图片进行拍摄。 具体来说, 用户在查看已拍摄的图片时, 可 能对已拍摄图片的背景不满意, 此时可以选择提示的标志性背景来替换已拍摄图片的背景, 从而得到最优的图片; 另一方面, 用户在实时进行拍摄时, 可以根据摄像头捕获的拍摄场景 提示与背景特征相关联的标志性背景, 在用户摄像头捕获的拍摄场景不满意时, 也可以直接 选择提示的标志性背景作为拍摄背景进行拍摄, 以得到最优的拍摄效果; 此外, 在用户选择 了一张图片作为背景图片进行拍摄时, 终端也可以提示与该背景图片中的背景特征相关联的 标志性背景, 以使用户选择最优的背景图片, 从而得到最优的拍摄照片, 除此之外, 用户在 看到当前景点的标志性背景之后, 可引导用户到达当前景点的标志性建筑处进行拍照。 在上述技术方案中, 优选地, 在接收到拍摄指令之前还包括: 在启动拍摄终端的摄像头 之后, 捕获拍摄场景图像, 从所述拍摄场景图像中提取出前景图像; 在所述拍摄终端的取景 界面显示由所述前景图像和所述背景图片合成的取景图像, 以供生成所述照片。
拍摄场景图像可理解为在启动摄像头之后且在按下快门之前, 终端摄像头所捕获的实时 图像, 在该方案中, 会存储捕获的摄像场景图像, 并从该摄像场景图中提取出前景图像。 前 景图像可以理解为是该拍摄场景图像中的主角, 例如当前拍摄场景是一个小孩在舞台上唱 歌, 那么小孩就是前景图像, 小孩在舞台上唱歌的画面即拍摄场景图像。 取景图像是在按下 快门之前经过图像处理后并在终端显示屏上进行显示的图像, 例如将小孩该前景图像提取之 后, 将舞台该背景替换成海滩, 合成的图像即小孩在海滩上唱歌, 该图像能够被显示, 供用 户参考该图像是否合适, 如是否需要移动终端、 调整拍摄参数等, 若合适, 则用户可按下快 门, 在按下快门之后, 生成小孩在海滩上唱歌的照片。
在该技术方案中, 通过从拍摄场景中提取出前景图像, 并在终端取景界面上显示由该前 景图像和背景图片合成的取景图像, 使得用户在拍照时就可以看到该前景图像在选择的背景 图片中的位置, 从而使得用户可以选择最优的拍摄角度, 因此, 在终端显示屏上能够显示经 过处理的取景图像, 以确保得到最优的拍摄照片。 具体来说, 在从拍摄场景图像中提取出前 景图像时, 若拍摄场景图像中存在多个前景图像, 用户可以在多个前景图像中进行选择, 当 然, 用户也可以在拍摄场景的图像中先选择需要提取的前景图像, 然后再进行提取, 以减少 提取前景图像的过程。
在上述技术方案中, 优选地, 在所述拍摄场景中的前景相对所述拍摄终端移动时, 在所 述取景界面上显示所述前景图像相对所述背景图片的移动过程。
在该技术方案中, 通过在取景界面上显示前景图像相对于背景图片的移动过程, 使得用 户在拍摄时, 可以对前景图像在背景图片中的具体位置进行调整, 从而选择最佳的拍摄角 度, 以确保得到最优的拍摄照片。 此外, 在取景界面上显示前景图像相对于背景图片的移动 过程, 也使得用户能够体验到拍摄场景的真实性, 有利于提升用户的体验。
继续以小孩在舞台上唱歌为例, 在终端显示屏上显示小孩在海滩上唱歌的图像, 若用户 觉得小孩的位置不对, 则可移动终端, 那么在显示屏上能够实时显示图像布局的变化, 便于 用户参考。
在上述技术方案中, 优选地, 在接收到所述拍摄指令之后, 捕获拍摄场景图像, 从所述 拍摄场景图像中提取出所述前景图像; 显示由所述前景图像和所述背景图片合成的所述照 片。
在该技术方案中, 通过在终端取景界面显示实时的拍摄场景, 并在拍摄完成之后显示由 前景图像和背景图片合成的照片, 使得终端将图片的融合处理放在拍摄完成之后, 有利于降 低终端在取景过程中处理器的处理负担。
以小孩在舞台上唱歌为例, 小孩是前景图像, 舞台是背景图像, 此时需要将背景图像舞 台换成海边, 在按下快门之前, 终端界面上显示的是小孩在舞台上唱歌的图像, 当按下快门 之后, 生成了小孩在海边唱歌的图片。
在上述技术方案中, 优选地, 所述前景图像通过人脸识别检测得到或根据用户选取得 到。
在该技术方案中, 具体地, 可以在拍摄场景中的前景图像比较单一时, 直接通过人脸识 别技术进行检测, 而无需用户手动进行选择, 简化了用户的操作过程。 在拍摄场景中的前景 图像存在多个时, 可以在多个前景图像上分别显示出选择框, 以方便用户进行选择, 提升了 用户的操作体验。
在上述技术方案中, 优选地, 在启动终端的摄像头之后, 获取所述终端的环境数据, 根 据所述环境数据配置拍照参数。 在该技术方案中, 通过获取终端的环境数据, 并根据环境数据配置终端的拍照参数, 使 得终端可以根据检测到的环境参数, 例如光线强度等, 自动配置拍照参数, 无需用户手动进 行设置, 实现了拍照过程的智能化。 具体来说, 若用户之前使用的拍照模式是 "标准" 模 式, 而用户在需要夜晚拍照时, 终端可以根据检测到的光线强度等参数自动设置为 "夜景" 模式, 而无需用户手动调出设置界面, 再选择取景模式的繁瑣过程, 提升了用户的体验。 当 然, 在终端检测到环境参数发生变化时, 也可以通过弹出提示窗口等方式提示用户是否重新 配置拍照参数, 以便用户根据需要进行选择。
本发明中通过各种方式获取的背景图片可以保存至终端本地或终端对应的云存储空间 中, 以使用户在通过终端进行拍照并需要更换照片背景时, 可以直接通过搜索终端本地或对 应的云端以得到需要的背景图片, 缩减了在网络中搜索背景图片耗费的时间, 方便了用户的 选择。
根据本发明的另一方面, 还提出了一种终端, 包括: 获取单元, 用于获取背景图片; 图 像生成单元, 连接至所述获取单元, 用于在接收到拍摄指令后, 生成以所述背景图片为背景 的照片。
在该技术方案中, 通过获取背景图片, 并在接收到拍摄指令后, 生成以上述背景图片为 背景的照片, 使得用户在拍照时可以自定义拍照的背景, 无需在拍摄完成之后使用专业的图 像处理工具进行照片背景的修改, 方便了用户的操作, 提升了用户的拍照体验。 具体来说, 获取的背景图片可以是终端本地存储空间或对应的云存储空间中的图片, 也可以是通过网络 获取的图片。
在上述技术方案中, 优选地, 还包括: 第一推送单元, 连接至所述获取单元, 根据所述 终端的位置信息推送与所述位置信息相关联的图片, 以供所述获取单元获取。
具体来说, 例如用户在旅游期间, 通过推送与拍摄终端的位置信息相关联的图片, 使得 用户可以直观地得知所在位置的标志性景点, 例如所在位置的标志性建筑等, 当用户未参观 该景点时, 也可以将该景点的图片作为拍照的背景; 此外, 在推送的图片上也可以显示出该 图片中的景点的详细地址信息, 若用户需要到所在位置的标志性景点参观, 则可以根据推送 的图片上的地址信息找到该标志性景点的具体位置, 避免了用户对所在位置不了解而错过该 景点, 有利于提升用户的体验。
在上述技术方案中, 优选地, 还包括: 选取单元, 从所述相关联的图片中选取出与所述 终端已拍摄照片中的背景图样不匹配的图片, 将提取的图片作为所述背景图片。
在该技术方案中, 若用户已经拍摄过所在位置的一张或多张图片, 则可以通过将已拍照 片的背景与所在位置相关联的图片相匹配, 并将不匹配的图片推送给用户进行选择, 使得用 户可以清楚的得知未拍摄的景点, 从而选择将其作为拍照的背景或者前去该景点进行参观并 拍摄; 此外, 由于终端屏幕的限制, 若将与所在位置信息相关联的所有图片都显示出来, 可 能造成终端屏幕显示的混乱, 用户也需要在多张照片中选择没有拍摄的景点照片, 不利于用 户的体验, 而只显示未拍摄景点的图片, 可以使终端屏幕上的显示更加整洁、 清楚, 方便了 用户的选择。
在上述技术方案中, 优选地, 还包括: 匹配单元, 从网络数据库或本地数据库中搜索出 与输入的关键信息匹配的图片, 以供所述获取单元获取。
在该技术方案中, 通过从网络数据库或本地数据库中搜索出与输入的关键信息匹配的图 片, 并将匹配的图片作为背景图片, 可以使用户根据自己的需求搜索并选择所需的背景图 片, 例如可以通过关键字 "天安门" 搜索与天安门相关的图片, 避免了在本地或网络中的多 张图片中进行选择而耗费用户大量的选择时间, 有利于提升用户的体验。
在上述技术方案中, 优选地, 还包括: 图像融合单元, 在分别根据多个不同的关键信息 匹配出多张图片时, 将所述多张图片进行融合处理, 以得到所述背景图片。 在该技术方案中, 通过将根据多个不同的关键信息匹配出的多张图片进行融合处理, 以 作为背景图片, 使得用户可以自定义背景图片中的内容, 以及不同内容之间的分布格局, 有 利于满足用户不同的操作需求, 提升了用户操作的趣味性。 具体来说, 用户在进行搜索时, 可以将终端屏幕划分为多个区域, 并在不同的区域中分别输入不同的关键信息, 根据用户输 入的多个不同关键信息将搜索到多张图片进行融合处理, 以得到相应的背景图片。 例如用户 将终端屏幕的搜索区域划分为四个区域, 在区域一里面输入关键字 "树木" , 在区域二里面 输入 "人物" , 在区域三里面输入 "道路" , 在区域四里面输入 "花丛" , 则在分别搜索到 相应的四张图片时, 可以按照用户设置的区域位置, 将四张图片进行融合处理, 以得到用户 需要的背景图片, 生成的该背景图片将包括 "树木" 、 人物" 、 "道路" 以及 "花丛" , 当 然用户可以在每个关键字搜索到的多张图片中选择一张作为与该关键字相关联的图片。 此 夕卜, 也可以将各个区域与上述多个关键字相匹配的一张图片作为背景图片, 不必进行图片的 融合处理, 以缩减用户等待的时间。
在上述技术方案中, 优选地, 还包括: 第一特征提取单元, 对已拍摄的照片、 摄像头捕 获的拍摄场景图像或所述背景图片进行背景特征提取; 第二推送单元, 从本地数据库或网络 数据库中搜索出与所述背景特征相匹配的图片, 并将相匹配的图片推送给用户。
在该技术方案中, 通过对已拍摄的照片、 摄像头实时捕获的拍摄场景图像或用户已选的 背景图片进行背景特征提取, 并从本地数据库或网络数据库中搜索出与该背景特征相匹配的 图片, 在拍摄时, 可将匹配出的这些图片作为样图, 使得用户可以直观地得知与该背景特征 相匹配的多张图片的不同拍摄方法 (例如拍摄角度、 拍摄技巧等) 而得到的不同拍摄效果, 从而使得用户能够选择最优的拍摄方法进行拍照。 进一步地, 在推送与提取出的背景特征相 匹配的图片时, 可以推送与该背景特征相关联的最优的拍摄样图和 /或相应的拍摄技巧, 从而 使得用户根据拍摄样图和 /或相应的拍摄技巧进行拍摄, 以得到最优的拍摄效果。
在上述技术方案中, 优选地, 还包括: 第二特征提取单元, 对已拍摄的照片、 摄像头捕 获的拍摄场景图像或所述背景图片进行背景特征提取; 提示单元, 根据所述背景特征提示与 所述背景特征相关联的标志性背景。
在该技术方案中, 通过对已拍摄的照片、 摄像头实时捕获的拍摄场景图像或用户已选的 背景图片进行背景特征提取, 并提示与该背景特征相关联的标志性背景, 使得用户可以直接 选择提示的标志性背景作为背景图片进行拍摄。 具体来说, 用户在查看已拍摄的图片时, 可 能对已拍摄图片的背景不满意, 此时可以选择提示的标志性背景来替换已拍摄图片的背景, 从而得到最优的图片; 另一方面, 用户在实时进行拍摄时, 可以根据摄像头捕获的拍摄场景 提示与背景特征相关联的标志性背景, 在用户摄像头捕获的拍摄场景不满意时, 也可以直接 选择提示的标志性背景作为拍摄背景进行拍摄, 以得到最优的拍摄效果; 此外, 在用户选择 了一张图片作为背景图片进行拍摄时, 终端也可以提示与该背景图片中的背景特征相关联的 标志性背景, 以使用户选择最优的背景图片, 从而得到最优的拍摄照片, 除此之外, 用户在 看到当前景点的标志性背景之后, 可引导用户到达当前景点的标志性建筑处进行拍照。
在上述技术方案中, 优选地, 还包括: 第三特征提取单元, 在接收到拍摄指令之前且在 所述终端的摄像头捕获拍摄场景图像后, 从所述拍摄场景图像中提取出前景图像; 图像处理 单元, 根据所述前景图像和所述背景图片合成取景图像, 以供所述图像生成单元生成所述照 片; 显示单元, 在所述终端的取景界面显示所述图像处理单元合成的取景图像。
拍摄场景图像可理解为在启动摄像头之后且在按下快门之前, 终端摄像头所捕获的实时 图像, 在该方案中, 会存储捕获的摄像场景图像, 并从该摄像场景图中提取出前景图像。 前 景图像可以理解为是该拍摄场景图像中的主角, 例如当前拍摄场景是一个小孩在舞台上唱 歌, 那么小孩就是前景图像, 小孩在舞台上唱歌的画面即拍摄场景图像。 取景图像是在按下 快门之前经过图像处理后并在终端显示屏上进行显示的图像, 例如将小孩该前景图像提取之 后, 将舞台该背景替换成海滩, 合成的图像即小孩在海滩上唱歌, 该图像能够被显示, 供用 户参考该图像是否合适, 如是否需要移动终端、 调整拍摄参数等, 若合适, 则用户可按下快 门, 在按下快门之后, 生成小孩在海滩上唱歌的照片。
在该技术方案中, 通过从拍摄场景中提取出前景图像, 并在终端取景界面上显示由该前 景图像和背景图片合成的取景图像, 使得用户在拍照时就可以看到该前景图像在选择的背景 图片中的位置, 从而使得用户可以选择最优的拍摄角度, 因此, 在终端显示屏上能够显示经 过处理的取景图像, 以确保得到最优的拍摄照片。 具体来说, 在从拍摄场景图像中提取出前 景图像时, 若拍摄场景图像中存在多个前景图像, 用户可以在多个前景图像中进行选择, 当 然, 用户也可以在拍摄场景的图像中先选择需要提取的前景图像, 然后再进行提取, 以减少 提取前景图像的过程。
在上述技术方案中, 优选地, 所述显示单元还用于在所述拍摄场景中的前景相对所述终 端移动时, 在所述取景界面上显示所述前景图像相对所述背景图片的移动过程。
在该技术方案中, 通过在取景界面上显示前景图像相对于背景图片的移动过程, 使得用 户在拍摄时, 可以对前景图像在背景图片中的具体位置进行调整, 从而选择最佳的拍摄角 度, 以确保得到最优的拍摄照片。 此外, 在取景界面上显示前景图像相对于背景图片的移动 过程, 也使得用户能够体验到拍摄场景的真实性, 有利于提升用户的体验。
继续以小孩在舞台上唱歌为例, 在终端显示屏上显示小孩在海滩上唱歌的图像, 若用户 觉得小孩的位置不对, 则可移动终端, 那么在显示屏上能够实时显示图像布局的变化, 便于 用户参考。
在上述技术方案中, 优选地, 还包括: 第四特征提取单元, 在接收到所述拍摄指令之 后, 从所述终端的摄像头捕获的拍摄场景图像中提取出所述前景图像; 所述图像生成单元还 用于生成由所述前景图像和所述背景图片合成的所述照片。
在该技术方案中, 通过在终端取景界面显示实时的拍摄场景, 并在拍摄完成之后显示由 前景图像和背景图片合成的照片, 使得终端将图片的融合处理放在拍摄完成之后, 有利于降 低终端在取景过程中处理器的处理负担。
以小孩在舞台上唱歌为例, 小孩是前景图像, 舞台是背景图像, 此时需要将背景图像舞 台换成海边, 在按下快门之前, 终端界面上显示的是小孩在舞台上唱歌的图像, 当按下快门 之后, 生成了小孩在海边唱歌的图片。
在上述技术方案中, 优选地, 所述前景图像通过人脸识别检测得到或根据用户选取得 到。
在该技术方案中, 具体地, 可以在拍摄场景中的前景图像比较单一时, 直接通过人脸识 别技术进行检测, 而无需用户手动进行选择, 简化了用户的操作过程。 在拍摄场景中的前景 图像存在多个时, 可以在多个前景图像上分别显示出选择框, 以方便用户进行选择, 提升了 用户的操作体验。
在上述技术方案中, 优选地, 在启动终端的摄像头之后, 获取所述终端的环境数据, 根 据所述环境数据配置拍照参数。
在该技术方案中, 通过获取终端的环境数据, 并根据环境数据配置终端的拍照参数, 使 得终端可以根据检测到的环境参数, 例如光线强度等, 自动配置拍照参数, 无需用户手动进 行设置, 实现了拍照过程的智能化。 具体来说, 若用户之前使用的拍照模式是 "标准" 模 式, 而用户在需要夜晚拍照时, 终端可以根据检测到的光线强度等参数自动设置为 "夜景" 模式, 而无需用户手动调出设置界面, 再选择取景模式的繁瑣过程, 提升了用户的体验。 当 然, 在终端检测到环境参数发生变化时, 也可以通过弹出提示窗口等方式提示用户是否重新 配置拍照参数, 以便用户根据需要进行选择。 通过以上技术方案, 可以使用户在拍照时自定义拍照的背景, 无需在拍摄完成之后使用 专业的图像处理工具进行照片背景的修改, 方便了用户的操作, 提升了用户的拍照体验。
根据本发明的又一方面, 还提供了一种存储在非易失性机器可读介质上的程序产品, 用 于图像处理, 所述程序产品包括用于使计算机系统执行以下步骤的机器可执行指令: 获取背 景图片; 在接收到拍摄指令后, 生成以所述背景图片为背景的照片。
根据本发明的又一方面, 还提供了一种非易失机器可读介质, 存储有用于图像处理的程 序产品, 所述程序产品包括用于使计算机系统执行以下步骤的机器可执行指令: 获取背景图 片; 在接收到拍摄指令后, 生成以所述背景图片为背景的照片。
根据本发明的再一方面, 还提供了一种机器可读程序, 所述程序使机器执行如上所述技 术方案中任一所述的图像处理方法。
根据本发明的再一方面, 还提供了一种存储有机器可读程序的存储介质, 其中, 所述机 器可读程序使得机器执行如上所述技术方案中任一所述的图像处理方法。 附图说明
图 1示出了根据本发明的实施例的图像处理方法的示意流程图;
图 2示出了根据本发明的实施例的终端的示意框图;
图 3A至图 3J示出了根据本发明的实施例的终端拍照界面的示意图。 具体实施方式
为了能够更清楚地理解本发明的上述目的、 特征和优点, 下面结合附图和具体实施方式 对本发明进行进一步的详细描述。 需要说明的是, 在不冲突的情况下, 本申请的实施例及实 施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本发明, 但是, 本发明还可以采用 其他不同于在此描述的其他方式来实施, 因此, 本发明的保护范围并不受下面公开的具体实 施例的限制。
图 1示出了根据本发明的实施例的图像处理方法的示意流程图。
如图 1 所示, 根据本发明的实施例的图像处理方法, 包括: 步骤 102, 获取背景图片; 步骤 104, 在接收到拍摄指令后, 生成以所述背景图片为背景的照片。
在该技术方案中, 通过获取背景图片, 并在接收到拍摄指令后, 生成以上述背景图片为 背景的照片, 使得用户在拍照时可以自定义拍照的背景, 无需在拍摄完成之后使用专业的图 像处理工具进行照片背景的修改, 方便了用户的操作, 提升了用户的拍照体验。 具体来说, 获取的背景图片可以是终端本地存储空间或对应的云存储空间中的图片, 也可以是通过网络 获取的图片。
在上述技术方案中, 优选地, 所述获取背景图片的步骤包括: 根据拍摄终端的位置信息 推送与所述位置信息相关联的图片, 将所述相关联的图片作为所述背景图片。
具体来说, 例如用户在旅游期间, 通过推送与拍摄终端的位置信息相关联的图片, 使得 用户可以直观地得知所在位置的标志性景点, 例如所在位置的标志性建筑等, 当用户未参观 该景点时, 也可以将该景点的图片作为拍照的背景; 此外, 在推送的图片上也可以显示出该 图片中的景点的详细地址信息, 若用户需要到所在位置的标志性景点参观, 则可以根据推送 的图片上的地址信息找到该标志性景点的具体位置, 避免了用户对所在位置不了解而错过该 景点, 有利于提升用户的体验。
在上述技术方案中, 优选地, 所述获取背景图片的步骤还包括: 从所述相关联的图片中 选取出与所述拍摄终端已拍摄照片中的背景图样不匹配的图片, 将提取的图片作为所述背景 图片。 在该技术方案中, 若用户已经拍摄过所在位置的一张或多张图片, 则可以通过将已拍照 片的背景与所在位置相关联的图片相匹配, 并将不匹配的图片推送给用户进行选择, 使得用 户可以清楚的得知未拍摄的景点, 从而选择将其作为拍照的背景或者前去该景点进行参观并 拍摄; 此外, 由于终端屏幕的限制, 若将与所在位置信息相关联的所有图片都显示出来, 可 能造成终端屏幕显示的混乱, 用户也需要在多张照片中选择没有拍摄的景点照片, 不利于用 户的体验, 而只显示未拍摄景点的图片, 可以使终端屏幕上的显示更加整洁、 清楚, 方便了 用户的选择。
在上述技术方案中, 优选地, 所述获取背景图片的步骤包括: 从网络数据库或本地数据 库中搜索出与输入的关键信息匹配的图片, 将匹配的图片作为所述背景图片。
在该技术方案中, 通过从网络数据库或本地数据库中搜索出与输入的关键信息匹配的图 片, 并将匹配的图片作为背景图片, 可以使用户根据自己的需求搜索并选择所需的背景图 片, 例如可以通过关键字 "天安门" 搜索与天安门相关的图片, 避免了在本地或网络中的多 张图片中进行选择而耗费用户大量的选择时间, 有利于提升用户的体验。
在上述技术方案中, 优选地, 在分别根据多个不同的关键信息匹配出多张图片时, 将所 述多张图片进行融合处理, 以得到所述背景图片。
在该技术方案中, 通过将根据多个不同的关键信息匹配出的多张图片进行融合处理, 以 作为背景图片, 使得用户可以自定义背景图片中的内容, 以及不同内容之间的分布格局, 有 利于满足用户不同的操作需求, 提升了用户操作的趣味性。 具体来说, 用户在进行搜索时, 可以将终端屏幕划分为多个区域, 并在不同的区域中分别输入不同的关键信息, 根据用户输 入的多个不同关键信息将搜索到多张图片进行融合处理, 以得到相应的背景图片。 例如用户 将终端屏幕的搜索区域划分为四个区域, 在区域一里面输入关键字 "树木" , 在区域二里面 输入 "人物" , 在区域三里面输入 "道路" , 在区域四里面输入 "花丛" , 则在分别搜索到 相应的四张图片时, 可以按照用户设置的区域位置, 将四张图片进行融合处理, 以得到用户 需要的背景图片, 生成的该背景图片将包括 "树木" 、 人物" 、 "道路" 以及 "花丛" , 当 然用户可以在每个关键字搜索到的多张图片中选择一张作为与该关键字相关联的图片。 此 夕卜, 也可以将各个区域与上述多个关键字相匹配的一张图片作为背景图片, 不必进行图片的 融合处理, 以缩减用户等待的时间。
在上述技术方案中, 优选地, 还包括: 对已拍摄的照片、 摄像头捕获的拍摄场景图像或 所述背景图片进行背景特征提取; 从本地数据库或网络数据库中搜索出与所述背景特征相匹 配的图片, 并将相匹配的图片推送给用户。
在该技术方案中, 通过对已拍摄的照片、 摄像头实时捕获的拍摄场景图像或用户已选的 背景图片进行背景特征提取, 并从本地数据库或网络数据库中搜索出与该背景特征相匹配的 图片, 在拍摄时, 可将匹配出的这些图片作为样图, 使得用户可以直观地得知与该背景特征 相匹配的多张图片的不同拍摄方法 (例如拍摄角度、 拍摄技巧等) 而得到的不同拍摄效果, 从而使得用户能够选择最优的拍摄方法进行拍照。 进一步地, 在推送与提取出的背景特征相 匹配的图片时, 可以推送与该背景特征相关联的最优的拍摄样图和 /或相应的拍摄技巧, 从而 使得用户根据拍摄样图和 /或相应的拍摄技巧进行拍摄, 以得到最优的拍摄效果。
在上述技术方案中, 优选地, 还包括: 对已拍摄的照片、 摄像头捕获的拍摄场景图像或 所述背景图片进行背景特征提取; 根据所述背景特征提示与所述背景特征相关联的标志性背 景。
在该技术方案中, 通过对已拍摄的照片、 摄像头实时捕获的拍摄场景图像或用户已选的 背景图片进行背景特征提取, 并提示与该背景特征相关联的标志性背景, 使得用户可以直接 选择提示的标志性背景作为背景图片进行拍摄。 具体来说, 用户在查看已拍摄的图片时, 可 能对已拍摄图片的背景不满意, 此时可以选择提示的标志性背景来替换已拍摄图片的背景, 从而得到最优的图片; 另一方面, 用户在实时进行拍摄时, 可以根据摄像头捕获的拍摄场景 提示与背景特征相关联的标志性背景, 在用户摄像头捕获的拍摄场景不满意时, 也可以直接 选择提示的标志性背景作为拍摄背景进行拍摄, 以得到最优的拍摄效果; 此外, 在用户选择 了一张图片作为背景图片进行拍摄时, 终端也可以提示与该背景图片中的背景特征相关联的 标志性背景, 以使用户选择最优的背景图片, 从而得到最优的拍摄照片, 除此之外, 用户在 看到当前景点的标志性背景之后, 可引导用户到达当前景点的标志性建筑处进行拍照。
在上述技术方案中, 优选地, 在接收到拍摄指令之前还包括: 在启动拍摄终端的摄像头 之后, 捕获拍摄场景图像, 从所述拍摄场景图像中提取出前景图像; 在所述拍摄终端的取景 界面显示由所述前景图像和所述背景图片合成的取景图像, 以供生成所述照片。
拍摄场景图像可理解为在启动摄像头之后且在按下快门之前, 终端摄像头所捕获的实时 图像, 在该方案中, 会存储捕获的摄像场景图像, 并从该摄像场景图中提取出前景图像。 前 景图像可以理解为是该拍摄场景图像中的主角, 例如当前拍摄场景是一个小孩在舞台上唱 歌, 那么小孩就是前景图像, 小孩在舞台上唱歌的画面即拍摄场景图像。 取景图像是在按下 快门之前经过图像处理后并在终端显示屏上进行显示的图像, 例如将小孩该前景图像提取之 后, 将舞台该背景替换成海滩, 合成的图像即小孩在海滩上唱歌, 该图像能够被显示, 供用 户参考该图像是否合适, 如是否需要移动终端、 调整拍摄参数等, 若合适, 则用户可按下快 门, 在按下快门之后, 生成小孩在海滩上唱歌的照片。
在该技术方案中, 通过从拍摄场景中提取出前景图像, 并在终端取景界面上显示由该前 景图像和背景图片合成的取景图像, 使得用户在拍照时就可以看到该前景图像在选择的背景 图片中的位置, 从而使得用户可以选择最优的拍摄角度, 因此, 在终端显示屏上能够显示经 过处理的取景图像, 以确保得到最优的拍摄照片。 具体来说, 在从拍摄场景图像中提取出前 景图像时, 若拍摄场景图像中存在多个前景图像, 用户可以在多个前景图像中进行选择, 当 然, 用户也可以在拍摄场景的图像中先选择需要提取的前景图像, 然后再进行提取, 以减少 提取前景图像的过程。
在上述技术方案中, 优选地, 在所述拍摄场景中的前景相对所述拍摄终端移动时, 在所 述取景界面上显示所述前景图像相对所述背景图片的移动过程。
在该技术方案中, 通过在取景界面上显示前景图像相对于背景图片的移动过程, 使得用 户在拍摄时, 可以对前景图像在背景图片中的具体位置进行调整, 从而选择最佳的拍摄角 度, 以确保得到最优的拍摄照片。 此外, 在取景界面上显示前景图像相对于背景图片的移动 过程, 也使得用户能够体验到拍摄场景的真实性, 有利于提升用户的体验。
继续以小孩在舞台上唱歌为例, 在终端显示屏上显示小孩在海滩上唱歌的图像, 若用户 觉得小孩的位置不对, 则可移动终端, 那么在显示屏上能够实时显示图像布局的变化, 便于 用户参考。
在上述技术方案中, 优选地, 在接收到所述拍摄指令之后, 捕获拍摄场景图像, 从所述 拍摄场景图像中提取出所述前景图像; 显示由所述前景图像和所述背景图片合成的所述照 片。
在该技术方案中, 通过在终端取景界面显示实时的拍摄场景, 并在拍摄完成之后显示由 前景图像和背景图片合成的照片, 使得终端将图片的融合处理放在拍摄完成之后, 有利于降 低终端在取景过程中处理器的处理负担。
以小孩在舞台上唱歌为例, 小孩是前景图像, 舞台是背景图像, 此时需要将背景图像舞 台换成海边, 在按下快门之前, 终端界面上显示的是小孩在舞台上唱歌的图像, 当按下快门 之后, 生成了小孩在海边唱歌的图片。
在上述技术方案中, 优选地, 所述前景图像通过人脸识别检测得到或根据用户选取得 到。 在该技术方案中, 具体地, 可以在拍摄场景中的前景图像比较单一时, 直接通过人脸识 别技术进行检测, 而无需用户手动进行选择, 简化了用户的操作过程。 在拍摄场景中的前景 图像存在多个时, 可以在多个前景图像上分别显示出选择框, 以方便用户进行选择, 提升了 用户的操作体验。
在上述技术方案中, 优选地, 在启动终端的摄像头之后, 获取所述终端的环境数据, 根 据所述环境数据配置拍照参数。
在该技术方案中, 通过获取终端的环境数据, 并根据环境数据配置终端的拍照参数, 使 得终端可以根据检测到的环境参数, 例如光线强度等, 自动配置拍照参数, 无需用户手动进 行设置, 实现了拍照过程的智能化。 具体来说, 若用户之前使用的拍照模式是 "标准" 模 式, 而用户在需要夜晚拍照时, 终端可以根据检测到的光线强度等参数自动设置为 "夜景" 模式, 而无需用户手动调出设置界面, 再选择取景模式的繁瑣过程, 提升了用户的体验。 当 然, 在终端检测到环境参数发生变化时, 也可以通过弹出提示窗口等方式提示用户是否重新 配置拍照参数, 以便用户根据需要进行选择。
本实施例中通过各种方式获取的背景图片可以保存至终端本地或终端对应的云存储空间 中, 以使用户在通过终端进行拍照并需要更换照片背景时, 可以直接通过搜索终端本地或对 应的云端以得到需要的背景图片, 缩减了在网络中搜索背景图片耗费的时间, 方便了用户的 选择。
图 2示出了根据本发明的实施例的终端的示意框图。 如图 2所示, 根据本发明的实施例 的终端 200, 包括: 获取单元 202, 用于获取背景图片; 图像生成单元 204, 连接至所述获取 单元 202, 用于在接收到拍摄指令后, 生成以所述背景图片为背景的照片。
在该技术方案中, 通过获取背景图片, 并在接收到拍摄指令后, 生成以上述背景图片为 背景的照片, 使得用户在拍照时可以自定义拍照的背景, 无需在拍摄完成之后使用专业的图 像处理工具进行照片背景的修改, 方便了用户的操作, 提升了用户的拍照体验。 具体来说, 获取的背景图片可以是终端本地存储空间或对应的云存储空间中的图片, 也可以是通过网络 获取的图片。
在上述技术方案中, 优选地, 还包括: 第一推送单元 206, 连接至所述获取单元 202, 根 据所述终端的位置信息推送与所述位置信息相关联的图片, 以供所述获取单元 202获取。
具体来说, 例如用户在旅游期间, 通过推送与拍摄终端的位置信息相关联的图片, 使得 用户可以直观地得知所在位置的标志性景点, 例如所在位置的标志性建筑等, 当用户未参观 该景点时, 也可以将该景点的图片作为拍照的背景; 此外, 在推送的图片上也可以显示出该 图片中的景点的详细地址信息, 若用户需要到所在位置的标志性景点参观, 则可以根据推送 的图片上的地址信息找到该标志性景点的具体位置, 避免了用户对所在位置不了解而错过该 景点, 有利于提升用户的体验。
在上述技术方案中, 优选地, 还包括: 选取单元 208, 从所述相关联的图片中选取出与 所述终端已拍摄照片中的背景图样不匹配的图片, 将提取的图片作为所述背景图片。
在该技术方案中, 若用户已经拍摄过所在位置的一张或多张图片, 则可以通过将已拍照 片的背景与所在位置相关联的图片相匹配, 并将不匹配的图片推送给用户进行选择, 使得用 户可以清楚的得知未拍摄的景点, 从而选择将其作为拍照的背景或者前去该景点进行参观并 拍摄; 此外, 由于终端屏幕的限制, 若将与所在位置信息相关联的所有图片都显示出来, 可 能造成终端屏幕显示的混乱, 用户也需要在多张照片中选择没有拍摄的景点照片, 不利于用 户的体验, 而只显示未拍摄景点的图片, 可以使终端屏幕上的显示更加整洁、 清楚, 方便了 用户的选择。
在上述技术方案中, 优选地, 还包括: 匹配单元 210, 从网络数据库或本地数据库中搜 索出与输入的关键信息匹配的图片, 以供所述获取单元 202获取。 在该技术方案中, 通过从网络数据库或本地数据库中搜索出与输入的关键信息匹配的图 片, 并将匹配的图片作为背景图片, 可以使用户根据自己的需求搜索并选择所需的背景图 片, 例如可以通过关键字 "天安门" 搜索与天安门相关的图片, 避免了在本地或网络中的多 张图片中进行选择而耗费用户大量的选择时间, 有利于提升用户的体验。
在上述技术方案中, 优选地, 还包括: 图像融合单元 212, 在分别根据多个不同的关键 信息匹配出多张图片时, 将所述多张图片进行融合处理, 以得到所述背景图片。
在该技术方案中, 通过将根据多个不同的关键信息匹配出的多张图片进行融合处理, 以 作为背景图片, 使得用户可以自定义背景图片中的内容, 以及不同内容之间的分布格局, 有 利于满足用户不同的操作需求, 提升了用户操作的趣味性。 具体来说, 用户在进行搜索时, 可以将终端屏幕划分为多个区域, 并在不同的区域中分别输入不同的关键信息, 根据用户输 入的多个不同关键信息将搜索到多张图片进行融合处理, 以得到相应的背景图片。 例如用户 将终端屏幕的搜索区域划分为四个区域, 在区域一里面输入关键字 "树木" , 在区域二里面 输入 "人物" , 在区域三里面输入 "道路" , 在区域四里面输入 "花丛" , 则在分别搜索到 相应的四张图片时, 可以按照用户设置的区域位置, 将四张图片进行融合处理, 以得到用户 需要的背景图片, 生成的该背景图片将包括 "树木" 、 人物" 、 "道路" 以及 "花丛" , 当 然用户可以在每个关键字搜索到的多张图片中选择一张作为与该关键字相关联的图片。 此 夕卜, 也可以将各个区域与上述多个关键字相匹配的一张图片作为背景图片, 不必进行图片的 融合处理, 以缩减用户等待的时间。
在上述技术方案中, 优选地, 还包括: 第一特征提取单元 214, 对已拍摄的照片、 摄像 头捕获的拍摄场景图像或所述背景图片进行背景特征提取; 第二推送单元 216, 从本地数据 库或网络数据库中搜索出与所述背景特征相匹配的图片, 并将相匹配的图片推送给用户。
在该技术方案中, 通过对已拍摄的照片、 摄像头实时捕获的拍摄场景图像或用户已选的 背景图片进行背景特征提取, 并从本地数据库或网络数据库中搜索出与该背景特征相匹配的 图片, 在拍摄时, 可将匹配出的这些图片作为样图, 使得用户可以直观地得知与该背景特征 相匹配的多张图片的不同拍摄方法 (例如拍摄角度、 拍摄技巧等) 而得到的不同拍摄效果, 从而使得用户能够选择最优的拍摄方法进行拍照。 进一步地, 在推送与提取出的背景特征相 匹配的图片时, 可以推送与该背景特征相关联的最优的拍摄样图和 /或相应的拍摄技巧, 从而 使得用户根据拍摄样图和 /或相应的拍摄技巧进行拍摄, 以得到最优的拍摄效果。
在上述技术方案中, 优选地, 还包括: 第二特征提取单元 218, 对已拍摄的照片、 摄像 头捕获的拍摄场景图像或所述背景图片进行背景特征提取; 提示单元 220, 根据所述背景特 征提示与所述背景特征相关联的标志性背景。
在该技术方案中, 通过对已拍摄的照片、 摄像头实时捕获的拍摄场景图像或用户已选的 背景图片进行背景特征提取, 并提示与该背景特征相关联的标志性背景, 使得用户可以直接 选择提示的标志性背景作为背景图片进行拍摄。 具体来说, 用户在查看已拍摄的图片时, 可 能对已拍摄图片的背景不满意, 此时可以选择提示的标志性背景来替换已拍摄图片的背景, 从而得到最优的图片; 另一方面, 用户在实时进行拍摄时, 可以根据摄像头捕获的拍摄场景 提示与背景特征相关联的标志性背景, 在用户摄像头捕获的拍摄场景不满意时, 也可以直接 选择提示的标志性背景作为拍摄背景进行拍摄, 以得到最优的拍摄效果; 此外, 在用户选择 了一张图片作为背景图片进行拍摄时, 终端也可以提示与该背景图片中的背景特征相关联的 标志性背景, 以使用户选择最优的背景图片, 从而得到最优的拍摄照片, 除此之外, 用户在 看到当前景点的标志性背景之后, 可引导用户到达当前景点的标志性建筑处进行拍照。
在上述技术方案中, 优选地, 还包括: 第三特征提取单元 222, 在接收到拍摄指令之前 且在所述终端的摄像头捕获拍摄场景图像后, 从所述拍摄场景图像中提取出前景图像; 图像 处理单元 224, 根据所述前景图像和所述背景图片合成取景图像, 以供所述图像生成单元 204 生成所述照片; 显示单元, 在所述终端的取景界面显示所述图像处理单元合成的取景图像。 拍摄场景图像可理解为在启动摄像头之后且在按下快门之前, 终端摄像头所捕获的实时 图像, 在该方案中, 会存储捕获的摄像场景图像, 并从该摄像场景图中提取出前景图像。 前 景图像可以理解为是该拍摄场景图像中的主角, 例如当前拍摄场景是一个小孩在舞台上唱 歌, 那么小孩就是前景图像, 小孩在舞台上唱歌的画面即拍摄场景图像。 取景图像是在按下 快门之前经过图像处理后并在终端显示屏上进行显示的图像, 例如将小孩该前景图像提取之 后, 将舞台该背景替换成海滩, 合成的图像即小孩在海滩上唱歌, 该图像能够被显示, 供用 户参考该图像是否合适, 如是否需要移动终端、 调整拍摄参数等, 若合适, 则用户可按下快 门, 在按下快门之后, 生成小孩在海滩上唱歌的照片。
在该技术方案中, 通过从拍摄场景中提取出前景图像, 并在终端取景界面上显示由该前 景图像和背景图片合成的取景图像, 使得用户在拍照时就可以看到该前景图像在选择的背景 图片中的位置, 从而使得用户可以选择最优的拍摄角度, 因此, 在终端显示屏上能够显示经 过处理的取景图像, 以确保得到最优的拍摄照片。 具体来说, 在从拍摄场景图像中提取出前 景图像时, 若拍摄场景图像中存在多个前景图像, 用户可以在多个前景图像中进行选择, 当 然, 用户也可以在拍摄场景的图像中先选择需要提取的前景图像, 然后再进行提取, 以减少 提取前景图像的过程。
在上述技术方案中, 优选地, 所述显示单元 226 还用于在所述拍摄场景中的前景相对所 述终端移动时, 在所述取景界面上显示所述前景图像相对所述背景图片的移动过程。
在该技术方案中, 通过在取景界面上显示前景图像相对于背景图片的移动过程, 使得用 户在拍摄时, 可以对前景图像在背景图片中的具体位置进行调整, 从而选择最佳的拍摄角 度, 以确保得到最优的拍摄照片。 此外, 在取景界面上显示前景图像相对于背景图片的移动 过程, 也使得用户能够体验到拍摄场景的真实性, 有利于提升用户的体验。
继续以小孩在舞台上唱歌为例, 在终端显示屏上显示小孩在海滩上唱歌的图像, 若用户 觉得小孩的位置不对, 则可移动终端, 那么在显示屏上能够实时显示图像布局的变化, 便于 用户参考。
在上述技术方案中, 优选地, 还包括: 第四特征提取单元 228, 在接收到所述拍摄指令 之后, 从所述终端的摄像头捕获的拍摄场景图像中提取出所述前景图像; 所述图像生成单元 204还用于生成由所述前景图像和所述背景图片合成的所述照片。
在该技术方案中, 通过在终端取景界面显示实时的拍摄场景, 并在拍摄完成之后显示由 前景图像和背景图片合成的照片, 使得终端将图片的融合处理放在拍摄完成之后, 有利于降 低终端在取景过程中处理器的处理负担。
以小孩在舞台上唱歌为例, 小孩是前景图像, 舞台是背景图像, 此时需要将背景图像舞 台换成海边, 在按下快门之前, 终端界面上显示的是小孩在舞台上唱歌的图像, 当按下快门 之后, 生成了小孩在海边唱歌的图片。
在上述技术方案中, 优选地, 所述前景图像通过人脸识别检测得到或根据用户选取得 到。
在该技术方案中, 具体地, 可以在拍摄场景中的前景图像比较单一时, 直接通过人脸识 别技术进行检测, 而无需用户手动进行选择, 简化了用户的操作过程。 在拍摄场景中的前景 图像存在多个时, 可以在多个前景图像上分别显示出选择框, 以方便用户进行选择, 提升了 用户的操作体验。
在上述技术方案中, 优选地, 在启动终端的摄像头之后, 获取所述终端的环境数据, 根 据所述环境数据配置拍照参数。
在该技术方案中, 通过获取终端的环境数据, 并根据环境数据配置终端的拍照参数, 使 得终端可以根据检测到的环境参数, 例如光线强度等, 自动配置拍照参数, 无需用户手动进 行设置, 实现了拍照过程的智能化。 具体来说, 若用户之前使用的拍照模式是 "标准" 模 式, 而用户在需要夜晚拍照时, 终端可以根据检测到的光线强度等参数自动设置为 "夜景" 模式, 而无需用户手动调出设置界面, 再选择取景模式的繁瑣过程, 提升了用户的体验。 当 然, 在终端检测到环境参数发生变化时, 也可以通过弹出提示窗口等方式提示用户是否重新 配置拍照参数, 以便用户根据需要进行选择。
本实施例中通过各种方式获取的背景图片可以保存至终端本地或终端对应的云存储空间 中, 以使用户在通过终端进行拍照并需要更换照片背景时, 可以直接通过搜索终端本地或对 应的云端以得到需要的背景图片, 缩减了在网络中搜索背景图片耗费的时间, 方便了用户的 选择。
下面结合图 3A至图 3J详细说明根据本发明的实施例的终端拍摄界面的示意图。
图 3A至图 3J示出了根据本发明的实施例的终端拍照界面的示意图。
根据本发明的实施例的终端可以是具有拍摄功能的智能手机终端、 平板电脑、 照相机等 终端。
如图 3A 所示, 当终端启动拍照功能后, 在设置界面可以开启云服务 302 的功能, 以便 在拍照时从网络中获取背景图片。 如图 3B 所示, 在选择取景模式时, 可以选择云背景 304 模式, 以便在拍照时可以将从网络中获取的背景图片作为拍摄照片的背景。
在本实施例中, 可以通过终端主动或被动地搜索网络中的图片, 以获取用户所需的背景 图片。 本领域的技术人员应该理解为, 本实施例的终端也可以不设置云服务 302 (如图 3A所 示) 的功能, 只需用户在终端的本地存储空间中事先存储需要使用的背景图片即可。 当然, 在取景模式中, 也可以不设置云背景 304 (如图 3B所示) 模式, 而可以设置例如 "自定义背 景" 的模式等, 当用户选择此模式后, 可以在拍照时自定义拍照的背景
如图 3C所示, 用户在拍照时, 在终端屏幕上显示出可以作为背景的待选择图片 306, 此 时用户可以选择其中的图片作为拍摄照片的背景图片。 具体地, 在终端屏幕上显示出的待选 择图片 306 可以是终端本地存储空间或对应的云存储空间中的图片, 也可以是通过网络获取 的图片。
如图 3D所示, 当用户选择了待选择图片 306 (图 3C所示) 中的背景图片 308, 并拍摄 完成之后, 在终端屏幕上显示出包含有背景图片 308和前景图像 312的照片 310
在进行拍摄时, 终端的图像处理方式可以包含有以下两种实施方式:
实施方式一
在终端的界面上同时显示出前景图像 312 和背景图片 310, 并且在拍摄场景中的前景图 像 312相对终端移动时, 在终端的取景界面上显示前景图像 312相对背景图片 308的移动过 程。 此种实施方式的具体实施方法为, 在启动终端的摄像头之后, 捕获拍摄场景图像, 从拍 摄场景图像中提取出前景图像 312; 在拍摄终端的取景界面显示由前景图像 312 和背景图片 308合成的取景图像, 以供生成照片 310
如图 3D 所示, 前景图像 312 所表示的小孩在海边进行拍照, 为了将海边背景替换为背 景图片 308显示的内容, 可以将前景图像 312提取出来, 并直接将背景图片 308显示在当前 终端的显示界面上作为前景图像 312 的背景, 若用户觉得前景图像 312 的位置不对, 则可移 动终端, 那么在显示屏上能够实时显示图像布局的变化, 便于用户参考。 而且也可以在当前 界面所显示的背景图片上, 显示前景图像 312相对于背景图片的移动过程。
此实施方式使得用户在拍照时就可以看到前景图像 312 在选择的背景图片 308 中的位 置, 从而使得用户可以选择最优的拍摄角度, 以确保得到最优的拍摄照片。
实施方式二
在终端进行拍摄时, 显示的是实时的拍摄场景, 在拍摄完成之后, 显示出前景图像 312 与背景图片 308 合成的图片 310。 此种实施方式的具体方法为: 在接收到拍摄指令之后, 捕 获拍摄场景图像, 从拍摄场景图像中提取出前景图像 312, 拍摄完成之后, 显示由前景图像 312和背景图片 308合成的照片 310
如图 3D 所示, 前景图像 312 所表示的小孩在海边进行拍照, 若此时需要将海边背景替 换为背景图片 308显示的内容, 则可以将前景图像 312提取出来。 在终端界面上显示的依然 是前景图像 3 12 在海边的场景, 但是当用户按下快门, 拍摄完成之后, 在终端界面上显示的 是前景图像 312与背景图片 308合成的照片 3 10
此实施方式使得终端将图片的融合处理放在拍摄完成之后, 降低了终端在取景过程中处 理器的处理负担, 减少功耗。
上述两种实时方式中, 提取出的前景图像 312 是通过人脸识别检测得到的, 或根据用户 选取得到。 具体来说, 在拍摄场景中的前景图像比较单一 (例如只存在前景图像 312 ) 时, 直接通过人脸识别技术进行检测, 而无需用户手动进行选择, 简化了用户的操作过程。 在拍 摄场景中的前景图像存在多个时, 如图 3E 所示, 在拍摄场景中存在前景图像 312、 垃圾桶 314和铁塔 316, 此时可以由用户进行选择, 在选择时, 可以通过在多个前景图像上分别显示 选择框以进行选择。
在终端屏幕上显示的背景图片的获取方式也可以包括以下几种实施方式:
实施方式一
根据终端的位置信息搜索网络中的图片, 并将搜索到的图片推送给用户进行选择。
例如在用户旅游期间, 根据检测到的位置信息推送与该位置信息相关联的图片, 使得用 户可以直观地得知所在位置的标志性景点, 如所在位置的标志性建筑等, 当用户在未参观该 景点时当用户未参观该景点时, 也可以将该景点的图片作为拍照的背景; 此外, 如图 3F 所 示, 在推送的图片 318 上也可以显示出该图片中的景点的详细地址信息 320, 若用户需要到 所在位置的标志性景点参观时, 可以根据推送的图片上的地址信息 320 找到该标志性景点的 具体位置, 避免了用户对所在位置不了解而错过该景点。 该位置信息可以直接显示出来, 也 可以事先隐藏起来, 在用户通过预设的手势 (例如向右滑动时) 对图片 318 进行操作时, 再 显示出来。
优选地, 可以从与上述位置信息相关联的图片中选取出与终端已拍摄照片中的背景图样 不匹配的图片作为推送的背景图片。 使得用户可以清楚的得知未拍摄的景点, 从而选择将其 作为拍照的背景或者前去该景点进行参观并拍摄; 此外, 由于终端屏幕的限制, 若将与所在 位置信息相关联的所有图片都显示出来, 可能造成终端屏幕显示的混乱, 用户也需要在多张 照片中选择没有拍摄的景点照片, 不利于用户的体验, 而只显示未拍摄景点的图片, 可以使 终端屏幕上的显示更加整洁、 清楚, 方便了用户的选择。 例如用户在颐和园已经拍摄了 5 张 照片, 该 5 张照片分别在颐和园的 5 个景点拍摄得到, 这时, 云服务端会根据用户所拍摄的 照片中景点特征信息和位置信息向用户推送颐和园的其余景点的照片, 供用户参考, 用户可 根据推送的照片找到相应的景点, 或直接以该推送的照片为背景图片进行拍照。
实施方式二
用户可以从网络数据库或本地数据库中搜索出与输入的关键信息匹配的图片作为背景图 片。 例如可以通过关键字 "天安门" 搜索与天安门相关的图片, 避免了在本地或网络中的多 张图片中进行选择而耗费用户大量的选择时间。
当然, 用户也可以根据多个不同的关键信息匹配出多张图片, 将多张图片进行融合处 理, 以得到背景图片。 如图 3G 所示, 可以将终端搜索界面 322 划分为四个区域, 在区域一 里面输入关键字 "太阳" , 在区域二里面输入 "大山" , 在区域三里面输入 "树木" , 在区 域四里面输入 "道路" , 则在分别搜索到相应的四张图片时, 可以按照用户设置的区域位 置, 将四张图片进行融合处理, 以得到用户需要的背景图片, 当然用户可以在每个关键字搜 索到的多张图片中选择一张作为与该关键字相关联的图片。 此外, 也可以将各个区域与上述 多个关键字相匹配的一张图片作为背景图片, 不必进行图片的融合处理, 以缩减用户等待的 时间。 如图 3H所示, 背景图片 324和 326为根据上述搜索方式搜索到的背景图片, 用户可 以选择其一作为拍摄照片的背景。
如图 31所示, 终端可以通过对已拍摄的照片、 摄像头实时捕获的拍摄场景图像或用户已 选的背景图片进行背景特征提取, 并从本地数据库或网络数据库中搜索出与该背景特征相匹 配最优的拍摄样图 328 和 /或相应的拍摄技巧, 从而使得用户根据拍摄样图 328 和 /或相应的 拍摄技巧进行拍摄, 以得到最优的拍摄效果。
此外, 终端还可以提示与提取出的背景特征相关联的标志性背景 (图中未示出) , 使用 户可以直接选择提示的标志性背景作为背景图片进行拍摄。 具体来说, 用户在查看已拍摄的 图片时, 可能对已拍摄图片的背景不满意, 此时可以选择提示的标志性背景来替换已拍摄图 片的背景, 从而得到最优的图片; 另一方面, 用户在实时进行拍摄时, 可以根据摄像头捕获 的拍摄场景提示与背景特征相关联的标志性背景, 在用户摄像头捕获的拍摄场景不满意时, 也可以直接选择提示的标志性背景作为拍摄背景进行拍摄, 以得到最优的拍摄效果; 此外, 在用户选择了一张图片作为背景图片进行拍摄时, 终端也可以提示与该背景图片中的背景特 征相关联的标志性背景, 以使用户选择最优的背景图片, 从而得到最优的拍摄照片。
终端也可以在检测到自身环境参数变化时, 自动配置拍照参数, 无需用户手动进行设 置, 实现了拍照过程的智能化。 具体来说, 若用户之前使用的拍照模式是 "标准" 模式, 而 用户在需要夜晚拍照时, 终端可以根据检测到的光线强度等参数自动设置为 "夜景" 模式, 而无需用户手动调出设置界面, 再选择取景模式的繁瑣过程, 提升了用户的体验。 当然, 在 终端检测到环境参数发生变化时, 也可以通过如图 3J所示的弹出提示窗口 330的方式提示用 户是否切换至夜景模式, 若用户选择 "确定" , 则终端将拍摄模式切换至夜景模式。
本实施例中通过各种方式获取的背景图片可以保存至终端本地或终端对应的云存储空间 中, 以使用户在通过终端进行拍照并需要更换照片背景时, 可以直接通过搜索终端本地或对 应的云端以得到需要的背景图片, 缩减了在网络中搜索背景图片耗费的时间, 方便了用户的 选择。
根据本发明的实施方式, 还提供了一种存储在非易失性机器可读介质上的程序产品 (图 中未示出) , 用于图像处理, 所述程序产品包括用于使计算机系统执行以下步骤的机器可执 行指令: 获取背景图片; 在接收到拍摄指令后, 生成以所述背景图片为背景的照片。
根据本发明的实施方式, 还提供了一种非易失机器可读介质, 存储有用于图像处理的程 序产品 (图中未示出) , 所述程序产品包括用于使计算机系统执行以下步骤的机器可执行指 令: 获取背景图片; 在接收到拍摄指令后, 生成以所述背景图片为背景的照片。
根据本发明的实施方式, 还提供了一种机器可读程序 (图中未示出) , 所述程序使机器 执行如上所述技术方案中任一所述的图像处理方法。
根据本发明的实施方式, 还提供了一种存储有机器可读程序的存储介质 (图中未示 出 ) , 其中, 所述机器可读程序使得机器执行如上所述技术方案中任一所述的图像处理方 法。 以上结合附图详细说明了本发明的技术方案, 考虑到在相关技术中, 用户无法在拍照的 过程中自定义照片的背景, 只能在拍照完成之后通过图像的修改工具, 例如 Photoshop 进行 修改, 而图像修改工具的使用需要具备相关的专业知识, 对于一般用户来说, 使用起来比较 困难。 因此, 本发明提出了一种图像处理方法和一种终端, 通过本发明的技术方案, 可以使 用户在拍照时自定义拍照的背景, 无需在拍摄完成之后使用专业的图像处理工具进行照片背 景的修改, 在拍摄过程中就能够实现照片背景的替换或修改, 提升了用户的拍照体验。
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技术人员 来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的任何修改、 等 同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种图像处理方法, 其特征在于, 包括:
获取背景图片;
在接收到拍摄指令后, 生成以所述背景图片为背景的照片。
2. 根据权利要求 1所述的图像处理方法, 其特征在于, 所述获取背景图片的步骤包括: 根据拍摄终端的位置信息推送与所述位置信息相关联的图片, 将所述相关联的图片作为 所述背景图片。
3. 根据权利要求 2 所述的图像处理方法, 其特征在于, 所述获取背景图片的步骤还包 括:
从所述相关联的图片中选取出与所述拍摄终端已拍摄照片中的背景图样不匹配的图片, 将提取的图片作为所述背景图片。
4. 根据权利要求 1所述的图像处理方法, 其特征在于, 所述获取背景图片的步骤包括: 从网络数据库或本地数据库中搜索出与输入的关键信息匹配的图片, 将匹配的图片作为 所述背景图片。
5. 根据权利要求 4所述的图像处理方法, 其特征在于, 在分别根据多个不同的关键信息 匹配出多张图片时, 将所述多张图片进行融合处理, 以得到所述背景图片。
6. 根据权利要求 1所述的图像处理方法, 其特征在于, 还包括:
对已拍摄的照片、 摄像头捕获的拍摄场景图像或所述背景图片进行背景特征提取; 从本地数据库或网络数据库中搜索出与所述背景特征相匹配的图片, 并将相匹配的图片 推送给用户。
7. 根据权利要求 1所述的图像处理方法, 其特征在于, 还包括:
对已拍摄的照片、 摄像头捕获的拍摄场景图像或所述背景图片进行背景特征提取; 根据所述背景特征提示与所述背景特征相关联的标志' \±背景。
8. 根据权利要求 1至 7中任一项所述的图像处理方法, 其特征在于, 在接收到拍摄指令 之前还包括:
在启动拍摄终端的摄像头之后, 捕获拍摄场景图像, 从所述拍摄场景图像中提取出前景 图像; 在所述拍摄终端的取景界面显示由所述前景图像和所述背景图片合成的取景图像, 以供 生成所述照片。
9. 根据权利要求 8所述的图像处理方法, 其特征在于, 在所述拍摄场景中的前景相对所 述拍摄终端移动时, 在所述取景界面上显示所述前景图像相对所述背景图片的移动过程。
10. 根据权利要求 1 至 7 中任一项所述的图像处理方法, 其特征在于, 在启动终端的摄 像头之后, 获取所述终端的环境数据, 根据所述环境数据配置拍照参数。
1 1. 一种终端, 其特征在于, 包括:
获取单元, 用于获取背景图片;
图像生成单元, 连接至所述获取单元, 用于在接收到拍摄指令后, 生成以所述背景图片 为背景的照片。
12. 根据权利要求 1 1所述的终端, 其特征在于, 还包括:
第一推送单元, 连接至所述获取单元, 根据所述终端的位置信息推送与所述位置信息相 关联的图片, 以供所述获取单元获取。
13. 根据权利要求 12所述的终端, 其特征在于, 还包括:
选取单元, 从所述相关联的图片中选取出与所述终端已拍摄照片中的背景图样不匹配的 图片, 将提取的图片作为所述背景图片。
14. 根据权利要求 1 1所述的终端, 其特征在于, 还包括:
匹配单元, 从网络数据库或本地数据库中搜索出与输入的关键信息匹配的图片, 以供所 述获取单元获取。
15. 根据权利要求 14所述的终端, 其特征在于, 还包括:
图像融合单元, 在分别根据多个不同的关键信息匹配出多张图片时, 将所述多张图片进 行融合处理, 以得到所述背景图片。
16. 根据权利要求 1 1所述的终端, 其特征在于, 还包括:
第一特征提取单元, 对已拍摄的照片、 摄像头捕获的拍摄场景图像或所述背景图片进行 背景特征提取;
第二推送单元, 从本地数据库或网络数据库中搜索出与所述背景特征相匹配的图片, 并 将相匹配的图片推送给用户。
17. 根据权利要求 1 1所述的终端, 其特征在于, 还包括:
第二特征提取单元, 对已拍摄的照片、 摄像头捕获的拍摄场景图像或所述背景图片进行 背景特征提取;
提示单元, 根据所述背景特征提示与所述背景特征相关联的标志' ί±背景。
18. 根据权利要求 1 1至 17中任一项所述的终端, 其特征在于, 还包括:
第三特征提取单元, 在接收到拍摄指令之前且在所述终端的摄像头捕获拍摄场景图像 后, 从所述拍摄场景图像中提取出前景图像;
图像处理单元, 根据所述前景图像和所述背景图片合成取景图像, 以供所述图像生成单 元生成所述照片;
显示单元, 在所述终端的取景界面显示所述图像处理单元合成的取景图像。
19. 根据权利要求 18所述的终端, 其特征在于, 所述显示单元还用于在所述拍摄场景中 的前景相对所述终端移动时, 在所述取景界面上显示所述前景图像相对所述背景图片的移动 过程。
20. 根据权利要求 1 1 至 17 中任一项所述的终端, 其特征在于, 在启动终端的摄像头之 后, 获取所述终端的环境数据, 根据所述环境数据配置拍照参数。
PCT/CN2013/083152 2013-09-09 2013-09-09 图像处理方法和终端 WO2015032099A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2013/083152 WO2015032099A1 (zh) 2013-09-09 2013-09-09 图像处理方法和终端
CN201380069027.XA CN104885444A (zh) 2013-09-09 2013-09-09 图像处理方法和终端

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/083152 WO2015032099A1 (zh) 2013-09-09 2013-09-09 图像处理方法和终端

Publications (1)

Publication Number Publication Date
WO2015032099A1 true WO2015032099A1 (zh) 2015-03-12

Family

ID=52627735

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/083152 WO2015032099A1 (zh) 2013-09-09 2013-09-09 图像处理方法和终端

Country Status (2)

Country Link
CN (1) CN104885444A (zh)
WO (1) WO2015032099A1 (zh)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072390A (zh) * 2015-07-29 2015-11-18 深圳承轩浩业科技发展有限公司 具有视频监控功能的智能垃圾收集系统
CN105450926A (zh) * 2015-11-12 2016-03-30 广东欧珀移动通信有限公司 拍照方法、装置和移动终端
CN109618088A (zh) * 2018-01-05 2019-04-12 马惠岷 具有光照识别与重现功能的智能化拍摄系统及方法
CN110766602A (zh) * 2018-07-25 2020-02-07 中兴通讯股份有限公司 一种自动匹配道具的拍照方法及装置
CN110990606A (zh) * 2019-12-11 2020-04-10 Tcl移动通信科技(宁波)有限公司 图片存储方法、装置、存储介质及电子设备
CN113761265A (zh) * 2021-09-15 2021-12-07 腾讯科技(深圳)有限公司 基于车辆的景点推荐方法、装置、设备、介质及程序产品
CN114040099A (zh) * 2021-10-29 2022-02-11 维沃移动通信有限公司 图像处理方法、装置及电子设备
CN115988312A (zh) * 2022-08-25 2023-04-18 维沃移动通信有限公司 拍摄方法、装置、电子设备及存储介质
CN116033260A (zh) * 2022-08-25 2023-04-28 维沃移动通信有限公司 拍摄方法、装置、电子设备及存储介质
CN116309918A (zh) * 2023-03-31 2023-06-23 深圳市欧度利方科技有限公司 一种基于平板电脑的场景合成方法和系统
EP4243423A4 (en) * 2021-05-12 2024-08-21 Beijing Bytedance Network Tech Co Ltd METHOD AND DEVICE FOR CHANGING THE BACKGROUND IN AN IMAGE, AS WELL AS STORAGE MEDIUM AND PROGRAM PRODUCT

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866560A (zh) * 2020-12-30 2021-05-28 广州市德晟光电科技股份有限公司 用于景点拍照的方法、终端及存储装置
CN114398133B (zh) * 2022-01-14 2024-08-20 北京字跳网络技术有限公司 显示方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010026644A1 (en) * 1999-12-17 2001-10-04 Yoshiyuki Endo Image processing apparatus and method and storage medium
CN1706181A (zh) * 2002-10-23 2005-12-07 松下电器产业株式会社 图像组合便携式终瑞及其所用的图像组合方法
CN1801888A (zh) * 2005-01-05 2006-07-12 英华达(上海)电子有限公司 一种在数码相机上实现图片背景转换的方法
CN102164234A (zh) * 2010-02-09 2011-08-24 株式会社泛泰 具有拍摄功能的设备
CN102307329A (zh) * 2011-08-30 2012-01-04 宇龙计算机通信科技(深圳)有限公司 移动终端和信息显示方法
CN102325237A (zh) * 2011-10-26 2012-01-18 天津三星光电子有限公司 一种具有画中画视频录制播放功能的数码相机

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050024517A1 (en) * 2003-07-29 2005-02-03 Xerox Corporation. Digital camera image template guide apparatus and method thereof
KR100608787B1 (ko) * 2004-05-19 2006-08-08 엘지전자 주식회사 이동 통신 단말기의 배경 이미지 다운로드 방법 및 상기 배경 이미지를 이용한 합성사진 촬영 방법
CN101136991A (zh) * 2006-09-01 2008-03-05 余旻朗 一种改变手机拍摄和电脑摄相头拍摄背景的拍摄方法
US7991285B2 (en) * 2008-01-08 2011-08-02 Sony Ericsson Mobile Communications Ab Using a captured background image for taking a photograph
CN101340661B (zh) * 2008-08-14 2011-12-28 北京中星微电子有限公司 实现导游控制的移动设备和服务器以及导游控制方法
KR101763938B1 (ko) * 2010-11-03 2017-08-01 삼성전자주식회사 위치정보 기반의 영상데이터의 처리 방법 및 장치
CN103188608A (zh) * 2011-12-31 2013-07-03 中国移动通信集团福建有限公司 基于用户位置的彩像图片生成方法、装置及系统
CN102638651A (zh) * 2012-04-09 2012-08-15 张文锋 一种相机用虚拟取景摄影装置
CN102843514B (zh) * 2012-08-13 2016-09-21 东莞宇龙通信科技有限公司 一种照片拍摄处理方法和移动终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010026644A1 (en) * 1999-12-17 2001-10-04 Yoshiyuki Endo Image processing apparatus and method and storage medium
CN1706181A (zh) * 2002-10-23 2005-12-07 松下电器产业株式会社 图像组合便携式终瑞及其所用的图像组合方法
CN1801888A (zh) * 2005-01-05 2006-07-12 英华达(上海)电子有限公司 一种在数码相机上实现图片背景转换的方法
CN102164234A (zh) * 2010-02-09 2011-08-24 株式会社泛泰 具有拍摄功能的设备
CN102307329A (zh) * 2011-08-30 2012-01-04 宇龙计算机通信科技(深圳)有限公司 移动终端和信息显示方法
CN102325237A (zh) * 2011-10-26 2012-01-18 天津三星光电子有限公司 一种具有画中画视频录制播放功能的数码相机

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072390A (zh) * 2015-07-29 2015-11-18 深圳承轩浩业科技发展有限公司 具有视频监控功能的智能垃圾收集系统
CN105072390B (zh) * 2015-07-29 2023-12-01 粤能北洁智慧城市环境服务有限公司 具有视频监控功能的智能垃圾收集系统
CN105450926A (zh) * 2015-11-12 2016-03-30 广东欧珀移动通信有限公司 拍照方法、装置和移动终端
CN109618088B (zh) * 2018-01-05 2022-10-14 马惠岷 具有光照识别与重现功能的智能化拍摄系统及方法
CN109618088A (zh) * 2018-01-05 2019-04-12 马惠岷 具有光照识别与重现功能的智能化拍摄系统及方法
CN110766602A (zh) * 2018-07-25 2020-02-07 中兴通讯股份有限公司 一种自动匹配道具的拍照方法及装置
CN110990606A (zh) * 2019-12-11 2020-04-10 Tcl移动通信科技(宁波)有限公司 图片存储方法、装置、存储介质及电子设备
CN110990606B (zh) * 2019-12-11 2023-10-03 Tcl移动通信科技(宁波)有限公司 图片存储方法、装置、存储介质及电子设备
EP4243423A4 (en) * 2021-05-12 2024-08-21 Beijing Bytedance Network Tech Co Ltd METHOD AND DEVICE FOR CHANGING THE BACKGROUND IN AN IMAGE, AS WELL AS STORAGE MEDIUM AND PROGRAM PRODUCT
CN113761265A (zh) * 2021-09-15 2021-12-07 腾讯科技(深圳)有限公司 基于车辆的景点推荐方法、装置、设备、介质及程序产品
CN114040099A (zh) * 2021-10-29 2022-02-11 维沃移动通信有限公司 图像处理方法、装置及电子设备
CN114040099B (zh) * 2021-10-29 2024-03-08 维沃移动通信有限公司 图像处理方法、装置及电子设备
CN115988312A (zh) * 2022-08-25 2023-04-18 维沃移动通信有限公司 拍摄方法、装置、电子设备及存储介质
CN116033260A (zh) * 2022-08-25 2023-04-28 维沃移动通信有限公司 拍摄方法、装置、电子设备及存储介质
CN116309918A (zh) * 2023-03-31 2023-06-23 深圳市欧度利方科技有限公司 一种基于平板电脑的场景合成方法和系统
CN116309918B (zh) * 2023-03-31 2023-12-22 深圳市欧度利方科技有限公司 一种基于平板电脑的场景合成方法和系统

Also Published As

Publication number Publication date
CN104885444A (zh) 2015-09-02

Similar Documents

Publication Publication Date Title
WO2015032099A1 (zh) 图像处理方法和终端
CN103945129B (zh) 基于移动终端的拍照预览构图指导方法及系统
CN110602396B (zh) 智能合影方法、装置、电子设备及存储介质
US10979624B2 (en) Methods and devices for establishing photographing template database and providing photographing recommendation information
KR101680714B1 (ko) 실시간 동영상 제공 방법, 장치, 서버, 단말기기, 프로그램 및 기록매체
WO2017092280A1 (zh) 一种多媒体照片生成方法、装置、设备及手机
WO2017101293A1 (zh) 多媒体照片生成方法、装置、设备及手机
US11094110B2 (en) Method, apparatus and electronic device for processing image
JPWO2014178228A1 (ja) クライアント端末、表示制御方法、プログラム、およびシステム
JP2020042834A (ja) アカウント情報取得方法、端末、サーバ、およびシステム
US20100195912A1 (en) Imaging device, image composition and display device, and image composition method
WO2016107055A1 (zh) 拼图的处理方法及装置
CN107197153B (zh) 一种照片的拍摄方法及拍摄装置
JP2018500611A (ja) 画像の処理方法及び装置
WO2014194676A1 (zh) 拍照方法、照片管理方法及设备
CN112204942A (zh) 一种拍照方法和终端设备
WO2015154383A1 (zh) 拍照方法及拍照终端
WO2019233078A1 (zh) 一种虚拟便签显示方法、装置、存储介质及移动终端
US20150130960A1 (en) Recommendation apparatus, method, and program
CN107343142A (zh) 一种照片的拍摄方法及拍摄装置
WO2023174009A1 (zh) 基于虚拟现实的拍摄处理方法、装置及电子设备
CN108153811B (zh) 一种搜索内容的输入方法、装置、移动终端及存储介质
JP5910639B2 (ja) 画像処理装置、画像処理方法及びコンピュータプログラム
CN108600614B (zh) 一种图像处理方法及装置
CN114285988B (zh) 显示方法、装置、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13893199

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13893199

Country of ref document: EP

Kind code of ref document: A1