WO2019174628A1 - 拍照方法及移动终端 - Google Patents

拍照方法及移动终端 Download PDF

Info

Publication number
WO2019174628A1
WO2019174628A1 PCT/CN2019/078241 CN2019078241W WO2019174628A1 WO 2019174628 A1 WO2019174628 A1 WO 2019174628A1 CN 2019078241 W CN2019078241 W CN 2019078241W WO 2019174628 A1 WO2019174628 A1 WO 2019174628A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
preview
input
preview interface
interface
Prior art date
Application number
PCT/CN2019/078241
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 US16/980,803 priority Critical patent/US11451706B2/en
Priority to EP19767329.6A priority patent/EP3767939A4/en
Publication of WO2019174628A1 publication Critical patent/WO2019174628A1/zh

Links

Images

Classifications

    • 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
    • H04N23/62Control of parameters via user interfaces
    • 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/265Mixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1686Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being an integrated camera
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • 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
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • 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
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • 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
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • 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
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • 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
    • H04N23/69Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting

Definitions

  • the embodiments of the present disclosure relate to the field of communications technologies, and in particular, to a photographing method and a mobile terminal.
  • the photographing mode of the mobile phone of each manufacturer is extremely similar, and the photographing of the mobile phone is mostly limited to the plane photographing, and if the photograph is to be photographed with a clear hierarchy and a high-resolution photograph, the user needs to have a high photographing technique. This leads to the ability to get images with multiple levels in the photo, only through post processing.
  • the embodiment of the present disclosure provides a photographing method and a mobile terminal to solve the problem that the multi-level image cannot be captured during the photographing process in the related art.
  • an embodiment of the present disclosure provides a photographing method, including:
  • a photographing operation is performed to output a target image, the target image being a composite image generated based on image content displayed by the first preview interface and the second preview interface.
  • an embodiment of the present disclosure provides a mobile terminal, including:
  • a first receiving module configured to receive a first input of the target area selected by the user on the first preview interface in a state that the first preview image is displayed by the first preview interface
  • a first response module configured to superimpose a second preview interface on the first preview interface, wherein the second preview interface displays a second preview image of the target area, in response to the first input;
  • a second receiving module configured to receive a second input of the user
  • a second response module configured to perform a photographing operation to output a target image, wherein the target image is a composite image generated based on image content displayed by the first preview interface and the second preview interface, in response to the second input .
  • an embodiment of the present disclosure provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, when the computer program is executed by the processor The steps to implement the photographing method.
  • an embodiment of the present disclosure provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement a step of a photographing method.
  • the receiving user selects a first input of the target area on the first preview interface, and then responds to the first input, in the first Displaying a second preview interface on a preview interface, and then performing a photographing operation to output a target image in response to the received second input of the user, wherein the target image is generated based on the image content displayed by the first preview interface and the second preview interface
  • the composite image is such that the target image obtained by the photographing comprises a composite image generated by the first preview interface and the image content displayed by the second preview interface, that is, an image having two levels of the first preview interface and the second preview interface can be obtained in the photo.
  • the content realizes capturing images with multiple levels during the photographing process.
  • FIG. 1 is a flow chart showing the steps of a photographing method in an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram showing a first input as a rectangular image track in an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram showing a first input of a contour of an image outline in an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram showing a superimposed display of a second preview interface on a first preview interface in an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram showing a first input when a plurality of target regions are selected in an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram showing a superimposed display of N second preview interfaces on the first preview interface in FIG. 5;
  • FIG. 7 is a block diagram showing a module of a mobile terminal in an embodiment of the present disclosure.
  • FIG. 8 is a block diagram showing the structure of a mobile terminal in an embodiment of the present disclosure.
  • FIG. 1 it is a flow chart of steps of a photographing method in an embodiment of the present disclosure, the method comprising the following steps:
  • Step 101 Receive a first input of the target area selected by the user on the first preview interface in a state where the first preview image is displayed by the first preview interface.
  • the first preview image captured by the camera is an image captured by the camera in real time and displayed on the first preview interface.
  • the first input includes a preset graphic trajectory or a contour trajectory of the image contour input by the user on the first preview interface, wherein the area included in the preset graphic trajectory is the target area.
  • the preset graphic track may be a graphic track such as a rectangle or a circle.
  • the area covered by the outlined trajectory of the image outline is also the target area.
  • the mobile terminal can respond to the first input by receiving a first input of the target area selected by the user on the first preview interface.
  • the selection target area may be input on the first preview interface 21.
  • the first input the first input may include a rectangular graphic trace 22, and the area included in the rectangular graphic trace 22 is a target area.
  • the selection target may be input on the first preview interface 31.
  • a first input of the region, the first input may be a outlined trajectory 32 of the image contour input in the first preview interface, and of course the region included in the outlined trajectory 32 is the target region.
  • Step 102 In response to the first input, displaying a second preview interface on the first preview interface, where the second preview interface displays a second preview image of the target area.
  • the second preview interface may be superimposed on the first preview interface in response to the first input, where the second preview interface displays the second preview in the target area. image.
  • This causes the image obtained in response to the first input to include a superimposed first preview interface displaying the first preview image and a second preview interface displaying the second preview image, such that the resulting image has two images in response to the first input
  • the hierarchy realizes obtaining an image with multiple levels in the photographing process, and highlighting the second preview image selected by the user from the first preview interface.
  • the first preview interface includes a first preview image display area, the first preview image display area displays a first preview image; the second preview interface includes a second preview image display area, and the second preview image display area displays a second preview image.
  • the second preview interface includes a pre-stored border area image, and the border area image includes a border image of the mobile terminal and an image of the control area image other than the first preview image in the first preview interface, and the second preview image Located within the display range of the border area image.
  • the display form of the second preview interface is similar to the display form of the first preview interface, and the shooting effect of the image in the figure is realized, and the layering of the captured image is increased.
  • the second preview interface 41 may be superimposed on the first preview interface 21 on which the first preview image is displayed in FIG. 2, wherein the second preview interface 41 is displayed in the target area in FIG.
  • the second preview interface 41 includes a frame area image 42 , and the frame area image may include an image formed by a frame image of the mobile terminal and a control area image other than the first preview image in the first preview interface, and FIG. 2
  • the second preview image 23 in the target area is displayed in the display range of the border area image, which increases the similarity between the second preview interface and the first preview interface, and realizes the shooting effect of the picture in the figure, further increasing the displayed image.
  • the layering is not specified.
  • the first preview interface may further include a control display area to enable the user to input operations to the control on the control display area, thereby realizing the operation of the image during shooting.
  • Step 103 Receive a second input of the user.
  • the second input includes a click operation on a photo button of the mobile terminal or a long press operation on the mobile terminal to display any position on the screen.
  • the specific form of the second input is not specifically limited herein.
  • Step 104 In response to the second input, performing a photographing operation to output a target image.
  • the photographing operation may be performed in response to the second input, and the target image is output.
  • the target image is a composite image generated based on the image content displayed by the first preview interface and the second preview interface.
  • the target image obtained by the photographing includes the image displayed by the first preview interface and the second preview interface, so that the image in the photographed photo has two levels, and the photograph having the plurality of hierarchical images is captured during the photographing process. , increased the layering of the photo.
  • the composite image may include a first preview image and a second preview image, and the outer side of the second preview image includes a first bezel area image; or the composite image includes a first preview image and a second preview image, and the first preview image
  • the outer side includes a second bezel area image
  • the outer side of the second preview image includes a third bezel area image.
  • the outer area refers to the surrounding area of the preview image, that is, the surrounding area of the first preview image is the second border area image; or the surrounding area of the first preview image is the second border area image, and the surrounding area of the second preview image is The third border area image.
  • the outer side of the second preview image includes the third bezel area image, so that the first bezel area image may have a border area image or no border area image, which enables the user to select from two kinds of photographing effects, and increases the selectivity of the photographing effect when the user takes a photograph.
  • the first input of the target area is selected by the user on the first preview interface in a state where the first preview image captured by the camera is displayed on the first preview interface, and then, in response to the first input, on the first preview interface.
  • Superimposing a second preview interface including a second preview image of the target area and then receiving a second input of the user, performing a photographing operation in response to the second input, outputting the target image, wherein the target image is based on the first preview interface and the second
  • the composite image generated by the image content displayed by the preview interface is such that the target image obtained by the photographing comprises a composite image generated by the image content displayed by the first preview interface and the second preview interface, that is, the first preview interface and the second image can be obtained in the photo.
  • Previewing the two levels of image content on the interface enables images with multiple levels to be captured during the photo session.
  • the user may select a plurality of target areas, so that the plurality of second preview interfaces may be superimposed and displayed on the first preview interface, so that the captured image can present more image content, further increasing shooting.
  • the level of the resulting image enables diversification and stratification of the captured images.
  • the implementation process can be as follows:
  • the number of the target areas selected by the first input is N, and N is greater than 1.
  • a second preview interface is superimposed on the first preview interface, and the second preview interface displays the second target area.
  • N second preview interfaces are superimposedly displayed on the first preview interface, and the N second preview interfaces respectively display preview images of each target area; wherein, the output target image is A composite image generated based on the image content displayed by the first preview interface and the N second preview interfaces.
  • the image is previewed, and a plurality of images selected by the user can be highlighted on the second preview interface of the image obtained by photographing.
  • the user 5 can select a plurality of target areas through the first input, for example, can be two target areas.
  • the first input is a outlined trajectory of the image contour.
  • the user 5 can input the outline trajectory 52 of the two image contours in the first preview interface 51 shown in FIG. 5, and the range included in the outlined trajectory 52 is the target area.
  • two second preview interfaces 61 may be superimposedly displayed on the first preview interface 51 in FIG. 5, wherein the two second preview interfaces 61 are displayed.
  • the second preview image 53 in the target area in FIG. 5 is respectively displayed, so that a plurality of second preview interfaces can be superimposed and displayed on the first preview interface on the image obtained after responding to the second input, and each second A second preview image selected by the user is displayed on the preview interface.
  • the two second preview interfaces may each include a frame area image 62, wherein the frame area image 62 may include a frame image of the mobile terminal, and the second preview image 53 in the target area in FIG. 5 is displayed on the frame area image.
  • This increases the similarity between the second preview interface and the first preview interface, and achieves the effect of the graph in the figure, further increasing the layering of the displayed image.
  • the target area is a preview image area including a preset range of the target object
  • at least one of the following may be included: blurring all image regions except the target region in the first preview image; and all but the target object in the second preview image
  • the image area is blurred.
  • the first operation when all the image areas except the target area are blurred in the first preview image, the first operation may be input in any of the image areas except the target area in the first preview image, The first operation includes a long press or double tap operation to cause the mobile terminal to perform blurring processing on all image areas except the target area.
  • the second operation when all the image areas except the target object are blurred in the second preview image, the second operation may be input in all the image areas except the target image in the second preview image, and the second operation may be performed. For long press or double-click operation, the mobile terminal performs blurring processing on all image areas except the target object.
  • the third input of the user in the preset operation control area may also be received; in response to the third input, according to the third input In the operation direction, the second preview interface is moved.
  • the second preview interface displays a preview image of the corresponding region corresponding to the preview image display area of the second preview interface in the first preview image in real time during the movement of the second preview interface.
  • the user can move the second preview interface by inputting the third input, and the second preview interface displays the preview image of the corresponding region corresponding to the preview image display area of the second preview interface in the first preview image in real time, thereby realizing Updating the image displayed in the second preview interface in real time facilitates the user to determine the image displayed in the second preview interface.
  • the moving direction of the second preview interface may be consistent with the operation direction of the third input, thereby facilitating the operation of the user.
  • the moving direction of the second preview interface is the first direction
  • the moving direction of the second preview interface is the second direction
  • the direction so that the image content on the first preview interface in the same direction is displayed in real time on the second preview interface by the operation direction of the third input, which facilitates the operation of the user.
  • the user may further receive a fourth input of the user in the preset operation control area; and in response to the fourth input, the second preview interface The zooming is performed; wherein, in the second preview interface zooming process, the second preview interface displays a preview image of the corresponding region corresponding to the preview image display area of the second preview interface in the first preview image in real time.
  • the user can adjust the size of the second preview interface by inputting the fourth input.
  • the second preview interface displays the corresponding corresponding to the preview image display area of the adjusted second preview interface in the first preview image in real time.
  • the preview image of the area realizes real-time updating of the image displayed in the second preview interface, which is convenient for the user to determine the image displayed in the second preview interface.
  • the fourth input may be a zoom control operation, which may include an expansion operation and a contraction operation of at least two fingers of the user on the mobile terminal.
  • the zoom control operation is an expansion operation of the user's at least two fingers on the mobile terminal
  • the second preview interface is zoomed in;
  • the zoom control operation is a shrink operation of the user's at least two fingers on the mobile terminal
  • the second preview interface is zoomed out. This enables the scaling of the second preview interface to be consistent with the zoom control operation input by the user, thereby enabling the user to determine the fourth input according to the required size of the second preview interface, facilitating the user's operation.
  • the method further includes at least one of: adjusting the fifth input in response to the fifth input if the fifth input of the user is received An image parameter of the preview image; adjusting the image parameter of the second preview image in response to the sixth input in the case of receiving the sixth input of the user; and responding to the seventh in the case of receiving the seventh input of the user Inputting, adjusting image parameters of the first preview image and the second preview image, wherein the seventh input is used to adjust the same image parameter of the first preview image and the second preview image.
  • the fifth input includes a click operation of the first preset control on the first preview interface
  • the sixth input includes a click operation of the second preset control on the first preview interface
  • the seventh input is included in the first The click operation of the third preset control on the preview interface.
  • the image parameters may include a filter, an image beautification level, and saturation of the image color, and the specific content of the image parameter is not specifically limited herein.
  • the user can separately adjust the image parameters of the first preview image or the second preview image by inputting different input operations, and can also adjust the image parameters of the first preview image and the second preview image simultaneously, so that the user can target the target image.
  • the adjustment of image parameters provides a variety of options, which increases the user's selectivity in adjusting image parameters and is easy to operate.
  • the first input of the target area is selected by the user on the first preview interface in a state where the first preview image captured by the camera is displayed on the first preview interface, and then, in response to the first input, on the first preview interface.
  • Superimposing a second preview interface including a second preview image of the target area and then receiving a second input of the user, performing a photographing operation in response to the second input, outputting the target image, wherein the target image is based on the first preview interface and the second
  • the composite image generated by the image content displayed by the preview interface is such that the target image obtained by the photographing comprises a composite image generated by the image content displayed by the first preview interface and the second preview interface, that is, the first preview interface and the second image can be obtained in the photo.
  • Previewing the two levels of image content on the interface enables images with multiple levels to be captured during the photo session.
  • FIG. 7 it is a block diagram of a mobile terminal in an embodiment of the present disclosure, where the mobile terminal includes:
  • the first receiving module 701 is configured to receive a first input of the target area selected by the user on the first preview interface in a state that the first preview image is displayed by the first preview interface;
  • the first response module 702 is configured to superimpose and display a second preview interface on the first preview interface in response to the first input, where the second preview interface displays a second preview image of the target area;
  • a second receiving module 703, configured to receive a second input of the user
  • a second response module 704 configured to perform a photographing operation in response to the second input, output a target image, where the target image is a composite generated based on image content displayed by the first preview interface and the second preview interface image.
  • the mobile terminal receives the first input of the target area on the first preview interface by the first receiving module in the state that the first preview image is displayed on the first preview interface, and the first response module receives the first input of the target area on the first preview interface; In response to the first input, displaying a second preview interface on the first preview interface, the second preview interface displaying a second preview image of the target area; receiving a second input of the user through the second receiving module; The module performs a photographing operation in response to the second input, and outputs a target image, where the target image is a composite image generated based on the image content displayed by the first preview interface and the second preview interface, so that the target image obtained by the photographing includes the first preview interface and the first
  • the composite image generated by the image content displayed by the preview interface that is, the image content having the first preview interface and the second preview interface can be obtained in the photo, and the image having multiple levels is captured during the photographing process.
  • the first preview interface includes a first preview image display area, and the first preview image display area displays the first preview image;
  • the second preview interface includes a second preview image display area, and the second preview image display area displays the second preview image;
  • the second preview interface includes a pre-stored border area image, where the border area image includes an image of the border of the mobile terminal and an image of the control area other than the first preview image in the first preview interface;
  • the second preview image is located within the display range of the border area image.
  • the composite image includes the first preview image and the second preview image, and an outer side of the second preview image includes a first bezel area image;
  • the composite image includes the first preview image and the second preview image, and an outer side of the first preview image includes a second bezel area image, and an outer side of the second preview image includes a third bezel area image.
  • the first input is an operation for the user to outline the target object in the first preview image;
  • the target area is a preview image area including a preset range of the target object;
  • the mobile terminal Also includes at least one of the following:
  • a first blurring processing module configured to perform a blurring process on all image regions except the target area in the first preview image
  • a second blurring processing module configured to perform blurring processing on all image regions except the target object in the second preview image.
  • the number of target areas selected by the first input is N, and N is greater than 1;
  • the first response module is configured to superimpose on the first preview interface in response to the first input Displaying N second preview interfaces, the N second preview interfaces respectively displaying preview images of each target area;
  • the output target image is a composite image generated based on the image content displayed by the first preview interface and the N second preview interfaces.
  • the mobile terminal further includes:
  • a third receiving module configured to receive a third input of the user in the preset operation control area
  • a third response module configured to move the second preview interface according to an operation direction of the third input in response to the third input
  • the second preview interface displays a preview image of the corresponding region of the first preview image corresponding to the preview image display area of the second preview interface in real time during the moving of the second preview interface.
  • the mobile terminal further includes:
  • a fourth receiving module configured to receive a fourth input of the user in the preset operation control area
  • a fourth response module configured to scale the second preview interface in response to the fourth input
  • the second preview interface displays a preview image of the corresponding area corresponding to the preview image display area of the second preview interface in the first preview image in real time during the second preview interface zooming process.
  • the mobile terminal further includes at least one of the following:
  • a fifth response module configured to adjust an image parameter of the first preview image in response to the fifth input, when receiving a fifth input of the user;
  • a sixth response module configured to adjust an image parameter of the second preview image in response to the sixth input, when receiving a sixth input of the user;
  • a seventh response module configured to adjust image parameters of the first preview image and the second preview image in response to the seventh input, in the case that the seventh input of the user is received, wherein the Seven inputs are used to adjust the same image parameters of the first preview image and the second preview image.
  • the mobile terminal receives the first input of the target area on the first preview interface, and then responds to the first input, by displaying the first preview image captured by the camera in the first preview interface.
  • Two levels of image content, a preview interface and a second preview interface enable images with multiple levels to be captured during the photographing process.
  • FIG. 8 is a schematic diagram of a hardware structure of a mobile terminal that implements various embodiments of the present disclosure.
  • the mobile terminal 800 includes, but is not limited to, a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and Power supply 811 and other components.
  • a radio frequency unit 801 includes, but is not limited to, a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and Power supply 811 and other components.
  • the mobile terminal structure shown in FIG. 8 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than those illustrated, or combine some components, or different components. Arrangement.
  • the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle terminal, a wearable device, a pedometer, and the like.
  • the processor 810 is configured to receive a first input of the target area selected by the user on the first preview interface in a state that the first preview image is displayed by the first preview interface, and in response to the first input, Displaying, on the first preview interface, a second preview interface, where the second preview interface displays a second preview image of the target area; receiving a second input of the user; and performing a photographing operation in response to the second input, A target image is output, the target image being a composite image generated based on image content displayed by the first preview interface and the second preview interface.
  • the mobile terminal receives the first input of the target area on the first preview interface in a state where the first preview image captured by the camera is displayed on the first preview interface, and then responds to the first input in the first input.
  • the composite image generated by the image content displayed by the interface and the second preview interface is such that the target image obtained by the photographing comprises a composite image generated by the image content displayed by the first preview interface and the second preview interface, that is, the first preview can be obtained in the photo.
  • the two levels of image content of the interface and the second preview interface enable images with multiple levels to be captured during the photographing process.
  • the radio frequency unit 801 can be used for receiving and transmitting signals during and after receiving or transmitting information or during a call. Specifically, after receiving downlink data from the base station, the processing is processed by the processor 810; The uplink data is sent to the base station.
  • radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio unit 801 can also communicate with the network and other devices through a wireless communication system.
  • the mobile terminal provides the user with wireless broadband Internet access through the network module 802, such as helping the user to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 803 can convert the audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as a sound. Moreover, the audio output unit 803 can also provide audio output (eg, call signal reception sound, message reception sound, etc.) related to a particular function performed by the mobile terminal 800.
  • the audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 804 is for receiving an audio or video signal.
  • the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042 that images an still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode.
  • the data is processed.
  • the processed image frame can be displayed on display unit 806.
  • the image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio unit 801 or the network module 802.
  • the microphone 8042 can receive sound and can process such sound as audio data.
  • the processed audio data can be converted to a format output that can be transmitted to the mobile communication base station via the radio unit 801 in the case of a telephone call mode.
  • the mobile terminal 800 also includes at least one type of sensor 805, such as a light sensor, motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 8061 when the mobile terminal 800 moves to the ear. / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the mobile terminal (such as horizontal and vertical screen switching, related games).
  • sensor 805 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors and the like are not described here.
  • the display unit 806 is for displaying information input by the user or information provided to the user.
  • the display unit 806 can include a display panel 8061.
  • the display panel 8061 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the user input unit 807 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal.
  • the user input unit 807 includes a touch panel 8071 and other input devices 8072.
  • the touch panel 8071 also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 8071 or near the touch panel 8071. operating).
  • the touch panel 8071 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 810 receives commands from the processor 810 and executes them.
  • the touch panel 8071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the user input unit 807 may also include other input devices 8072.
  • the other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, and are not described herein again.
  • the touch panel 8071 can be overlaid on the display panel 8061.
  • the touch panel 8071 detects a touch operation thereon or nearby, the touch panel 8071 transmits to the processor 810 to determine the type of the touch event, and then the processor 810 according to the touch.
  • the type of event provides a corresponding visual output on display panel 8061.
  • the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 8071 can be integrated with the display panel 8061.
  • the input and output functions of the mobile terminal are implemented, and are not limited herein.
  • the interface unit 808 is an interface in which an external device is connected to the mobile terminal 800.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more.
  • the interface unit 808 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 800 or can be used at the mobile terminal 800 and externally Data is transferred between devices.
  • an external device eg, data information, power, etc.
  • Memory 809 can be used to store software programs as well as various data.
  • the memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.).
  • memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the processor 810 is a control center of the mobile terminal that connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 809, and recalling data stored in the memory 809.
  • the mobile terminal performs various functions and processing data to perform overall monitoring on the mobile terminal.
  • the processor 810 can include one or more processing units; preferably, the processor 810 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application, etc., and performs modulation and demodulation.
  • the processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 810.
  • the mobile terminal 800 may further include a power source 811 (such as a battery) for supplying power to various components.
  • a power source 811 such as a battery
  • the power source 811 may be logically connected to the processor 810 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the mobile terminal 800 includes some functional modules not shown, and details are not described herein again.
  • an embodiment of the present disclosure further provides a mobile terminal, including a processor 810, a memory 809, a computer program stored on the memory 809 and executable on the processor 810, and the computer program is executed by the processor 810.
  • a mobile terminal including a processor 810, a memory 809, a computer program stored on the memory 809 and executable on the processor 810, and the computer program is executed by the processor 810.
  • the embodiment of the present disclosure further provides a computer readable storage medium.
  • the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, implements various processes of the photographing method embodiment, and can achieve the same technical effect. To avoid repetition, we will not repeat them here.
  • the computer readable storage medium such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present disclosure, which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal (which may be a cell phone, computer, server, air conditioner, or network device, etc.) to perform the methods described in various embodiments of the present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开实施例提供了一种拍照方法及移动终端,该拍照方法包括:在第一预览界面显示摄像头采集的第一预览图像的状态下,接收用户在第一预览界面上选取目标区域的第一输入;响应于第一输入,在第一预览界面上叠加显示第二预览界面,第二预览界面显示目标区域的第二预览图像;接收用户的第二输入;响应于第二输入,执行拍照操作,输出目标图像,目标图像为基于第一预览界面和第二预览界面显示的图像内容生成的合成图像。

