CN105635553B - Image shooting method and device - Google Patents

Image shooting method and device Download PDF

Info

Publication number
CN105635553B
CN105635553B CN201410599041.7A CN201410599041A CN105635553B CN 105635553 B CN105635553 B CN 105635553B CN 201410599041 A CN201410599041 A CN 201410599041A CN 105635553 B CN105635553 B CN 105635553B
Authority
CN
China
Prior art keywords
image
template
template frame
frame image
shot
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201410599041.7A
Other languages
Chinese (zh)
Other versions
CN105635553A (en
Inventor
刘晶晶
姜昱竹
王雁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410599041.7A priority Critical patent/CN105635553B/en
Publication of CN105635553A publication Critical patent/CN105635553A/en
Application granted granted Critical
Publication of CN105635553B publication Critical patent/CN105635553B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an image shooting method and device, and belongs to the technical field of computers. The method comprises the following steps: displaying an image viewing window, and calling and displaying a template frame image stored in advance in the image viewing window; when an image shooting instruction is received, shooting an image to obtain a shot image; and generating an editing image corresponding to the shot image according to the shot image and the template frame image. By adopting the invention, the flexibility of image shooting can be improved.

Description

Image shooting method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an image capturing method and apparatus.
Background
With the development of mobile terminal technology, the mobile terminal has more and more extensive applications and more powerful functions, and becomes one of the most important tools in daily work and life of people, and people can install an application program for taking photos in the mobile terminal to take the photos.
When people need to take photos, corresponding application programs can be opened at the terminal, the terminal can display an image viewing window, images displayed in the image viewing window can be called viewing images, and after a user clicks a shooting button, the terminal can be triggered to take photos. The application program stores materials for editing the photos, after the user takes the photos, the user can click options for editing the photos in a display window of the photos, the terminal can display the contents of the materials, such as the pictures, the frames, the filters and the like, the user can select the materials which the user wants to add, such as a certain frame, the terminal can add the frame into the photos for synthesis, and finally an edited image is generated.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
in the above process, the material that the user wishes to add may not match the subject of the picture, for example, the border that the user wishes to add may block the people in the picture, and at this time, the user needs to take the picture again, which may result in inefficient image taking.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide an image capturing method and apparatus. The technical scheme is as follows:
in a first aspect, an image capturing method is provided, the method including:
displaying an image viewing window, and calling and displaying a template frame image stored in advance in the image viewing window;
when an image shooting instruction is received, shooting an image to obtain a shot image;
and generating an editing image corresponding to the shot image according to the shot image and the template frame image.
In a second aspect, there is provided an image photographing apparatus, the apparatus comprising:
the first display module is used for displaying an image viewing window, and calling and displaying a template frame image stored in advance in the image viewing window;
the shooting module is used for shooting the image to obtain a shot image when receiving the image shooting instruction;
and the generating module is used for generating an editing image corresponding to the shot image according to the shot image and the template frame image.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, an image view window is displayed, a template frame image stored in advance is called and displayed in the image view window, when an image shooting instruction is received, the image is shot to obtain a shot image, and an edited image corresponding to the shot image is generated according to the shot image and the template frame image. Thus, the user can perform image shooting according to the template frame image displayed in the image viewing window, the template frame image can be prevented from being mismatched with the shot main body, repeated shooting can be prevented, and the image shooting efficiency can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart of an image capture method according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of an interface display provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of an interface display provided by an embodiment of the invention;
FIG. 4 is a schematic illustration of an interface display provided by an embodiment of the present invention;
FIGS. 5a and 5b are schematic views of interface displays provided by embodiments of the present invention;
FIG. 6 is a schematic illustration of an interface display provided by an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an image capturing apparatus according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of an image capturing apparatus according to an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of an image capturing apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Example one
An embodiment of the present invention provides an image capturing method, and as shown in fig. 1, a processing flow of the method may include the following steps:
step 101, displaying an image viewing window, and calling and displaying a template frame image stored in advance in the image viewing window.
And 102, when receiving an image shooting instruction, shooting the image to obtain a shot image.
Step 103, generating an edited image corresponding to the shot image according to the shot image and the template frame image.
In the embodiment of the invention, an image view window is displayed, a template frame image stored in advance is called and displayed in the image view window, when an image shooting instruction is received, the image is shot to obtain a shot image, and an edited image corresponding to the shot image is generated according to the shot image and the template frame image. Thus, the user can perform image shooting according to the template frame image displayed in the image viewing window, the template frame image can be prevented from being mismatched with the shot main body, repeated shooting can be prevented, and the image shooting efficiency can be improved.
Example two
The embodiment of the invention provides an image shooting method, and an execution main body of the method is a terminal. The terminal can be a mobile terminal such as a mobile phone or a tablet computer.
The process flow shown in fig. 1 will be described in detail below with reference to specific embodiments, and the contents may be as follows:
step 101, displaying an image viewing window, and calling and displaying a template frame image stored in advance in the image viewing window.
In implementation, one or more template frame images may be stored in advance in an application program for taking a photo, the template frame images may be composed of one or more characters, borders, patterns and other materials, the template frame images may have a transparent background, and in addition, filters corresponding to the template frame images may also be stored. The user can install the application program in the mobile terminal, when the user needs to take a picture, the application program can be opened, the terminal can call the template frame image stored in advance and display the template frame image in the image view window, the template frame image can be displayed on the upper layer of the view image, and the user can select the view image according to the template frame image displayed in the image view window so as to achieve the best shooting effect.
Alternatively, the template frame image to be used may be selected by the user, and accordingly, the processing procedure of step 101 may be as follows: displaying a plurality of template schematic images stored in advance; when a selection instruction corresponding to the first template schematic image is received, determining the first template frame image corresponding to the first template schematic image according to the corresponding relation between the template schematic image and the template frame image which are stored in advance; and displaying an image viewing window, and calling and displaying the first template frame image in the image viewing window.
In an implementation, the application program may be preset with a plurality of template frame images, each template frame image may correspond to a template schematic image of the template frame image, and the template schematic image may be an image captured from the template frame image or an image referred to when the template frame image is set. The template schematic image and the template frame image can be stored in the application program correspondingly, and the corresponding relation between the template schematic image and the template frame image is established. When the user opens the application program, the terminal may display a selection interface for selecting a template schematic image, and a plurality of template schematic images stored in advance may be displayed in the selection interface, as shown in fig. 2, a captured image is represented by a monochrome image, the user may select a template schematic image, the terminal may receive a selection instruction corresponding to a certain template schematic image (i.e., a first template schematic image), and may then query a correspondence between the template schematic image and the template frame image, determine a template frame image (i.e., a first template frame image) corresponding to the template schematic image, and may further display an image viewing window, and may display the template frame image on an upper layer of a viewing image in the image viewing window. In addition, options for selecting the type of template frame image, such as a template frame image of one person, template frame images of two persons, template frame images of multiple persons, or custom template frame images, may also be displayed in the selection interface.
And 102, when receiving an image shooting instruction, shooting the image to obtain a shot image.
In implementation, after selecting a framing image according to a template frame image displayed in an image framing window, a user can click a shooting key, and the terminal receives an image shooting instruction to shoot an image to obtain a shot image corresponding to the framing image.
And 103, generating an edited image corresponding to the shot image according to the shot image and the template frame image.
In an implementation, after the terminal obtains the shot image, the shot image and the template frame image can be combined to obtain an edited image corresponding to the shot image. If the terminal stores the filter corresponding to the template frame image, the filter can be used for processing the combined image after the shot image and the template frame image are combined to obtain the edited image corresponding to the shot image.
Alternatively, the template frame image may be added to an upper layer of the photographed image and synthesized into an edited image.
In an implementation, after the terminal obtains the shot images, each image in the template frame images may be correspondingly added to the same position in the shot images, and each image in the template frame images is on the upper layer of the shot images, and then synthesized into an editing image.
Optionally, the template frame image may include a captured object outline, and accordingly, the processing procedure of step 103 may be as follows: and adding the images except the outline of the shot object in the template frame image to the upper layer of the shot image, and synthesizing into an edited image.
In practice, as shown in fig. 3, the photographed object outline 32 may be set in the template frame image 31, the photographed image 42 is illustrated by a monochrome image, and the photographed object outline 32 may be a contour of a person or a contour of an object, or the like. Taking the outline of a person as an example, the terminal can display the image finder window 34, the finder image 33 can be displayed in the image finder window 34, the template frame image 31 can be displayed on the upper layer of the finder image 33, the person to be photographed can perform corresponding actions according to the outline of the person in the template frame image 31, the photographer can click the photographing key, the terminal performs image photographing to obtain the photographed image 42, then the template frame image 31 can be analyzed, the image 41 except the outline of the photographed object in the template frame image 31 is correspondingly added to the same position in the photographed image 42, the image in the template frame image 31 is synthesized to be an edited image on the upper layer of the photographed image 42, and as shown in fig. 4, the photographed image 42 is schematically represented by a monochrome image. In addition, the embodiment of the invention also provides other template frame images using one person and edited images obtained by shooting the template frame images using a plurality of persons, as shown in fig. 5a and 5 b. After obtaining the edited image, the user can publish the edited image to the network, other users can browse the edited image, if the edited image is an image which is obtained by the user by using the self-defined template frame image, the edited image can be published to the creative pool, maintainers of the application program can generate a corresponding template frame image according to the edited image with more browsing times in the creative pool, and the edited image and the template frame image are added to the template selection interface.
Optionally, the template frame image may be edited, and the corresponding processing procedure may be as follows: displaying the edited image; when a click instruction corresponding to a first editing unit in at least one editing unit is received, displaying an editing frame of the first editing unit; and adding the information input by the user in the editing frame to the position corresponding to the first editing unit in the edited image.
In implementation, as shown in fig. 6, each of the template frame images may correspond to one editing unit 61, and at least one editing unit 61 may be included in the template frame images. After the terminal synthesizes the edited image, the edited image may be displayed, the user may click an image to be edited in the template frame image (i.e., the first editing unit) in the displayed edited image, the terminal may receive a click instruction corresponding to the editing unit 61, display an editing box of the editing unit 61, the user may input information in the editing box, the terminal may receive the information, and may add the information to the edited image, at a position corresponding to the editing unit 61. In addition, the user can adjust the position and size of the editing unit 61 according to his own needs, and can set the color, font, and the like of the characters in the editing unit 61.
In the embodiment of the present invention, a processing method for setting a corresponding relationship between a template schematic image and a template frame image is further provided, and a corresponding processing procedure may be as follows: receiving a plurality of template schematic images sent by a server, and displaying the plurality of template schematic images; when a selection instruction corresponding to the second template schematic image is received, sending a template acquisition request to a server, wherein the template acquisition request carries a template identifier corresponding to the second template schematic image; receiving a second template frame image sent by a server; and adding the second template schematic image and the second template frame image to the corresponding relation of the template schematic image and the template frame image.
In practice, the designer may select any image, such as a magazine cover, a portrait, etc., as a reference image for designing the template frame image. The designer can use the image analysis software to analyze the reference image to obtain the boundary information of the figure image, and then generate the contour line of the figure (i.e. shooting the contour line of the object), or the designer can manually draw the contour line of the figure according to the image of the figure in the reference image, and then can set a corresponding editing unit for other images in the reference image, such as characters, pictures and the like, and further can combine the editing unit with the shooting object contour line to generate the template frame image, and in addition, the designer can also design the filter corresponding to the template frame image. After the designer designs the template frame image, the reference image can be used as a template schematic image, and the template frame image and the template schematic image are uploaded to a server.
When a user needs to download a template frame image, a download window for downloading the template frame image can be opened at a terminal, the terminal can send a download window opening notice to a server, the server can send a plurality of template schematic images to the terminal after receiving the download window opening notice, the terminal can receive the template schematic images and display each template schematic image in the download window, the user can click the template schematic image to be selected (namely a second template schematic image), the terminal can receive a selection instruction corresponding to the template schematic image and then send a template acquisition request to the server, the template acquisition request can carry a template identifier corresponding to the template schematic image, the server can acquire the template identifier in the template acquisition request after receiving the template acquisition request and then send the template frame image corresponding to the template identifier (namely the second template frame image) to the terminal, after receiving the second template frame image sent by the server, the terminal can store the template frame image and the selected template schematic image correspondingly, and establish the corresponding relationship between the template frame image and the template schematic image.
In the embodiment of the invention, an image view window is displayed, a template frame image stored in advance is called and displayed in the image view window, when an image shooting instruction is received, the image is shot to obtain a shot image, and an edited image corresponding to the shot image is generated according to the shot image and the template frame image. Thus, the user can perform image shooting according to the template frame image displayed in the image viewing window, the template frame image can be prevented from being mismatched with the shot main body, repeated shooting can be prevented, and the image shooting efficiency can be improved.
EXAMPLE III
Based on the same technical concept, an embodiment of the present invention further provides an image capturing apparatus, as shown in fig. 7, the apparatus including:
a first display module 710, configured to display an image viewing window, where a template frame image stored in advance is called and displayed;
the shooting module 720 is configured to, when an image shooting instruction is received, perform shooting processing on an image to obtain a shot image;
a generating module 730, configured to generate an editing image corresponding to the captured image according to the captured image and the template frame image.
Optionally, as shown in fig. 8, the first display module 710 includes:
a first display sub-module 711 for displaying a plurality of template sketch images stored in advance;
the determining submodule 712 is configured to, when a selection instruction corresponding to a first template schematic image is received, determine, according to a correspondence between a template schematic image and a template frame image stored in advance, a first template frame image corresponding to the first template schematic image;
the second display submodule 713 is configured to display an image viewing window in which the first template frame image is called to be displayed.
Optionally, the generating module 730 is configured to:
and adding the template frame image to the upper layer of the shot image to synthesize an editing image.
Optionally, the template frame image includes a shot object contour line;
the generating module 730 is configured to:
and adding the images except the outline of the shot object in the template frame image to the upper layer of the shot image, and synthesizing into an edited image.
Optionally, the template frame image includes at least one editing unit therein;
as shown in fig. 9, the apparatus further includes:
a second display module 740, configured to display the edited image; when a click instruction corresponding to a first editing unit in the at least one editing unit is received, displaying an editing frame of the first editing unit;
and the editing module 750 is used for adding the information input by the user in the editing frame to the position corresponding to the first editing unit in the edited image.
In the embodiment of the invention, an image view window is displayed, a template frame image stored in advance is called and displayed in the image view window, when an image shooting instruction is received, the image is shot to obtain a shot image, and an edited image corresponding to the shot image is generated according to the shot image and the template frame image. Thus, the user can perform image shooting according to the template frame image displayed in the image viewing window, the template frame image can be prevented from being mismatched with the shot main body, repeated shooting can be prevented, and the image shooting efficiency can be improved.
It should be noted that: in the image capturing apparatus provided in the above embodiment, only the division of the above functional modules is taken as an example when capturing an image, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the image capturing apparatus and the image capturing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Example four
Referring to fig. 10, a schematic structural diagram of a terminal according to an embodiment of the present invention is shown, where the terminal may be used to implement the image capturing method provided in the above-described embodiment. Specifically, the method comprises the following steps:
the terminal 400 may include RF (Radio Frequency) circuitry 110, memory 120 including one or more computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, audio circuitry 160, a WiFi (wireless fidelity) module 170, a processor 180 including one or more processing cores, and a power supply 190. Those skilled in the art will appreciate that the terminal structure shown in fig. 10 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information from a base station and then sends the received downlink information to the one or more processors 180 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal 400, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may further include a memory controller to provide the processor 180 and the input unit 130 with access to the memory 120.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphical user interfaces of the terminal 400, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 10, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The terminal 400 can also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or a backlight when the terminal 400 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal 400, detailed descriptions thereof are omitted.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and terminal 400. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuit 160 may also include an earbud jack to provide communication of a peripheral headset with the terminal 400.
WiFi belongs to a short-distance wireless transmission technology, and the terminal 400 can help a user send and receive e-mails, browse web pages, access streaming media, and the like through the WiFi module 170, and provides wireless broadband internet access for the user. Although fig. 10 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the terminal 400, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the terminal 400, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal 400 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The terminal 400 further includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 180 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal 400 may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the terminal 400 is a touch screen display, and the terminal 400 further includes a memory and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
displaying an image viewing window, and calling and displaying a template frame image stored in advance in the image viewing window;
when an image shooting instruction is received, shooting an image to obtain a shot image;
and generating an editing image corresponding to the shot image according to the shot image and the template frame image.
Optionally, the displaying an image viewing window, displaying a template frame image stored in advance on an upper layer of a viewing image in the image viewing window, includes:
displaying a plurality of template schematic images stored in advance;
when a selection instruction corresponding to a first template schematic image is received, determining a first template frame image corresponding to the first template schematic image according to a pre-stored corresponding relation between the template schematic image and the template frame image;
and displaying an image viewing window, and calling and displaying the first template frame image in the image viewing window.
Optionally, the generating an edited image corresponding to the captured image according to the captured image and the template frame image includes:
and adding the template frame image to the upper layer of the shot image to synthesize an editing image.
Optionally, the template frame image includes a shot object contour line;
adding the template frame image to the upper layer of the shot image to synthesize an edited image, wherein the method comprises the following steps:
and adding the images except the outline of the shot object in the template frame image to the upper layer of the shot image, and synthesizing into an edited image.
Optionally, the template frame image includes at least one editing unit therein;
after generating an edited image corresponding to the shot image according to the shot image and the template frame image, the method further includes:
displaying the edited image;
when a click instruction corresponding to a first editing unit in the at least one editing unit is received, displaying an editing frame of the first editing unit;
and adding information input by a user in the editing frame to a position corresponding to the first editing unit in the edited image.
In the embodiment of the invention, an image view window is displayed, a template frame image stored in advance is called and displayed in the image view window, when an image shooting instruction is received, the image is shot to obtain a shot image, and an edited image corresponding to the shot image is generated according to the shot image and the template frame image. Thus, the user can perform image shooting according to the template frame image displayed in the image viewing window, the template frame image can be prevented from being mismatched with the shot main body, repeated shooting can be prevented, and the image shooting efficiency can be improved.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (6)

1. An image capturing method, characterized in that the method comprises:
displaying a plurality of template schematic images stored in advance in a selection interface for selecting the template schematic images;
when a selection instruction corresponding to a first template schematic image is received, determining a first template frame image corresponding to the first template schematic image according to a pre-stored corresponding relation between the template schematic image and the template frame image, wherein the first template frame image is a self-defined template frame image with a shooting object contour line;
displaying an image viewing window, and calling and displaying the first template frame image in the image viewing window, wherein the first template frame image is displayed on the upper layer of a viewing image in the image viewing window;
when an image shooting instruction is received, shooting an image to obtain a shot image;
adding the part of the first template frame image except the outline of the shot object to the upper layer of the shot image, and synthesizing into an edited image;
publishing the edited image to a creative pool;
responding to the condition that the browsing times of any edited image in the creative pool meet the target condition, and generating a template frame image corresponding to the any edited image;
and adding the any editing image and the template frame image corresponding to the any editing image into the selection interface for selecting the template schematic image.
2. The method of claim 1, wherein the first template frame image comprises a shot object outline;
adding the first template frame image to the upper layer of the shot image, synthesizing into an edited image, and including:
and adding the images except the outline of the shot object in the first template frame image to the upper layer of the shot image, and synthesizing into an edited image.
3. The method of claim 1, wherein the first template frame image includes at least one editing unit therein;
after the synthesizing into the edited image, the method further comprises:
displaying the edited image;
when a click instruction corresponding to a first editing unit in the at least one editing unit is received, displaying an editing frame of the first editing unit;
and adding information input by a user in the editing frame to a position corresponding to the first editing unit in the edited image.
4. An image capturing apparatus, characterized in that the apparatus comprises:
the first display module is used for displaying a plurality of template schematic images which are stored in advance in a selection interface used for selecting the template schematic images; when a selection instruction corresponding to a first template schematic image is received, determining a first template frame image corresponding to the first template schematic image according to a pre-stored corresponding relation between the template schematic image and the template frame image, wherein the first template frame image is a self-defined template frame image with a shooting object outline; displaying an image viewing window, and calling and displaying the first template frame image in the image viewing window, wherein the first template frame image is displayed on the upper layer of a viewing image in the image viewing window;
the shooting module is used for shooting the image to obtain a shot image when receiving the image shooting instruction;
the generating module is used for adding the parts of the first template frame image except the shooting object contour line to the upper layer of the shooting image and synthesizing the parts into an editing image; publishing the edited image to a creative pool; responding to the condition that the browsing times of any edited image in the creative pool meet the target condition, and generating a template frame image corresponding to the any edited image; and adding the any editing image and the template frame image corresponding to the any editing image into the selection interface for selecting the template schematic image.
5. The apparatus of claim 4, wherein the template frame image comprises a shot object outline;
the generation module is configured to:
and adding the images except the outline of the shot object in the first template frame image to the upper layer of the shot image, and synthesizing into an edited image.
6. The apparatus of claim 4, wherein the template frame image includes at least one editing unit therein;
the device further comprises:
the second display module is used for displaying the edited image; when a click instruction corresponding to a first editing unit in the at least one editing unit is received, displaying an editing frame of the first editing unit;
and the editing module is used for adding the information input by the user in the editing frame to the position corresponding to the first editing unit in the edited image.
CN201410599041.7A 2014-10-30 2014-10-30 Image shooting method and device Active CN105635553B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410599041.7A CN105635553B (en) 2014-10-30 2014-10-30 Image shooting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410599041.7A CN105635553B (en) 2014-10-30 2014-10-30 Image shooting method and device

Publications (2)

Publication Number Publication Date
CN105635553A CN105635553A (en) 2016-06-01
CN105635553B true CN105635553B (en) 2021-01-26

Family

ID=56050003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410599041.7A Active CN105635553B (en) 2014-10-30 2014-10-30 Image shooting method and device

Country Status (1)

Country Link
CN (1) CN105635553B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900715B (en) * 2018-07-20 2021-06-08 广东巴拿赫大数据科技有限公司 One-key safety platform based on mobile terminal and implementation method
CN109461201B (en) * 2018-10-11 2023-04-11 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment and computer readable storage medium
CN110248087A (en) * 2019-04-29 2019-09-17 努比亚技术有限公司 Image pickup method, filming apparatus and computer readable storage medium
CN111933024B (en) * 2020-08-10 2021-02-02 张峻豪 Display device for visual transmission design
CN115766972A (en) * 2021-09-02 2023-03-07 北京字跳网络技术有限公司 Method and device for close photographing, electronic equipment and readable medium

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3936939B2 (en) * 2004-02-04 2007-06-27 株式会社日本ブレインウェア Image shooting device
KR100608787B1 (en) * 2004-05-19 2006-08-08 엘지전자 주식회사 Background image download method of the mobile communication terminal and method for photographing combination photo uses the background image
KR101094768B1 (en) * 2004-06-15 2011-12-16 엘지전자 주식회사 Methods and a apparatus of making background photo on sticker photo for mobile phone
JP2008017238A (en) * 2006-07-07 2008-01-24 Casio Comput Co Ltd Imaging apparatus, and method and program for through-image display control
CN101136991A (en) * 2006-09-01 2008-03-05 余旻朗 Shot method for altering background of mobile phone shot and computer camera shot
JP5232669B2 (en) * 2009-01-22 2013-07-10 オリンパスイメージング株式会社 camera
KR20110006022A (en) * 2009-07-13 2011-01-20 삼성전자주식회사 Operation method for imaging processing f portable device and apparatus using the same
CN101896001A (en) * 2010-07-29 2010-11-24 深圳市五巨科技有限公司 Method and device for mobile terminal to download picture frame file
CN102929475B (en) * 2012-09-07 2015-04-08 广东欧珀移动通信有限公司 Previewing method for mobile terminal camera
CN103297697A (en) * 2013-05-30 2013-09-11 北京小米科技有限责任公司 Method and device for displaying template pictures during photographing
CN103916597A (en) * 2014-03-17 2014-07-09 厦门美图之家科技有限公司 Shooting method based on simulated scenario
CN104023178A (en) * 2014-06-19 2014-09-03 深圳市中兴移动通信有限公司 Device and method for image processing in shooting process and mobile terminal
CN104079824A (en) * 2014-06-27 2014-10-01 宇龙计算机通信科技(深圳)有限公司 Displaying method, device and terminal for view-finding image

Also Published As

Publication number Publication date
CN105635553A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
CN107885533B (en) Method and device for managing component codes
WO2019174628A1 (en) Photographing method and mobile terminal
WO2016019926A1 (en) Photo shooting method, device, and mobile terminal
CN105635553B (en) Image shooting method and device
CN107241552B (en) Image acquisition method, device, storage medium and terminal
CN110196673B (en) Picture interaction method, device, terminal and storage medium
CN108833709A (en) A kind of the starting method and mobile terminal of camera
CN110213440A (en) A kind of images share method and terminal
CN110109593A (en) A kind of screenshotss method and terminal device
CN111182236A (en) Image synthesis method and device, storage medium and terminal equipment
CN109327672A (en) A kind of video call method and terminal
CN108108079A (en) A kind of icon display processing method and mobile terminal
CN105120158B (en) The image pickup method and device of mobile terminal
CN109683768A (en) A kind of operating method and mobile terminal of application
CN109523253A (en) A kind of method of payment and device
CN109683802A (en) A kind of icon moving method and terminal
CN107959755A (en) A kind of photographic method and mobile terminal
CN110442297A (en) Multi-screen display method, split screen display available device and terminal device
CN107770449B (en) Continuous shooting method, electronic device and storage medium
CN107885423B (en) Picture processing method and mobile terminal
CN110096203A (en) A kind of screenshot method and mobile terminal
WO2021104162A1 (en) Display method and electronic device
CN110958387B (en) Content updating method and electronic equipment
CN105513098B (en) Image processing method and device
CN108595104B (en) File processing method and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant