CN111225154B - Photographing method and electronic equipment - Google Patents

Photographing method and electronic equipment Download PDF

Info

Publication number
CN111225154B
CN111225154B CN202010074578.7A CN202010074578A CN111225154B CN 111225154 B CN111225154 B CN 111225154B CN 202010074578 A CN202010074578 A CN 202010074578A CN 111225154 B CN111225154 B CN 111225154B
Authority
CN
China
Prior art keywords
preview interface
screen
photographing
display
target picture
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
CN202010074578.7A
Other languages
Chinese (zh)
Other versions
CN111225154A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010074578.7A priority Critical patent/CN111225154B/en
Publication of CN111225154A publication Critical patent/CN111225154A/en
Application granted granted Critical
Publication of CN111225154B publication Critical patent/CN111225154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/62Control of parameters via user interfaces

Abstract

The embodiment of the invention provides a photographing method and electronic equipment, wherein the electronic equipment is provided with a screen with an extensible length or width, and the method comprises the following steps: displaying a photographing preview interface in a screen; receiving selection input of a user in the photographing preview interface, wherein the selection input is used for selecting a target picture from the photographing preview interface; adjusting the display range of the photographing preview interface by controlling the extension or contraction of the screen according to the display proportion of the target picture, and displaying the target picture in the adjusted photographing preview interface; and taking a picture based on the adjusted picture taking preview interface. In the embodiment of the invention, a user selects a target picture in the photographing preview interface, the display range of the photographing preview interface is adjusted by controlling the expansion or contraction of the screen of the electronic equipment according to the display proportion of the target picture, and photographing is carried out based on the adjusted photographing preview interface, so that the photographed picture meets the requirements of the user and does not need to be subjected to secondary processing.

Description