Description

拍照方法及移动终端
相关申请的交叉引用
本申请主张在2018年3月15日在中国提交的中国专利申请号No.201810213500.1的优先权,其全部内容通过引用包含于此。
技术领域
本公开实施例涉及通信技术领域,尤其涉及一种拍照方法及移动终端。
背景技术
如今随着智能移动终端设备的发展,相机已经成为手机最重要的组成部分,持续提升用户的拍照体验,成为提升手机品牌价值的重要途径。
对于相关技术中的拍照模式,各个厂商的手机的拍照模式相似度极高,且手机拍照大多局限于平面拍照,若想拍出层次分明和构图高明的照片则需要使用者具有较高的拍照技术,这导致若想在照片中得到具有多个层次的图像,只能通过后期处理。
综上所述,相关技术中存在着在拍照过程中不能拍摄出具有多层次的图像的问题。
发明内容
本公开实施例提供一种拍照方法及移动终端,以解决相关技术中存在的在拍照过程中不能拍摄出具有多层次的图像的问题。
为了解决上述技术问题,本公开实施例是这样实现的:第一方面,本公开实施例提供一种拍照方法,包括:
在第一预览界面显示摄像头采集的第一预览图像的状态下,接收用户在第一预览界面上选取目标区域的第一输入;
响应于所述第一输入,在所述第一预览界面上叠加显示第二预览界面,所述第二预览界面显示所述目标区域的第二预览图像;
接收用户的第二输入;
响应于所述第二输入,执行拍照操作,输出目标图像,所述目标图像为基于所述第一预览界面和所述第二预览界面显示的图像内容生成的合成图像。
第二方面,本公开实施例提供一种移动终端,包括:
第一接收模块,用于在第一预览界面显示摄像头采集的第一预览图像的状态下,接收用户在第一预览界面上选取目标区域的第一输入;
第一响应模块,用于响应于所述第一输入,在所述第一预览界面上叠加显示第二预览界面,所述第二预览界面显示所述目标区域的第二预览图像;
第二接收模块,用于接收用户的第二输入;
第二响应模块,用于响应于所述第二输入,执行拍照操作,输出目标图像,所述目标图像为基于所述第一预览界面和所述第二预览界面显示的图像内容生成的合成图像。
第三方面,本公开实施例提供一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现拍照方法的步骤。
第四方面,本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现拍照方法的步骤。
在本公开实施例中,通过在第一预览界面显示摄像头采集的第一预览图像的状态下,接收用户在第一预览界面上选取目标区域的第一输入,然后响应于第一输入,在第一预览界面上叠加显示第二预览界面,然后响应于接收到的用户的第二输入,执行拍照操作,输出目标图像,其中目标图像为基于第一预览界面和第二预览界面显示的图像内容生成的合成图像,使得拍照所得的目标图像包括第一预览界面和第二预览界面显示的图像内容生成的合成图像,即能够在照片中得到具有第一预览界面和第二预览界面两个层次的图像内容,实现了在拍照过程中拍摄出具有多个层次的图像。
附图说明
图1表示本公开的实施例中拍照方法的步骤流程图;
图2表示本公开的实施例中第一输入为矩形图像轨迹时的示意图;
图3表示本公开的实施例中第一输入为图像轮廓的勾勒轨迹时的示意图;
图4表示本公开的实施例中第一预览界面上叠加显示第二预览界面时的示意图;
图5表示本公开的实施例中第一输入为选择多个目标区域时的示意图;
图6表示在图5中的第一预览界面上叠加显示N个第二预览界面时的示意图;
图7表示本公开的实施例中移动终端的模块框图;
图8表示本公开的实施例中移动终端的结构框图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
如图1所示,为本公开的实施例中拍照方法的步骤流程图,该方法包括如下步骤:
步骤101:在第一预览界面显示摄像头采集的第一预览图像的状态下,接收用户在第一预览界面上选取目标区域的第一输入。
在本步骤中,具体的,摄像头采集的第一预览图像为摄像头实时采集的、显示在第一预览界面上的图像。此外,第一输入包括用户在第一预览界面上输入的预设图形轨迹或者图像轮廓的勾勒轨迹,其中,预设图形轨迹所包括的区域为目标区域。具体的,预设图形轨迹可以为矩形、圆形等图形轨迹。当然,图像轮廓的勾勒轨迹所包括的区域同样为目标区域。
这样,通过接收用户在第一预览界面上选取目标区域的第一输入,使得移动终端能够针对该第一输入做出响应。
例如,如图2所示,当在第一预览界面21显示第一预览图像时,若用户2想要基于该第一预览图像进行拍照,则可以在该第一预览界面21上输入选取目标区域的第一输入,该第一输入可以包括矩形图形轨迹22,且该矩形图形轨迹22所包括的区域为目标区域。再例如,如图3所示,当在第一预览界 面31显示第一预览图像时,若用户3想要基于该第一预览图像进行拍照,则可以在该第一预览界面31上输入选取目标区域的第一输入,该第一输入可以为在第一预览界面中输入的图像轮廓的勾勒轨迹32,当然该勾勒轨迹32所包括的区域为目标区域。
步骤102:响应于第一输入,在第一预览界面上叠加显示第二预览界面,第二预览界面显示目标区域的第二预览图像。
在本步骤中,具体的,在接收到第一输入之后,可以响应于第一输入,在第一预览界面上叠加显示第二预览界面,其中第二预览界面显示有目标区域中的第二预览图像。这使得响应于第一输入得到的图像包括叠加的显示有第一预览图像的第一预览界面和显示有第二预览图像的第二预览界面,即使得响应于第一输入后所得图像具有两个层次,实现了在拍照过程中得到具有多个层次的图像,并突出显示了用户从第一预览界面中选择的第二预览图像。
其中,第一预览界面包括第一预览图像显示区,第一预览图像显示区中显示第一预览图像;第二预览界面包括第二预览图像显示区,第二预览图像显示区显示第二预览图像;其中,第二预览界面包括预先存储的边框区域图像,边框区域图像包括移动终端的边框图像和第一预览界面中除第一预览图像之外的控件区域图像所组成的图像,第二预览图像位于边框区域图像的显示范围内。这样,使得第二预览界面的显示形式与第一预览界面的显示形式类似,实现了图中图的拍摄效果,增加了拍摄所得图像的层次感。
例如,参见图4所示,可以在图2中显示有第一预览图像的第一预览界面21上叠加显示第二预览界面41,其中,第二预览界面41中显示有图2中目标区域中的第二预览图像23。其中,第二预览界面41包括边框区域图像42,该边框区域图像可以包括移动终端的边框图像和第一预览界面中除第一预览图像之外的控件区域图像所组成的图像,且图2中目标区域内的第二预览图像23显示于边框区域图像的显示范围内,这增加了第二预览界面与第一预览界面的相似度,实现了图中图的拍摄效果,进一步增加了所显示图像的层次感。当然,在图3中显示有第一预览图像的第一预览界面31上叠加显示第二预览界面时,与在图2中的第一预览界面21上叠加显示第二预览界面的方式相同,在此不在进行具体说明。
当然,第一预览界面还可以包括控件显示区,以使用户能够在控件显示区上对控件输入操作,从而实现在拍摄过程中对图像的操作。
步骤103:接收用户的第二输入。
在本步骤中,具体的,第二输入包括对移动终端拍照按键的点击操作或者对移动终端显示屏幕上任一位置的长按操作。当然在此并不具体限定第二输入的具体形式。这样通过接收用户的第二输入,使得移动终端可以根据该第二输入执行拍照操作。
步骤104:响应于第二输入,执行拍照操作,输出目标图像。
在本步骤中,具体的,当移动终端接收到第二输入时,可以响应于第二输入,执行拍照操作,输出目标图像。其中,目标图像为基于第一预览界面和第二预览界面显示的图像内容生成的合成图像。这使得拍照所得的目标图像包括第一预览界面和第二预览界面所显示的图像,从而使得拍照所得照片内的图像具有两个层次,实现了在拍照过程中拍摄得到具有多个层次图像的照片,增加了照片的层次感。
其中,合成图像可以包括第一预览图像和第二预览图像,且第二预览图像的外侧包括第一边框区域图像;或者,合成图像包括第一预览图像和第二预览图像,且第一预览图像的外侧包括第二边框区域图像,第二预览图像的外侧包括第三边框区域图像。具体的,外侧指预览图像的周围区域,即第一预览图像的周围区域为第二边框区域图像;或者,第一预览图像的周围区域为第二边框区域图像,第二预览图像的周围区域为第三边框区域图像。
这样,通过在合成图像中第二预览图像的外侧包括第一边框区域图像,或者第一预览图像的外侧包括第二边框区域图像,第二预览图像的外侧包括第三边框区域图像,使得第一预览图像的外侧即可以有边框区域图像,也可以没有边框区域图像,实现了用户能够从两种拍照效果中进行选择,增加了用户在拍照时对拍照效果的选择性。
本实施例通过在第一预览界面显示摄像头采集的第一预览图像的状态下,接收用户在第一预览界面上选取目标区域的第一输入,然后响应于第一输入,在第一预览界面上叠加显示包括目标区域的第二预览图像的第二预览界面,然后接收用户的第二输入,响应于第二输入,执行拍照操作,输出目标图像, 其中目标图像为基于第一预览界面和第二预览界面显示的图像内容生成的合成图像,使得拍照所得的目标图像包括第一预览界面和第二预览界面显示的图像内容生成的合成图像,即能够在照片中得到具有第一预览界面和第二预览界面两个层次的图像内容,实现了在拍照过程中拍摄出具有多个层次的图像。
进一步地,在本实施例中用户可以选取多个目标区域,从而使得第一预览界面上可以叠加显示多个第二预览界面,进而使得拍摄所得图像能够呈现较多的图像内容,进一步地增加拍摄所得图像的层次,实现拍摄所得图像的多元化和层次化。具体的,实现过程可以如下:
第一输入所选取的目标区域的个数为N,N大于1;此时在响应于第一输入,在第一预览界面上叠加显示第二预览界面,第二预览界面显示目标区域的第二预览图像的步骤中,响应于第一输入,在第一预览界面上叠加显示N个第二预览界面,N个第二预览界面分别显示每个目标区域的预览图像;其中,输出的目标图像为基于第一预览界面、N个第二预览界面显示的图像内容生成的合成图像。
这样使得用户能够在第一预览界面上指定多个不同的目标区域,从而使得能够在第一预览界面上叠加生成多个第二预览界面,且每个第二预览界面上显示一个目标区域内的预览图像,实现了拍照所得图像的第二预览界面上能够突出显示多个用户选择的图像。
例如,如图5所示,在第一预览界面51上显示有摄像头实时采集的第一预览图像时,若用户5需要基于实时采集的第一预览图像在第一预览界面51上叠加显示多个第二预览界面,则用户5可以通过第一输入选取多个目标区域,例如可以为2个目标区域。具体的,第一输入为图像轮廓的勾勒轨迹。例如用户5可以在图5所示的第一预览界面51中输入2个图像轮廓的勾勒轨迹52,此时勾勒轨迹52所包括的范围为目标区域。
此时,移动终端在接收到该第一输入之后,参见图6,可以在图5中的第一预览界面51上叠加显示两个第二预览界面61,其中,该两个第二预览界面61中分别显示有图5中目标区域中的第二预览图像53,从而使得在响应于第二输入后得到图像上的第一预览界面上能够叠加显示多个第二预览界 面,且每个第二预览界面上显示有用户选定的第二预览图像。具体的,该两个第二预览界面可以均包括边框区域图像62,其中边框区域图像62可以包括移动终端的边框图像,且图5中目标区域内的第二预览图像53显示于边框区域图像的显示范围内。这增加了第二预览界面与第一预览界面的相似度,实现了图中图的效果,进一步增加了所显示图像的层次感。
此外,进一步地,在响应于第一输入,在第一预览界面上叠加显示第二预览界面之后,还可以对第一预览界面和第二预览界面进行不同的操作,从而使得拍照得到的目标图像能够更符合用户的需求。下面,对此进行介绍。
其一,若第一输入为用户勾勒第一预览图像中的目标对象的轮廓的操作,目标区域为包括目标对象的预设范围的预览图像区域,则在响应于第一输入,在第一预览界面上叠加显示第二预览界面之后,可以包括以下至少一项:对第一预览图像中除目标区域之外的所有图像区域进行虚化处理;对第二预览图像中除目标对象之外的所有图像区域进行虚化处理。
这样,使得可以得到只有第一预览图像中除目标区域之外的所有图像区域进行虚化处理的处理效果,只有第二预览图像中除目标对象之外的所有图像区域进行虚化处理的处理效果,以及第一预览图像中除目标区域之外的所有图像区域和第二预览图像中除目标对象之外的所有图像区域均进行虚化处理的处理效果,从而使得用户能够针对虚化处理具有多种选择,增加了用户在进行虚化处理时的选择性。
具体的,在对第一预览图像中除目标区域之外的所有图像区域进行虚化处理时,可以在第一预览图像中除目标区域之外的所有图像区域中的任意位置输入第一操作,该第一操作包括长按或双击操作,以使移动终端对除目标区域之外的所有图像区域进行虚化处理。此外,在对第二预览图像中除目标对象之外的所有图像区域进行虚化处理时,可以在第二预览图像中除目标图像之外的所有图像区域输入第二操作,该第二操作可以为长按或双击操作,以使移动终端对除目标对象之外的所有图像区域进行虚化处理。
其二,在响应于第一输入,在第一预览界面上叠加显示第二预览界面之后,还可以接收用户在预设操作控制区的第三输入;响应于第三输入,按照第三输入的操作方向,移动第二预览界面;其中,在第二预览界面移动过程 中,第二预览界面实时显示第一预览图像中与第二预览界面的预览图像显示区相对应的对应区域的预览图像。
这样,用户通过输入第三输入,能够移动第二预览界面,此时第二预览界面实时显示第一预览图像中与第二预览界面的预览图像显示区域相对应的对应区域的预览图像,实现了实时更新第二预览界面内所显示的图像,方便了用户确定第二预览界面中所显示的图像。
具体的,在按照第三输入的操作方向,移动第二预览界面时,第二预览界面的移动方向可以与第三输入的操作方向相一致,从而为用户的操作提供便利。例如,当第三输入的操作方向为第一方向时,第二预览界面的移动方向为第一方向,当第三输入的操作方向为第二方向时,第二预览界面的移动方向为第二方向,从而使得能够通过第三输入的操作方向,在第二预览界面上实时显示相同方向的第一预览界面上的图像内容,方便了用户的操作。
其三,在响应于第一输入,在第一预览界面上叠加显示第二预览界面之后,还可以接收用户在预设操作控制区的第四输入;响应于第四输入,对第二预览界面进行缩放;其中,在第二预览界面缩放过程中,第二预览界面实时显示第一预览图像中与第二预览界面的预览图像显示区相对应的对应区域的预览图像。
这样,用户通过输入第四输入,能够对第二预览界面的尺寸进行调节,此时第二预览界面实时显示第一预览图像中与调节后的第二预览界面的预览图像显示区域相对应的对应区域的预览图像,实现了实时更新第二预览界面内所显示的图像,方便了用户确定第二预览界面中所显示的图像。
具体的,第四输入可以为缩放控制操作,该缩放控制操作可以包括用户的至少两个手指在移动终端上的扩张操作和收缩操作。其中,在缩放控制操作为用户的至少两个手指在移动终端上的扩张操作时,第二预览界面进行放大;在缩放控制操作为用户的至少两个手指在移动终端上的收缩操作时,第二预览界面进行缩小。这使得第二预览界面的缩放能够与用户输入的缩放控制操作相一致,从而使得用户能够根据第二预览界面的需求尺寸确定第四输入,方便了用户的操作。
其四,响应于第一输入,在第一预览界面上叠加显示第二预览界面之后, 还包括以下至少一项:在接收到用户的第五输入的情况下,响应于第五输入,调节第一预览图像的图像参数;在接收到用户的第六输入的情况下,响应于第六输入,调节第二预览图像的图像参数;在接收到用户的第七输入的情况下,响应于第七输入,调节第一预览图像和第二预览图像的图像参数,其中,第七输入用于调节第一预览图像和第二预览图像的同一图像参数。具体的,第五输入包括在第一预览界面上的第一预设控件的点击操作,第六输入包括在第一预览界面上的第二预设控件的点击操作,第七输入包括在第一预览界面上的第三预设控件的点击操作。此外,具体的,图像参数可以包括滤镜、图像美化等级和图像颜色的饱和度等,在此并不具体限定图像参数的具体内容。
这样,用户通过输入不同的输入操作,能够单独调节第一预览图像或第二预览图像的图像参数,还可以同时调节第一预览图像和第二预览图像的图像参数,使得为用户对目标图像的图像参数进行调节提供了多种选择,增加了用户在调节图像参数时的选择性,且操作便捷。
本实施例通过在第一预览界面显示摄像头采集的第一预览图像的状态下,接收用户在第一预览界面上选取目标区域的第一输入,然后响应于第一输入,在第一预览界面上叠加显示包括目标区域的第二预览图像的第二预览界面,然后接收用户的第二输入,响应于第二输入,执行拍照操作,输出目标图像,其中目标图像为基于第一预览界面和第二预览界面显示的图像内容生成的合成图像,使得拍照所得的目标图像包括第一预览界面和第二预览界面显示的图像内容生成的合成图像,即能够在照片中得到具有第一预览界面和第二预览界面两个层次的图像内容,实现了在拍照过程中拍摄出具有多个层次的图像。
如图7所示,为本公开的实施例中移动终端的模块框图,该移动终端包括:
第一接收模块701,用于在第一预览界面显示摄像头采集的第一预览图像的状态下,接收用户在第一预览界面上选取目标区域的第一输入;
第一响应模块702,用于响应于所述第一输入,在所述第一预览界面上叠加显示第二预览界面,所述第二预览界面显示所述目标区域的第二预览图 像;
第二接收模块703,用于接收用户的第二输入;
第二响应模块704,用于响应于所述第二输入,执行拍照操作,输出目标图像,所述目标图像为基于所述第一预览界面和所述第二预览界面显示的图像内容生成的合成图像。
本实施例提供的移动终端通过第一接收模块在第一预览界面显示摄像头采集的第一预览图像的状态下,接收用户在第一预览界面上选取目标区域的第一输入;通过第一响应模块响应于第一输入,在第一预览界面上叠加显示第二预览界面,第二预览界面显示所述目标区域的第二预览图像;通过第二接收模块接收用户的第二输入;通过第二响应模块响应于第二输入,执行拍照操作,输出目标图像,目标图像为基于第一预览界面和第二预览界面显示的图像内容生成的合成图像,使得拍照所得的目标图像包括第一预览界面和第二预览界面显示的图像内容生成的合成图像,即能够在照片中得到具有第一预览界面和第二预览界面两个层次的图像内容,实现了在拍照过程中拍摄出具有多个层次的图像。
可选地,所述第一预览界面包括第一预览图像显示区,所述第一预览图像显示区中显示所述第一预览图像;
所述第二预览界面包括第二预览图像显示区,所述第二预览图像显示区显示所述第二预览图像;
所述第二预览界面包括预先存储的边框区域图像,边框区域图像包括移动终端的边框图像和所述第一预览界面中除所述第一预览图像之外的控件区域图像所组成的图像;所述第二预览图像位于所述边框区域图像的显示范围内。
可选地,所述合成图像包括所述第一预览图像和所述第二预览图像,且所述第二预览图像的外侧包括第一边框区域图像;
或者,所述合成图像包括所述第一预览图像和所述第二预览图像,且所述第一预览图像的外侧包括第二边框区域图像,所述第二预览图像的外侧包括第三边框区域图像。
可选地,所述第一输入为用户勾勒所述第一预览图像中的目标对象的轮 廓的操作;所述目标区域为包括所述目标对象的预设范围的预览图像区域;所述移动终端还包括以下至少一项:
第一虚化处理模块,用于对所述第一预览图像中除所述目标区域之外的所有图像区域进行虚化处理;
第二虚化处理模块,用于对所述第二预览图像中除所述目标对象之外的所有图像区域进行虚化处理。
可选地,所述第一输入所选取的目标区域的个数为N,N大于1;所述第一响应模块用于,响应于所述第一输入,在所述第一预览界面上叠加显示N个第二预览界面,所述N个第二预览界面分别显示每个目标区域的预览图像;
其中,输出的所述目标图像为基于所述第一预览界面、所述N个第二预览界面显示的图像内容生成的合成图像。
可选地,所述移动终端还包括:
第三接收模块,用于接收用户在预设操作控制区的第三输入;
第三响应模块,用于响应于所述第三输入,按照所述第三输入的操作方向,移动所述第二预览界面;
其中,在所述第二预览界面移动过程中,所述第二预览界面实时显示所述第一预览图像中与所述第二预览界面的预览图像显示区相对应的对应区域的预览图像。
可选地,所述移动终端还包括:
第四接收模块,用于接收用户在预设操作控制区的第四输入;
第四响应模块,用于响应于所述第四输入,对所述第二预览界面进行缩放;
其中,在所述第二预览界面缩放过程中,所述第二预览界面实时显示所述第一预览图像中与所述第二预览界面的预览图像显示区相对应的对应区域的预览图像。
可选地,所述移动终端还包括以下至少一项:
第五响应模块,用于在接收到用户的第五输入的情况下,响应于所述第五输入,调节所述第一预览图像的图像参数;
第六响应模块,用于在接收到用户的第六输入的情况下,响应于所述第 六输入,调节所述第二预览图像的图像参数;
第七响应模块,用于在接收到用户的第七输入的情况下,响应于所述第七输入,调节所述第一预览图像和所述第二预览图像的图像参数,其中,所述第七输入用于调节所述第一预览图像和所述第二预览图像的同一图像参数。
在本公开实施例中,移动终端通过在第一预览界面显示摄像头采集的第一预览图像的状态下,接收用户在第一预览界面上选取目标区域的第一输入,然后响应于第一输入,在第一预览界面上叠加显示包括目标区域的第二预览图像的第二预览界面,然后接收用户的第二输入,响应于第二输入,执行拍照操作,输出目标图像,其中目标图像为基于第一预览界面和第二预览界面显示的图像内容生成的合成图像,使得拍照所得的目标图像包括第一预览界面和第二预览界面显示的图像内容生成的合成图像,即能够在照片中得到具有第一预览界面和第二预览界面两个层次的图像内容,实现了在拍照过程中拍摄出具有多个层次的图像。
此外,图8为实现本公开各个实施例的一种移动终端的硬件结构示意图。该移动终端800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、处理器810、以及电源811等部件。本领域技术人员可以理解,图8中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,处理器810用于,在第一预览界面显示摄像头采集的第一预览图像的状态下,接收用户在第一预览界面上选取目标区域的第一输入;响应于所述第一输入,在所述第一预览界面上叠加显示第二预览界面,所述第二预览界面显示所述目标区域的第二预览图像;接收用户的第二输入;响应于所述第二输入,执行拍照操作,输出目标图像,所述目标图像为基于所述第一预览界面和所述第二预览界面显示的图像内容生成的合成图像。
本实施例提供的移动终端通过在第一预览界面显示摄像头采集的第一预览图像的状态下,接收用户在第一预览界面上选取目标区域的第一输入,然 后响应于第一输入,在第一预览界面上叠加显示包括目标区域的第二预览图像的第二预览界面,然后接收用户的第二输入,响应于第二输入,执行拍照操作,输出目标图像,其中目标图像为基于第一预览界面和第二预览界面显示的图像内容生成的合成图像,使得拍照所得的目标图像包括第一预览界面和第二预览界面显示的图像内容生成的合成图像,即能够在照片中得到具有第一预览界面和第二预览界面两个层次的图像内容,实现了在拍照过程中拍摄出具有多个层次的图像。
应理解的是,本公开实施例中,射频单元801可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器810处理;另外,将上行的数据发送给基站。通常,射频单元801包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元801还可以通过无线通信***与网络和其他设备通信。
移动终端通过网络模块802为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元803可以将射频单元801或网络模块802接收的或者在存储器809中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元803还可以提供与移动终端800执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元803包括扬声器、蜂鸣器以及受话器等。
输入单元804用于接收音频或视频信号。输入单元804可以包括图形处理器(Graphics Processing Unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元806上。经图形处理器8041处理后的图像帧可以存储在存储器809(或其它存储介质)中或者经由射频单元801或网络模块802进行发送。麦克风8042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元801发送到移动通信基站的格式输出。
移动终端800还包括至少一种传感器805,比如光传感器、运动传感器 以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板8061的亮度,接近传感器可在移动终端800移动到耳边时,关闭显示面板8061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器805还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元806用于显示由用户输入的信息或提供给用户的信息。显示单元806可包括显示面板8061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板8061。
用户输入单元807可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板8071上或在触控面板8071附近的操作)。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器810,接收处理器810发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板8071。除了触控面板8071,用户输入单元807还可以包括其他输入设备8072。具体地,其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板8071可覆盖在显示面板8061上,当触控面板8071检测到在其上或附近的触摸操作后,传送给处理器810以确定触摸事件的类型,随后处理器810根据触摸事件的类型在显示面板8061上提供相应的视觉 输出。虽然在图8中,触控面板8071与显示面板8061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板8071与显示面板8061集成而实现移动终端的输入和输出功能,具体此处不做限定。
接口单元808为外部装置与移动终端800连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元808可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端800内的一个或多个元件或者可以用于在移动终端800和外部装置之间传输数据。
存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器809可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器810是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器809内的软件程序和/或模块,以及调用存储在存储器809内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器810可包括一个或多个处理单元;优选的,处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。
移动终端800还可以包括给各个部件供电的电源811(比如电池),可选的,电源811可以通过电源管理***与处理器810逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。
另外,移动终端800包括一些未示出的功能模块,在此不再赘述。
可选的,本公开实施例还提供一种移动终端,包括处理器810,存储器 809,存储在存储器809上并可在所述处理器810上运行的计算机程序,该计算机程序被处理器810执行时实现上述拍照方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述拍照方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (18)

  1. 一种拍照方法,包括:
    在第一预览界面显示摄像头采集的第一预览图像的状态下,接收用户在第一预览界面上选取目标区域的第一输入;
    响应于所述第一输入,在所述第一预览界面上叠加显示第二预览界面,所述第二预览界面显示所述目标区域的第二预览图像;
    接收用户的第二输入;
    响应于所述第二输入,执行拍照操作,输出目标图像,所述目标图像为基于所述第一预览界面和所述第二预览界面显示的图像内容生成的合成图像。
  2. 根据权利要求1所述的方法,其中,
    所述第一预览界面包括第一预览图像显示区,所述第一预览图像显示区中显示所述第一预览图像;
    所述第二预览界面包括第二预览图像显示区,所述第二预览图像显示区显示所述第二预览图像;
    所述第二预览界面包括预先存储的边框区域图像,边框区域图像包括移动终端的边框图像和所述第一预览界面中除所述第一预览图像之外的控件区域图像所组成的图像;所述第二预览图像位于所述边框区域图像的显示范围内。
  3. 根据权利要求1所述的方法,其中,
    所述合成图像包括所述第一预览图像和所述第二预览图像,且所述第二预览图像的外侧包括第一边框区域图像;
    或者,所述合成图像包括所述第一预览图像和所述第二预览图像,且所述第一预览图像的外侧包括第二边框区域图像,所述第二预览图像的外侧包括第三边框区域图像。
  4. 根据权利要求1所述的方法,其中,所述第一输入为用户勾勒所述第一预览图像中的目标对象的轮廓的操作;所述目标区域为包括所述目标对象的预设范围的预览图像区域;
    所述响应于所述第一输入,在所述第一预览界面上叠加显示第二预览界 面之后,还包括以下至少一项:
    对所述第一预览图像中除所述目标区域之外的所有图像区域进行虚化处理;
    对所述第二预览图像中除所述目标对象之外的所有图像区域进行虚化处理。
  5. 根据权利要求1所述的方法,其中,所述第一输入所选取的目标区域的个数为N,N大于1;
    所述响应于所述第一输入,在所述第一预览界面上叠加显示第二预览界面,所述第二预览界面显示所述目标区域的第二预览图像,包括:
    响应于所述第一输入,在所述第一预览界面上叠加显示N个第二预览界面,所述N个第二预览界面分别显示每个目标区域的预览图像;
    其中,输出的所述目标图像为基于所述第一预览界面、所述N个第二预览界面显示的图像内容生成的合成图像。
  6. 根据权利要求1所述的方法,所述响应于所述第一输入,在所述第一预览界面上叠加显示第二预览界面之后,还包括:
    接收用户在预设操作控制区的第三输入;
    响应于所述第三输入,按照所述第三输入的操作方向,移动所述第二预览界面;
    其中,在所述第二预览界面移动过程中,所述第二预览界面实时显示所述第一预览图像中与所述第二预览界面的预览图像显示区相对应的对应区域的预览图像。
  7. 根据权利要求1所述的方法,所述响应于所述第一输入,在所述第一预览界面上叠加显示第二预览界面之后,还包括:
    接收用户在预设操作控制区的第四输入;
    响应于所述第四输入,对所述第二预览界面进行缩放;
    其中,在所述第二预览界面缩放过程中,所述第二预览界面实时显示所述第一预览图像中与所述第二预览界面的预览图像显示区相对应的对应区域的预览图像。
  8. 根据权利要求1所述的方法,所述响应于所述第一输入,在所述第一 预览界面上叠加显示第二预览界面之后,还包括以下至少一项:
    在接收到用户的第五输入的情况下,响应于所述第五输入,调节所述第一预览图像的图像参数;
    在接收到用户的第六输入的情况下,响应于所述第六输入,调节所述第二预览图像的图像参数;
    在接收到用户的第七输入的情况下,响应于所述第七输入,调节所述第一预览图像和所述第二预览图像的图像参数,其中,所述第七输入用于调节所述第一预览图像和所述第二预览图像的同一图像参数。
  9. 一种移动终端,包括:
    第一接收模块,用于在第一预览界面显示摄像头采集的第一预览图像的状态下,接收用户在第一预览界面上选取目标区域的第一输入;
    第一响应模块,用于响应于所述第一输入,在所述第一预览界面上叠加显示第二预览界面,所述第二预览界面显示所述目标区域的第二预览图像;
    第二接收模块,用于接收用户的第二输入;
    第二响应模块,用于响应于所述第二输入,执行拍照操作,输出目标图像,所述目标图像为基于所述第一预览界面和所述第二预览界面显示的图像内容生成的合成图像。
  10. 根据权利要求9所述的移动终端,其中,
    所述第一预览界面包括第一预览图像显示区,所述第一预览图像显示区中显示所述第一预览图像;
    所述第二预览界面包括第二预览图像显示区,所述第二预览图像显示区显示所述第二预览图像;
    所述第二预览界面包括预先存储的边框区域图像,边框区域图像包括移动终端的边框图像和所述第一预览界面中除所述第一预览图像之外的控件区域图像所组成的图像;所述第二预览图像位于所述边框区域图像的显示范围内。
  11. 根据权利要求9所述的移动终端,其中,所述合成图像包括所述第一预览图像和所述第二预览图像,且所述第二预览图像的外侧包括第一边框区域图像;
    或者,所述合成图像包括所述第一预览图像和所述第二预览图像,且所述第一预览图像的外侧包括第二边框区域图像,所述第二预览图像的外侧包括第三边框区域图像。
  12. 根据权利要求9所述的移动终端,其中,所述第一输入为用户勾勒所述第一预览图像中的目标对象的轮廓的操作;所述目标区域为包括所述目标对象的预设范围的预览图像区域;所述移动终端还包括以下至少一项:
    第一虚化处理模块,用于对所述第一预览图像中除所述目标区域之外的所有图像区域进行虚化处理;
    第二虚化处理模块,用于对所述第二预览图像中除所述目标对象之外的所有图像区域进行虚化处理。
  13. 根据权利要求9所述的移动终端,其中,所述第一输入所选取的目标区域的个数为N,N大于1;所述第一响应模块用于,响应于所述第一输入,在所述第一预览界面上叠加显示N个第二预览界面,所述N个第二预览界面分别显示每个目标区域的预览图像;
    其中,输出的所述目标图像为基于所述第一预览界面、所述N个第二预览界面显示的图像内容生成的合成图像。
  14. 根据权利要求9所述的移动终端,还包括:
    第三接收模块,用于接收用户在预设操作控制区的第三输入;
    第三响应模块,用于响应于所述第三输入,按照所述第三输入的操作方向,移动所述第二预览界面;
    其中,在所述第二预览界面移动过程中,所述第二预览界面实时显示所述第一预览图像中与所述第二预览界面的预览图像显示区相对应的对应区域的预览图像。
  15. 根据权利要求9所述的移动终端,还包括:
    第四接收模块,用于接收用户在预设操作控制区的第四输入;
    第四响应模块,用于响应于所述第四输入,对所述第二预览界面进行缩放;
    其中,在所述第二预览界面缩放过程中,所述第二预览界面实时显示所述第一预览图像中与所述第二预览界面的预览图像显示区相对应的对应区域 的预览图像。
  16. 根据权利要求9所述的移动终端,还包括以下至少一项:
    第五响应模块,用于在接收到用户的第五输入的情况下,响应于所述第五输入,调节所述第一预览图像的图像参数;
    第六响应模块,用于在接收到用户的第六输入的情况下,响应于所述第六输入,调节所述第二预览图像的图像参数;
    第七响应模块,用于在接收到用户的第七输入的情况下,响应于所述第七输入,调节所述第一预览图像和所述第二预览图像的图像参数,其中,所述第七输入用于调节所述第一预览图像和所述第二预览图像的同一图像参数。
  17. 一种移动终端,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至8任一项所述的拍照方法的步骤。
  18. 一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至8任一项所述的拍照方法的步骤。
