WO2020078273A1 - 一种拍摄方法及电子设备 - Google Patents

一种拍摄方法及电子设备 Download PDF

Info

Publication number
WO2020078273A1
WO2020078273A1 PCT/CN2019/110618 CN2019110618W WO2020078273A1 WO 2020078273 A1 WO2020078273 A1 WO 2020078273A1 CN 2019110618 W CN2019110618 W CN 2019110618W WO 2020078273 A1 WO2020078273 A1 WO 2020078273A1
Authority
WO
WIPO (PCT)
Prior art keywords
resolution
electronic device
camera
video
image
Prior art date
Application number
PCT/CN2019/110618
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 华为技术有限公司
Publication of WO2020078273A1 publication Critical patent/WO2020078273A1/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/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
    • 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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • 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

Definitions

  • the present application relates to the technical field of terminals, in particular to a shooting method and electronic equipment.
  • the aspect ratio of video captured by electronic devices is usually 4: 3 or 16: 9. If you want to obtain a wide format video with an aspect ratio of 21: 9 or greater, in the prior art, after recording a video with an aspect ratio of 4: 3 or 16: 9 through an electronic device such as a mobile phone, then you need to manually pass The software processes the recorded video with an aspect ratio of 4: 3 or 16: 9 into a video with an aspect ratio of 21: 9 or a larger aspect ratio.
  • this method of acquiring wide-frame video has high labor cost and low efficiency.
  • This application provides a shooting method and electronic equipment, which helps to improve the efficiency of acquiring videos or pictures and reduce labor costs.
  • a content editing method provided in an embodiment of the present application is applied to an electronic device.
  • the electronic device includes a camera and a display screen.
  • the method includes:
  • the resolution of the first video is the first resolution
  • the resolution of the video is set to the second resolution; the aspect ratio of the second resolution is greater than the aspect ratio of the first resolution; in response to the third operation, the display of the second video is displayed On the preview interface, the resolution of the second video is the second resolution.
  • the electronic device in the embodiment of the present application can display the preview interface of the video according to the resolution of the video
  • the electronic device can directly capture an image that meets the resolution requirement, for example, the aspect ratio of the resolution is greater than or equal to 2: 1
  • the image compared with the prior art, which manually performs post-processing on the captured image to obtain an image that meets the resolution requirements, helps to improve the efficiency of acquiring videos or pictures, and reduces labor costs.
  • the second video is obtained by collecting or stretching the image collected by the camera according to the second resolution. Helps simplify the way to meet the second resolution video.
  • the first video is based on The second resolution is obtained by cropping or stretching the image collected by the second camera.
  • the aspect ratio of the second resolution is greater than a preset threshold. Helps simplify the implementation of switching cameras.
  • the first video is obtained from the image collected by the first camera based on the first resolution. Help to simplify the image processing of electronic devices.
  • the display screen displays prompt information, and the prompt information is used to prompt the user that the camera is switched from the second camera to the first camera. Therefore, it is convenient for the user to understand the working condition of the electronic device.
  • the aspect ratio of the first resolution is 4: 3, 16: 9, or 2: 1.
  • the aspect ratio of the second resolution is 21: 9, 2.37: 1, 2.39: 1, 2.55: 1, 2.59: 1, or 2.66: 1.
  • the skin beautification function is automatically turned on. This helps to improve the user experience.
  • an electronic device provided by an embodiment of the present application includes: a display screen, a camera, one or more processors, memory, multiple application programs, and one or more computer programs; wherein, one or more The computer program is stored in the memory, and when the computer program is executed by the electronic device, it implements the first aspect of the embodiments of the present application and any possible design method provided in the first aspect.
  • a chip provided by an embodiment of the present application is coupled to a memory in an electronic device, so that the chip calls a computer program stored in the memory when the chip is running, to implement the first aspect of the embodiment of the present application And any possible design method provided in the first aspect.
  • a computer storage medium stores a computer program, and when the computer program runs on an electronic device, the electronic device executes the first aspect and any one of the first aspect Possible design method.
  • a computer program product of an embodiment of the present application when the computer program product runs on an electronic device, causes the electronic device to perform the first aspect and any possible design method of the first aspect.
  • FIG. 1 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of this application.
  • FIG. 2 is a schematic diagram of a specific structure in an electronic device according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of compressing an image in a width direction according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of the number of cameras in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a user interface according to an embodiment of this application.
  • FIG. 6 is a schematic diagram of a video setting interface of an embodiment of the present application.
  • FIG. 7a is a schematic diagram of a video preview interface when displaying an image with a resolution of 640 ⁇ 480 in a horizontal screen according to an embodiment of the present application;
  • 7b is a schematic diagram of a video preview interface when displaying an image with a resolution of 2560 ⁇ 1080 in a horizontal screen according to an embodiment of the present application;
  • 7c is a schematic diagram of a preview interface when displaying a video mode selection menu according to an embodiment of the present application.
  • 7d is a schematic diagram of a video recording interface according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of the rear camera according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a user interface prompting a camera to start according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a setting interface for taking pictures according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a photo preview interface when displaying an image with a resolution of 2560 ⁇ 1080 in a horizontal screen according to an embodiment of the present application;
  • FIG. 12 is a schematic flowchart of a shooting method according to an embodiment of this application.
  • FIG. 13 is a schematic structural diagram of yet another electronic device according to an embodiment of the present application.
  • At least one refers to one or more, and “multiple” refers to two or more than two.
  • “And / or” describes the relationship of the related objects, indicating that there can be three relationships.
  • a and / or B can represent the following three relationships: A exists alone, A and B exist simultaneously, and B exists alone.
  • a and B can be singular or plural.
  • the character “/” generally indicates that the related object is a "or” relationship.
  • At least one (item) of the following” or similar expressions refer to any combination of these items, including any combination of a single item (s) or a plurality of items (s).
  • At least one (a) of a, b, or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c It can be single or multiple.
  • the electronic device may be a portable electronic device, such as a mobile phone, a tablet computer, a wearable device with a wireless communication function (such as a smart watch), an in-vehicle device, and the like.
  • portable electronic devices include, but are not limited to Or portable electronic devices of other operating systems.
  • the above-mentioned portable electronic device may also be, for example, a laptop computer having a touch-sensitive surface (for example, a touch panel).
  • the electronic device may also be a desktop computer with a touch-sensitive surface (such as a touch panel).
  • the electronic device of the embodiment of the present application can support multiple applications.
  • one or more of the following applications camera, drawing, presentation, word processing, games, phone, video player, music player, email, instant messaging, gallery, browser, calendar, clock, payment and health Applications such as management.
  • FIG. 1 shows a schematic diagram of a hardware structure of an electronic device to which an embodiment of the present application is applicable.
  • the electronic device includes a processor 110, an internal memory 121, an external memory interface 122, an antenna 1, a mobile communication module 131, an antenna 2, a wireless communication module 132, an audio module 140, a speaker 140A, and a receiver 140B, Microphone 140C, headset interface 140D, display screen 151, subscriber identification module (SIM) card interface 152, camera 153, button 154, sensor module 160, universal serial bus (USB) interface 170, charging Management module 180, power management module 181, and battery 182.
  • the electronic device may further include a motor, an indicator, and the like.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (ISP), a controller, and a video Codec, digital signal processor (DSP), baseband processor, and / or neural-network processor (NPU), etc.
  • application processor application processor
  • AP application processor
  • modem processor graphics processor
  • ISP image signal processor
  • controller a controller
  • video Codec video Codec
  • DSP digital signal processor
  • NPU neural-network processor
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in the processor 110 may be a cache memory.
  • the memory may be used to store instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Therefore, it helps to avoid repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
  • the internal memory 121 may be used to store computer executable program code.
  • the executable program code includes instructions.
  • the processor 110 executes instructions stored in the internal memory 121 to execute various functional applications and data processing of the electronic device.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area may store an operating system, at least one function required application programs (such as sound playback function, image playback function, etc.).
  • the storage data area can store data (such as audio data, phone book, etc.) created during the use of the electronic device.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and so on.
  • a non-volatile memory such as at least one disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and so on.
  • the external memory interface 122 may be used to connect an external memory card (for example, a Micro SD card) to achieve expansion of the storage capacity of the electronic device.
  • the external memory card communicates with the processor 110 through the external memory interface 122 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 131 can provide a wireless communication solution including 2G / 3G / 4G / 5G and the like applied to electronic devices.
  • the mobile communication module 131 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), and so on.
  • the mobile communication module 131 can receive the electromagnetic wave signal from the antenna 1 and filter, amplify, etc. the received electromagnetic wave signal, and transmit it to the modem processor for demodulation.
  • the mobile communication module 131 can also amplify the signal modulated by the modulation and demodulation processor and convert it into an electromagnetic wave signal through the antenna 1 to radiate it out.
  • at least part of the functional modules of the mobile communication module 131 may be provided in the processor 110.
  • At least part of the functional modules of the mobile communication module 131 and at least part of the modules of the processor 110 may be provided in the same device.
  • the mobile communication module 131 may send voice to other electronic devices, and may also receive voice sent by other electronic devices.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low-frequency baseband signal to be transmitted into a high-frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is processed by the baseband processor and then passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to a speaker 140A, a receiver 140B, etc.), or displays an image or video through a display screen 151.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110, and may be set in the same device as the mobile communication module 131 or other functional modules.
  • the wireless communication module 132 can provide wireless local area networks (wireless local area networks, WLAN) (such as Wi-Fi networks), Bluetooth (bluetooth, BT), and global navigation satellite systems (GNSS) that are applied to electronic devices. , Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR) and other wireless communication solutions.
  • the wireless communication module 132 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 132 receives the electromagnetic wave signal via the antenna 2, frequency-modulates and filters the electromagnetic wave signal, and transmits the processed signal to the processor 110.
  • the wireless communication module 132 can also receive the signal to be transmitted from the processor 110, perform frequency modulation and amplification on it, and convert it to an electromagnetic wave signal via the antenna 2 to radiate it out.
  • the antenna 1 of the electronic device and the mobile communication module 131 are coupled, and the antenna 2 and the wireless communication module 132 are coupled so that the electronic device can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include a global mobile communication system (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Wideband code division multiple access (WCDMA), time division code division multiple access (time-division code division multiple access (TD-SCDMA), long-term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and / or IR technology, etc.
  • GSM global system for mobile communications
  • general packet radio service general packet radio service
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • WCDMA broadband Wideband code division multiple access
  • time division code division multiple access time-division code division multiple access
  • LTE long-term evolution
  • BT GNSS
  • WLAN N
  • the GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a beidou navigation system (BDS), and a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and / or satellite-based augmentation system (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS beidou navigation system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation system
  • the electronic device can realize the audio function through the audio module 140, the speaker 140A, the receiver 140B, the microphone 140C, the headphone interface 140D, and the application processor. For example, music playback, recording, etc.
  • the audio module 140 can be used to convert digital audio information into an analog audio signal output and also to convert analog audio input into a digital audio signal.
  • the audio module 140 may also be used to encode and decode audio signals.
  • the audio module 140 may be disposed in the processor 110, or some functional modules of the audio module 140 may be disposed in the processor 110.
  • the speaker 140A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device can listen to music through the speaker 140A or answer a hands-free call.
  • the receiver 140B also known as "handset" is used to convert audio electrical signals into sound signals.
  • the voice can be received by holding the receiver 140B close to the ear.
  • the microphone 140C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the microphone 140C can be used to collect the user's voice, and then convert the user's voice into an electrical signal.
  • the electronic device may be provided with at least one microphone 140C. In other embodiments, the electronic device may be provided with two microphones 140C. In addition to collecting sound signals, it may also achieve a noise reduction function. In other embodiments, the electronic device may also be provided with three, four, or more microphones 140C, to achieve sound signal collection, noise reduction, and also to identify the sound source, to achieve the directional recording function, and so on.
  • the headset interface 140D is used to connect wired headsets.
  • the earphone interface 140D may be a USB interface 130, or a 3.5mm open mobile electronic device platform (OMTP) standard interface, the American Telecommunications Industry Association (cellular telecommunications industry association of the USA, CTIA) standard interface, etc. .
  • OMTP open mobile electronic device platform
  • CTIA cellular telecommunications industry association of the USA, CTIA
  • the electronic device can realize the display function through the GPU, the display screen 151, and the application processor.
  • the GPU is a microprocessor for image processing, and connects the display screen 151 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations, and is used for graphics rendering.
  • the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 151 can be used to display images, videos, and the like.
  • the display screen 151 may include a display panel.
  • the display panel may use a liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active matrix organic light-emitting diode (active-matrix organic light) emitting diodes (AMOLED), flexible light-emitting diodes (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (QLED), etc.
  • the electronic device may include 1 or N display screens 151, where N is a positive integer greater than 1.
  • the electronic device can realize the shooting function through the camera 153, ISP, DSP, video codec, display screen 151 and application processor.
  • the camera 153 may be used to capture still images or video.
  • the camera 153 includes a lens and an image sensor.
  • the lens is used to gather light to collect optical images.
  • the optical image collected by the object is projected onto the graphic sensor for imaging.
  • the lens may be a standard lens, an anamorphic lens, or a lens with other characteristics, which is not limited.
  • the standard lens images the captured image in equal proportions to the image sensor, that is to say, the ratio of the image captured by the standard lens in the width and height directions to the width and height of the image after imaging on the image sensor is identical.
  • the optical image collected by the anamorphic lens is compressed in the width direction and appears on the image sensor.
  • the range acquired by the anamorphic lens in the width direction is the range shown in the image 301
  • the range acquired in the height direction is the range shown in the image 301
  • the image 302 is the image by the anamorphic lens 301 The image after imaging onto the image sensor.
  • the image 302 is compressed in the width direction compared to the image 301, but is not compressed in the height direction.
  • the electronic device in the embodiment of the present application may include one or N cameras 153, where N is a positive integer greater than or equal to 2.
  • the electronic device includes five cameras, where the camera 153A and the camera 153B are located on the front of the electronic device, which can also be called a front camera, and the camera 153C, the camera 153D, and the camera 153E are located on the electronic device. On the back, it can also be called a rear camera.
  • the lenses in the camera 153A, the camera 153B, the camera 153C, the camera 153D, and the camera 153E may all be standard lenses, or some may be standard lenses, and the other may be anamorphic lenses.
  • the lenses of camera 153A, camera 153C, and camera 153E are standard lenses
  • the lenses of camera 153B and camera 153D are anamorphic lenses.
  • Using an anamorphic lens to capture an image when the electronic device shoots a wide-format image helps to simplify the subsequent image processing process and also helps to make more content appear in the image taken by the electronic device.
  • anamorphic lenses can also be called anamorphic wide-screen lenses.
  • the image sensor may be a charge coupled device (charge coupled device, CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CCD charge coupled device
  • CMOS complementary metal-oxide-semiconductor
  • the ISP can convert the electrical signal into a digital image signal with an aspect ratio that meets the resolution selected by the user.
  • the ISP can send the digital image signal to the image processor for post-image processing, such as video color enhancement and video denoising.
  • the image processor may be a DSP or other devices used for image processing.
  • the ISP can also directly perform post-image processing after obtaining the digital image signal, such as optimizing the algorithm of the image noise, brightness, and color.
  • the ISP may also optimize parameters such as exposure and color temperature of the shooting scene.
  • the ISP may be provided in the image sensor in the camera 153.
  • the processed digital image signal is output to the video codec for compression encoding.
  • the video codec can convert digital image signals into standard RGB, YUV and other format image signals, and then output, for example, the video codec can present the output image signal on the display screen 151, or the video codec also
  • the output image signal may be saved in the internal memory 121 or the external memory connected to the external memory interface 122.
  • the key 154 may include a power-on key, a volume key, and the like.
  • the key 154 may be a mechanical key. It can also be a touch button.
  • the electronic device can receive key input and generate key signal input related to user settings and function control of the electronic device.
  • the sensor module 160 may include one or more sensors.
  • the sensor module 160 may further include an environment sensor, a distance sensor, a proximity light sensor, a bone conduction sensor, and the like.
  • the touch sensor 160A may also be referred to as a “touch panel”.
  • the touch sensor 160A may be provided on the display screen 151, and the touch sensor 160A and the display screen 151 constitute a touch screen, also called a "touch screen”.
  • the touch sensor 160A is used to detect a touch operation acting on or near it.
  • the touch sensor 160A may pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 151.
  • the touch sensor 160A may also be disposed on the surface of the electronic device, which is different from the location where the display screen 151 is located.
  • the fingerprint sensor 160 may be used to collect fingerprints. Electronic devices can use the collected fingerprint features to unlock fingerprints, access application locks, take photos with fingerprints, and answer incoming calls with fingerprints.
  • the gyro sensor 160C may be used to determine the movement posture of the electronic device. In some embodiments, the angular velocity of the electronic device around three axes (ie, x, y, and z axes) may be determined by the gyro sensor 160C.
  • the gyro sensor 160C can be used for shooting anti-shake. Exemplarily, when the shutter is pressed, the gyro sensor 160C detects the jitter angle of the electronic device, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the jitter of the electronic device through reverse movement to achieve anti-shake.
  • the gyro sensor 160C can also be used for navigation and somatosensory game scenes.
  • the pressure sensor 160D is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 160D may be provided on the display screen 151.
  • the capacitive pressure sensor may be a parallel plate including at least two conductive materials. When force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device determines the strength of the pressure based on the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device may also calculate the touched position based on the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch position but have different touch operation intensities may correspond to different operation instructions. For example, when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the acceleration sensor 160E can detect the acceleration of the electronic device in various directions (generally three axes). When the electronic device is stationary, the magnitude and direction of gravity can be detected. It can also be used to recognize the posture of electronic devices, and be used in applications such as horizontal and vertical screen switching and pedometers.
  • the processor 110 may also include one or more interfaces.
  • the interface may be a SIM card interface 152.
  • the interface may also be a USB interface 170.
  • the interface may also be an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit integrated audio (inter-integrated circuit, sound, I2S) interface, a pulse code modulation (pulse code modulation (PCM) interface, a universal asynchronous transceiver transmission (Universal asynchronous receiver / transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input / output (GPIO) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit integrated audio
  • PCM pulse code modulation
  • UART universal asynchronous transceiver transmission
  • mobile industry processor interface mobile industry processor interface
  • MIPI mobile industry processor interface
  • GPIO general-purpose input / output
  • the processor 110 may be connected to different modules of the electronic device through the interface, thereby enabling the electronic device to implement different functions. For example, taking pictures and processing. It should be noted that the embodiment of the present application does not limit the connection mode of the interface in the electronic device.
  • the SIM card interface 152 may be used to connect the SIM card.
  • the SIM card can be inserted into or removed from the SIM card interface 152 to achieve contact and separation with the electronic device.
  • the electronic device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 152 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple SIM cards can be inserted into the same SIM card interface 152 at the same time. The types of the multiple cards may be the same or different.
  • the SIM card interface 152 can also be compatible with different types of SIM cards.
  • the SIM card interface 152 can also be compatible with external memory cards.
  • the electronic device interacts with the network through the SIM card to realize functions such as call and data communication.
  • the electronic device uses eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
  • the USB interface 170 is an interface conforming to the USB standard specification.
  • the USB interface 170 may include a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 170 can be used to connect a charger to charge an electronic device, and can also be used to transfer data between the electronic device and a peripheral device. It can also be used to connect headphones and play audio through the headphones.
  • the USB interface 170 can also be used to connect with other electronic devices, such as augmented reality (AR) devices.
  • AR augmented reality
  • the charging management module 180 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 180 may receive the charging input of the wired charger through the USB interface 170.
  • the charging management module 180 may receive wireless charging input through the wireless charging coil of the electronic device. While the charging management module 140 charges the battery 182, it can also supply power to the electronic device through the power management module 181.
  • the power management module 181 is used to connect the battery 182, the charging management module 180 and the processor 110.
  • the power management module 181 receives input from the battery 182 and / or the charging management module 180, and supplies power to the processor 110, internal memory 121, external memory, display screen 151, camera 153, mobile communication module 131, wireless communication module 132, and the like.
  • the power management module 181 can also be used to monitor battery capacity, battery cycle times, battery health status (leakage, impedance) and other parameters.
  • the power management module 181 may also be disposed in the processor 110.
  • the power management module 181 and the charging management module 180 may also be set in the same device.
  • FIG. 1 is only an example.
  • the electronic device of the embodiment of the present application may have more or less components than shown in the figure, may combine two or more components, or may have different component configurations.
  • the various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.
  • the electronic device can crop and / or compress the image collected by the camera to directly output a wide-format video or image with a relatively large length and width, which helps reduce labor costs and improves the acquisition of wide-format video
  • the efficiency of the image For example, the resolution of the image 302 shown in FIG. 3 is 640 ⁇ 480, where 640 is the pixel value of the image 302 in the width direction, and 480 is the pixel value of the image 302 in the height direction.
  • the embodiments of the present application can be applied to applications with a shooting function, such as cameras, instant messaging with a video function, and the like. Taking the camera as an example, the method of the embodiment of the present application will be described in detail.
  • the display screen 151 of the electronic device displays a main interface, where the main interface includes a camera icon.
  • the main interface may be the user interface 500 shown in FIG. 5.
  • the user interface 500 includes a camera icon 501.
  • the user interface 500 may also include icons of other applications, such as setting icons, memo icons, and gallery icons.
  • the user interface 500 may further include a status bar 502, a hideable navigation bar 504, and a Dock bar 503.
  • the status bar 502 may include the name of the operator (for example, China Mobile, etc.), mobile network (for example, 4G), Bluetooth icon, time and remaining power.
  • the status bar 502 may further include a WiFi icon, an external device icon, and the like.
  • the navigation bar 504 may include a back button, a home button, and a historical task viewing button (menu button).
  • the Dock bar 503 may include icons of commonly used applications, such as phone icons, information icons, mail icons, and weather icons. It should be noted that the icons in the Dock column can be set accordingly according to user needs.
  • the electronic device may start the application corresponding to the camera icon 501 in response to the first operation, display a preview interface on the display screen 151, and the image collected by the camera 153 displayed on the preview interface. It can be understood that the electronic device may also turn on the camera 153 in response to the first operation. In addition, the camera 153 can also be always on. It should be understood that the application corresponding to the camera icon 501 may be referred to as a camera or other names, which is not limited. The following embodiments refer to the application corresponding to the camera icon 501 as a camera.
  • the first operation may be an operation on the camera icon 501, an operation on a user's voice instruction (such as "open camera"), or a shortcut gesture operation (such as a three-finger slide, etc.).
  • the operation on the camera icon 501 may be a touch operation on the camera icon 501, a press operation, or the like.
  • the camera may be activated in response to the user's voice instruction or shortcut gesture operation, and a preview interface may be displayed on the display screen 151.
  • the preview interface may be a photo preview interface.
  • the user interface 510 shown in FIG. 5. Taking the image collected by the rear camera as an example, the user interface 510 displays the image collected by the rear camera of the electronic device. In other embodiments, the user interface 510 may also display an image collected by the front camera of the electronic device. In other embodiments, the preview interface may be a video preview interface.
  • An example video preview interface may be the user interface 520 shown in FIG. 5. Taking the image collected by the rear camera as an example, the user interface 520 displays the video image collected by the rear camera of the electronic device. In other embodiments, the user interface 520 displays video images that can also be collected by the front camera of the electronic device.
  • the electronic device according to the embodiment of the present application may implement the switching between the front camera and the rear camera in response to the operation of the camera switching button 514 shown in FIG. 5.
  • the electronic device responds to the first operation by displaying the user interface 510 on the display screen 151, and the user interface 510 displays the image collected by the rear camera of the electronic device as an example for detailed description.
  • the user interface 510 may further include a shooting mode selection button area 511, and the shooting mode selection button area may include mode selections such as photographing, video recording, professional, portrait, large aperture, night view, or more. Button.
  • the user can check the photographing mode of the electronic device by sliding around the shooting mode selection button area 511.
  • the electronic device may display the user interface 520 on the display screen 151 in response to the operation of selecting the recording on the user interface 510.
  • the user interface 520 displays video images collected by the rear camera.
  • the electronic device is based on the resolution set by the user to display the video image collected by the rear camera displayed on the user interface 520. It should be understood that the user can set the resolution on the video setting interface.
  • the user interface 520 includes a setting button 521.
  • the electronic device may display the video setting interface on the display screen 151 in response to the user's operation of the setting button 521.
  • the electronic device may also display a video setting interface in response to a user's sliding operation on the user interface 520 to the left or right. It should be noted that the electronic device may also display a video setting interface on the display screen 151 in response to other operations (such as pull-down, slide-up, etc.).
  • the video setting interface may be the user interface 610 shown in FIG. 6.
  • the user interface 610 includes a resolution setting button 611. It can be seen from the resolution setting button 611 that the resolution of the image currently selected by the user is 640 ⁇ 480, wherein, in the case of the resolution of 640 ⁇ 480, the aspect ratio is 4: 3. Then, the aspect ratio of the resolution of the video image displayed on the user interface 520 is 4: 3.
  • an electronic device displays an image with an aspect ratio of 4: 3, it is displayed in a vertical screen, which is convenient for users to view, as shown in the user interface 520 shown in FIG. 5.
  • the electronic device may also display the user interface 520 in a horizontal screen, for example, as shown in FIG. 7a.
  • the electronic device may display the user interface 620 on the display screen 151 in response to the operation of the resolution option button 611.
  • the user interface 620 includes multiple video resolution options supported by the electronic device, for example, 4K UHD 3840 ⁇ 2160, 1080P FHD + (18: 9) 2160 ⁇ 1080, 1080P FHD (60fps) 1920 ⁇ 1080, 1080P FHD 1920 ⁇ 1080, 1080P FHD + (21: 9) 2560 ⁇ 1080, 720P HD + (21: 9) 1680 ⁇ 720, 720P 1280 ⁇ 720, VGA (4: 3) 640 ⁇ 480, QVGA (4: 3) 320 ⁇ 240. It can be seen from the user interface 620 shown in FIG.
  • the video resolution with an aspect ratio of 21: 9 can be 1080P FHD + (21: 9) 2560 ⁇ 1080, 720P HD + (21: 9). It should be noted that The video resolution with an aspect ratio of 21: 9 can also be UHD + 4K, 5040 ⁇ 2160, etc.
  • the user interface 620 shown in FIG. 6 of this application is only a schematic diagram and does not constitute a limitation on the embodiments of this application.
  • the electronic devices in the embodiments of the present application can also support aspect ratios of 2.37: 1 (64:27), 2.39: 1 ( ⁇ 12: 5), 2.55: 1 ( ⁇ 23: 9), 2.59: 1 ( ⁇ 13: 5), 2.66: 1 (8: 3, 24: 9), etc.
  • aspect ratio of the resolution supported by the electronic device There is no limitation on the aspect ratio of the resolution supported by the electronic device.
  • the electronic device may set the resolution of the image when shooting video to 2560 ⁇ 1080 in response to the user selecting an option with a resolution of 2560 ⁇ 1080.
  • the user interface 620 further includes a back button 621 to facilitate user operation and exit the user interface 620. Therefore, the electronic device can exit the user interface 620 and return to the user interface 610 in response to the operation of the return button 621. In this case, the resolution displayed by the resolution setting button 611 included in the user interface 610 is updated to 2560 ⁇ 1080.
  • the electronic device may also exit the user interface 620 and return to the user interface 610 in response to a shortcut gesture operation (such as an operation of swiping left on the user interface 620, etc.).
  • the user interface 610 may also include a back button 612 to facilitate user operation and exit the user interface 610. For example, if the electronic device enters through the setting button 521 included in the user interface 520, the electronic device may exit the user interface 610 and display a preview interface of the video in response to the operation of the return button.
  • the electronic device can display the video image horizontally in response to the resolution setting of 2560 ⁇ 1080, thereby helping to make a better display resolution 2560 ⁇ 1080 video images.
  • the displayed photo preview interface may be the user interface 700 shown in FIG. 7b.
  • the user interface 700 displays the video image collected by the rear camera, and the resolution of the video image is 2560 ⁇ 1080.
  • the user interface 700 may further include at least one of a zoom option area 704, a video color selection button 701, a high dynamic range button 702, a flash button 703, and a video mode selection button 705.
  • the electronic device may set the zoom factor used when shooting in response to the zoom factor selected in the zoom option area 704.
  • the zoom factor selected by the current user is ⁇ 1.
  • the zoom factor options included in the zoom option area 704 may include ⁇ 5, ⁇ 3, ⁇ 1, ⁇ 0.75, and so on. It should be noted that due to the increase of the zoom factor, the distant view can be brought closer, and the picture range of the collected image is smaller, but it is more helpful to display the detailed characteristics of the image.
  • the electronic device may respond to different zooms selected by the user. Multiplier, switch the rear camera. Thereby helping the image collection.
  • the electronic device includes three rear cameras, and the focal lengths of the three rear cameras are 3.6mm, 4mm, and 6mm, respectively.
  • the focal length is 3.6mm Rear camera.
  • the electronic device When the electronic device turns on the rear camera with a focal length of 3.6mm, it can switch to the rear camera with a focal length of 4mm in response to the user selecting the zoom factor of ⁇ 1, so that the electronic device can collect based on the rear camera with a focal length of 4mm image. For another example, the electronic device switches to a 6 mm rear camera when the zoom factor selected by the user is ⁇ 3 or ⁇ 5.
  • the electronic device may respond to the user's operation of the video color selection button 701, and may display video color options on the display screen 151, such as standard, vivid, soft, and so on.
  • the electronic device may set the color of the captured video in response to the user's selected video color option.
  • the electronic device may turn on or off the setting of the high dynamic range in response to the user's operation of the high dynamic range button 702.
  • the electronic device may turn on or turn off the flash in response to the user's operation of the flash off button 703.
  • the electronic device may also set a mode for shooting video in response to the operation of the video mode selection button 705.
  • the video mode can include portrait blur, AI color, none and other modes.
  • the electronic device may display a video mode selection menu on the user interface 700 in response to the operation of the video mode selection button 705.
  • the video mode selection menu may include different video modes.
  • the video modes included in the video mode selection menu 707 are: none, AI color, portrait blur, nostalgia, suspense, and freshness. The user can select the corresponding video mode from the video mode selection menu 707 according to his own needs.
  • the video mode included in the video mode selection menu 707 may further include the video mode displayed on the user interface 700 shown in FIG. 7c, that is, when the video mode selection menu 707 includes the video
  • the user can view the video mode by sliding up and down in the video mode selection menu 707, so as to select a video mode according to his own selection. Therefore, the electronic device can implement different processing on the video image collected by the camera in response to the user selecting different modes. For example, when the user selects the video mode for character blurring, the electronic device may respond to the video mode for the character blurring selected by the user and perform character blurring on the video image collected by the camera.
  • the electronic device may hide the video mode selection menu 707 in response to the video mode in which the character selected by the user is blurred, or in response to the operation of the video mode selection button 705, or other operations.
  • different cameras may be turned on in response to the selected different modes, thereby enabling the electronic device to facilitate image processing.
  • the electronic device includes two rear cameras. When the user selects the AI color video mode, the two rear cameras can be turned on at the same time, and then based on the images collected by the two rear cameras for image processing, they are presented in the video preview. Interface.
  • the electronic device when the electronic device includes a rear camera, if the lens of the rear camera is a standard lens, if the image of the rear camera is 4: 3 in the width and height directions, the imaging The ratio of the image behind the image sensor in the width direction and the height direction is 4: 3, then the electronic device can take a video image with a resolution of 2560 ⁇ 1080 based on the following method.
  • Embodiment 1 The image sensor can send a 4: 3 image to the ISP, and after receiving the 4: 3 image, the ISP will, according to the resolution 2560 ⁇ 1080 selected by the user, place the image collected by the rear camera in the width and height directions The ratio is cropped to 21: 9, and then scaled to an image with a resolution of 2560 ⁇ 1080. Then the ISP sends the image with a resolution of 2560 ⁇ 1080 to the image processor for processing, such as denoising and color adjustment. After processing the image, the image processor sends the processed image to the video codec, and the video codec encodes the image into a corresponding file format (for example, MP4, 3GP, etc.) and displays it on the display screen 151.
  • a corresponding file format for example, MP4, 3GP, etc.
  • the electronic device can respond to the user's operation of the shooting button 513 or other shortcut operations (such as voice commands, pressing the volume key, etc.), start using the rear camera to collect video images with a resolution of 2560 ⁇ 1080, and store the video images to The internal memory 121 or the external memory connected to the external memory interface 122.
  • the electronic device may display a video recording interface on the display screen 151 in response to the user's operation of the shooting button 513.
  • the video recording interface displays the image collected by the rear camera.
  • the video recording interface may be the user interface 710 shown in FIG. 7d.
  • the user interface 710 may include the recording time.
  • the user interface 710 includes at least one of a shooting button 513, a pause button 711, and a taking button 712.
  • the electronic device 100 may end the recording of the video and save the recorded video in response to the operation of the shooting button 513 during the recording of the video.
  • the electronic device 100 displays a video preview interface on the display screen 151.
  • the electronic device may pause the recording of the video in response to the operation of the pause button 711 during the recording of the video. After the electronic device pauses the recording of the video, it can also continue to record the video in response to the operation of the pause button 711.
  • the electronic device may take a picture of the currently recorded video in response to the operation of the photographing button 712, and save the picture obtained by taking the picture. For example, as shown in FIG. 7d, the current video recording time is 00:07. If the electronic device responds to the operation of the camera button 712 at 00:07, the video image captured at 00:07 is captured and saved. picture of.
  • the electronic device may also implement a focusing operation during video recording in response to the user's operation on the image. For example, as shown in FIG. 7d, the electronic device displays the focus frame 713 in response to the user touching the position A on the display screen 151. It should be noted that the location A may be any location on the user interface 710 except the function buttons.
  • the electronic device may also display the brightness adjustment bar 714 in response to the user touching the position A on the display screen 151.
  • the electronic device may adjust the brightness of the display screen 151 in response to the operation of sliding up or down the brightness adjustment button 715.
  • the electronic device can also zoom in response to the user's zoom gesture operation on the image.
  • the ISP may obtain the resolution selected by the user based on the following ways:
  • the touch sensor 160A of the electronic device may place the user on the display screen after receiving the operation selected by the user at a resolution of 2560 ⁇ 1080
  • the information (for example, coordinates, etc.) operated on 151 is reported to the application processor, and the application processor determines to update the resolution of the photographed image to 2560 ⁇ 1080 according to the information operated by the user on the display screen 151.
  • the application processor notifies the ISP of the updated resolution of 2560 ⁇ 1080, so that the ISP can process the image collected by the rear camera based on the resolution selected by the user.
  • the touch sensor 160A of the electronic device may also directly report the information operated by the user on the display screen 151 to the ISP, and the ISP may determine the resolution of the photographed image based on the information operated by the user on the display screen 151. .
  • the embodiment of the present application does not limit the manner in which the ISP obtains the resolution selected by the user.
  • Embodiment 2 The image sensor can crop the 4: 3 image to the 21: 9 image according to the resolution 2560 ⁇ 1080 selected by the user and send it to the ISP. After receiving the 21: 9 image, the ISP scales the 21: 9 image to a resolution of 2560 ⁇ 1080 selected by the user, and then the image processor and codec perform subsequent processing on the 2560 ⁇ 1080 image. It should be noted that the image sensor can obtain the resolution selected by the user from the ISP. In addition, the method for the image sensor to obtain the resolution selected by the user can also refer to the method for the ISP to obtain the resolution selected by the user in Embodiment 1.
  • Embodiment 3 The image sensor can crop a 4: 3 image to a W: H image according to a resolution selected by the user of 2560 ⁇ 1080, where W: H is a ratio between 4: 3 and 21: 9, for example W : H can be 16: 9.
  • the image sensor sends the W: H image to the ISP.
  • the ISP crops the W: H image to a 21: 9 image according to the user-selected resolution of 2560 ⁇ 1080, and scales the 21: 9 image to a 2560 ⁇ 1080 resolution image.
  • the image processor and codec perform subsequent processing on the 2560 ⁇ 1080 image.
  • the manner in which the image sensor obtains the resolution selected by the user can refer to the manner in which the image sensor obtains the resolution selected by the user in embodiment 2.
  • the manner in which the ISP obtains the resolution selected by the user in Embodiments 2 and 3 refer to the manner in which the image sensor obtains the resolution selected by the user in Embodiment 1.
  • the subsequent processing method of the image processor and codec for the 2560 ⁇ 1080 image in the second and third embodiments please refer to the subsequent processing method for the image of 2560 ⁇ 1080 by the image processor and the codec in the first embodiment .
  • the shooting method can refer to Embodiment 1 to Embodiment three.
  • the ratio of the width of the light collected by the lens of the rear camera to the image sensor in the width direction and the height direction is equal to the aspect ratio of the resolution selected by the user, there is no need to crop the image collected by the rear camera.
  • the image collected by the camera by the ISP can be scaled to the image of the resolution selected by the user. For example, if the resolution selected by the user is 2560 ⁇ 1080, the ratio of the width of the light collected by the lens of the rear camera to the image sensor in the width direction and the height direction is 21: 9, then the ISP can directly receive the received image sensor The 21: 9 image is scaled to 2560 ⁇ 1080 resolution image.
  • the electronic device may also automatically activate the skin beautification function in response to detecting that the rear camera has captured the user's face image. For example, when the image collected by the rear camera of the electronic device is like the image 301 in FIG. 3, the skin beautification function is automatically turned on to beautify the human face (for example, dermabrasion, acne removal, etc.).
  • the user interface 700 shown in FIG. 7b the user interface 700 further includes a skin beauty function button 706, and the electronic device can start the skin beauty function in response to the operation of the skin beauty function button 706.
  • the electronic device may display the level of the skin beauty on the display screen 151 in response to the operation of the skin beauty function button 706. Users can set the skin beauty level according to their own needs.
  • the electronic device when the electronic device includes a rear camera, if the lens of the rear camera is an anamorphic lens, if the ratio of the width and height of the lens of the rear camera is 21: 9, the image is The ratio of the image after the image sensor in the width direction and the height direction is 4: 3, then the electronic device can take a video image with a resolution of 2560 ⁇ 1080 based on the following method.
  • Embodiment 4 The image sensor can send the 4: 3 image to the ISP. After receiving the 4: 3 image, the ISP stretches the 4: 3 image collected by the rear camera in the width direction according to the resolution 2560 ⁇ 1080 selected by the user, and the ratio of the width direction to the height direction is 21: 9 The image is then scaled to an image with a resolution of 2560 ⁇ 1080. The image processor and codec then perform subsequent processing on the 2560 ⁇ 1080 image.
  • Embodiment 5 The image sensor can stretch the 4: 3 image 4: 3 image in the width direction according to the resolution 2560 ⁇ 1080 selected by the user to obtain an image with a ratio of the width direction and the height direction of 21: 9.
  • Send to ISP After receiving the 21: 9 image, the ISP scales the 21: 9 image to a resolution of 2560 ⁇ 1080 selected by the user, and then the image processor and codec perform subsequent processing on the 2560 ⁇ 1080 image.
  • the image sensor can obtain the resolution selected by the user from the ISP.
  • the second method for the image sensor to obtain the resolution selected by the user refer to the manner in which the image sensor obtains the resolution selected by the user in Embodiment 1.
  • the image processor and codec performs the subsequent processing on the 2560 ⁇ 1080 image in Embodiments 4 and 5
  • the above description is based on the image collected by the anamorphic lens in the ratio of 21: 9 in the width and height directions, and the ratio of the image formed after the image sensor in the width and height directions is 4: 3. of.
  • the ratio of the width and height of the image collected by the anamorphic lens is the same as the ratio of the resolution selected by the user. In this case, it is only necessary to stretch the image formed on the image sensor Obtain an image of the resolution ratio selected by the user.
  • the image formed on the image sensor can be first stretched to W1: H1 Image, and then crop the image of W1: H1 to get the image of W2: H2.
  • the image sensor may perform the stretching and cropping operations
  • the ISP may perform the stretching and cropping operations
  • the image sensor may perform the stretching operations
  • the ISP performs the cropping operations.
  • the electronic device switches from the rear camera to the front camera for shooting in response to the operation of the camera switching button 514, if there is only one front camera and the collected lens of the front camera is a standard lens At this time, you can refer to the shooting mode of the rear camera for the way of shooting images.
  • the shooting method may refer to Embodiments 1 to 3 Related introduction.
  • the cameras included in the electronic device are all anamorphic lenses, for the shooting method, refer to the relevant introductions in Embodiment 4 and Embodiment 5.
  • the electronic device may include cameras with different lenses.
  • the electronic device includes a rear camera 801 and a rear camera 802.
  • the lens of the rear camera 801 is a standard lens
  • the lens of the rear camera 802 is an anamorphic lens.
  • the rear camera can be started according to the resolution selected by the user.
  • the shooting method of the electronic device after starting the rear camera please refer to Embodiment 1 to Embodiment 5.
  • the lens of the rear camera 801 is a standard lens, and the standard lens captures an image with a ratio of 4: 3 in the width and height directions, and the ratio of the image formed after the image sensor in the width and height directions is 4: 3;
  • the lens of the rear camera 802 is an anamorphic lens, and the ratio of the width and height of the anamorphic lens is 21: 9.
  • the ratio of the image formed after the image sensor in the width and height is 4: 3. Make relevant introductions.
  • the electronic device may start the rear camera based on the resolution selected by the user. For example, the electronic device may start the rear camera 801 when the aspect ratio of the resolution selected by the user is 4: 3. In some embodiments, the electronic device may also prompt the user to start the rear camera. For example, the electronic device may prompt the user that the lens of the rear camera currently used by the user is a standard lens by voice. For another example, the electronic device may also display a prompt box on the display screen 151. The prompt box includes a reminder that the lens of the camera currently used by the user is an anamorphic lens. For example, as shown in FIG.
  • the electronic device displays a prompt frame 900 on the display screen 151, and the prompt frame 900 includes prompt information of “the lens of the activated rear camera is a standard lens”.
  • the electronic device activates the rear camera 802 when the aspect ratio of the resolution selected by the user is 21: 9.
  • the above technical solution helps to make the 21: 9 image captured by the electronic device have a larger field of view.
  • the electronic device responds to the resolution selected by the user with an aspect ratio of 21: 9, the rear camera 802 is activated.
  • the electronic device can prompt the user that the lens of the rear camera currently used is an anamorphic lens.
  • the specific prompting method please refer to the prompting method of prompting the user that the lens of the rear camera currently used is a standard lens.
  • the aspect ratio of the resolution supported by the electronic device may include multiple types, for example, 16: 9, 4: 3, 2: 1, 21: 9, 2.37: 1 (64:27), 2.39: 1 ( ⁇ 12: 5), 2.55: 1 ( ⁇ 23: 9), 2.59: 1 ( ⁇ 13: 5), 2.66: 1 (8: 3, 24: 9), etc.
  • the number is limited.
  • up to three rear cameras are configured on the electronic device.
  • the electronic device can start the lens as a standard lens when the aspect ratio of the resolution selected by the user is less than the first threshold Camera; when the resolution selected by the user is greater than or equal to the first threshold, the camera whose lens is an anamorphic lens is activated.
  • the first threshold may be set accordingly according to needs, for example, the first threshold may be set to 2, or 7/3.
  • the lens in the rear camera configured on the electronic device includes the first lens, and the ratio of the width and height of the image collected by the first lens is the same as the aspect ratio of the resolution selected by the user, then Start the rear camera including the first lens. This helps simplify subsequent image processing and improve the efficiency of image processing.
  • the electronic device may also start different cameras in response to different modes.
  • the electronic device uses a rear camera to shoot, and the rear camera included in the electronic device is shown in FIG. 8.
  • the electronic device may turn on the rear camera 802 and the rear camera 801, where the rear camera 802
  • the lens is an anamorphic lens, and the lens of the rear camera 801 is a standard lens.
  • the image collected by the rear camera 802 can be processed to obtain an image of the aspect ratio selected by the user, so as to synthesize the processed image by the user and the image collected by the rear camera 802 , Which helps to make the characters in the captured video more prominent.
  • the description about the way of turning on the rear camera is only performed by taking the portrait mode as an example.
  • the way to turn on the camera can be set accordingly based on the actual situation, which is not limited.
  • the shooting method can refer to the shooting mode of the rear camera.
  • the embodiments of the present application can also be applied to the scene of taking pictures. Take the user interface 510 shown in FIG. 5 as an example.
  • the electronic device is based on the image collected by the camera displayed on the user interface 510 based on the resolution set by the user. For example, the user can set the image resolution on the setting interface for taking pictures.
  • the user interface 520 includes a setting button 521.
  • the electronic device may display a setting interface for taking pictures in response to the user's operation of the setting button 515.
  • the electronic device may also display a setting interface for photographing in response to a left or right sliding operation on the photographing preview interface.
  • the electronic device may also display a setting interface for taking pictures in response to other operations (such as pull-up or pull-down operations).
  • the setting interface for taking pictures may be the user interface 1010 shown in FIG. 10.
  • the user interface 610 includes a resolution setting button 1011. It can be seen from the resolution setting button 1011 that the resolution of the image currently selected by the user is 3968 ⁇ 2976, wherein, in the case of the resolution of 3968 ⁇ 2976, the aspect ratio is 4: 3. Then, the aspect ratio of the resolution of the video image displayed by the user interface 510 is 4: 3.
  • the electronic device may display the user interface 1020 on the display screen 151 in response to the operation of the resolution option button 1011.
  • the user interface 1020 includes options for the resolution of multiple images supported by the electronic device. Users can choose the corresponding resolution according to their own needs. For example, in response to the user selecting the option with a resolution of 2560 ⁇ 1080, the electronic device may set the resolution of the image when taking a picture to 2560 ⁇ 1080. The electronic device may respond to the user's selection of an option with a resolution of 2560 ⁇ 1080 and display a preview interface for taking pictures in a horizontal screen, such as the user interface described in FIG. 11.
  • the method of taking photos by the electronic device please refer to the method of taking video by the electronic device.
  • embodiments of the present application provide a shooting method, which can be implemented in an electronic device having the hardware structure shown in FIG. 1.
  • FIG. 12 a schematic flowchart of a shooting method provided by an embodiment of the present application. It includes the following steps.
  • Step 1201 in response to the first operation, displaying a preview interface of the first video, the resolution of the first video is the first resolution;
  • Step 1202 in response to the second operation, setting the resolution of the video to the second resolution; the aspect ratio of the second resolution is greater than the aspect ratio of the first resolution;
  • step 1203 in response to the third operation, a preview interface of the second video is displayed, and the resolution of the second video is the second resolution.
  • the method provided by the embodiments of the present application is introduced from the perspective of an electronic device as an execution subject.
  • the electronic device may include a hardware structure and / or a software module, and implement the above functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether one of the above functions is executed in a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application of the technical solution and design constraints.
  • an embodiment of the present application discloses an electronic device 1300.
  • the electronic device 1000 may include: a display screen 1301, a camera 1302, one or more processors 1303, a memory 1304, and a plurality of application programs 1305; As well as one or more computer programs 1306, the above devices can be connected through one or more communication buses 1307.
  • the one or more computer programs 1306 are stored in the above-mentioned memory 1304 and configured to be executed by the one or more processors 1302 to implement the shooting method shown in FIG. 12 in the embodiment of the present application.
  • the processors involved in the above embodiments may be general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), ready-made programmable gate arrays (FPGAs) ) Or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • DSPs digital signal processors
  • ASICs application-specific integrated circuits
  • FPGAs ready-made programmable gate arrays
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present application may be implemented or executed.
  • the general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied and executed by a hardware decoding processor, or may be executed and completed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory or electrically erasable programmable memory, registers, etc.
  • Storage media The storage medium is located in the memory, and the processor reads the instructions in the memory and completes the steps of the above method in combination with its hardware.
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the units is only a division of logical functions.
  • there may be other divisions for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the technical solution of the present application essentially or part of the contribution to the existing technology or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to enable a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the embodiments of the present application.
  • the foregoing storage media include various media that can store program codes, such as a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种拍摄方法及电子设备,涉及终端技术领域,其中该方法应用于电子设备,所述电子设备包括摄像头和显示屏,具体包括:响应于第一操作,显示第一视频的预览界面,所述第一视频的分辨率为第一分辨率;响应于第二操作,设置视频的分辨率为第二分辨率;所述第二分辨率的长宽比大于所述第一分辨率的长宽比;响应于第三操作,显示第二视频的预览界面,所述第二视频的分辨率为第二分辨率。因而,这种技术方案有助于提高获取视频或图片的效率,以及降低人工成本。

Description

一种拍摄方法及电子设备 技术领域
本申请涉及终端技术领域,特别涉及一种拍摄方法及电子设备。
背景技术
目前,手机、平板电脑等电子设备拍摄的视频的分辨率的长宽比通常情况下为4:3或者16:9的。如果想要获得长宽比为21:9或者更大的宽画幅的视频,现有技术中通过手机等电子设备录制了长宽比为4:3或者16:9的视频后,然后需要人工通过软件将录制的长宽比为4:3或者16:9的视频处理为长宽比为21:9或者长宽比更大宽画幅的视频。
因此,这种获取宽画幅视频的方式人工成本高、且效率较低。
发明内容
本申请提供了一种拍摄方法及电子设备,有助于提高获取视频或图片的效率,降低人工成本。
第一方面,本申请实施例提供的一种内容编辑的方法,应用于电子设备,所述电子设备包括摄像头和显示屏,该方法包括:
响应于第一操作,显示第一视频的预览界面,所述第一视频的分辨率为第一分辨率;
响应于第二操作,设置视频的分辨率为第二分辨率;所述第二分辨率的长宽比大于所述第一分辨率的长宽比;响应于第三操作,显示第二视频的预览界面,所述第二视频的分辨率为第二分辨率。
由于本申请实施例中电子设备能够根据视频的分辨率来显示视频的预览界面,从而使得电子设备能够直接拍摄出满足分辨率要求的图像,例如分辨率的长宽比大于或等于2:1的图像,因而与现有技术人工对拍摄的图像进行后期处理得到满足分辨率要求的图像相比,有助于提高获取视频或图片的效率,以及降低人工成本。
在一种可能的设计中,所述第二视频是根据所述第二分辨率对所述摄像头采集的图像进行采集或者拉伸后得到的。有助于简化的到满足第二分辨率的视频的方式。
在一种可能的设计中,当所述摄像头包括第一摄像头和第二摄像头、且所述第二摄像头采集图像的范围大于所述第一摄像头采集图像的范围时,所述第一视频是基于所述第二分辨率对所述第二摄像头采集的图像进行裁剪或拉伸后得到的。通过上述技术方案有助于使得获取的长宽比较大的分辨率图像向用户展示更多的内容。
在一种可能的设计中,所述第二分辨率的长宽比大于预设阈值。有助于简化切换摄像头的实现方式。
在一种可能的设计中,所述第一分辨率小于或等于所述预设阈值时,所述第一视频是基于所述第一分辨率对所述第一摄像头采集的图像得到的。有助于简化电子设备的图像处理方式。
在一种可能的设计中,所述设置视频的分辨率为第二分辨率之后,从所述第一摄像头切换到所述第二摄像头。
在一种可能的设计中,所述显示屏显示提示信息,所述提示信息用于提示用户摄像头由所述第二摄像头切换为所述第一摄像头。从而便于用户了解电子设备的工作情况。
在一些实施例中,第一分辨率的长宽比为4:3、16:9、或者2:1。
在一些实施例中,第二分辨率的长宽比为21:9、2.37:1、2.39:1、2.55:1、2.59:1、或者2.66:1。
在一些实施例中,电子设备若检测到摄像头采集的图像中包括人脸图像,自动开启美肤功能。从而有助于提高用户体验。
第二方面,本申请实施例提供的一种电子设备,包括:显示屏,摄像头、一个或多个处理器、存储器、多个应用程序、以及一个或多个计算机程序;其中,一个或多个计算机程序被存储在存储器中,当计算机程序被电子设备执行时,实现本申请实施例第一方面以及第一方面提供的任一可能设计的方法。
第三方面,本申请实施例提供的一种芯片,所述芯片与电子设备中的存储器耦合,使得所述芯片在运行时调用所述存储器中存储的计算机程序,实现本申请实施例第一方面以及第一方面提供的任一可能设计的方法。
第四方面,本申请实施例的一种计算机存储介质,该计算机存储介质存储有计算机程序,当所述计算机程序在电子设备上运行时,使得电子设备执行第一方面以及第一方面任意一种可能的设计的方法。
第五方面,本申请实施例的一种计算机程序产品,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行第一方面以及第一方面任意一种可能的设计的方法。
另外,第二方面至第五方面中任一种可能设计方式所带来的技术效果可参见第一方面中不同设计方式所带来的技术效果,此处不再赘述。
附图说明
图1为本申请实施例的电子设备的硬件结构示意图;
图2为本申请实施例的电子设备中的一个具体结构示意图;
图3为本申请实施例的在宽度方向上压缩图像的示意图;
图4为本申请实施例中摄像头的个数的示意图;
图5为本申请实施例的用户界面的示意图;
图6为本申请实施例的视频的设置界面的示意图;
图7a为本申请实施例横屏显示分辨率为640×480的图像时的视频预览界面的示意图;
图7b为本申请实施例横屏显示分辨率为2560×1080的图像时的视频预览界面的示意图;
图7c为本申请实施例显示视频模式选择菜单时预览界面的示意图;
图7d为本申请实施例视频录制界面的示意图;
图8为本申请实施例本后置摄像头的示意图;
图9为本申请实施例提示摄像头启动的用户界面的示意图;
图10为本申请实施例拍照的设置界面的示意图;
图11为本申请实施例横屏显示分辨率为2560×1080的图像时的拍照预览界面的示意图;
图12为本申请实施例拍摄方法的流程示意图;
图13为本申请实施例又一种电子设备的结构示意图。
具体实施方式
应理解,本申请实施例中“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系。例如,A和/或B,可以表示以下三种关系:单独存在A,同时存在A和B,单独存在B。其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一(项)个”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a、b或c中的至少一项(个),可以表示:a,b,c,a和b,a和c,b和c,或a、b和c,其中a、b、c可以是单个,也可以是多个。
应理解,本申请实施例可以应用于电子设备中。例如电子设备可以是便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴设备(如智能手表)、车载设备等。便携式电子设备的示例性实施例包括但不限于搭载
Figure PCTCN2019110618-appb-000001
Figure PCTCN2019110618-appb-000002
或者其它操作系统的便携式电子设备。上述便携式电子设备也可以是诸如具有触敏表面(例如触控面板)的膝上型计算机(Laptop)等。还应当理解的是,在本申请其他一些实施例中,电子设备也可以是具有触敏表面(例如触控面板)的台式计算机。
通常情况下,本申请实施例的电子设备可以支持多种应用。比如以下应用中的一个或多个:相机、绘图、演示、字处理、游戏、电话、视频播放器、音乐播放器、电子邮件、即时消息收发、图库、浏览器、日历、时钟、支付和健康管理等应用。
示例的,图1示出了本申请实施例适用的一种电子设备的硬件结构示意图。其中,如图1所示,电子设备包括处理器110、内部存储器121、外部存储器接口122、天线1、移动通信模块131、天线2、无线通信模块132、音频模块140、扬声器140A、受话器140B、麦克风140C、耳机接口140D、显示屏151、用户标识模块(subscriber identification module,SIM)卡接口152、摄像头153、按键154、传感器模块160、通用串行总线(universal serial bus,USB)接口170、充电管理模块180、电源管理模块181和电池182。在另一些实施例中,电子设备还可以包括马达、指示器等。
其中,处理器110可以包括一个或多个处理单元。例如:处理器110可以包括应用处理器(application processor,AP)、调制解调处理器、图形处理器(graphics processing unit,GPU)、图像信号处理器(image signal processor,ISP)、控制器、视频编解码器、数字信号处理器(digital signal processor,DSP)、基带处理器、和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
在一些实施例中,处理器110中还可以设置存储器,用于存储指令和数据。示例的,处理器110中的存储器可以为高速缓冲存储器。该存储器可以用于保存处理器110 刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从该存储器中直接调用。从而有助于避免重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
内部存储器121可以用于存储计算机可执行程序代码。所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等。存储数据区可存储电子设备使用过程中所创建的数据(比如音频数据、电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、通用闪存存储器(universal flash storage,UFS)等。
外部存储器接口122可以用于连接外部存储卡(例如,Micro SD卡),实现扩展电子设备的存储能力。外部存储卡通过外部存储器接口122与处理器110通信,实现数据存储功能。例如将音乐、视频等文件保存在外部存储卡中。
天线1和天线2用于发射和接收电磁波信号。电子设备中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块131可以提供应用在电子设备上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块131可以包括至少一个滤波器、开关、功率放大器、低噪声放大器(low noise amplifier,LNA)等。移动通信模块131可以由天线1接收电磁波信号,并对接收的电磁波信号进行滤波、放大等处理,传送至调制解调处理器进行解调。移动通信模块131还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波信号辐射出去。在一些实施例中,移动通信模块131的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块131的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。例如,移动通信模块131可以向其它电子设备发送语音,也可以接收其它电子设备发送的语音。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器140A、受话器140B等)输出声音信号,或通过显示屏151显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块131或其他功能模块设置在同一个器件中。
无线通信模块132可以提供应用在电子设备上的包括无线局域网(wireless local area networks,WLAN)(如Wi-Fi网络)、蓝牙(bluetooth,BT)、全球导航卫星系统(global navigation satellite system,GNSS)、调频(frequency modulation,FM)、近距离无线通信技术(near field communication,NFC)、红外技术(infrared,IR)等无线通信的解决方案。无线通信模块132可以是集成至少一个通信处理模块的一个或多个器件。无线通信模 块132经由天线2接收电磁波信号,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块132还可以从处理器110接收待发送的信号,对其进行调频、放大,经天线2转为电磁波信号辐射出去。
在一些实施例中,电子设备的天线1和移动通信模块131耦合,天线2和无线通信模块132耦合,使得电子设备可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM)、通用分组无线服务(general packet radio service,GPRS)、码分多址接入(code division multiple access,CDMA)、宽带码分多址(wideband code division multiple access,WCDMA)、时分码分多址(time-division code division multiple access,TD-SCDMA)、长期演进(long term evolution,LTE)、BT、GNSS、WLAN、NFC、FM、和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS)、全球导航卫星系统(global navigation satellite system,GLONASS)、北斗卫星导航系统(beidou navigation satellite system,BDS)、准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备可以通过音频模块140、扬声器140A、受话器140B、麦克风140C、耳机接口140D以及应用处理器等实现音频功能。例如音乐播放、录音等。
音频模块140可以用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块140还可以用于对音频信号编码和解码。在一些实施例中,音频模块140可以设置于处理器110中,或将音频模块140的部分功能模块设置于处理器110中。
扬声器140A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备可以通过扬声器140A收听音乐、或接听免提通话。
受话器140B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备接听电话或语音信息时,可以通过将受话器140B靠近人耳接听语音。
麦克风140C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风140C发声,麦克风140C可以用于采集用户的声音,然后,将用户的声音转换为电信号。电子设备可以设置至少一个麦克风140C。在另一些实施例中,电子设备可以设置两个麦克风140C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备还可以设置三个、四个或更多麦克风140C,实现声音信号采集、降噪、还可以识别声音来源,实现定向录音功能等。
耳机接口140D用于连接有线耳机。耳机接口140D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口、美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口等。
电子设备可以通过GPU、显示屏151、以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏151和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏151可以用于显示图像、视频等。显示屏151可以包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)、有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED)、柔性发光二极管(flex light-emitting diode,FLED)、Miniled、MicroLed、Micro-oLed、量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备可以包括1个或N个显示屏151,N为大于1的正整数。
电子设备可以通过摄像头153、ISP、DSP、视频编解码器、显示屏151以及应用处理器等实现拍摄功能。
摄像头153可以用于捕获静态图像或视频。示例性地,如图2所示,摄像头153包括镜头和图像传感器。其中,镜头用于汇聚光线,以采集光学图像。物体通过镜头采集的光学图像投射到图形传感器成像。需要说明的是,镜头可以为标准镜头,也可以为变形镜头,还可以为其它特性的镜头,对此不作限定。标准镜头将采集的图像等比例成像到图像传感器上,也就是说,标准镜头在宽度方向和高度方向上采集的图像的比例与成像到图像传感器上后图像在宽度方向和高度方向上的比例是相同的。与标准镜头不同的是,变形镜头采集的光学图像在宽度方向压缩后呈像在图像传感器上。例如,如图3所示,变形镜头在宽度方向上采集的范围为图像301中所示的范围,在高度方向上采集的范围为图像301中所示的范围,而图像302为变形镜头将图像301成像到图像传感器上后的图像。从图3中可以看出,图像302与图像301相比,在宽度方向上压缩了,但是在高度方向上未压缩。
需要说明的是,本申请实施例中电子设备可以包括一个或N个摄像头153,其中N为大于或者等于2的正整数。示例的,如图4所示,电子设备包括5个摄像头,其中,摄像头153A和摄像头153B位于电子设备的正面,又可称之为前置摄像头,摄像头153C、摄像头153D和摄像头153E位于电子设备的背面,又可称之为后置摄像头。以图4为例,摄像头153A、摄像头153B、摄像头153C、摄像头153D和摄像头153E中的镜头可以均为标准镜头,也可以部分为标准镜头,另一部分为变形镜头。例如,摄像头153A、摄像头153C和摄像头153E的镜头为标准镜头,摄像头153B和摄像头153D的镜头为变形镜头。当电子设备拍摄宽画幅图像时使用变形镜头采集图像,有助于简化后续的图像处理过程,也有助于使得电子设备拍摄的图像中呈现出更多的内容。
还需要说明的是,变形镜头又可称之为变形宽荧幕镜头。图像传感器可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。图像传感器把光信号转换成电信号,之后将电信号传递给ISP。
ISP接收到电信号后,可以将电信号转化为满足用户选择的分辨率的长宽比的数字图像信号。ISP可以将数字图像信号发送给图像处理器进行后期的图像处理,如视频色彩增强、视频去噪处理等。需要说明的是,图像处理器可以为DSP,也可以为其它用于进行图像处理的器件。此外,ISP还可以在得到数字图像信号后,直接进行后期图像处理,例如对图像的噪点、亮度、色彩进行算法优化。在一些实施例中,ISP还可以对拍摄场景的曝光、色温等参数优化。在一些实施例中,ISP可以设置在摄像 头153中的图像传感器中。在对数字图像信号进行后期的图像处理后,将处理后的数字图像信号输出到视频编解码器中进行压缩编码。视频编解码器可以将数字图像信号转换成标准的RGB、YUV等格式的图像信号,然后输出,例如,视频编解码器可以将输出的图像信号呈现在显示屏151上,或者视频编解码器还可以将输出的图像信号保存到内部存储器121或者与外部存储器接口122连接的外部存储器中。
按键154可以包括开机键、音量键等。按键154可以是机械按键。也可以是触摸式按键。电子设备可以接收按键输入,产生与电子设备的用户设置以及功能控制有关的键信号输入。
传感器模块160可以包括一个或多个传感器。例如,触摸传感器160A、指纹传感器160B、陀螺仪传感器160C、压力传感器160D、加速度传感器160E等。在一些实施例中,传感器模块160还可以包括环境传感器、距离传感器、接近光传感器、骨传导传感器等。
触摸传感器160A,也可称为“触控面板”。触摸传感器160A可以设置于显示屏151,由触摸传感器160A与显示屏151组成触摸屏,也称“触控屏”。触摸传感器160A用于检测作用于其上或附近的触摸操作。触摸传感器160A可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏151提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器160A也可以设置于电子设备的表面,与显示屏151所处的位置不同。
指纹传感器160可以用于采集指纹。电子设备可以利用采集的指纹特性实现指纹解锁、访问应用锁、指纹拍照、指纹接听来电等。
陀螺仪传感器160C可以用于确定电子设备的运动姿态。在一些实施例中,可以通过陀螺仪传感器160C确定电子设备围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器160C可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器160C检测电子设备抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备的抖动,实现防抖。陀螺仪传感器160C还可以用于导航、体感游戏场景。
压力传感器160D用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器160D可以设置于显示屏151。压力传感器160D的种类很多,如电阻式压力传感器、电感式压力传感器、电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备根据压力传感器180A检测所述触摸操作强度。电子设备也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
加速度传感器160E可检测电子设备在各个方向上(一般为三轴)加速度的大小。当电子设备静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于 横竖屏切换、计步器等应用。
在另一些实施例中,处理器110还可以包括一个或多个接口。例如,接口可以为SIM卡接口152。又例如,接口还可以为USB接口170。再例如,接口还可以为集成电路(inter-integrated circuit,I2C)接口、集成电路内置音频(inter-integrated circuit sound,I2S)接口、脉冲编码调制(pulse code modulation,PCM)接口、通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口、移动产业处理器接口(mobile industry processor interface,MIPI)、通用输入输出(general-purpose input/output,GPIO)接口等。可以理解的是,本申请实施例处理器110可以通过接口连接电子设备的不同模块,从而使得电子设备能够实现不同的功能。例如拍照、处理等。需要说明的是,本申请实施例对电子设备中接口的连接方式不作限定。
其中,SIM卡接口152可以用于连接SIM卡。SIM卡可以通过插入SIM卡接口152,或从SIM卡接口152拔出,实现和电子设备的接触和分离。电子设备可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口152可以支持Nano SIM卡、Micro SIM卡、SIM卡等。同一个SIM卡接口152可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口152也可以兼容不同类型的SIM卡。SIM卡接口152也可以兼容外部存储卡。电子设备通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备中,不能和电子设备分离。
USB接口170是符合USB标准规范的接口。例如,USB接口170可以包括Mini USB接口、Micro USB接口、USB Type C接口等。USB接口170可以用于连接充电器为电子设备充电,也可以用于电子设备与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。USB接口170还可以用于连接其他电子设备,例如增强现实技术(augmented reality,AR)设备等。
充电管理模块180用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块180可以通过USB接口170接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块180可以通过电子设备的无线充电线圈接收无线充电输入。充电管理模块140为电池182充电的同时,还可以通过电源管理模块181为电子设备供电。
电源管理模块181用于连接电池182,充电管理模块180与处理器110。电源管理模块181接收电池182和/或充电管理模块180的输入,为处理器110、内部存储器121、外部存储器、显示屏151、摄像头153、移动通信模块131和无线通信模块132等供电。电源管理模块181还可以用于监测电池容量、电池循环次数、电池健康状态(漏电、阻抗)等参数。在其他一些实施例中,电源管理模块181也可以设置于处理器110中。在另一些实施例中,电源管理模块181和充电管理模块180也可以设置于同一个器件中。
应理解,图1所示的硬件结构仅是一个示例。本申请实施例的电子设备可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
下面结合图1和图2所示的结构对本申请实施例的拍摄方法进行详细的说明。
本申请实施例中电子设备可以对摄像头采集图像进行裁剪和/或压缩来直接输出分辨率的长宽比较大的宽画幅视频或图像,从而有助于降低人工成本,提高了获取宽画幅视频或图像的效率。例如,如图3所示的图像302的分辨率为640×480,其中640为图像302在宽度方向上的像素值,480为图像302在高度方向上的像素值。则图像302的分辨率的长宽比为640/480=4:3。可以理解的是,长宽比又可称之为宽高比或者画面比等。
本申请实施例可以应用于具有拍摄功能的应用中,例如相机、具有视频功能的即时消息等应用中。以相机为例对本申请实施例的方法进行详细说明。
示例的,电子设备的显示屏151显示主界面,其中主界面包括相机图标。示例的,主界面可以为图5所示的用户界面500。其中,用户界面500包括相机图标501。除此之外,用户界面500还可以包括其它应用的图标,例如设置图标、备忘录图标、图库图标等。在一些实施例中,用户界面500还可以包括状态栏502、可隐藏的导航栏504和Dock栏503。其中,状态栏502中可以包括运营商的名称(例如,中国移动等)、移动网络(如4G)、蓝牙图标、时间和剩余电量。此外,可以理解的是,在其他一些实施例中,状态栏502中还可以包括WiFi图标、外接设备图标等。导航栏504中可以包括后退按钮(back button)、主屏幕键按钮(home button)和历史任务查看按钮(menu button)。Dock栏503中可以包括常用的应用的图标,例如电话图标、信息图标、邮件图标和天气图标。需要说明的是,Dock栏中的图标可以根据用户的需求进行相应的设定。
电子设备可以响应于第一操作,启动相机图标501对应的应用,在显示屏151显示预览界面,预览界面上显示的摄像头153采集的图像。可以理解的是,电子设备还可以响应于第一操作,开启摄像头153。此外,摄像头153也可以一直开启着的。应理解,相机图标501对应的应用可称之为相机,也可以称之为其它名称,对此不作限定。以下实施例将相机图标501对应的应用称之为相机。需要说明的是,第一操作可以为对相机图标501的操作,也可以为对用户的语音指令(如“打开相机”)的操作,还可以为快捷手势操作(例如三指下滑等)。其中,对相机图标501的操作可以为对相机图标501的触摸操作、或按压操作等。此外,本申请实施例中当电子设备黑屏或者锁屏时。可以响应于用户的语音指令或者快捷手势操作,启动相机,并在显示屏151显示预览界面。
在具体实现时,在一些实施例中,预览界面可以为拍照预览界面。示例的,图5所示的用户界面510。以后置摄像头采集图像为例,则用户界面510显示的为电子设备的后置摄像头采集的图像。在另一些实施例中,用户界面510显示的还可以为电子设备的前置摄像头采集的图像。在另一些实施例中,预览界面可以为视频预览界面。示例的视频预览界面可以为图5所示的用户界面520。以后置摄像头采集图像为例,则用户界面520显示的为电子设备的后置摄像头采集的视频图像。在另一些实施例中,用户界面520显示还可以为电子设备的前置摄像头采集的视频图像。需要说明的是,本申请实施例电子设备可以响应于对图5所示的摄像头切换按钮514的操作,来实现前置摄像头和后置摄像头之间的切换。
下面以电子设备响应于第一操作,在显示屏151显示用户界面510、且用户界面 510显示的为电子设备的后置摄像头采集的图像为例进行详细说明。在一些实施例中,如图5所示,用户界面510还可以包括拍摄模式选择按钮区域511,拍摄模式选择按钮区域可以包括拍照、录像、专业、人像、大光圈、夜景或更多等模式选择按钮。用户可以通过在拍摄模式选择按钮区域511左右滑动,来查看电子设备的拍照模式。电子设备可以响应于在用户界面510上选中录像的操作,在显示屏151显示用户界面520。其中,用户界面520显示的为后置摄像头采集的视频图像。具体的,电子设备是基于用户设置的分辨率来在用户界面520显示的后置摄像头采集的视频图像的。应理解,用户可以在视频的设置界面上来设置分辨率。在一些实施例中,用户界面520包括设置按钮521。电子设备可以响应于用户对设置按钮521的操作,在显示屏151显示视频的设置界面。在另一些实施例中,电子设备还可以响应于用户在用户界面520上向左或向右的滑动操作,显示视频的设置界面。需要说的是,电子设备还可以响应于其它操作(例如下拉、上滑等操作),在显示屏151显示视频的设置界面。示例的,视频的设置界面可以如图6中所示的用户界面610。用户界面610包括分辨率设置按钮611。从分辨率设置按钮611可以看出当前用户选中的图像的分辨率为640×480,其中,在分辨率为640×480的情况下,长宽比为4:3。则用户界面520显示的视频图像的分辨率的长宽比为4:3。通常情况下,电子设备显示长宽比为4:3的图像时是竖屏显示的,便于用户查看,如图5所示的用户界面520。但是电子设备也可以横屏显示用户界面520,例如,如图7a所示。
电子设备可以响应于对分辨率选项按钮611的操作,在显示屏151显示用户界面620。用户界面620包括电子设备支持的多个视频分辨率的选项,例如,4K UHD 3840×2160、1080P FHD+(18:9)2160×1080、1080P FHD(60fps)1920×1080、1080P FHD 1920×1080、1080P FHD+(21:9)2560×1080、720P HD+(21:9)1680×720、720P 1280×720、VGA(4:3)640×480、QVGA(4:3)320×240。从图6所示的用户界面620可以看出,长宽比为21:9的视频分辨率可以为1080P FHD+(21:9)2560×1080、720P HD+(21:9),需要说明的是,长宽比为21:9的视频分辨率还可以为UHD+4K 5040×2160等,本申请图6所示的用户界面620仅为示意图,并不构成对本申请实施例的限定。另外,本申请实施例中的电子设备除了可以支持长宽比为4:3、16:9、21:9的分辨率以外,还可以支持长宽比为、2.37:1(64:27)、2.39:1(~12:5)、2.55:1(~23:9)、2.59:1(~13:5)、2.66:1(8:3、24:9)等的分辨,本申请实施例对电子设备所支持的分辨率的长宽比也不作限定。
用户可以根据自身需求选择相应的分辨率。示例的,电子设备可以响应于用户选中分辨率为2560×1080的选项,将拍摄视频时图像的分辨率设置为2560×1080。在一些实施例中,用户界面620还包括返回按钮621,便于用户操作,退出用户界面620。因此,电子设备可以响应于对返回按钮621的操作,退出用户界面620,返回用户界面610。在这种情况下,用户界面610包括的分辨率设置按钮611显示的分辨率更新为2560×1080。在另一些实施例中,电子设备还可响应于快捷手势操作(如在用户界面620上向左滑动的操作等),退出用户界面620,返回用户界面610。用户界面610还可以包括返回按钮612,从而有助于用户操作,退出用户界面610。示例的,电子设备若是通过用户界面520包括的设置按钮521进入的,则电子设备可以响应于对返回 按钮的操作,退出用户界面610,显示视频的预览界面。由于当前的分辨率为2560×1080与显示屏151显示用户界面520时分辨率为640×480相比,分辨率为640×480时的长宽比为4:3,而分辨率为2560×1080时的长宽比为21:9,因此,在一些实施例中,电子设备可以响应于分辨率设置为2560×1080,将视频图像横屏显示,从而有助于使更好的显示分辨率为2560×1080的视频图像。示例的,电子设备退出用户界面610后,显示的拍照预览界面可以如图7b所示的用户界面700。其中,用户界面700中显示的为后置摄像头采集的视频图像、且视频图像的分辨率为2560×1080。
在另一实施例中,用户界面700上还可以包括变焦选项区域704、视频颜色选择按钮701、高动态范围按钮702、闪光灯按钮703、视频模式选择按钮705中的至少一个。示例的,电子设备可以响应于选中变焦选项区域704中的变焦倍数,来设置拍摄时所使用的变焦倍数。如图7b所示,当前用户选中的变焦倍数为×1。在一些实施例中,变焦选项区域704包括的变焦倍数选项可以包括×5、×3、×1、×0.75等。需要说明的是,由于增加变焦倍数,可以将远景拉近,采集图像的画面范围小了,但是更有助于显示图像的细节特征,二减小变焦倍数,可以扩大采集图像的范围,从而能够使得采集的图像显示更大的画面。因此,在一些实施例中,以后置摄像头拍摄为例,若电子设备包括两个或多个后置摄像头,且不同的后置摄像头的焦距不同时,电子设备可以响应于用户选中的不同的变焦倍数,进行后置摄像头的切换。从而有助于图像的采集。示例的,电子设备包括3个后置摄像头,其中3个后置摄像头的焦距分别为3.6mm、4mm和6mm,则当电子设备响应于用户选中的变焦倍数为×0.75时,开启焦距为3.6mm的后置摄像头。电子设备在开启焦距为3.6mm的后置摄像头时,可以响应于用户选中变焦倍数为×1,切换到焦距为4mm的后置摄像头上,以使得电子设备可以基于焦距为4mm的后置摄像头采集图像。又示例的,电子设备当响应于用户选中的变焦倍数为×3或×5时,切换到6mm的后置摄像头上。
电子设备可以响应于用户对视频颜色选择按钮701的操作,可以在显示屏151显示视频颜色的选项,例如标准、鲜艳、柔和等。电子设备可以响应于用户的选择的视频颜色的选项,设置拍摄的视频的颜色。电子设备可以响应于用户对高动态范围按钮702的操作,开启或关闭高动态范围的设置。电子设备可以响应于用户对闪关灯按钮703的操作,开启或关闭闪光灯。
另外,电子设备可以还可以响应于对视频模式选择按钮705的操作,来设置拍摄视频的模式。其中,视频模式可以包括人像虚化、AI色彩、无等模式。示例的,电子设备可以响应于对视频模式选择按钮705的操作,在用户界面700显示视频模式选择菜单。其中视频模式选择菜单中可以包括不同的视频模式。例如,如图7c所示,视频模式选择菜单707中包括的视频模式分别为:无、AI色彩、人像虚化、怀旧、悬疑和清新。其中,用户可以根据自身的需求从视频模式选择菜单707中选择相应的视频模式。需要说明的是,在一些实施例,视频模式选择菜单707中包括的视频模式可能还包括除在图7c所示的用户界面700上显示的视频模式,即当视频模式选择菜单707中包括的视频模式无法全部显示在显示屏151上时,用户可以通过在视频模式选择菜单707中上下滑动来查看视频模式,从而根据自身的选求选择一个视频模式。从而使得电子设备可以响应于用户选择不同的模式实现对摄像头采集视频图像不同的处理。例 如,当用户选中人物虚化的视频模式时,电子设备可以响应于用户选中的人物虚化的视频模式,对摄像头采集的视频图像进行人物虚化处理。在一些实施例中,电子设备可以响应于用户选中的人物虚化的视频模式、或者响应于对视频模式选择按钮705的操作、或者其它操作,隐藏视频模式选择菜单707。另外,在一些实施例中,当电子设备包括多个摄像头时,还可以响应于选择的不同的模式,开启不同的摄像头,从而使得电子设备能够便于进行图像处理。例如电子设备包括两个后置摄像头,当响应于用户选中AI色彩的视频模式时,可以同时开启两个后置摄像头,然后基于两个后置摄像头采集的图像进行图像处理后,呈现在视频预览界面上。
示例的,当电子设备包括一个后置摄像头时,在后置摄像头的镜头为标准镜头的情况下,若后置摄像头的镜头采集的在宽度方向和高度方向的比例为4:3的图像,成像在图像传感器之后的图像在宽度方向和高度方向的比例为4:3,则电子设备可以基于下列方法拍摄得到分辨率为2560×1080的视频图像。
实施例一:图像传感器可以将4:3的图像发送给ISP,ISP接收到4:3的图像后,根据用户选中的分辨率2560×1080,将后置摄像头采集的图像在宽度方向和高度方向的比例裁剪为21:9,然后缩放为分辨率为2560×1080的图像。然后由ISP将分辨率为2560×1080的图像发送给图像处理器进行处理,例如去噪、色彩调整等。图像处理器当对图像处理完成后,将处理后的图像发送给视频编解码器,视频编解码器将图像编码为相应的文件格式(例如MP4、3GP等)并显示在显示屏151上。电子设备可以响应于用户对拍摄按钮513的操作或者其它快捷操作(如语音指令,按压音量键等),开始使用后置摄像头采集的分辨率为2560×1080的视频图像,并将视频图像存储到内部存储器121或者与外部存储器接口122连接的外部存储器。在一些实施例中,电子设备可以响应于用户对拍摄按钮513的操作,在显示屏151显示视频录制界面。以后置摄像头采集图像为例,则视频录制界面显示的为后置摄像头采集的图像。示例的,视频录制界面可以如图7d所示的用户界面710。示例的,用户界面710可以包括录制时间。在一些实施例中用户界面710包括拍摄按钮513、暂停按钮711和拍照按钮712中的至少一个。电子设备100可以在录制视频的过程中,响应于对拍摄按钮513的操作,结束录制视频,并保存录制视频。在一些实施例中,电子设备100在结束录制视频后,在显示屏151显示视频预览界面。电子设备可以在录制视频的过程中,响应于对暂停按钮711的操作,暂停视频的录制。当电子设备在暂停视频的录制后,还可以响应于对暂停按钮711的操作,继续视频的录制。电子设备可以响应于对拍照按钮712的操作,对当前录制视频的图像拍照,并保存拍照得到的图片。示例的,如图7d所示,当前录制视频的时间为00:07,电子设备若在00:07时刻响应于对拍照按钮712的操作,对00:07时刻采集视频图像拍照,并保存拍照得到的图片。
在一些实施例中,电子设备还可以响应于用户对图像的操作,实现录制视频的过程中的对焦操作。示例的,如图7d所示,电子设备响应于用户在显示屏151上触摸位置A,则显示对焦框713。需要说明的是,位置A可以为用户界面710上除了功能按钮以外的任意位置。在一些实施例中,电子设备还可以响应于用户在显示屏151触摸位置A,还显示亮度调整条714。电子设备可以响应于对亮度调整按钮715上滑或下滑的操作,调整显示屏151的亮度。另外,电子设备还可以响应于用户对图像的缩放 手势操作,实现变焦。
本申请实施例中ISP可以基于下列方式获取用户选中的分辨率:在一些实施例中,电子设备的触摸传感器160A可以在接收到用户选中分辨率为2560×1080的操作后,将用户在显示屏151上操作的信息(例如坐标等)上报给应用处理器,应用处理器确定根据用户在显示屏151上操作的信息确定将拍照的图像的分辨率更新为2560×1080。然后应用处理器将更新后分辨率2560×1080通知给ISP,以使得ISP可以基于用户选中的分辨率来对后置摄像头采集的图像进行处理。在另一些实施例中,电子设备的触摸传感器160A还可以直接将用户在显示屏151上操作的信息上报给ISP,由ISP基于用户在显示屏151上的操作的信息来确定拍照图像的分辨率。本申请实施例对ISP获取用户选中的分辨率的方式不作限定。
实施例二:图像传感器可以根据用户选中的分辨率2560×1080将4:3的图像裁剪为21:9的图像后,发送给ISP。ISP在接收到21:9的图像后,将21:9的图像缩放为用户选中的分辨率2560×1080的图像,然后由图像处理器和编解码器对2560×1080的图像进行后续处理。需要说明的是,图像传感器可以从ISP获取用户选中的分辨率,此外,图像传感器获取用户选中的分辨率的方式也可以参见实施例一中ISP获取用户选中的分辨率的方式。
实施例三:图像传感器可以根据用户选中的分辨率2560×1080将4:3的图像裁剪为W:H的图像,其中W:H为4:3与21:9之间的一个比例,例如W:H可以为16:9。图像传感器将W:H的图像发送给ISP。ISP在接收到W:H的图像后,根据用户选中的分辨率2560×1080将W:H的图像裁剪为21:9的图像,并将21:9的图像缩放为2560×1080分辨率的图像,然后由图像处理器和编解码器对2560×1080的图像进行后续处理。
需要说明的是,实施例三中,图像传感器获取用户选中的分辨率的方式可以参见实施例二中图像传感器获取用户选中分辨率的方式。实施例二和实施例三中ISP获取用户选中的分辨率的方式可以参见实施例一中图像传感器获取用户选中分辨率的方式。实施例二和实施例三中图像处理器和编解码器对2560×1080的图像进行后续处理的方式可以参见实施例一中图像处理器和编解码器对2560×1080的图像进行后续处理的方式。
需要说明的是,上述是以后置摄像头的镜头采集的在宽度方向和高度方向的比例为4:3的图像,成像在图像传感器之后的图像在宽度方向和高度方向的比例为4:3为例进行说明的,当后置摄像头采集的图像成像在图像传感器之后的图像在宽度方向和高度方向的比例小于或大于用户选中的分辨率的长宽比时,拍摄的方法可以参见实施例一至实施例三。当后置摄像头的镜头采集的光线成像在图像传感器之后的图像在宽度方向和高度方向的比例等于用户选中的分辨率的长宽比时,则无需再对后置摄像头采集的图像进行裁剪,直接由ISP将摄像头采集的图像缩放为用户选中的分辨率的图像即可。例如用户选中的分辨率为2560×1080,后置摄像头的镜头采集的光线成像在图像传感器之后的图像在宽度方向和高度方向的比例为21:9,则ISP可以直接将接收到的来自图像传感器的21:9的图像缩放为2560×1080分辨率的图像。
另外,在一些实施例中,电子设备还可以响应于检测到后置摄像头采集到用户的 人脸图像后,自动启动美肤功能。例如,电子设备的后置摄像头采集到的图像如图3中的图像301时,则自动开启美肤功能,对人脸进行美化(例如,磨皮、祛痘等)。另外,以图7b所示的用户界面700为例,用户界面700还包括美肤功能按钮706,电子设备可以响应于对美肤功能按钮706的操作,启动美肤功能。示例的,电子设备可以响应于对美肤功能按钮706的操作,在显示屏151显示美肤的等级。用户可以根据自己的需要来进行美肤等级的设置。
示例的,当电子设备包括一个后置摄像头时,在后置摄像头的镜头为变形镜头的情况下,若后置摄像头的镜头采集的在宽度方向和高度方向的比例为21:9图像,成像在图像传感器之后的图像在宽度方向和高度方向的比例为4:3,则电子设备可以基于下列方法拍摄得到分辨率为2560×1080的视频图像。
实施例四:图像传感器可以将4:3的图像发送给ISP。ISP接收到4:3的图像后,根据用户选中的分辨率2560×1080,将后置摄像头采集的4:3的图像在宽度方向上拉伸,得到宽度方向和高度方向的比例为21:9图像,然后缩放为分辨率为2560×1080的图像。然后由图像处理器和编解码器对2560×1080的图像进行后续处理。
实施例五:图像传感器可以根据用户选中的分辨率2560×1080,将4:3的图像4:3的图像在宽度方向上拉伸,得到宽度方向和高度方向的比例为21:9图像后,发送给ISP。ISP在接收到21:9的图像后,将21:9的图像缩放为用户选中的分辨率2560×1080的图像,然后由图像处理器和编解码器对2560×1080的图像进行后续处理。
需要说明的是,实施例五中图像传感器可以从ISP获取用户选中的分辨率的方式,可以参见实施例二中图像传感器获取用户选中的分辨率的方式。实施例四和实施例五中ISP获取用户选中的分辨率的方式可以参见实施例一中图像传感器获取用户选中分辨率的方式。实施例四和实施例五中图像处理器和编解码器对2560×1080的图像进行后续处理的方式可以参见实施例一中图像处理器和编解码器对2560×1080的图像进行后续处理的方式。
需要说明的是,上述是以变形镜头采集的在宽度方向和高度方向的比例为21:9的图像,成像在图像传感器之后的图像在宽度方向和高度方向的比例为4:3为例进行说明的。通常情况下,变形镜头采集的图像在宽度方向和高度方向的比例和用户选中的分辨率的比例是相同的,在这种情况下,只需要对成像在图像传感器上的图像进行拉伸即可得到用户选中的分辨流程的比例的图像。当变形镜头采集的图像在宽度方向和高度方向的比例W1:H1和用户选中的分辨率的比例W2:H2是不同时,可以先将成像在图像传感器上的图像进行拉伸为W1:H1的图像,然后对W1:H1的图像进行裁剪得到W2:H2的图像。需要说明的是可以由图像传感器执行拉伸和裁剪操作,也可以由ISP执行拉伸和裁剪操作,还可以由图像传感器执行拉伸操作、由ISP执行裁剪操作。
在一些实施例中,当电子设备响应于对摄像头切换按钮514的操作,从后置摄像头切换到前置摄像头进行拍摄时,若前置摄像头只有一个,且前置摄像头的采集的镜头为标准镜头时,拍摄图像的方式可以参见后置摄像头的拍摄方式。
此外,当电子设备包括多个摄像头时,若电子设备包括的摄像头的镜头的是相同的,例如,电子设备包括的摄像头的镜头均为标准镜头,则拍摄方法可以参见实施例 一至实施例三中的相关介绍。电子设备包括的摄像头均为变形镜头时,则拍摄方法可以参见实施例四和实施例五中的相关介绍。
在一些实施例中,电子设备可以包括不同镜头的摄像头。例如,如图8所示,电子设备包括后置摄像头801和后置摄像头802。其中后置摄像头801的镜头为标准镜头,后置摄像头802的镜头为变形镜头。在这种情况下,电子设备当时使用后置摄像头拍摄时,可以根据用户选中的分辨率,启动后置摄像头。其中,电子设备在启动后置摄像头后的拍摄方法可以参见实施例一至实施例五。
以后置摄像头801的镜头为标准镜头、且标准镜头采集的在宽度方向和高度方向的比例为4:3的图像,成像在图像传感器之后的图像在宽度方向和高度方向的比例为4:3;后置摄像头802的镜头为变形镜头、且变形镜头采集的在宽度方向和高度方向的比例为21:9图像,成像在图像传感器之后的图像在宽度方向和高度方向的比例为4:3为例进行相关介绍。
在一些实施例中,电子设备可以基于用户选中的分辨率,来启动后置摄像头。例如,电子设备可以当用户选中的分辨率的长宽比为4:3时,启动后置摄像头801。在一些实施例中,电子设备还可以提示用户启动的后置摄像头。示例的,电子设备可以通过语音的方式提示用户当前使用的后置摄像头的镜头为标准镜头。又示例的,电子设备还可以通过在显示屏151上显示提示框。该提示框中包括提示用户当前使用的摄像头的镜头为变形镜头。例如,如图9所示,电子设备在显示屏151上显示提示框900,提示框900包括“启动的后置摄像头的镜头为标准镜头”的提示信息。在另一些实施例中,电子设备当用户选中的分辨率的长宽比为21:9时,启动后置摄像头802。通过上述技术方案有助于使得电子设备拍摄的21:9的图像的视野范围更大。示例的,电子设备响应于用户选中的长宽比为21:9的分辨率时,启动后置摄像头802。在这种情况下,电子设备额可以提示用户当前使用的后置摄像头的镜头为变形镜头。具体的提示方式可以参见提示用户当前使用的后置摄像头的镜头为标准镜头的提示方式。
需要说明的是,由于电子设备支持的分辨率的长宽比可以包括多种,例如,16:9、4:3、2:1、21:9、2.37:1(64:27)、2.39:1(~12:5)、2.55:1(~23:9)、2.59:1(~13:5)、2.66:1(8:3、24:9)等,而电子设备上配置的摄像头的个数是有限的,目前,电子设备上最多配置3个后置摄像头,在一些实施例中,电子设备可以当用户选中的分辨率的长宽比小于第一阈值时,启动镜头为标准镜头的摄像头;当用户选中的分辨率大于或等于第一阈值时,启动镜头为变形镜头的摄像头。其中第一阈值可以根据需要进行相应的设定,例如第一阈值可以设置为2,也可以设置为7/3等。可选的,电子设备上配置的后置摄像头中的镜头包括第一镜头,且第一镜头采集的图像在宽度方向和高度方向上的比例与用户选中的分辨率的长宽比相同时,则启动包括第一镜头的后置摄像头。从而有助于简化后续图像处理,提高图像处理的效率。
还需要说明的是,在一些实施例中,电子设备还可以响应于不同的模式,开启不同的摄像头。以电子设备采用后置摄像头拍摄、且电子设备包括的后置摄像头如图8所示。示例的,当用户选择的分辨率的长宽比为21:9、且用户选中的视频模式为人像模式时,电子设备可以开启后置摄像头802和后置摄像头801,其中,后置摄像头802的镜头为变形镜头,后置摄像头801的镜头为标准镜头。电子设备在进行拍摄时,可 以将后置摄像头802采集的图像处理得到用户选中的分辨率的长宽比的图像后,以将处理后的图像用户选中的图像与后置摄像头802采集的图像合成,从而有助于使得拍摄得到的视频中人物可以更加突出。其中上述仅以人像模式为例对开启后置摄像头的方式进行的相关说明。对于不同视频模式下,开启摄像头的方式可以基于实际情况进行相应的设定,对此不作限定。
另外,当电子设备使用前置摄像头进行拍摄时,拍摄方法可以参见后置摄像头的拍摄方式。
本申请实施例还可以应用于拍照的场景中。以图5所示的用户界面510为例。电子设备是基于用户设置的分辨率在用户界面510显示的摄像头采集的图像的。示例的,用户可以通过在拍照的设置界面上进行图像分辨率的设置。在一些实施例中,用户界面520包括设置按钮521。电子设备可以响应于用户对设置按钮515的操作,显示拍照的设置界面。此外,电子设备还可以响应于在拍照预览界面上的向左或向右的滑动操作,显示拍照的设置界面。本申请实施例中,电子设备还可以响应于其它操作(例如上拉或下拉等操作),显示拍照的设置界面。示例的,拍照的设置界面可以如图10中所示的用户界面1010。用户界面610包括分辨率设置按钮1011。从分辨率设置按钮1011可以看出当前用户选中的图像的分辨率为3968×2976,其中,在分辨率为3968×2976的情况下,长宽比为4:3。则用户界面510显示的视频图像的分辨率的长宽比为4:3。
电子设备可以响应于对分辨率选项按钮1011的操作,在显示屏151显示用户界面1020。用户界面1020包括电子设备支持的多个图像的分辨率的选项。用户可以根据自身需求选择相应的分辨率。示例的,电子设备可以响应于用户选中分辨率为2560×1080的选项,将拍照时图像的分辨率设置为2560×1080。电子设备可以响应于用户选中分辨率为2560×1080的选项,横屏显示拍照的预览界面,例如如图11所述的用户界面。
其中,电子设备拍摄照片的方法具体可参见电子设备拍摄视频的方法。
应理解,本申请实施例中的各个实施例可以单独使用,也可以相互结合使用。
结合上述实施例及附图,本申请实施例提供一种拍摄的方法,该方法可以在具有图1所示的硬件结构的电子设备中实现。
如图12所示,本申请实施例提供的拍摄方法的流程示意图。包括以下步骤。
步骤1201,响应于第一操作,显示第一视频的预览界面,第一视频的分辨率为第一分辨率;
步骤1202,响应于第二操作,设置视频的分辨率为第二分辨率;第二分辨率的长宽比大于所述第一分辨率的长宽比;
步骤1203,响应于第三操作,显示第二视频的预览界面,第二视频的分辨率为第二分辨率。
其中,图12中所示的拍摄方法的具体实现方式,可以参见上述各个实施例的相关介绍。
上述本申请提供的实施例中,从电子设备作为执行主体的角度对本申请实施例提供的方法进行了介绍。为了实现上述本申请实施例提供的方法中的各功能,电子设备可以包括硬件结构和/或软件模块,以硬件结构、软件模块、或硬件结构加软件模块的 形式来实现上述各功能。上述各功能中的某个功能以硬件结构、软件模块、还是硬件结构加软件模块的方式来执行,取决于技术方案的特定应用和设计约束条件。
如图13所示,本申请实施例公开了一种电子设备1300,该电子设备1000可以包括:显示屏1301、摄像头1302、一个或多个处理器1303、存储器1304、和多个应用程序1305;以及一个或多个计算机程序1306,上述各器件可以通过一个或多个通信总线1307连接。其中该一个或多个计算机程序1306被存储在上述存储器1304中并被配置为被该一个或多个处理器1302执行,实现本申请实施例图12所示的拍摄的方法。
上述各个实施例中涉及处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存取存储器(random access memory,RAM)、闪存、只读存储器(read-only memory,ROM)、可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的指令,结合其硬件完成上述方法的步骤。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出 来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
总之,以上所述仅为本申请的实施例而已,并非用于限定本申请的保护范围。凡根据本申请的揭露,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (12)

  1. 一种拍摄方法,其特征在于,应用于电子设备,所述电子设备包括摄像头和显示屏,所述方法包括:
    响应于第一操作,显示第一视频的预览界面,所述第一视频的分辨率为第一分辨率;
    响应于第二操作,设置视频的分辨率为第二分辨率;所述第二分辨率的长宽比大于所述第一分辨率的长宽比;
    响应于第三操作,显示第二视频的预览界面,所述第二视频的分辨率为第二分辨率。
  2. 如权利要求1所述的方法,其特征在于,所述第二视频是根据所述第二分辨率对所述摄像头采集的图像进行采集或者拉伸后得到的。
  3. 如权利要求2所述的方法,其特征在于,所述第二视频是基于所述第一分辨率对所述摄像头采集的图像进行裁剪或者拉伸后得到的,包括:
    当所述摄像头包括第一摄像头和第二摄像头、且所述第二摄像头采集图像的范围大于所述第一摄像头采集图像的范围时,所述第一视频是基于所述第二分辨率对所述第二摄像头采集的图像进行裁剪或拉伸后得到的。
  4. 如权利要求3所述的方法,其特征在于,所述第二分辨率的长宽比大于预设阈值。
  5. 如权利要求4所述的方法,其特征在于,所述第一分辨率小于或等于所述预设阈值时,所述第一视频是基于所述第一分辨率对所述第一摄像头采集的图像得到的。
  6. 如权利要求5所述的方法,其特征在于,所述设置视频的分辨率为第二分辨率之后,所述方法,还包括:
    从所述第一摄像头切换到所述第二摄像头。
  7. 如权利要求6所述的方法,其特征在于,所述方法还包括:
    所述显示屏显示提示信息,所述提示信息用于提示用户摄像头由所述第二摄像头切换为所述第一摄像头。
  8. 如权利要求1至7任一所述的方法,其特征在于,所述第一分辨率的长宽比为4:3、16:9、或者2:1。
  9. 如权利要求1至8任一所述的方法,其特征在于,所述第二分辨率的长宽比为21:9、2.37:1、2.39:1、2.55:1、2.59:1、或者2.66:1。
  10. 一种电子设备,其特征在于,包括:显示屏、一个或多个处理器、存储器、摄像头;
    多个应用程序;
    以及一个或多个计算机程序;
    其中,所述显示屏用于显示用户界面;
    所述摄像头用于采集图像;
    所述一个或多个计算机程序被存储在所述存储器中,当所述计算机程序被所述电子设备执行时,使得所述电子设备实现如权利要求1至9任一所述的方法。
  11. 一种芯片,其特征在于,所述芯片与电子设备中的存储器耦合,使得所述芯 片在运行时调用所述存储器中存储的计算机程序,实现如权利要求1至9任一所述的方法。
  12. 一种计算机存储介质,其特征在于,所述计算机可读存储介质包括计算机程序,当计算机程序在所述电子设备上运行时,使得所述电子设备执行如权利要求1至9任一所述的方法。
PCT/CN2019/110618 2018-10-15 2019-10-11 一种拍摄方法及电子设备 WO2020078273A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811198702.XA CN111050062B (zh) 2018-10-15 2018-10-15 一种拍摄方法及电子设备
CN201811198702.X 2018-10-15

Publications (1)

Publication Number Publication Date
WO2020078273A1 true WO2020078273A1 (zh) 2020-04-23

Family

ID=70230387

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/110618 WO2020078273A1 (zh) 2018-10-15 2019-10-11 一种拍摄方法及电子设备

Country Status (2)

Country Link
CN (2) CN114390199A (zh)
WO (1) WO2020078273A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363820A (zh) * 2020-09-29 2022-04-15 华为终端有限公司 一种电子设备的查找方法和电子设备
CN115361468A (zh) * 2022-10-21 2022-11-18 荣耀终端有限公司 屏幕旋转时的显示优化方法、设备及存储介质
CN115484423A (zh) * 2021-06-16 2022-12-16 荣耀终端有限公司 一种转场特效添加方法及电子设备
CN117692693A (zh) * 2023-06-09 2024-03-12 荣耀终端有限公司 多屏显示方法以及相关设备

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118018841A (zh) * 2021-06-16 2024-05-10 荣耀终端有限公司 一种视频拍摄方法及电子设备
CN117609547A (zh) * 2021-08-12 2024-02-27 荣耀终端有限公司 视频缩略图的显示方法、设备和存储介质
CN116709016B (zh) * 2022-02-24 2024-06-18 荣耀终端有限公司 倍率切换方法和倍率切换装置
CN115022545B (zh) * 2022-06-02 2024-04-02 北京字跳网络技术有限公司 用于内容拍摄的方法、装置、设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217643A (zh) * 2007-12-26 2008-07-09 广东威创视讯科技股份有限公司 动态采集捕获、显示不同大小分辨率图像的方法及其装置
US20090201316A1 (en) * 2008-02-11 2009-08-13 Nikhil Bhatt Image Application Performance Optimization
CN102984494A (zh) * 2012-12-06 2013-03-20 北京小米科技有限责任公司 一种视频通讯方法及装置
CN106293589A (zh) * 2016-08-31 2017-01-04 宇龙计算机通信科技(深圳)有限公司 一种设置预览分辨率的方法、装置及终端
CN108513067A (zh) * 2018-03-29 2018-09-07 维沃移动通信有限公司 一种拍摄控制方法及移动终端

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050146631A1 (en) * 2004-01-07 2005-07-07 Shelton Michael J. In-camera cropping to standard photo sizes
US20060221198A1 (en) * 2005-03-31 2006-10-05 Jared Fry User established variable image sizes for a digital image capture device
US8561106B1 (en) * 2007-12-21 2013-10-15 Google Inc. Video advertisement placement
US9113043B1 (en) * 2011-10-24 2015-08-18 Disney Enterprises, Inc. Multi-perspective stereoscopy from light fields
US8917329B1 (en) * 2013-08-22 2014-12-23 Gopro, Inc. Conversion between aspect ratios in camera
US20150348325A1 (en) * 2014-05-27 2015-12-03 Thomson Licensing Method and system for stabilization and reframing
CN105100607B (zh) * 2015-06-26 2019-02-15 努比亚技术有限公司 一种拍摄装置和方法
CN105141841B (zh) * 2015-08-25 2018-05-08 上海兆芯集成电路有限公司 摄像设备及其方法
CN106506932A (zh) * 2015-09-08 2017-03-15 中兴通讯股份有限公司 图像的获取方法及装置
CN108616741A (zh) * 2016-12-06 2018-10-02 深圳市谛源光科有限公司 一种应用在移动终端的3d拍摄装置及方法
CN107395970A (zh) * 2017-07-27 2017-11-24 深圳市泰衡诺科技有限公司 一种用于智能终端的拍照方法及拍照装置
CN108040204B (zh) * 2017-12-05 2020-06-02 北京小米移动软件有限公司 一种基于多摄像头的图像拍摄方法、装置及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217643A (zh) * 2007-12-26 2008-07-09 广东威创视讯科技股份有限公司 动态采集捕获、显示不同大小分辨率图像的方法及其装置
US20090201316A1 (en) * 2008-02-11 2009-08-13 Nikhil Bhatt Image Application Performance Optimization
CN102984494A (zh) * 2012-12-06 2013-03-20 北京小米科技有限责任公司 一种视频通讯方法及装置
CN106293589A (zh) * 2016-08-31 2017-01-04 宇龙计算机通信科技(深圳)有限公司 一种设置预览分辨率的方法、装置及终端
CN108513067A (zh) * 2018-03-29 2018-09-07 维沃移动通信有限公司 一种拍摄控制方法及移动终端

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363820A (zh) * 2020-09-29 2022-04-15 华为终端有限公司 一种电子设备的查找方法和电子设备
CN115484423A (zh) * 2021-06-16 2022-12-16 荣耀终端有限公司 一种转场特效添加方法及电子设备
CN115361468A (zh) * 2022-10-21 2022-11-18 荣耀终端有限公司 屏幕旋转时的显示优化方法、设备及存储介质
CN115361468B (zh) * 2022-10-21 2023-02-28 荣耀终端有限公司 屏幕旋转时的显示优化方法、设备及存储介质
CN117692693A (zh) * 2023-06-09 2024-03-12 荣耀终端有限公司 多屏显示方法以及相关设备

Also Published As

Publication number Publication date
CN114390199A (zh) 2022-04-22
CN111050062B (zh) 2022-01-14
CN111050062A (zh) 2020-04-21

Similar Documents

Publication Publication Date Title
US11330194B2 (en) Photographing using night shot mode processing and user interface
WO2020078273A1 (zh) 一种拍摄方法及电子设备
CN110072070B (zh) 一种多路录像方法及设备、介质
US11595566B2 (en) Camera switching method for terminal, and terminal
US11669242B2 (en) Screenshot method and electronic device
WO2020073959A1 (zh) 图像捕捉方法及电子设备
CN113727016A (zh) 一种拍摄方法及电子设备
CN112449099B (zh) 一种图像处理方法、电子设备及云服务器
US12003850B2 (en) Method for selecting image based on burst shooting and electronic device
US20220342516A1 (en) Display Method for Electronic Device, Electronic Device, and Computer-Readable Storage Medium
CN112584251B (zh) 一种显示方法及电子设备
CN113596316B (zh) 拍照方法及电子设备
CN114489533A (zh) 投屏方法、装置、电子设备及计算机可读存储介质
CN110795187A (zh) 一种图像显示方法及电子设备
US20240212100A1 (en) Image fusion method and electronic device
CN112637481B (zh) 图像缩放方法和装置
CN114363678A (zh) 一种投屏方法及设备
CN116095464B (zh) 终端拍摄方法及终端设备
CN116782024A (zh) 一种拍摄方法和电子设备
CN111294509A (zh) 视频拍摄方法、装置、终端及存储介质
CN117714858A (zh) 一种图像处理方法、电子设备及可读存储介质
CN117880410A (zh) 用于投屏显示的方法及电子设备
CN117714849A (zh) 一种图像拍摄方法及相关设备
CN115696067A (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: 19872331

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19872331

Country of ref document: EP

Kind code of ref document: A1