Photographing method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of electronic equipment, in particular to a photographing method and electronic equipment.
Background
At present, when a user uses electronic equipment to take a picture, other objects besides a target object are often taken in the picture, and the quality of the picture is affected. In order to obtain a satisfactory picture, a user needs to use picture processing software to cut and trim the taken picture, the steps are complicated, and secondary processing of the picture may cause image distortion.
Disclosure of Invention
The embodiment of the invention provides a photographing method and electronic equipment, and solves the problems that the conventional photographing method cannot directly obtain a satisfactory photo, and a user needs to perform secondary processing on the photo.
In a first aspect, an embodiment of the present invention provides a photographing method applied to an electronic device having a screen with an extendable length or width, where the method includes:
displaying a photographing preview interface in the screen;
receiving selection input of a user in the photo preview interface, wherein the selection input is used for selecting a target picture from the photo preview interface;
adjusting the display range of the photographing preview interface by controlling the screen to stretch or shrink according to the display proportion of the target picture, and displaying the target picture in the adjusted photographing preview interface;
and taking a picture based on the adjusted picture taking preview interface.
In a second aspect, an embodiment of the present invention provides an electronic device having a screen that is extendable in length or width, the electronic device including:
the first display module is used for displaying a photographing preview interface in the screen;
the receiving module is used for receiving selection input of a user in the photographing preview interface, and the selection input is used for selecting a target picture from the photographing preview interface;
the adjusting module is used for adjusting the display range of the photographing preview interface by controlling the screen to extend or contract according to the display proportion of the target picture;
the second display module is used for displaying the target picture in the adjusted photographing preview interface;
and the photographing module is used for photographing based on the adjusted photographing preview interface.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a program stored in the memory and being executable on the processor, where the program, when executed by the processor, implements the steps of the photographing method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the photographing method according to the first aspect.
In the embodiment of the invention, a user selects a target picture in the photographing preview interface, the display range of the photographing preview interface is adjusted by controlling the expansion or contraction of the screen of the electronic equipment according to the display proportion of the target picture, and photographing is carried out based on the adjusted photographing preview interface, so that the photographed picture meets the requirements of the user and does not need to be subjected to secondary processing.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention 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 that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a photographing method according to an embodiment of the present invention;
fig. 2a is a schematic view of an application scenario provided in the embodiment of the present invention;
fig. 2b is a second schematic view of an application scenario provided by the embodiment of the present invention;
fig. 3 is a third schematic view of an application scenario provided in the embodiment of the present invention;
FIG. 4 is a fourth schematic view of an application scenario provided by the embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 6 is a second schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Herein, relational terms such as "first" and "second", and the like, are used solely to distinguish one from another of like names, and do not imply a relationship or order between the names.
In the embodiment of the present invention, the electronic device may be a Mobile phone, a tablet Computer, a notebook Computer, an Ultra-Mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA), or the like.
In an embodiment of the present invention, an electronic device includes a retractable screen having an extended state and a retracted state, a portion of the screen being disposed inside the electronic device when the screen is in the retracted state; when the screen is switched to the stretching state, part of the screen arranged in the electronic equipment stretches out of the electronic equipment, and the whole display area of the screen is enlarged.
The expansion or contraction of the screen can be achieved by the prior art, for example: the structure and the specific telescopic manner of the screen having the extended state and the retracted state are not limited in the embodiment of the present invention, which is operated manually by a user or by a driving assembly provided in the electronic device.
Referring to fig. 1, an embodiment of the present invention provides a photographing method, where an execution subject of the method is an electronic device, the electronic device has a screen with an extendable length or width, and the method includes the following specific steps:
step 101: displaying a photographing preview interface in a screen;
in the embodiment of the invention, the photographing function is started on the electronic equipment so as to display the photographing preview interface in the screen. Optionally, the photographing function is turned on when the screen is in an initial state.
Referring to fig. 2a, a scene of the photo preview interface is displayed in the screen when the screen is in the initial state, wherein the target object 22 is included in the photo preview interface 21, and the display range of the photo preview interface 21 is much larger than the target object 22, so that an area which does not need to be photographed exists around the target object 22.
It should be noted that the screen shown in fig. 2a can be extended or contracted along the longitudinal direction, and for convenience of description, the direction parallel to the longitudinal direction of the screen is taken as the left and right direction, and the direction perpendicular to the longitudinal direction of the screen is taken as the up and down direction with respect to the orientation of the target object 22.
Step 102: receiving selection input of a user in a photographing preview interface;
in the embodiment of the present invention, the selection input is used to select a target picture from the photo preview interface, where the target picture corresponds to a target object that the user wants to photograph, and optionally, the selection input may be a sliding input in the photo preview interface, and the target picture is selected in the photo preview interface according to a track of the sliding input.
Referring to fig. 2b, the area marked out by the dashed line frame in the drawing is a target image, and corresponds to the target object 22, it can be understood that, in an actual application scene, the dashed line frame may be displayed in the photo preview interface 21, so that the user can know whether the target image selected by the user is correct, or the dashed line frame may not be displayed in the photo preview interface 21, so as to avoid a messy display content.
Step 103: adjusting the display range of the photographing preview interface by controlling the extension or contraction of the screen according to the display proportion of the target picture, and displaying the target picture in the adjusted photographing preview interface;
in the embodiment of the present invention, the display scale of the target frame refers to a scale of a display size of the target frame, for example, an aspect ratio of the target frame, and the display scale of the target frame selected by the user may not be consistent with the display scale of the current photo preview interface, for example: the display ratio of the current photo preview interface is 16:9, and the display ratio of the target picture may be 2:1, so that the display range of the photo preview interface needs to be adjusted. Specifically, the display range of the photographing preview interface is adjusted by extending or contracting the control screen.
In some embodiments, the focal length of the lens and the display area of the photo preview interface are adjusted by controlling the screen to extend or retract according to the display scale of the target picture.
The focal length of the lens is the distance from the optical rear principal point of the lens to the focal point, and is an important performance index of the lens, and the length of the focal length of the lens determines the size of the shot image. The focal length of a lens is changed by extending or contracting the screen, so that the size of a target object in the photographing preview interface is changed; the display area of the photographing preview interface refers to a preview photographing range displayed in the photographing preview interface under the condition of keeping the focal length of the lens unchanged. And controlling the screen to extend or contract, and changing the display area of the screen, thereby changing the display area of the picture taking preview interface in the screen.
It should be noted that increasing the focal length of the lens may increase the target object in the photo preview interface, which may cause the display range in one direction of the photo preview interface to satisfy the display of the target object, and the display range in the other directions to be insufficient to satisfy the display of the target object, for example: in the scene shown in fig. 2a, if the focal length of the lens is increased, when the display range in the width direction of the photo preview interface 21 can satisfy the display of the target object 22, the display range in the length direction may not satisfy the display of the target object 22, which may result in incomplete display of the target object.
In consideration of the problem of zooming of the target object in the process of adjusting the focal length of the lens, the focal length of the lens is increased under the condition that the screen is stretched, so that the display area of a photographing preview interface can be increased while the target object is enlarged, and the display of the target object is ensured to be met; correspondingly, under the condition that the screen is contracted, the focal length of the lens is reduced, and the display area of the photographing preview interface is synchronously reduced with the target object.
Referring to fig. 3, a scene of adjusting the focal length of the lens by extending or contracting the screen based on fig. 2a is shown, wherein the focal length of the lens is increased by extending the screen to increase the display range of the target object 22 in the photo preview interface 21, so as to remove the regions of the target object 22 that do not need to be photographed at the upper and lower sides. In this scenario, since the display area of the photo preview interface 21 is increased due to the stretching of the screen, regions that do not require photographing appear on the left and right sides of the target object 22, and therefore, further adjustment of the display area of the photo preview interface 21 is required.
Specifically, under the condition that the screen is stretched, the display area of the photographing preview interface is increased along the stretching direction of the screen; in the case of screen shrinkage, the display area of the photographing preview interface is reduced in the screen shrinkage direction.
Referring to fig. 4, a scene of adjusting the display area of the photo preview interface by screen expansion or contraction on the basis of fig. 3 is shown, wherein the display area of the photo preview interface is reduced in the screen contraction direction by screen contraction, so as to remove the regions of the target object 22 on the left and right sides that do not need to be photographed.
In some embodiments, the variation of the display area of the photo preview interface is matched with the variation of the screen, so that when the user controls the screen to stretch, the stretching amount of the screen is conveniently controlled, and the adjustment of the display area of the photo preview interface is more accurate.
Further, the focal length of the lens is locked under the condition that the display area of the photographing preview interface is adjusted through the expansion or contraction of the screen.
Therefore, when the display area of the photographing preview interface is adjusted, the focal length of the lens is unchanged, the display size of the target object is unchanged, and a user only needs to adjust the area of the photographing preview interface properly, so that the influence on the adjustment of the display area of the photographing preview interface due to the synchronous change of the display size of the target object is avoided.
The above-mentioned locking of the photographing focus multiple can be realized by performing touch input on a control in the screen, for example: referring to fig. 4, a lock control 23 is displayed in the photo preview interface 21, and the user can lock the focal length of the lens by clicking the lock control 23.
Step 104: and taking a picture based on the adjusted picture taking preview interface.
In the embodiment of the present invention, taking the scene shown in fig. 4 as an example, in the adjusted photo preview interface 21, the target object 22 substantially fills the whole photo preview interface 21, and the redundant regions that do not need to be photographed are all removed by adjustment.
In the embodiment of the invention, a user selects a target picture in the photographing preview interface, the display range of the photographing preview interface is adjusted by controlling the expansion or contraction of the screen of the electronic equipment according to the display proportion of the target picture, and photographing is carried out based on the adjusted photographing preview interface, so that the photographed picture meets the requirements of the user and does not need to be subjected to secondary processing.
Referring to fig. 5, an embodiment of the present invention provides an electronic apparatus 500, where the electronic apparatus 500 has a screen with an extendable length or width, and the electronic apparatus 500 includes:
a first display module 501, configured to display a photographing preview interface in the screen;
a receiving module 502, configured to receive a selection input of a user in the photo preview interface, where the selection input is used to select a target picture from the photo preview interface;
the adjusting module 503 is configured to adjust a display range of the photographing preview interface by controlling the screen to extend or contract according to the display scale of the target picture;
a second display module 504, configured to display the target picture in the adjusted photo preview interface;
and a photographing module 505, configured to take a photograph based on the adjusted photographing preview interface.
Optionally, the adjusting module 503 is further configured to adjust a focal length of a lens and a display area of the photographing preview interface by controlling the screen to extend or retract according to the display ratio of the target image.
Optionally, the adjusting module 503 is further configured to increase a focal length of a lens when the screen is extended;
the adjusting module 503 is further configured to decrease the focal length of the lens when the screen is retracted.
Optionally, the variation of the display area of the photo preview interface is the same as the variation of the screen.
Optionally, the adjusting module 503 is further configured to lock the focal length of the lens when the display area of the photo preview interface is adjusted by extending or contracting the screen;
in the embodiment of the invention, a user selects a target picture in the photographing preview interface, the display range of the photographing preview interface is adjusted by controlling the expansion or contraction of the screen of the electronic equipment according to the display proportion of the target picture, and photographing is carried out based on the adjusted photographing preview interface, so that the photographed picture meets the requirements of the user and does not need to be subjected to secondary processing.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, and as shown in the figure, the electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Preferably, a computer program stored on the memory 609 and executable on said processor 610, which computer program, when executed by the processor 610, performs the steps of: displaying a photographing preview interface in a screen; receiving selection input of a user in the photographing preview interface, wherein the selection input is used for selecting a target picture from the photographing preview interface; adjusting the display range of the photographing preview interface by controlling the expansion or contraction of the screen according to the display proportion of the target picture; displaying a target picture in the adjusted photographing preview interface; and taking a picture based on the adjusted picture taking preview interface.
In the embodiment of the invention, a user selects a target picture in the photographing preview interface, the display range of the photographing preview interface is adjusted by controlling the expansion or contraction of the screen of the electronic equipment according to the display proportion of the target picture, and photographing is carried out based on the adjusted photographing preview interface, so that the photographed picture meets the requirements of the user and does not need to be subjected to secondary processing.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 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. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device 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 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 600 or may be used to transmit data between the electronic device 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage 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 cellular phone, and the like. Further, the memory 609 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.
The processor 610 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 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 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the computer program implements each process of the method embodiments shown in fig. 1 to 4, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the method embodiments shown in fig. 1 to 4, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A photographing method applied to an electronic device, wherein the electronic device is provided with a screen with an extensible length or width, and the method comprises the following steps:
displaying a photographing preview interface in the screen;
receiving selection input of a user in the photo preview interface, wherein the selection input is used for selecting a target picture from the photo preview interface;
adjusting the focal length of a lens and the display area of the photographing preview interface by controlling the extension or contraction of the screen according to the display proportion of the target picture, wherein the display proportion of the target picture is the length-width ratio of the target picture;
locking the focal length of the lens under the condition that the display area of the photographing preview interface is adjusted through the expansion or contraction of the screen;
displaying the target picture in the adjusted photographing preview interface;
and taking a picture based on the adjusted picture taking preview interface.
2. The method of claim 1, wherein said adjusting a focal length of a lens by said screen expansion or contraction comprises:
increasing a lens focal length with the screen extended;
in the case where the screen is contracted, the lens focal length is reduced.
3. The method of claim 1, wherein a variation of a display area of the photo preview interface matches a variation of the screen.
4. An electronic device characterized in that the electronic device has a screen whose length or width is stretchable, the electronic device comprising:
the first display module is used for displaying a photographing preview interface in the screen;
the receiving module is used for receiving selection input of a user in the photographing preview interface, and the selection input is used for selecting a target picture from the photographing preview interface;
the adjusting module is used for adjusting the focal length of a lens and the display area of the photographing preview interface by controlling the extension or contraction of the screen according to the display proportion of the target picture, wherein the display proportion of the target picture is the length-width ratio of the target picture;
the adjusting module is further used for locking the focal length of the lens under the condition that the display area of the photographing preview interface is adjusted through expansion or contraction of the screen;
the second display module is used for displaying the target picture in the adjusted photographing preview interface;
and the photographing module is used for photographing based on the adjusted photographing preview interface.
5. The electronic device of claim 4,
the adjusting module is further used for increasing the focal length of the lens under the condition that the screen is stretched;
the adjusting module is further used for reducing the focal length of the lens under the condition that the screen is contracted.
6. The electronic device of claim 4, wherein a variation of a display area of the photo preview interface matches a variation of the screen.
7. An electronic device comprising a processor, a memory and a program stored on the memory and executable on the processor, the program, when executed by the processor, implementing the steps of the photographing method according to any one of claims 1 to 3.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the photographing method according to any one of claims 1 to 3.
CN202010074578.7A 2020-01-22 2020-01-22 Photographing method and electronic equipment Active CN111225154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010074578.7A CN111225154B (en) 2020-01-22 2020-01-22 Photographing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010074578.7A CN111225154B (en) 2020-01-22 2020-01-22 Photographing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111225154A CN111225154A (en) 2020-06-02
CN111225154B true CN111225154B (en) 2021-08-03