PCT/CN2019/078241 2018-03-15 2019-03-15 拍照方法及移动终端 WO2019174628A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US16/980,803 US11451706B2 (en) 2018-03-15 2019-03-15 Photographing method and mobile terminal
EP19767329.6A EP3767939A4 (en) 2018-03-15 2019-03-15 PHOTOGRAPHY PROCESS, AND MOBILE TERMINAL

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810213500.1 2018-03-15
CN201810213500.1A CN108495029B (zh) 2018-03-15 2018-03-15 一种拍照方法及移动终端

Publications (1)

Publication Number Publication Date
WO2019174628A1 true WO2019174628A1 (zh) 2019-09-19

Family

ID=63339446

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/078241 WO2019174628A1 (zh) 2018-03-15 2019-03-15 拍照方法及移动终端

Country Status (4)

Country Link
US (1) US11451706B2 (zh)
EP (1) EP3767939A4 (zh)
CN (1) CN108495029B (zh)
WO (1) WO2019174628A1 (zh)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108495029B (zh) 2018-03-15 2020-03-31 维沃移动通信有限公司 一种拍照方法及移动终端
CN109862267B (zh) 2019-01-31 2020-11-17 维沃移动通信有限公司 一种拍摄方法及终端设备
CN110233966B (zh) * 2019-05-31 2021-06-15 维沃移动通信(杭州)有限公司 一种图像生成方法及终端
CN110365898A (zh) * 2019-07-11 2019-10-22 维沃移动通信有限公司 一种拍摄方法及终端设备
CN113132618B (zh) * 2019-12-31 2022-09-09 华为技术有限公司 辅助拍照方法、装置、终端设备及存储介质
CN113542581A (zh) * 2020-04-22 2021-10-22 华为技术有限公司 多路录像的取景方法、图形用户界面及电子设备
CN112995500B (zh) * 2020-12-30 2023-08-08 维沃移动通信(杭州)有限公司 拍摄方法、装置、电子设备及介质
CN112738403B (zh) * 2020-12-30 2023-12-05 维沃移动通信(杭州)有限公司 拍摄方法、拍摄装置、电子设备和介质
USD978179S1 (en) * 2021-03-31 2023-02-14 453I Display screen or portion thereof with a graphical user interface for a digital card
US20230059007A1 (en) * 2021-08-20 2023-02-23 Adobe Inc. Generating object-based layers for digital image editing using object classification machine learning models
US20230377609A1 (en) * 2022-05-23 2023-11-23 Snap Inc. Creating time-based combination videos
CN117729419A (zh) * 2022-07-15 2024-03-19 荣耀终端有限公司 终端拍摄方法及终端设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010263269A (ja) * 2009-04-30 2010-11-18 Sanyo Electric Co Ltd 撮像装置
CN104333701A (zh) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 一种相机预览画面的显示方法、装置及终端
CN104423946A (zh) * 2013-08-30 2015-03-18 联想(北京)有限公司 一种图像处理方法以及电子设备
CN106027910A (zh) * 2013-01-22 2016-10-12 华为终端有限公司 预览画面呈现方法、装置及终端
CN106303051A (zh) * 2016-08-22 2017-01-04 华蓥市高科龙电子科技有限公司 一种智能手机的预览方法
CN108174109A (zh) * 2018-03-15 2018-06-15 维沃移动通信有限公司 一种拍照方法及移动终端
CN108495029A (zh) * 2018-03-15 2018-09-04 维沃移动通信有限公司 一种拍照方法及移动终端

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5262417B2 (ja) * 2008-08-19 2013-08-14 株式会社リコー 画像処理装置、画像処理方法および画像処理プログラム
US20130155308A1 (en) * 2011-12-20 2013-06-20 Qualcomm Incorporated Method and apparatus to enhance details in an image
JP6112925B2 (ja) * 2013-03-15 2017-04-12 オリンパス株式会社 表示機器及び表示方法
CN103297699A (zh) * 2013-05-31 2013-09-11 北京小米科技有限责任公司 一种图像的拍摄方法和终端
CN104796594B (zh) * 2014-01-16 2020-01-14 中兴通讯股份有限公司 一种预览界面特殊效果即时呈现方法及终端设备
CN103777865A (zh) * 2014-02-21 2014-05-07 联想(北京)有限公司 信息显示方法、装置、处理器及电子设备
CN104333689A (zh) * 2014-03-05 2015-02-04 广州三星通信技术研究有限公司 在拍摄时对预览图像进行显示的方法和装置
CN104168422A (zh) * 2014-08-08 2014-11-26 小米科技有限责任公司 处理图像的方法及装置
KR20160029536A (ko) * 2014-09-05 2016-03-15 엘지전자 주식회사 이동 단말기 및 그것의 제어방법
JP2016111652A (ja) * 2014-12-10 2016-06-20 オリンパス株式会社 撮像装置、撮像方法およびプログラム
KR101678861B1 (ko) * 2015-07-28 2016-11-23 엘지전자 주식회사 이동단말기 및 그 제어방법
CN105554364A (zh) * 2015-07-30 2016-05-04 宇龙计算机通信科技(深圳)有限公司 一种图像处理方法及终端
KR20170029978A (ko) * 2015-09-08 2017-03-16 엘지전자 주식회사 이동단말기 및 그 제어방법
CN105262953B (zh) * 2015-10-30 2018-11-16 努比亚技术有限公司 一种移动终端及其控制拍摄的方法
KR20170123125A (ko) * 2016-04-28 2017-11-07 엘지전자 주식회사 이동단말기 및 그 제어방법
EP3291533A1 (en) * 2016-09-06 2018-03-07 LG Electronics Inc. Terminal and controlling method thereof
CN106454081B (zh) 2016-09-29 2019-03-22 宇龙计算机通信科技(深圳)有限公司 拍照方法及装置
CN106502693B (zh) 2016-10-17 2019-07-19 努比亚技术有限公司 一种图像显示方法和装置
CN106909274B (zh) 2017-02-27 2020-12-15 南京车链科技有限公司 一种图像显示方法和装置
CN106993131B (zh) * 2017-03-13 2020-11-20 联想(北京)有限公司 信息处理方法及电子设备
CN107682622A (zh) * 2017-09-08 2018-02-09 维沃移动通信有限公司 一种拍摄方法及移动终端
CN107577409B (zh) * 2017-10-20 2019-07-26 维沃移动通信有限公司 一种预览图像的处理方法和移动终端

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010263269A (ja) * 2009-04-30 2010-11-18 Sanyo Electric Co Ltd 撮像装置
CN106027910A (zh) * 2013-01-22 2016-10-12 华为终端有限公司 预览画面呈现方法、装置及终端
CN104423946A (zh) * 2013-08-30 2015-03-18 联想(北京)有限公司 一种图像处理方法以及电子设备
CN104333701A (zh) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 一种相机预览画面的显示方法、装置及终端
CN106303051A (zh) * 2016-08-22 2017-01-04 华蓥市高科龙电子科技有限公司 一种智能手机的预览方法
CN108174109A (zh) * 2018-03-15 2018-06-15 维沃移动通信有限公司 一种拍照方法及移动终端
CN108495029A (zh) * 2018-03-15 2018-09-04 维沃移动通信有限公司 一种拍照方法及移动终端

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3767939A4 *