Family

ID=70828541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010074578.7A Active CN111225154B (en) 2020-01-22 2020-01-22 Photographing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111225154B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112437232A (en) * 2020-11-24 2021-03-02 维沃移动通信(杭州)有限公司 Shooting method, shooting device, electronic equipment and readable storage medium
CN113727001B (en) * 2021-08-31 2023-06-13 维沃移动通信(杭州)有限公司 Shooting method and device and electronic equipment
CN114125290A (en) * 2021-11-22 2022-03-01 维沃移动通信有限公司 Shooting method and device
CN116055655B (en) * 2022-05-30 2023-09-26 荣耀终端有限公司 Picture size recommending method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107770440A (en) * 2017-10-19 2018-03-06 广东欧珀移动通信有限公司 Shoot interface display method, device and terminal
CN109032486A (en) * 2018-07-10 2018-12-18 维沃移动通信有限公司 A kind of display control method and terminal device
CN110225186A (en) * 2019-05-13 2019-09-10 珠海格力电器股份有限公司 A kind of display methods and folding electronic equipment
CN110322793A (en) * 2019-06-28 2019-10-11 昆山国显光电有限公司 Flexible display apparatus
CN110365906A (en) * 2019-07-29 2019-10-22 维沃移动通信有限公司 Image pickup method and mobile terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100261603B1 (en) * 1996-12-06 2000-07-15 이중구 Portrait shooting device and method
US7953462B2 (en) * 2008-08-04 2011-05-31 Vartanian Harry Apparatus and method for providing an adaptively responsive flexible display device
US9007508B2 (en) * 2012-03-29 2015-04-14 Sony Corporation Portable device, photographing method, and program for setting a target region and performing an image capturing operation when a target is detected in the target region
EP3043345B1 (en) * 2015-01-07 2020-09-09 Samsung Electronics Co., Ltd. Display device and operating method thereof
CN107506163B (en) * 2017-08-31 2022-11-15 努比亚技术有限公司 Method for adjusting screen display, terminal and computer readable storage medium
KR102266152B1 (en) * 2018-02-22 2021-06-17 삼성전자주식회사 Electronic device including flexible display and method for controlling thereof
CN108391148A (en) * 2018-04-20 2018-08-10 深圳市零度智控科技有限公司 Flexible screen TV and its display methods and computer readable storage medium
CN109361865B (en) * 2018-11-21 2020-08-04 维沃移动通信(杭州)有限公司 Shooting method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107770440A (en) * 2017-10-19 2018-03-06 广东欧珀移动通信有限公司 Shoot interface display method, device and terminal
CN109032486A (en) * 2018-07-10 2018-12-18 维沃移动通信有限公司 A kind of display control method and terminal device
CN110225186A (en) * 2019-05-13 2019-09-10 珠海格力电器股份有限公司 A kind of display methods and folding electronic equipment
CN110322793A (en) * 2019-06-28 2019-10-11 昆山国显光电有限公司 Flexible display apparatus
CN110365906A (en) * 2019-07-29 2019-10-22 维沃移动通信有限公司 Image pickup method and mobile terminal

Also Published As

Publication number Publication date
CN111225154A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN111225154B (en) Photographing method and electronic equipment
CN108513070B (en) Image processing method, mobile terminal and computer readable storage medium
CN108471498B (en) Shooting preview method and terminal
US11451706B2 (en) Photographing method and mobile terminal
CN109361869B (en) Shooting method and terminal
CN111083379A (en) Shooting method and electronic equipment
CN111090408A (en) Display method and electronic equipment
CN110505400B (en) Preview image display adjustment method and terminal
CN111147752B (en) Zoom factor adjusting method, electronic device, and medium
CN110198413B (en) Video shooting method, video shooting device and electronic equipment
CN111050073B (en) Focusing method and electronic equipment
CN110908759A (en) Display method and electronic equipment
CN111031248A (en) Shooting method and electronic equipment
CN108174110B (en) Photographing method and flexible screen terminal
CN110830713A (en) Zooming method and electronic equipment
CN111405181B (en) Focusing method and electronic equipment
CN108307123B (en) Exposure adjusting method and mobile terminal
CN111142679A (en) Display processing method and electronic equipment
CN110636225B (en) Photographing method and electronic equipment
CN111246101B (en) Photographing method and electronic equipment
CN110865752A (en) Photo viewing method and electronic equipment
CN110955793A (en) Display control method and electronic equipment
CN111131712A (en) Image processing method and device and electronic equipment
CN111246107A (en) Photographing method and electronic equipment
CN110830721B (en) Image processing method, electronic device and medium

Legal Events

Date Code Title Description
PB01 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