Also Published As

Publication number Publication date
EP3767939A4 (en) 2021-03-24
CN108495029B (zh) 2020-03-31
US11451706B2 (en) 2022-09-20
US20210014413A1 (en) 2021-01-14
CN108495029A (zh) 2018-09-04
EP3767939A1 (en) 2021-01-20

Similar Documents

Publication Publication Date Title
WO2019174628A1 (zh) 拍照方法及移动终端
CN108513070B (zh) 一种图像处理方法、移动终端及计算机可读存储介质
CN108668083B (zh) 一种拍照方法及终端
CN111541845B (zh) 图像处理方法、装置及电子设备
CN108848308B (zh) 一种拍摄方法及移动终端
WO2020108261A1 (zh) 拍摄方法及终端
CN109992231B (zh) 投屏方法及终端
CN107817939B (zh) 一种图像处理方法及移动终端
CN108174103B (zh) 一种拍摄提示方法及移动终端
CN109361867B (zh) 一种滤镜处理方法及移动终端
CN111031398A (zh) 一种视频控制方法及电子设备
CN109474786B (zh) 一种预览图像生成方法及终端
WO2019196929A1 (zh) 一种视频数据处理方法及移动终端
CN111290810B (zh) 一种图像显示方法及电子设备
WO2019184947A1 (zh) 图像查看方法及移动终端
US11165950B2 (en) Method and apparatus for shooting video, and storage medium
CN111010523B (zh) 一种视频录制方法及电子设备
KR20220005087A (ko) 촬영 방법 및 단말
CN109618218B (zh) 一种视频处理方法及移动终端
CN109448069B (zh) 一种模板生成方法及移动终端
WO2020011080A1 (zh) 显示控制方法及终端设备
WO2019120190A1 (zh) 拨号方法及移动终端
CN108881721B (zh) 一种显示方法及终端
CN108174110B (zh) 一种拍照方法及柔性屏终端
WO2019076373A1 (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: 19767329

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2019767329

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2019767329

Country of ref document: EP

Effective date: 20201015