WO2022262497A1 - 拍摄方法、图形界面及相关装置 - Google Patents

拍摄方法、图形界面及相关装置 Download PDF

Info

Publication number
WO2022262497A1
WO2022262497A1 PCT/CN2022/092833 CN2022092833W WO2022262497A1 WO 2022262497 A1 WO2022262497 A1 WO 2022262497A1 CN 2022092833 W CN2022092833 W CN 2022092833W WO 2022262497 A1 WO2022262497 A1 WO 2022262497A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
lut
template
image
shooting
Prior art date
Application number
PCT/CN2022/092833
Other languages
English (en)
French (fr)
Inventor
王龙
易婕
Original Assignee
荣耀终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Priority to EP22823979.4A priority Critical patent/EP4171014A4/en
Priority to US18/022,867 priority patent/US20230217098A1/en
Publication of WO2022262497A1 publication Critical patent/WO2022262497A1/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/34Indicating arrangements 
    • 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/617Upgrading or updating of programs or applications for camera control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • 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/633Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera
    • 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/70Circuitry for compensating brightness variation in the scene
    • H04N23/741Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
    • 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
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/85Camera processing pipelines; Components thereof for processing colour signals for matrixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0117Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving conversion of the spatial resolution of the incoming video signal
    • H04N7/0122Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving conversion of the spatial resolution of the incoming video signal the input and the output signals having different aspect ratios

Definitions

  • the present application relates to the field of terminal and communication technologies, in particular to a shooting method, a graphic interface and related devices.
  • the present application provides a shooting method.
  • the electronic device can use the LUT template to change the color value of the preview image, so that the display effect of the preview image is similar or the same as that of the movie.
  • the user can shoot the same as the movie Images with similar or identical tones and styles make taking pictures or videos more interesting and satisfy users' shooting needs.
  • an embodiment of the present application provides a shooting method, the method is applied to an electronic device including a camera, and the method includes: the electronic device displays a preview interface, and the preview interface displays the first image from the camera and a plurality of The shooting function option, the color parameter of the first image is the first parameter, the multiple shooting function options include a LUT function option; the electronic device receives a first operation for the LUT function option in the multiple shooting function options, the The LUT function option corresponds to the LUT function, and the LUT function provides a plurality of LUT templates, and the plurality of LUT templates are used to change the color parameters of the image; in response to the first operation, the electronic device determines the target LUT from the plurality of LUT templates Template, the target LUT template describes the mapping relationship between the second parameter and the third parameter, the second parameter is the color parameter corresponding to the first video, and the third parameter is the color parameter corresponding to the second video; the electronic device Adjust the color parameters of the first image according to the target LUT template to obtain
  • the electronic device can provide multiple LUT templates. These LUT templates are related to the display effect of the movie. These LUT templates can be used to change the display effect of the preview image, so that the display effect of the preview image is consistent with the display effect of the movie. The effect is the same or similar, giving the preview image a more cinematic feel.
  • the display effect may refer to hue, brightness, saturation and so on.
  • the electronic device stores the multiple LUT templates, and the electronic device determines a target LUT template from the multiple LUT templates, specifically including: the electronic device according to the first image
  • the brightness, saturation, and picture content of the target LUT template are determined among the plurality of LUT templates.
  • the electronic device can intelligently recommend a suitable LUT template according to the preview image. In this way, the difficulty of selecting the LUT template for the user is avoided, and the electronic device can automatically select the most suitable LUT template according to the image obtained by the camera, which is convenient for the user to operate. , which improves the user experience.
  • the method further includes: the electronic device displays prompt information, and the prompt information is used to indicate that the preview interface displays The image has color parameters adjusted according to the target LUT template.
  • the electronic device may display a prompt message to remind the user that the display effect of the preview image has been adjusted according to the LUT template.
  • the method further includes: the electronic device displays multiple template options in the preview interface, and the multiple The template option includes a first template option, and the first template option corresponds to the target LUT template.
  • the electronic device may display multiple LUT templates provided by the LUT function in a preview interface after receiving the user's operation of enabling the LUT function, so that the user can select a suitable LUT template from the multiple LUT templates.
  • the electronic device determines a target LUT template from the plurality of LUT templates, which specifically includes: in response to the first operation, the electronic device determines a target LUT template in the preview A plurality of template options are displayed in the interface, and the plurality of template options correspond to a plurality of templates; the electronic device receives a third operation acting on the first template option in the plurality of template options; in response to the third operation, the electronic device The device determines a target LUT template corresponding to the first template option.
  • the electronic device can also select the LUT template according to the user's operation, providing users with more ways to select the LUT template, so that the user can choose according to their own needs. to select the LUT template, increasing the degree of freedom in selecting the LUT template.
  • the method further includes: the electronic device detects that the target LUT template option
  • the fourth operation in response to the fourth operation, the electronic device displays a video display window, where the video display window is used to display the second video.
  • the LUT template in addition to changing the display effect of the preview image, can also display a short video clip for the user, and the short video clip can be related content of the movie.
  • the LUT template is displayed to the user in the form of a short video clip, which can increase the fun of the image adjustment process and enable the user to have a more intuitive understanding of the color correction effect of the LUT template.
  • the size of the first image and the second image is a preset size, and areas other than the first image or the second image are displayed in black.
  • the electronic device can crop the size of the preview image, and add black borders in the preview interface, so that the aspect ratio of the preview image is the aspect ratio of the movie screen (for example, 21:9).
  • the user can be given the effect of watching a movie from the perspective of perception, and the atmosphere of the movie during the shooting process can be enhanced.
  • the method further includes: the preview interface also displays A plurality of shooting mode options, the multiple shooting mode options correspond to multiple shooting modes; the preview interface displays the first image from the camera and a plurality of shooting function options, specifically including: the preview interface displays the first image from the camera image, the electronic device receives an operation acting on the first shooting mode option, and in response to the first operation, the preview interface displays the multiple shooting function options.
  • the shooting method may be presented in a shooting mode: movie mode, during the shooting process of the electronic device.
  • the electronic device opens the camera application program
  • the electronic device may provide a shooting mode interface of the movie mode,
  • the electronic device can receive the user's selection operation on this mode, and start the photographing process in this mode.
  • the user can use the LUT function to adjust the display effect of the image in this mode, and experience the fun of shooting movies.
  • the method further includes: the electronic device displays a plurality of shooting function options on a horizontal screen.
  • the first shooting mode option corresponds to the movie mode. After the electronic device enters the movie mode, in the user interface displayed by the electronic device, each icon can be displayed in a horizontal screen. In this way, the user can be guided to shoot in a horizontal screen and guide the user to better use the movie mode to shoot.
  • the method further includes: the electronic device receives the first operation that acts on the multiple shooting function options
  • the fifth operation of the second shooting function option in the shooting function options in response to the fifth operation, the frame rate of the image captured by the camera is greater than the first value, and the color depth is greater than the second value.
  • the movie mode After the electronic device enters the movie mode, the movie mode also provides an interface that triggers the user to turn on the IMAX function.
  • the IMAX function can increase the color depth of the preview image, making the color of the image more delicate and the details more vivid. In addition, this shooting method will also The IMAX function and the HDR10 mode have been designed in conjunction.
  • the HDR10 mode After the electronic device turns on the IMAX function, the HDR10 mode is also turned on at the same time.
  • the HDR10 mode can provide more dynamic range and image details, which can better reflect the visual effects in the real environment, enabling electronic devices to record video in 10-bit high dynamic range. This is because when users want to obtain images with more delicate colors, they often also want clearer images.
  • the HDR10 mode When users turn on the IMAX function, the HDR10 mode is also turned on synchronously, which can facilitate user operations and improve user experience.
  • the method further includes: the electronic device receives a sixth operation acting on the preview interface, and the sixth operation is used to set a preset duration;
  • the saving of the image as a picture or video specifically includes: after the preset time period, the electronic device saves the second image as a picture or video.
  • the method further includes: the electronic device displays countdown information on the preview interface.
  • the movie mode also provides an interface to trigger the user to start the timer shooting function.
  • the electronic device can display the slate countdown animation during the countdown shooting, which increases the fun of shooting.
  • the embodiment of the present application provides an electronic device, including: a display screen, a camera, a touch sensor, a memory, one or more processors, a plurality of application programs, and one or more programs; wherein the one or more A plurality of programs are stored in the memory; it is characterized in that, when the one or more processors execute the one or more programs, the electronic device executes the first aspect or any one of the implementation manners of the first aspect method described.
  • the embodiment of the present application provides a computer program product containing instructions, which is characterized in that, when the computer program product is run on an electronic device, the electronic device is made to execute any of the first aspect or the first aspect. A method described in one embodiment.
  • the embodiment of the present application provides a computer-readable storage medium, including instructions, which is characterized in that, when the instructions are run on the electronic device, the electronic device is made to execute any of the first aspect or the first aspect. A method described in one embodiment.
  • FIG. 1 is a schematic diagram of a hardware structure of an electronic device 100 provided in an embodiment of the present application
  • FIG. 2 is a schematic diagram of the software structure of the electronic device 100 provided by the embodiment of the present application.
  • Figure 3A- Figure 3H, Figure 4A- Figure 4E, Figure 5A- Figure 5G, Figure 6A- Figure 6D, Figure 7A- Figure 7H are some user interfaces provided by the embodiment of this application;
  • FIG. 8 is a schematic flowchart of a photographing method provided by an embodiment of the present application.
  • first and second are used for descriptive purposes only, and cannot be understood as implying or implying relative importance or implicitly specifying the quantity of indicated technical features. Therefore, the features defined as “first” and “second” may explicitly or implicitly include one or more of these features. In the description of the embodiments of the present application, unless otherwise specified, the “multiple” The meaning is two or more.
  • UI user interface
  • the term "user interface (UI)” in the following embodiments of this application is a medium interface for interaction and information exchange between an application program or an operating system and a user, and it realizes the difference between the internal form of information and the form acceptable to the user. conversion between.
  • the user interface is the source code written in a specific computer language such as java and extensible markup language (XML).
  • the source code of the interface is parsed and rendered on the electronic device, and finally presented as content that can be recognized by the user.
  • the commonly used form of user interface is the graphical user interface (graphic user interface, GUI), which refers to the user interface related to computer operation displayed in a graphical way. It may be text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, and other visible interface elements displayed on the display screen of the electronic device.
  • An embodiment of the present application provides a photographing method.
  • the electronic device can display a preview interface, and the preview interface is used to display the preview image collected by the camera in real time.
  • the electronic device can include multiple LUT (Look Up Table, LUT) templates, and these LUT templates can change the color value of the preview image, so that the display effect of the preview image is similar or the same as that of the movie, wherein the display effect can refer to the hue , brightness, saturation, etc.
  • the electronic device can preview one or more frames of images collected by the camera, select a LUT template suitable for the preview image from the multiple LUT templates, and use the LUT template to adjust the display effect of the preview image, or the electronic device It can receive user operations, adjust the display effect of the preview image according to the LUT template selected by the user, and make the preview image displayed in the preview interface more cinematic.
  • the LUT template can also be displayed to the user in the form of a video clip, which increases the fun of the image adjustment process and enables the user to have a more intuitive understanding of the toning effect of the LUT template.
  • the electronic device can crop the size of the preview image, and add black borders in the preview interface, so that the aspect ratio of the preview image is the aspect ratio of the movie screen (for example, 21:9).
  • the user can be given the effect of watching a movie from the perspective of perception, and the atmosphere of the movie during the shooting process can be enhanced.
  • the electronic device 100 may display one or more LUT templates after receiving the user's operation of enabling the LUT function.
  • the LUT template can provide a color conversion model for converting image color values, and the color conversion model can specify an output color value according to an input color value.
  • the electronic device will adjust the color value of the preview image according to the color conversion model in the LUT template, thereby changing the display effect of the preview image.
  • the image before adjustment may refer to the original image captured by the camera, and the image after adjustment may refer to the preview image displayed on the preview interface after the LUT template is added.
  • the color value of the original image is the input color value, which is finally displayed on the preview interface, and the adjusted color value of the preview image is the output color value.
  • the embodiment of the present application does not limit the name related to the LUT function.
  • the LUT can also be expressed as a LUT filter, hue, palette, etc., and this embodiment of the present application does not make any limit.
  • the shooting method can provide users with a movie-related shooting mode.
  • the user can experience the fun of shooting movies, and the image captured by the electronic device is similar to the tone style of the movie.
  • the video recording is more interesting and meets the shooting needs of users.
  • FIG. 1 shows a schematic diagram of a hardware structure of an electronic device 100 .
  • the electronic device 100 may be a cell phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, as well as a cellular phone, a personal digital assistant (personal digital assistant) digital assistant (PDA), augmented reality (augmented reality, AR) device, virtual reality (virtual reality, VR) device, artificial intelligence (artificial intelligence, AI) device, wearable device, vehicle-mounted device, smart home device and/or
  • PDA personal digital assistant
  • augmented reality augmented reality, AR
  • VR virtual reality
  • AI artificial intelligence
  • wearable device wearable device
  • vehicle-mounted device smart home device
  • smart home device smart home device
  • smart home device smart home device
  • the embodiment of the present application does not specifically limit the specific type of the electronic equipment.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and A subscriber identification module (subscriber identification module, SIM) card interface 195 and the like.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit
  • the processor 110 can be configured to select a LUT template suitable for the preview image from a plurality of LUT templates according to a certain frame preview image captured by the camera, and use the LUT template to change the real-time frame of the camera in the preview interface.
  • the display effect of the collected preview image makes the preview image displayed in the preview interface more cinematic.
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold 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 called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the system.
  • the wireless communication function of the electronic device 100 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 150 , the wireless communication module 160 , a modem processor, a baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation.
  • at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
  • a modem processor may include a modulator and a demodulator.
  • the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is passed to the application processor after being processed by the baseband processor.
  • the application processor outputs sound signals through audio equipment (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 100.
  • System global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication, NFC
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , demodulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the mobile communication template 150 and the wireless communication module 160 can be used to receive the LUT template sent by the server.
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include 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 Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • CDMA broadband Code division multiple access
  • WCDMA wideband code division multiple access
  • time division code division multiple access time-division code division multiple access
  • TD-SCDMA time-division code division multiple access
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
  • the display screen 194 may be used to display a preview interface of the electronic device 100 during shooting, and the image captured by the camera 193 in real time is displayed in the preview interface.
  • the electronic device 100 can realize the shooting function through the ISP, the camera 193 , the video codec, the GPU, the display screen 194 and the application processor.
  • the ISP is used for processing the data fed back by the camera 193 .
  • the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin color.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be located in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG moving picture experts group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be realized through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the internal memory 121 may include one or more random access memories (random access memory, RAM) and one or more non-volatile memories (non-volatile memory, NVM).
  • RAM random access memory
  • NVM non-volatile memory
  • the internal memory 121 can be used to store one or more LUT templates in the electronic device 100 .
  • Random access memory can include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (synchronous dynamic random access memory, SDRAM), double data rate synchronous Dynamic random access memory (double data rate synchronous dynamic random access memory, DDR SDRAM, such as the fifth generation DDR SDRAM is generally called DDR5SDRAM), etc.; non-volatile memory can include disk storage devices, flash memory (flash memory).
  • SRAM static random-access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • DDR SDRAM double data rate synchronous dynamic random access memory
  • non-volatile memory can include disk storage devices, flash memory (flash memory).
  • flash memory can include NOR FLASH, NAND FLASH, 3D NAND FLASH, etc.
  • it can include single-level storage cells (single-level cell, SLC), multi-level storage cells (multi-level cell, MLC), triple-level cell (TLC), quad-level cell (QLC), etc.
  • SLC single-level storage cells
  • MLC multi-level storage cells
  • TLC triple-level cell
  • QLC quad-level cell
  • UFS universal flash storage
  • embedded multimedia memory card embedded multi media Card
  • the random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of an operating system or other running programs, and can also be used to store data of users and application programs.
  • the non-volatile memory can also store executable programs and data of users and application programs, etc., and can be loaded into the random access memory in advance for the processor 110 to directly read and write.
  • the external memory interface 120 can be used to connect an external non-volatile memory, so as to expand the storage capacity of the electronic device 100 .
  • the external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and video are stored in an external non-volatile memory.
  • the electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the gyro sensor 180B can be used to determine the motion posture of the electronic device 100 .
  • the angular velocity of the electronic device 100 around three axes may be determined by the gyro sensor 180B.
  • the gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the distance sensor 180F is used to measure the distance.
  • the electronic device 100 may measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F for distance measurement to achieve fast focusing.
  • the ambient light sensor 180L is used for sensing ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket, so as to prevent accidental touch.
  • the touch sensor 180K is also called “touch device”.
  • the touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to the touch operation can be provided through the display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the position of the display screen 194 .
  • the electronic device can be a portable terminal device equipped with iOS, Android, Microsoft or other operating systems, such as a mobile phone, a tablet computer, a wearable device, etc., or a laptop computer (Laptop) with a touch-sensitive surface or a touch panel, Non-portable terminal devices such as desktop computers with touch-sensitive surfaces or touch panels.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture.
  • the software structure of the electronic device 100 is exemplarily described by taking an Android system with a layered architecture as an example.
  • FIG. 2 is a block diagram of the software structure of the electronic device 100 according to the embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces.
  • the Android system is divided into four layers, which are respectively the application program layer, the application program framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer from top to bottom.
  • the application layer can consist of a series of application packages.
  • the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and short message.
  • the camera may include multiple shooting modes, for example, a professional mode and a movie mode.
  • the professional mode may provide the user with various adjustable shooting parameters (for example, exposure, brightness, etc.), and the user may adjust the preview image by adjusting the shooting parameters.
  • the movie mode can provide users with a movie-themed shooting mode. For specific descriptions about the professional mode and the movie mode, reference may be made to subsequent embodiments.
  • the gallery can be used to store pictures or videos captured by the electronic device 100 through the camera application program, and the electronic device 100 can also use a LUT template in the gallery to adjust the display effect of the pictures or videos.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include window managers, content providers, view systems, phone managers, resource managers, notification managers, and so on.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • Content providers are used to store and retrieve data and make it accessible to applications.
  • Said data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on.
  • the view system can be used to build applications.
  • a display interface can consist of one or more views.
  • a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
  • the view system can be used to build camera applications and gallery applications.
  • the phone manager is used to provide communication functions of the electronic device 100 . For example, the management of call status (including connected, hung up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify the download completion, message reminder, etc.
  • the notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window.
  • prompting text information in the status bar issuing a prompt sound, vibrating the electronic device, and flashing the indicator light, etc.
  • the Android Runtime includes core library and virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application program layer and the application program framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • a system library can include multiple function modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • the surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing, etc.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
  • the workflow of the software and hardware of the electronic device 100 will be exemplarily described below in conjunction with capturing and photographing scenes.
  • a corresponding hardware interrupt is sent to the kernel layer.
  • the kernel layer processes touch operations into original input events (including touch coordinates, time stamps of touch operations, and other information). Raw input events are stored at the kernel level.
  • the application framework layer obtains the original input event from the kernel layer, and identifies the control corresponding to the input event. Take the touch operation as a touch click operation, and the control corresponding to the click operation is the control of the camera application icon as an example.
  • the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer.
  • Camera 193 captures still images or video.
  • the shooting method provided in the embodiment of the present application may be represented as multiple functions in two shooting modes, where the two shooting modes may refer to: movie mode and professional mode.
  • the movie mode is a shooting mode related to the theme of the movie.
  • the image displayed by the electronic device 100 can give the user the effect of watching a movie from the senses.
  • the electronic device 100 also provides a plurality of LUTs related to the theme of the movie. Templates that users can utilize to obtain tone-adjusted images or videos whose tone is similar or identical to that of the film.
  • the movie mode can at least provide an interface for the user to trigger the LUT function, the IMAX function, and the timer shooting function.
  • the LUT function IMAX function
  • timer shooting function please refer to the following UI embodiments.
  • the professional mode is a shooting mode that supports users to adjust shooting parameters.
  • the electronic device 100 can provide multiple shooting parameters that can be adjusted by the user, including metering, exposure, brightness, shutter speed, focus mode, White balance parameters, etc., users can adjust these shooting parameters to obtain the image display effect they want.
  • the professional mode can also include a plurality of LUT templates similar to those in the film mode, and users can also use these LUT templates to obtain images or videos adjusted with the tone, and the tone of these images or videos Similar or identical to the tone of the film.
  • the professional mode can at least provide an interface for the user to trigger the LUT function and the LOG function.
  • the LUT function and the LOG function please refer to the following UI embodiments.
  • 3A-3H exemplarily show some user interfaces involved in the LUT function during the photographing process.
  • FIG. 3A exemplarily shows an exemplary user interface 21 for an application program menu on the electronic device 100 .
  • the user interface 21 includes: a status bar 211 , a calendar indicator 212 , a weather indicator 213 , a gallery application 214 , and a camera application 215 .
  • the status column 211 may include one or more signal strength indicators of mobile communication signals, one or more signal strength indicators of wireless fidelity (WiFi) signals, a battery status indicator and a time indicator.
  • Calendar indicator 212 may be used to indicate the current time.
  • Weather indicator 213 may be used to indicate the type of weather.
  • the gallery application 214 can be used to save pictures taken by the electronic device 100, and the camera application 215 can be used to open the camera of the electronic device and provide a user interface for displaying images collected by the camera.
  • the user interface 21 exemplarily shown in FIG. 3A may be a main interface (Gome screen).
  • FIG. 3A only exemplarily shows a user interface on the electronic device 100, and should not be construed as limiting the embodiment of the present application.
  • the electronic device 100 may detect a user's touch operation on the camera application 215 , and in response to the operation, the electronic device 100 displays a user interface 31 as shown in FIG. 3B .
  • the user interface 31 may refer to the default camera interface provided by the application when the electronic device 100 opens the camera application.
  • the user interface 31 may include: a preview frame 311 , a shooting mode list 312 , a gallery shortcut key 313 , a shutter control 314 , and a camera flip control 315 . in:
  • the preview frame 311 can be used to display images captured by the camera 193 in real time.
  • the electronic device 100 can refresh the displayed content therein in real time, so that the user can preview the image currently captured by the camera 193 .
  • One or more shooting mode options may be displayed in the shooting mode list 312 .
  • the one or more shooting mode options may include: a portrait mode option 312A, a video recording mode option 312B, a photo mode option 312C, a movie mode option 312D, and a professional option 312E.
  • the one or more shooting mode options can be represented as text information on the interface, such as "portrait”, “video recording”, “photographing", “movie”, “professional”.
  • the one or more shooting mode options may also be represented as icons or other forms of interactive elements (interactive element, IE) on the interface.
  • interactive element interactive element
  • the gallery shortcut key 313 can be used to open the gallery application.
  • the electronic device 100 may launch the gallery application.
  • the gallery application program is an application program for picture management on electronic devices such as smart phones and tablet computers, and may also be called "album".
  • the name of the application program is not limited in this embodiment.
  • the gallery application program can support users to perform various operations on pictures stored on the electronic device 100, such as browsing, editing, deleting, selecting and other operations.
  • the shutter control 314 can be used to monitor the user's operation that triggers taking pictures.
  • the electronic device 100 may detect a user operation acting on the shutter control 314, and in response to the operation, the electronic device 100 may save the image in the preview frame 311 as a picture in the gallery application.
  • the electronic device 100 may also display thumbnails of the saved images in the gallery shortcut key 314 . That is to say, the user can click the shutter control 314 to trigger taking pictures.
  • the shutter control 314 may be a button or other forms of controls.
  • the camera flip control 315 can be used to monitor user operations that trigger flipping of the camera.
  • the electronic device 100 may detect a user operation on the camera flip control 315, such as a click operation, and in response to the operation, the electronic device 100 may flip the camera, such as switching the rear camera to the front camera.
  • the electronic device 100 may detect a user's touch operation on the movie mode option 312D, and in response to the operation, the electronic device displays the user interface 31 as shown in FIG. 3C .
  • the electronic device 100 may turn on the movie mode by default after starting the camera application. Not limited thereto, the electronic device 100 may also enable the movie mode in other ways, for example, the electronic device 100 may also enable the movie mode according to a user's voice command, which is not limited in this embodiment of the present application.
  • the preview interface 311 includes a function option 317
  • the function option 317 includes an IMAX option 317A, a flash option 317B, a LUT option 317C, and a setting option 317D.
  • These multiple function options can detect the user's touch operation, and in response to the operation, enable or disable the corresponding shooting function, for example, IMAX function, flash function, LUT function, and setting function.
  • the flashlight function can monitor user operations that trigger the flashlight
  • the setting function can be used to open the shooting setting interface.
  • the shutter control 314 is updated to a movie shutter control 316, similar to the shutter control 314, the movie shutter control 316 can be used to monitor user operations that trigger video recording.
  • the electronic device 100 may detect a user operation acting on the movie shutter control 316, and in response to the operation, the electronic device 100 starts recording, and when the electronic device 100 detects a user operation acting on the movie shutter control 316 again, the electronic device 100 stops recording , and the distance between the previous user operation on the movie shutter control 316 and the next user operation on the movie shutter control 316 , the image displayed in the preview interface 311 is saved as a video. Furthermore, as shown in FIG.
  • the display direction of icons in the gallery shortcut key 313 , camera flip control 315 , movie shutter control 316 and function options 317 is consistent with the direction in which the electronic device 100 is placed horizontally.
  • the electronic device 100 may detect the user's touch operation on the LUT option 317C, and in response to the operation, the electronic device 100 displays the user interface 31 as shown in FIG. 3E .
  • the electronic device 100 turns on the LUT function, which can change the display effect of the preview image.
  • the LUT function introduces a color lookup table, which is equivalent to a color conversion model, which can output adjusted color values according to the input color values.
  • the color value of the image captured by the camera is equivalent to the input value, and different color values can be correspondingly obtained as an output value after passing through the color conversion model.
  • the image displayed in the preview box 311 is the image adjusted by the color conversion model.
  • the electronic device 100 uses the LUT function to display an image composed of color values adjusted by the color conversion model, so as to achieve the effect of adjusting the tone of the image.
  • the electronic device 100 can provide multiple LUT templates, one LUT template corresponds to one color conversion model, and different LUT templates can bring different display effects to the preview image. Moreover, these LUT templates can be associated with the theme of the movie, and the tone adjustment effect brought by the LUT template to the preview image can be close to or the same as the tone in the movie, creating an atmosphere for the user to shoot a movie.
  • the electronic device 100 can intelligently recommend a suitable LUT template according to the image displayed in the preview frame 311 , and display a prompt message 318 as shown in FIG. 3E .
  • the prompt information 318 is used to prompt the user that the current electronic device 100 has added a suitable LUT template to the preview image displayed in the preview frame 311 , specifically, the name of the LUT template is "Movie A". Comparing the visible part of the preview image in FIG. 3D and FIG. 3E , it can be seen that the tone of the preview image is changed when the LUT function is turned on.
  • the electronic device 100 may display the user interface 31 shown in FIG. 3F , displaying the LUT template contained in the LUT function.
  • the user interface 31 includes a LUT preview window 319 , and the LUT preview window 319 is used to display one or more LUT templates preset in the electronic device 100 or loaded online.
  • the LUT preview window 319 may include a smart recognition control 319A, a first LUT template option 319B, and a second LUT template option 319C.
  • the smart recognition control 319A is used to enable or disable the function of intelligently recommending LUT templates of the electronic device 100 , and by default, the smart recognition control 319A is initially turned on.
  • the electronic device 100 When the electronic device 100 detects the user's touch operation on the smart recognition control 319A, the electronic device 100 will no longer intelligently recommend the LUT template when the LUT function is turned on next time, and the smart recognition control 319A is turned off.
  • the first LUT template option 319B does not include a LUT template.
  • the electronic device 100 detects a user operation on the first LUT template option 319B, the electronic device 100 closes the LUT function, and the preview image displays the original effect.
  • the second LUT template 319C is a LUT template included in the LUT function.
  • the LUT preview window 319 may also detect a user operation of sliding left and right by the user, and in response to the operation, the electronic device 100 displays other LUT templates.
  • the second LUT template 319C displays the movie screen corresponding to the movie theme, and the name of the LUT template, for example, the name may be the name of the movie corresponding to the LUT template, or a name related to the movie, and so on.
  • the LUT preview window 319 may display that the LUT template is selected. Specifically, as shown in FIG. 3F , when the second LUT template 319C is in the selected state, the border of the second LUT template 319C is a bold solid line.
  • the second LUT template 319C also includes a playback control 3191C, which is used to prompt the user that the second LUT template 319C can be displayed as a playable video, and the playback control 3191C can detect the user's touch operation, and respond to the Operation, the electronic device 100 may display the user interface 31 as shown in FIG. 3G , and play the video picture corresponding to the second LUT template 319C.
  • a playback control 3191C is used to prompt the user that the second LUT template 319C can be displayed as a playable video
  • the playback control 3191C can detect the user's touch operation, and respond to the Operation
  • the electronic device 100 may display the user interface 31 as shown in FIG. 3G , and play the video picture corresponding to the second LUT template 319C.
  • the electronic device 100 may display prompt information and one or more LUT templates included in the LUT function after intelligently recommending the LUT template. That is to say, after the electronic device 100 detects the user operation acting on the LUT option 317C, the electronic device 100 can add a LUT template to the preview image, and simultaneously display the prompt information 318 in FIG. 3E and the prompt information in FIG. 3F in a user interface.
  • the LUT preview window 319 in .
  • the smart recognition control 319A may be turned off by default. Then, after the electronic device 100 detects a user operation on the LUT option 317C, the electronic device 100 displays the LUT preview window 319 as shown in FIG. 3F . After the electronic device 100 detects that the user operates a LUT template in the LUT preview window 319 , the electronic device 100 adjusts the display effect of the preview image according to the LUT template. Further, when the electronic device 100 detects a user operation on the smart recognition control 319A, in response to the operation, the electronic device 100 automatically selects a LUT template, and adjusts the display effect of the preview image according to the LUT template.
  • the electronic device 100 may select a LUT template according to a user's sliding operation. Specifically, when the electronic device 100 detects a user operation of enabling the LUT function by the user and displays the LUT preview window 319, the electronic device 100 may default select the first LUT template located in the LUT preview window 319 as the LUT selected by the electronic device 100. template. Afterwards, the electronic device 100 can detect the user's left and right sliding operation on the LUT preview window 319, and move the position of each LUT template in the LUT preview window 319. When the electronic device 100 no longer detects the user's sliding operation, the electronic device 100 will The first LUT template displayed in the LUT preview window 319 is used as the LUT template selected by the electronic device 100 .
  • the template display window 320 is included in the user interface 31, and the template display window 320 is used to display the video corresponding to the LUT template selected by the current user.
  • the video can be a movie segment corresponding to the LUT template. You can learn the adjustment effect of the currently selected LUT template on the image through the video, making the process of editing images more vivid and interesting.
  • the template display window 320 includes a close control 320A, and the close control 320A is used to close the video corresponding to the LUT template currently displayed by the electronic device 100, and display the user interface 31 as shown in FIG. 3H .
  • the preview image displayed in the preview frame 311 is the image after adding the LUT template.
  • the electronic device 100 may also detect a user operation to start recording a video after adding the LUT template, and in response to the operation, the electronic device 100 starts to record the video, In this way, the video after adjusting the display effect by using the LUT template is obtained.
  • the electronic device 100 can also detect the user operation of taking a photo, and in response to this operation, the electronic device 100 saves the preview image with the LUT template added in the preview frame as a picture, thereby obtaining the image using the LUT template. The image after adjusting the display effect.
  • the embodiment of the present application does not limit the triggering manner for the electronic device 100 to display the video corresponding to the LUT template.
  • a playback control that can be triggered by the user (such as the playback control 3191C shown in FIG. 3F ) can be displayed in the LUT template.
  • the electronic device 100 detects that the user operates on the playback control, the electronic device 100 plays the LUT template. corresponding video.
  • the electronic device 100 may play the video corresponding to the LUT template when a user operation on the LUT template is received again.
  • the embodiment of the present application does not limit this.
  • 4A-4E exemplarily show some user interfaces involved in the IMAX function during the shooting process.
  • FIG. 4A exemplarily shows the user interface 31 displayed when the electronic device 100 enters the movie mode.
  • the electronic device 100 may detect a user's touch operation on the setting option 317D, and in response to the operation, the electronic device 100 displays the user interface 41 as shown in FIG. 4B .
  • the user interface 41 may be a shooting setting interface of the electronic device 100, and the interface may include one or more shooting setting options, for example, HDR10 option 412, timing shooting option 413, reference line option 414, and the like.
  • the HDR10 option 412 can be used to turn on or off the HDR10 mode.
  • HDR is a high-dynamic range image (High-Dynamic Range, HDR). Compared with ordinary images, HDR can provide more dynamic range and image Details can better reflect the visual effect in the real environment.
  • 10 in HDR10 is 10 bits.
  • HDR10 can record video with 10-bit high dynamic range. This mode can make the video recorded by electronic device 100 have 4K, 30fps resolution.
  • the HDR10 option 412 includes a switch control 412A, and the switch control 412A is used to monitor the user's operation that triggers the HDR10 mode to be turned on or off. By default, the HDR10 mode is initially turned off. At this time, the main body color of the switch control 412A can be white as shown in FIG. 4A .
  • the electronic device 100 detects a user's touch operation on the switch control 412A, in response to the operation, the electronic device 100 turns on the HDR10 mode, and the main color of the switch control 412A can be black as shown in FIG. 4C .
  • the timer shooting option 413 can adjust the time when the electronic device 100 delays to start recording video.
  • the reference line option 414 can display a reference line in the preview frame 311 of the user interface 31 to assist the user to adjust the composition effect of the shot.
  • the HDR10 mode is on, but even if the electronic device 100 detects that the user starts recording video, the electronic device 100 cannot record a video with a resolution of 4K and 30fps at this time, and the electronic device 100 needs to detect The HDR10 mode cannot be activated until the user operates the IMAX function.
  • the user interface 41 further includes an exit control 415 , and the exit control 415 can monitor user operations that trigger exit from the shooting setting interface.
  • the electronic device 100 may detect a user operation on the exit control 415 , and in response to the operation, the electronic device 100 exits the user interface 41 and displays a user interface at a higher level, namely the user interface 31 .
  • the electronic device 100 can detect a touch operation acting on the IMAX option 317A, and in response to the operation, the icon displayed on the IMAX option 317A is updated to the icon displayed on the IMAX option 317A as shown in FIG. 4E , the electronic device 100 turns on the IMAX function, and since the electronic device 100 turns on the HDR10 mode through the shooting setting interface, after the electronic device 100 turns on the IMAX function, the HDR10 mode is also turned on at the same time.
  • the IMAX function can increase the color depth of the preview image, making the color of the image more delicate and the details more vivid.
  • the color depth indicates the number of bits used to store the color of 1 pixel in the bitmap or video buffer. The higher the color depth, the smoother the transition between the colors in the image, and the more true the color can be restored.
  • the preview image shown in FIG. 4E has richer colors.
  • the electronic device 100 can also detect a touch operation acting on the movie shutter control 316, and in response to the operation, the electronic device 100 will record the image displayed in the preview frame 311 into a video after the IMAX function is turned on, and the resolution of the video The rate is 4K, 30fps, and the color of the image is richer and more delicate.
  • the IMAX function and the HDR10 mode are designed in conjunction.
  • the electronic device 100 can enable the IMAX function. Turn on HDR10 mode at the same time.
  • the electronic device 100 does not enable the HDR10 mode, enabling the IMAX function of the electronic device 100 will not be associated with the HDR10 mode.
  • the electronic device 100 may display a prompt message to remind the user that when the IMAX function is enabled, the HDR10 mode has also been enabled synchronously.
  • the IMAX function and HDR10 mode linkage setting can link the image frame rate adjustment and color depth adjustment together. This is because when users want to obtain images with more delicate colors, they often want clearer images. Users turn on the IMAX function At the same time, the HDR10 mode has also been turned on synchronously, which can facilitate the user's operation and enhance the user's experience.
  • 5A-5G exemplarily show some user interfaces involved in timing shooting during shooting.
  • FIG. 5A exemplarily shows the user interface 31 displayed when the electronic device 100 enters the movie mode.
  • the electronic device 100 may detect a user's touch operation on the setting option 317D, and in response to the operation, the electronic device 100 displays the user interface 41 as shown in FIG. 5B .
  • the user interface 41 may be a shooting setting interface of the electronic device 100 .
  • the timer shooting option 413 includes a time adjustment option 413A, and the time adjustment option 413A can display the timer shooting time set by the electronic device 100, for example, 3 seconds.
  • the electronic device 100 can also receive a touch that acts on the time adjustment option 413A. control operation, and in response to the operation, the electronic device 100 adjusts the time of timed shooting. From the time adjustment option 413A shown in FIG. 5B , it can be seen that the timing shooting time set by the electronic device 100 is 3 seconds, and the electronic device 100 can display a 3-second countdown movie recording animation special effect after detecting the user operation to start recording.
  • the electronic device 100 detects a touch operation on the exit control 415, in response to the operation, the electronic device 100 returns to the shooting interface and displays the user interface 31 as shown in FIG. 5C.
  • the electronic device 100 can detect the user's touch operation on the movie shutter control 316. In response to this operation, the electronic device 100 counts down and takes a video, and displays them sequentially as shown in FIG. 5D, FIG. 5E, and FIG. 5F.
  • a user interface is provided, the user interface is used to display a countdown animation, prompting the user when the electronic device 100 starts to record a video.
  • FIG. 5D-FIG. 5F It can be seen from FIG. 5D-FIG. 5F that after the electronic device 100 detects the user’s touch operation on the movie shutter control 316, the image captured by the camera and the slate icon 511 can be displayed on the user interface 51. The difference is , as time goes by, the time displayed in the slate icon 511 is different. When the timer shooting set by the electronic device 100 is 3 seconds, the numbers displayed in the slate icon 511 follow the countdown and display numbers 3, 2, and 1 in sequence. When the time countdown is 0, the electronic device 100 displays the user interface 61 as shown in FIG. 5G .
  • the user interface 61 is a user interface provided by the electronic device 100 when recording a video.
  • the user interface 61 includes a recording box 611 , a recording time 612 , a zoom control 613 , a recording pause control 614 , a recording end control 615 , and a camera control 616 .
  • the recording frame 611 displays the image captured by the camera, or, further, displays the image adjusted by the electronic device 100 according to the shooting parameters, for example, the image adjusted by the electronic device 100 with the IMAX function and the LUT function turned on.
  • the recording frame 611 may also include black borders on the upper and lower borders, and the electronic device 100 may record the content in the recording frame 611 as a video.
  • the recording time 612 is used to display the time interval from the start of video recording to the current time by the electronic device 100 . For example, when the recording time 612 is displayed as "00:01", it indicates that the current electronic device 10 has recorded 1 second of video.
  • the zoom control 613 can be used to adjust and display the zoom ratio of the electronic device 100 .
  • the pause recording control 614 can be used to pause the recording video
  • the end recording control 615 can be used to end the recording video
  • the camera control 616 can be used to monitor the user operation that triggers the camera during the video recording .
  • the electronic device 100 detects a user operation acting on the camera control 616, the electronic device 100 saves the content displayed in the current recording frame 611 as a picture.
  • the electronic device 100 when the electronic device 100 turns on the timer shooting function, the electronic device 100 can display the slate countdown animation during the countdown shooting, so as to increase the fun of shooting.
  • 6A-6D exemplarily show some user interfaces involved in the LUT function in the professional mode.
  • FIG. 6A exemplarily shows the user interface 31 displayed when the electronic device 100 enters the movie mode.
  • the electronic device 100 may detect a user's touch operation on the professional mode option 312E, and in response to the operation, the electronic device 100 displays the user interface 31 as shown in FIG. 6B .
  • the function option 317 is updated from the horizontal arrangement in FIG. 6A to the vertical arrangement in FIG. 6B , and the functions included in the function option 317 are updated as: LOG option 317E, flash option 317B, LUT option 317C, and setting option 317D.
  • Movie shutter control 316 is updated to video recording control 321 .
  • the LOG option 317E refer to the subsequent content
  • the flash option 317B, the LUT option 317C, and the setting option 317D refer to the foregoing content.
  • the electronic device 100 may turn on the professional mode by default after starting the camera application.
  • the electronic device 100 can also enable the professional mode in other ways, for example, the electronic device 100 can also enable the professional mode according to the user's voice command, which is not limited in this embodiment of the present application.
  • the electronic device 100 may detect a touch operation on the LUT option 317C, and in response to the operation, the electronic device 100 displays the LUT preview window 322 as shown in FIG. 6C .
  • the LUT preview window 319 is used to display one or more LUT templates preset in the electronic device 100 or loaded online.
  • the LUT preview window 322 may include a first LUT template 322A, and the first LUT template 322A may display that the name or characteristic of the LUT template is "leisure".
  • the electronic device 100 may detect a touch operation on the first LUT template 322A, and in response to the operation, the electronic device 100 changes the color tone of the preview image in the preview frame 311 and displays the user interface 31 as shown in FIG. 6D .
  • the electronic device 100 selects the first LUT template 322A, the border of the first LUT template 322A is a thick solid line, and the preview image displayed in the preview frame 311 has a different tone than the preview frame 311 shown in FIG. 6C . images in .
  • the electronic device 100 can also detect a user operation to start recording a video after adding the LUT template, and in response to the operation, the electronic device 100 records A video using a LUT template to obtain a video after using the LUT template to adjust the display effect.
  • the electronic device 100 can also detect the user operation of taking a photo, and in response to this operation, the electronic device 100 saves the preview image with the LUT template added in the preview frame as a picture, thereby obtaining the image using the LUT template. The image after adjusting the display effect.
  • the LUT function in the professional mode is similar to the LUT function in the film mode, both of which introduce the principle of LUT to change the color value of the image.
  • the difference is that the LUT template in professional mode is displayed as an image, and the LUT template in movie mode is displayed as a video. That is to say, the LUT function in the professional mode can more directly display the adjustment effect of the LUT template on the preview image through the color tone of the picture, and the LUT function in the movie mode can more interestingly display the adjustment effect of the LUT template on the preview image through the color tone of the video Image adjustment effect.
  • 7A-7D exemplarily show some user interfaces involved in the LOG function during the shooting process.
  • FIG. 7A exemplarily shows the user interface 31 displayed when the electronic device 100 enters the professional mode.
  • the electronic device 100 may detect a user operation on the LOG option 317E by the user, and in response to the operation, the electronic device 100 enables the LOG function and displays the user interface 31 as shown in FIG. 7B .
  • the LOG function can apply the logarithmic function to the exposure curve to preserve the details of the highlights and shadows in the image captured by the camera to the maximum extent, so that the saturation of the final preview image is lower.
  • the video recorded with LOG function is called LOG video.
  • the image displayed in the preview box 311 is more "gray" than the image displayed in the preview box 311 in FIG. 7A.
  • the electronic device 100 detects that the user performs a touch operation on the recording control 321 , in response to the operation, the electronic device 100 starts recording and displays the user interface 31 as shown in FIG. 7C .
  • the recording control 321 is updated to an end recording control 323 , and the end recording control 323 can be used to end the recording and save the recorded video to the “Gallery”.
  • a time 324 is displayed in the preview frame 311, and the time 324 is used to display the time interval from the electronic device 100 starting to record the video to the current time.
  • the image displayed in the gallery shortcut key 313 is updated from FIG. 7C to the image displayed in the gallery shortcut key 313 in FIG. 7D .
  • the electronic device 100 can detect the user operation acting on the gallery shortcut key 313, and in response to the operation, the electronic device 100 enters the "gallery" application program and displays a user interface 51 as shown in FIG. Videos saved by the electronic device 100 in the latest time.
  • the user interface 51 may include: a return control 511 , a menu bar 512 , and a video playback window 513 .
  • the return control 511 is used to exit the user interface 51 and return to the upper level user interface, for example, the user interface 31 shown in FIG. 7D .
  • Menu bar 512 may include: delete control 512A, LUT control 512B, more control 512C.
  • the delete control 512A can be used to delete the video displayed in the video playback window 513
  • the LUT control 512B can be used to add a LUT template for the video displayed in the video playback window 513
  • the more control 512C can be used to expand more operation options, for example, Retweet, view details, and more.
  • the video playback window 513 is used to display the video recorded by the electronic device 100 .
  • the video play window 513 also includes a play control 513A. When the electronic device 100 detects that the user acts on the touch operation of the play control 513A, the electronic device 100 plays the video displayed in the video play window 513, and the picture saturation of the video is relatively high.
  • the electronic device 100 may display a plurality of LUT templates as shown in FIG. 7F .
  • the user interface 51 may include a LUT preview window 514 .
  • the LUT preview window 514 may include one or more LUT templates.
  • the LUT preview window 514 may include a first LUT template 514A.
  • the electronic device 100 detects a touch operation acting on the first LUT template 514A, the electronic device 100 adds the first LUT to the video displayed in the video preview window 513.
  • the LUT template corresponding to the template 514A adjusts the exposure and color of the video, and the adjusted video display effect can be referred to the video displayed in the video playback window 513 as shown in FIG. 7G .
  • the user interface 51 also includes a playback control 515 , and when the electronic device 100 detects a touch operation on the playback control 515 , the electronic device 100 starts to play the video playback window 513 .
  • the video picture displayed in the video playing window 513 has the same tone as the video picture shown in FIG. 7G .
  • the electronic device 100 can not only record a video with a LUT template added, but also add a LUT template to the video after recording a video without a LUT template, or record a LOG video after enabling the LOG function. , and then add a LUT template for the LOG video. In this way, the electronic device 100 can not only adjust the display effect of the picture before recording the video, but also adjust the display effect of the recorded video after the video recording is completed, which increases the flexibility and freedom of image adjustment.
  • the IMAX function can quickly adjust the image display effect, and the timer shooting function can provide interesting animation special effects, so the IMAX function and the timer shooting function are applied in the movie mode
  • the LOG function requires the user to further add a LUT template in the gallery to obtain the image, so the LOG function is applied to the professional mode. It can be understood that the various functions mentioned above, including the IMAX function, the LUT function, the timer shooting function, and the LOG function, can be applied in the movie mode or the professional mode at the same time, which is not limited in this embodiment of the present application.
  • FIG. 8 exemplarily shows a schematic flowchart of the shooting method. As shown in Figure 8, the method includes:
  • the electronic device 100 starts a camera application.
  • the electronic device 100 may start a camera application in response to a user operation received in the user interface.
  • the user operation may be, for example, a user operation (such as a click operation, a touch operation, etc.) acting on the icon of the camera application program in the main interface.
  • the user operation may be a left-swipe operation acting on the lock screen interface of the electronic device 100, or a user operation acting on a third-party application, such as a user operation of starting a camera function in a chat interface of a social application.
  • the electronic device 100 may detect a touch operation (such as a click operation on the camera application 215 ) acting on the camera application 215 as shown in FIG. 3A , and start the camera application in response to the operation.
  • a touch operation such as a click operation on the camera application 215
  • the electronic device 100 displays a preview interface, and the image captured by the camera in real time is displayed in the preview interface.
  • the image parameter displayed in the preview interface is the first parameter.
  • the preview interface may include a preview box, a list of shooting modes, shortcut keys for a gallery, shooting controls, etc., wherein the preview box is used to display images captured by the camera in real time or images adjusted by the electronic device, and the list of shooting modes includes multiple There are three shooting modes that can be selected by the user, for example, photo mode, video mode, movie mode, professional mode and so on.
  • the gallery shortcut key can be used to trigger entering the gallery application, and the shooting control can be used to trigger taking pictures or recording videos.
  • the preview interface displayed by the electronic device 100 is the corresponding user interface in the shooting mode.
  • Image parameters may refer to parameter values of an image, including size, resolution, color, brightness, hue, saturation, and the like.
  • the image parameter may refer to a color parameter
  • the first parameter is the color value of the image collected by the camera.
  • the first parameter may be an initial parameter value of an image captured by the camera.
  • the first parameter may be an image collected by the camera and a parameter value adjusted by the electronic device 100 .
  • the adjustment of the electronic device 100 may mean that the electronic device 100 adjusts shooting parameters such as brightness and focus during shooting according to an adjustment algorithm enabled by default.
  • the preview interface may be the user interface 31 in the embodiment described above in FIG. 3B .
  • the preview interface may refer to the user interface 31 in the embodiment shown in FIG. 3D above
  • the first preview frame may refer to the preview frame 311 in the embodiment shown in FIG. 3D above.
  • the preview interface may be a user interface displayed by the electronic device 100 when the electronic device 100 activates the camera application program and starts shooting in the movie mode by default.
  • the preview interface may contain multiple shooting function options.
  • the shooting function options may refer to the shooting mode list 312 shown in FIG.
  • the movie mode is a shooting mode of the electronic device 100 .
  • users can experience the fun of shooting movies.
  • the preview interface displayed by the electronic device 100 has the following characteristics:
  • the icons contained in the preview interface are in the horizontal screen display state. In this way, when the electronic device 100 enters the movie mode, the display direction of the icons can guide the user to shoot in landscape mode.
  • the electronic device 100 can crop the size of the image captured by the camera, and add black borders at the top, bottom or left and right borders of the first preview frame, so that the aspect ratio of the image captured by the camera displayed in the preview interface can be equal to that of a movie
  • the aspect ratio of the screen For example, referring to FIG. 3D, when the aspect ratio of the preview frame 311 is 16:9, and the aspect ratio of a general movie screen is 21:9, the electronic device 100 can increase the horizontal direction at the upper and lower boundaries of the preview frame 311 shown in FIG. 3D. black border, so that the aspect ratio of the image captured by the camera displayed in the preview frame 311 is 21:9. In this way, when the user is previewing, shooting or recording, the black border in the preview frame and the same aspect ratio as the movie screen can create an atmosphere for the user to shoot or watch a movie.
  • the preview interface may also be the user interface 31 in the embodiment shown in FIG. 6B above.
  • the preview interface may be a user interface displayed by the electronic device 100 when the electronic device 100 turns on the professional mode to shoot.
  • the professional mode is another shooting mode of the electronic device 100 .
  • the electronic device 100 can obtain images or videos with higher definition and richer details.
  • the professional mode and related interfaces please refer to the relevant content in the foregoing Figures 6A-6D, and 7A-7H.
  • the electronic device 100 detects a first operation on the preview interface.
  • the first operation may refer to a user operation of enabling the LUT function
  • the LUT function includes one or more LUT templates, and these LUT templates can be used to change the display effect of the image displayed in the preview interface.
  • the preview interface may include a function option 317, and the function option 317 includes a LUT option 317C.
  • the function option 317 may also refer to a shooting function option.
  • the first operation may include the touch operation for the movie mode option 312D in the embodiment shown in FIG. 3B and the touch operation for the LUT option 317C in the embodiment shown in FIG. 3D . That is to say, the first operation includes user operations of switching the shooting mode and enabling the LUT function.
  • the first operation may be a touch operation on the LUT option 317C in the above embodiment shown in FIG. 3D .
  • the first operation may be a touch operation for the LUT option 317C in the above-mentioned embodiment shown in FIG. 6B .
  • the electronic device 100 determines a first template, where the first template is used to adjust the first parameter to the second parameter.
  • the electronic device 100 may include multiple LUT templates, and the first template may be one of the multiple LUT templates. Some LUT templates can be preset inside the electronic device 100 , and after the electronic device 100 detects a user operation of enabling the LUT function, the electronic device 100 can update or download the LUT template online from the server.
  • the first template may also refer to a target LUT template.
  • the electronic device 100 can adjust the display effect of the image displayed in the preview interface to the display effect of the movie screen according to the first template
  • the first template describes the conversion relationship from the first video to the second video. This is because the display effect of the second video is also obtained after adjusting the image parameters (such as exposure, saturation, brightness, etc.) The display effect and the video for adjusting the display effect.
  • the first video is the video shot when shooting a movie according to the default device parameters
  • the second video is the video after adjusting the movie display effect.
  • the mapping relationship between the color values of the first video and the second video The first template can be obtained by extracting it, and then, the first template can be applied to the adjustment of the displayed image in the preview interface, so that the color parameters of the image can be changed and the display effect of the image can be adjusted.
  • the first template when the first template can adjust the display effect of the image to the display effect of "Movie A", the first template describes the conversion relationship from the original film of "Movie A" to the finished film, and the first template is applied to the preview interface
  • the first template can adjust the image displayed in the preview interface according to the conversion relationship, and obtain the image after the adjusted display effect.
  • the color parameter of the first video is the second parameter
  • the color parameter of the second video is the third parameter
  • the first template describes the mapping relationship from the second parameter to the third parameter.
  • the electronic device may include the following two ways of determining the first template:
  • the electronic device 100 autonomously determines the LUT template according to the image displayed in the preview interface
  • the image displayed on the preview interface may refer to one or more frames of images displayed on the preview interface when the electronic device 100 detects the first operation on the preview interface.
  • LUT templates can adjust the color values of an image. Different LUT templates can bring different display effects to the image displayed in the preview interface. For a specific description about the LUT template, reference may be made to the related description in FIG. 3E .
  • the electronic device 100 may select the first template from the multiple templates according to image parameters (eg, brightness, saturation) of the image and screen content of the image. That is to say, the electronic device 100 can intelligently recommend a suitable LUT template according to the image displayed in the preview interface.
  • image parameters eg, brightness, saturation
  • the process of electronic device 100 intelligently recommending templates can be divided into the following four steps:
  • Step 1 The electronic device 100 determines the shooting scene of the image
  • the electronic device 100 may determine the shooting scene according to the frame content of the image.
  • the screen content of the image may include characters, animals, food, scenery, buildings, indoors, outdoors and so on.
  • the electronic device 100 determines that the shooting scene of the image is a portrait scene.
  • the electronic device 100 may use an AI recognition algorithm to recognize screen content in the image.
  • Step 2 The electronic device 100 determines the brightness level of the image
  • the brightness of the image is the shading program of the image, and its value range includes 0-255.
  • the electronic device 100 may classify brightness values into a plurality of brightness levels. For example, the electronic device 100 may classify five levels according to the brightness value of the image: highlights, highlights, midtones, shadows, and blacks. Among them, the brightness value corresponding to the highlight can be between 225-255, the brightness value corresponding to the bright part can be between 169-225, the brightness value corresponding to the midtone can be between 94-169, and the brightness value corresponding to the shadow can be 33 Between -94, the brightness value corresponding to black can be between 0-33. Specifically, the electronic device 100 may determine the brightness level of the image according to the brightness value of the image.
  • Step 3 The electronic device 100 determines the saturation level of the image
  • the saturation of the image refers to the vividness of the color of the image, and the more types of colors in the image, the higher the saturation.
  • the electronic device 100 can divide the saturation of the image into multiple saturation levels. For example, the saturation can be divided into three levels: high saturation, medium saturation, and low saturation.
  • the saturation value corresponding to high saturation is 67 -100
  • the corresponding saturation value in saturation is 34-66
  • the corresponding saturation value in low saturation is 0-33.
  • the electronic device 100 may determine the saturation level of the image according to the saturation of the image.
  • Step 4 The electronic device 100 determines the LUT template according to the template comparison table
  • the template comparison table can indicate the corresponding LUT templates under different shooting scenes, different brightness levels, and different saturation levels.
  • Table 1 exemplarily shows part of the content in the template comparison table.
  • the electronic device 100 uses a specific example to illustrate the principle of Table 1 in the recommended template. If the electronic device 100 recognizes elements such as the sun, sun halo, and sky in the picture according to the image, the electronic device 100 judges that the shooting scene is a landscape scene, and then, the electronic device 100 determines the brightness level of the image according to the brightness and saturation of the image. If the tone is mid-tone and the saturation is high, the electronic device 100 determines that the LUT template corresponding to the image is "Brilliant" and the movie corresponding to the template is "Movie C" according to the template comparison table. When the electronic device 100 uses the LUT template to adjust the display effect of the image, the LUT template can make the overall tone of the image lighter orange, highlighting the atmosphere of the scene under sunlight.
  • the above-mentioned process of the electronic device 100 intelligently recommending templates is only an exemplary introduction, and other recommendation processes may also exist in the embodiment of the present application.
  • the electronic device 100 after the electronic device 100 identifies the screen content of the image in step 1, the electronic device 100 also The proportion of the picture content in the image can be determined, and the template comparison table can also include the corresponding relationship between different proportions of the picture content, which is an influencing factor and the template, that is, when the picture content in the image is in the image When the proportions are different, the LUT template finally determined by the electronic device 100 may also be different.
  • the process of intelligently recommending the LUT template by the electronic device 100 may refer to the user interface shown in FIG. 3D and FIG. 3E .
  • the electronic device 100 determines the LUT template according to the user operation
  • the electronic device 100 may display one or more LUT template options in the preview interface, and the one or more LUT template options may receive a user's selection operation (such as a click operation), and in response to this operation, the electronic device 100 determines The LUT template corresponding to the selected LUT template option.
  • a user's selection operation such as a click operation
  • the user operation may refer to a click operation on one of the LUT templates in the LUT preview window 319 in the embodiment shown in FIG. 3F .
  • the user operation may also refer to a third operation.
  • the electronic device 100 may display the shooting option interface in the preview interface , the shooting option interface can be used to display one or more LUT template options provided by the LUT function. Further, the shooting options interface includes LUT template options corresponding to the first template.
  • the shooting option interface may refer to the LUT preview window 319 in the above-mentioned embodiment shown in FIG. 3F .
  • the LUT template option corresponding to the first template may refer to the second LUT shooting option 319C in the embodiment shown in FIG. 3F .
  • the shooting option interface may refer to the LUT preview window 322 in the above embodiment shown in FIG. 6D
  • the LUT template option corresponding to the first template may refer to the first LUT template 322A in the embodiment shown in FIG. 6D .
  • the electronic device 100 when the electronic device 100 displays the shooting options interface, and the shooting options interface displays the LUT template option corresponding to the first template, the electronic device 100 may receive a user operation on the LUT template by the user, and respond to the operation , the electronic device 100 displays the video content corresponding to the first template, and the display effect of the video content is the same as the display effect of the image displayed in the preview interface adjusted by the electronic device 100 according to the first template.
  • the user operation may refer to the touch operation on the playback control 3191C in the embodiment shown in FIG. 3F
  • the video content may refer to the video displayed in the template display window 320 in the embodiment shown in FIG. 3G .
  • the electronic device 100 can display the LUT template as a video, and the user can understand the adjustment effect of the LUT template on the image tone more clearly and intuitively by watching the video.
  • the video can be a movie segment in the movie corresponding to the LUT template, which increases the fun of the preview process of the LUT template and strengthens the relationship between the movie mode and the movie.
  • the electronic device 100 may include the above two methods of determining the LUT template at the same time. For example, the electronic device 100 may automatically determine the LUT template according to the image displayed in the preview interface, and then receive the user's action on the shooting option interface. The selection operation of the LUT template option changes the LUT template determined by the electronic device 100 . Alternatively, after the electronic device 100 determines the LUT template according to the user operation, it receives a user operation that the user starts the electronic device 100 to determine the LUT template independently, and in response to the operation, the electronic device 100 determines the LUT template independently according to the image displayed in the preview interface.
  • the electronic device 100 may display a LUT smart recommendation control (for example, the smart identification control 319A shown in FIG. 3F ), and the LUT smart recommendation control may be used to enable or disable the function of the electronic device 100 to intelligently recommend LUT templates,
  • the user can select the way the electronic device 100 determines the LUT template through this control.
  • the LUT intelligent recommendation control is turned on and the electronic device 100 turns on the LUT function, it can first determine a LUT to change the display effect of the image in the preview interface, and then display one or more LUT template options for the user to choose.
  • the LUT intelligent recommendation control is turned off, and the electronic device 100 enables the LUT function, it directly displays one or more LUT template options and the intelligent recommendation control for the user to select.
  • the electronic device 100 adjusts the display effect of the displayed image in the preview interface according to the first template, and the adjusted image parameter of the displayed image is a fourth parameter.
  • the display effect may refer to an adjusted effect such as hue, brightness, saturation, etc. of the image.
  • the mapping relationship between the first parameter and the fourth parameter is the same as the mapping relationship between the second parameter and the third parameter.
  • the adjusted display image at this time may refer to the image displayed in the preview frame 311 in the embodiment shown in FIG. 3E .
  • the adjusted display image may refer to the image displayed in the preview frame 311 in the embodiment shown in FIG. 6D .
  • the first parameter and the fourth parameter are different color values. It should be noted that the first parameter and the fourth parameter may respectively contain multiple color values. Each color value in the first parameter can find a unique color value corresponding to it in the fourth parameter.
  • the electronic device 100 may display prompt information in the preview interface, prompting the user that the display of the image has been adjusted currently.
  • the prompt information may refer to prompt information 318 .
  • Stage 3 Trigger to take a picture and save the picture, or trigger to record and save the video
  • the electronic device 100 detects the second operation on the preview interface, and saves the image displayed on the preview interface as a picture or video.
  • the photographing control in the preview interface may refer to the first photographing control
  • the second operation may refer to a user operation acting on the first photographing control.
  • the electronic device 100 may display the Images are saved as images.
  • the shooting control in the preview interface may refer to a recording control
  • the second operation may include a user operation acting on the recording control.
  • the electronic device 100 starts recording, and the recording control may be updated as an end recording control.
  • the second operation also includes a user operation acting on the control to end the recording.
  • the electronic device 100 ends the recording, and saves the image displayed in the preview interface between the start of the recording and the end of the recording as a video.
  • the preview interface may also include a second camera control.
  • the second operation may refer to a user operation acting on the second camera control.
  • the electronic device 100 saves the image displayed in the preview interface as an image.
  • the second operation may refer to a user operation acting on the movie shutter control 316 in the embodiment shown in FIG. 3H .
  • the second operation may refer to a user operation acting on the recording control 321 in the embodiment shown in FIG. 6D .
  • the electronic device 100 may save the image to which the LUT template has been added as an image or video during the shooting process.
  • the user can not only adjust the display effect of the preview image during the preview process, but also save the preview image after adjusting the display effect as a picture or video, so that the color of the picture content corresponding to the picture or video obtained by the user is richer.
  • Highlight useful information in the screen is related to movies, and different LUT templates correspond to different movie tones.
  • the adjustment of the image display effect by a LUT template can make the display effect of the adjusted image, such as hue, brightness, and saturation, close to or the same as the hue, brightness, and saturation of a specific movie. , enabling users to take pictures or videos with a cinematic tone.
  • both the movie mode and the professional mode exemplarily show a shooting control for video recording, and the shooting control can be used to save the image displayed in the preview interface as a video.
  • the movie mode and the professional mode may further include a shooting control for taking pictures, and the shooting control may be used to save the image displayed in the preview interface as an image, which is not limited in this embodiment of the present application.
  • the electronic device 100 in the professional mode, also provides a LOG function, which can adjust the exposure of the image captured by the camera, so that the saturation of the image finally displayed by the electronic device 100 is lower.
  • the electronic device 100 may receive a user operation acting on the LOG option 317E shown in FIG. It can be seen that the overall tone of the image is grayish.
  • the electronic device 100 receives the touch operation acting on the recording control 321 shown in FIG. 7B , the electronic device 100 starts to record video. After the touch operation of the recording control 323 is finished, the electronic device 100 finishes recording the video, and obtains a video whose overall color tone of the screen content is gray (hereinafter referred to as “gray film”).
  • the gray slice can be saved in the gallery application program.
  • the electronic device 100 can also use the LUT template in the gallery application program to change the tone of the gray slice, so that the gray tone of the video can be restored to a colorful tone. Different from the case where the electronic device 100 uses the LUT template before recording or taking pictures, the electronic device 100 uses the LUT template to adjust the display effect of the image after obtaining the gray film, which enhances the flexibility and freedom of the user to adjust the display effect of the image.
  • the electronic device 100 may also include movie recording animation special effects.
  • the electronic device 100 can provide a timer shooting function. Referring to the user interface shown in FIG. 5A, the electronic device 100 may receive a touch operation acting on the setting option 317D. In response to this operation, the electronic device 100 enters the shooting setting interface, and the user can adjust the time through the time adjustment option 413A in this interface. Timed shooting time. Specifically, the electronic device may receive a sixth operation acting on the time adjustment option 413A, and in response to the sixth operation, adjust the timer shooting time and set a preset duration. For example, the timing shooting time set by the electronic device 100 is 3 seconds.
  • the electronic device 100 When the electronic device 100 receives a user's touch operation on the movie shutter control 316, in response to the operation, the electronic device 100 displays the screen shown in FIGS. 5D, 5E, and 5F.
  • the countdown information in the displayed user interface presents a movie recording animation special effect to the user. In this way, the fun of shooting can be increased, and the film shooting style in movie mode can be highlighted.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, DSL) or wireless (eg, infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (solid state disk, SSD)), etc.
  • the processes can be completed by computer programs to instruct related hardware.
  • the programs can be stored in computer-readable storage media.
  • When the programs are executed may include the processes of the foregoing method embodiments.
  • the aforementioned storage medium includes: ROM or random access memory RAM, magnetic disk or optical disk, and other various media that can store program codes.

Landscapes

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

Abstract

本申请公开了一种拍摄方法、图形界面及相关装置,在该方法中,电子设备可以显示一个预览界面,该预览界面用于显示摄像头实时采集的预览图像,电子设备可以包括多个LUT模板,这些LUT模板可以改变预览图像的色彩值,使预览图像的显示效果与电影的显示效果类似或相同,其中,该显示效果可以是指色相、亮度、饱和度等等。这就是说,该方法能够为用于提供一种与电影相关的拍摄模式,在该模式下,用户能够拍摄与电影的色调风格类似或相同的图像,使拍照或录像更具有趣味性,满足用户的拍摄需求。

Description

拍摄方法、图形界面及相关装置
本申请要求于2021年06月16日提交中国专利局、申请号为202110668288.X、申请名称为“拍摄方法、图形界面及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端及通信技术领域,尤其涉及拍摄方法、图形界面及相关装置。
背景技术
智能终端发展至今,其拍摄功能变得越来越强大。用户通过智能终端即可实现相机拍摄的多种强大功能,例如,夜景模式、人像模式、全景模式等等。但是,与此同时,用户的拍摄需求也在不断增大,如何满足用户的拍摄需求,是当前亟需解决的问题。
发明内容
本申请提供了一种拍摄方法,在该方法中,电子设备可以使用LUT模板改变预览图像的色彩值,使预览图像的显示效果与电影的显示效果类似或相同,这样,用户能够拍摄与电影的色调风格类似或相同的图像,使拍照或录像更具有趣味性,满足用户的拍摄需求。
第一方面,本申请实施例提供了一种拍摄方法,该方法应用于包含摄像头的电子设备,该方法包括:该电子设备显示预览界面,该预览界面显示来自该摄像头的第一图像以及多个拍摄功能选项,该第一图像的色彩参数为第一参数,该多个拍摄功能选项包括LUT功能选项;该电子设备接收到针对该多个拍摄功能选项中的LUT功能选项的第一操作,该LUT功能选项对应于LUT功能,该LUT功能提供多个LUT模板,该多个LUT模板用于改变图像的色彩参数;响应于该第一操作,该电子设备从该多个LUT模板中确定目标LUT模板,该目标LUT模板描述了第二参数和第三参数之间的映射关系,该第二参数为第一视频对应的色彩参数,该第三参数为第二视频对应的色彩参数;该电子设备根据该目标LUT模板调整该第一图像的色彩参数,获得第二图像;该电子设备在该预览界面显示该第二图像,该第二图像的色彩参数为第四参数,该第一参数和该第四参数之间的映射关系,与,该第二参数和该第三参数之间的映射关系相同;该电子设备接收到作用于该预览界面的第二操作,响应于该第二操作,该电子设备开启针对该第二图像的拍摄。
可以看出,在拍摄过程中,电子设备可以提供多个LUT模板,这些LUT模板与电影的显示效果相关,这些LUT模板可用于改变预览图像的显示效果,使预览图像的显示效果与电影的显示效果相同或类似,从而使预览图像更具有电影质感。其中,显示效果可以是指色相、亮度、饱和度等等。这样,该方法能为用户提供一种与电影相关的拍摄模式,时电子设备拍摄的图像与电影的色调风格类似。
结合第一方面,在一种实施方式中,该电子设备中存储有该多个LUT模板,该电子设 备从该多个LUT模板中确定目标LUT模板,具体包括:该电子设备根据该第一图像的亮度、饱和度、画面内容,在该多个LUT模板中确定目标LUT模板。
也就是说,电子设备可以根据预览图像智能推荐一个合适的LUT模板,这样,避免了用户挑选LUT模板的困难,电子设备可以自动根据摄像头获取的图像选择出最合适的LUT模板,方便了用户操作,提升了用户的体验感。
结合第一方面,在一种实施方式中,该电子设备从该多个LUT模板中确定目标LUT模板之后,该方法还包括:该电子设备显示提示信息,该提示信息用于指示该预览界面显示的图像已根据该目标LUT模板调整色彩参数。
也就是说,在电子设备自动选择合适的LUT模板,并使用该LUT模板调整预览图像的显示效果后,电子设备可以显示提示信息,提示用户当前已根据该LUT模板调整预览图像的显示效果。
结合第一方面,在一种实施方式中,该电子设备从该多个LUT模板中确定目标LUT模板之后,该方法还包括:该电子设备在该预览界面中显示多个模板选项,该多个模板选项中包含第一模板选项,该第一模板选项对应该目标LUT模板。
电子设备可以在接收到用户开启LUT功能的操作之后,在预览界面中显示LUT功能提供的多个LUT模板,以供用户从这多个LUT模板中选择合适的LUT模板。
结合第一方面,在一种实施方式中,响应于该第一操作,该电子设备从该多个LUT模板中确定目标LUT模板,具体包括:响应于该第一操作,该电子设备在该预览界面中显示多个模板选项,该多个模板选项分别对应多个模板;该电子设备接收到作用于该多个模板选项中第一模板选项的第三操作;响应于该第三操作,该电子设备确定和该第一模板选项对应的目标LUT模板。
可以看出,电子设备除了可以根据预览图像自动选出最合适的LUT模板,还可以根据用户的操作来选择LUT模板,为用户提供更多选择LUT模板的方式,这样,用户可以根据自己的需求来选择LUT模板,提升挑选LUT模板的自由度。
结合第一方面,在一种实施方式中,响应于该第一操作,该电子设备在该预览界面中显示多个模板选项之后,该方法还包括:该电子设备检测到针对该目标LUT模板选项的第四操作,响应于该第四操作,该电子设备显示视频展示窗口,该视频展示窗口用于展示该第二视频。
也就是说,LUT模板除了能够改变预览图像的显示效果外,还可以为用户展示一段视频短片,该视频短片可以为电影的相关内容。这样,LUT模板以视频短片的形式展示给用户,能够增加图像调整过程的趣味性,使用户对LUT模板的调色效果有更直观的理解。
结合第一方面,在一种实施方式中,在该预览界面中,该第一图像、该第二图像的尺寸为预设尺寸,该第一图像或该第二图像以外的区域显示为黑色。
电子设备可以裁剪预览图像的尺寸,并在预览界面中增加黑边,使预览图像的宽高比为电影画面的宽高比(例如21:9)。这样,能够从观感上给用户一种观看电影的效果,增强拍摄过程中的电影氛围感。
结合第一方面,在一种实施方式中,其特征在于,该电子设备接收到针对该多个拍摄功能选项中的LUT功能选项的第一操作之前,该方法还包括:该预览界面还显示有多个拍 摄模式选项,该多个拍摄模式选项分别对应多个拍摄模式;该预览界面显示来自该摄像头的第一图像以及多个拍摄功能选项,具体包括:该预览界面显示来自该摄像头的第一图像,该电子设备接收到作用于该第一拍摄模式选项的操作,响应于该第一操作,该预览界面显示该多个拍摄功能选项。
在本申请实施例中,该拍摄方法可以以一种拍摄模式:电影模式,呈现在电子设备的拍摄过程中,在电子设备打开相机应用程序时,电子设备可以提供一个电影模式的拍摄模式接口,电子设备可以接收到用户作用于该模式的选择操作,开启该模式下的拍照过程,这样,用户可以在该模式下,使用LUT功能来调整图像的显示效果,体会拍摄电影的乐趣。
结合第一方面,在一种实施方式中,该电子设备接收到作用于该第一拍摄模式选项的操作之后,该方法还包括:该电子设备横屏显示多个拍摄功能选项。
第一拍摄模式选项对应于电影模式,在电子设备进入电影模式后,电子设备显示的用户界面中,各图标可以横屏显示,这样,可以引导用户横屏拍摄,引导用户更好地使用电影模式进行拍摄。
结合第一方面,在一种实施方式中,该电子设备接收到针对该多个拍摄功能选项中的LUT功能选项的第一操作之前,该方法还包括:该电子设备接收到作用于该多个拍摄功能选项中的第二拍摄功能选项的第五操作,响应于该第五操作,该摄像头采集的图像的帧率大于第一值,色彩深度大于第二值。
在电子设备进入电影模式后,电影模式中还提供有触发用户开启IMAX功能的接口,IMAX功能能够增高预览图像的色彩深度,使图像的色彩更细腻、细节更生动,另外,该拍摄方法还将IMAX功能与HDR10模式进行了联动设计,在电子设备开启IMAX功能后,HDR10模式也同时开启。HDR10模式可以提供更多的动态范围和图像细节,能够更好地反映出真实环境中的视觉效果,使电子设备以以10位高动态范围录制视频。这是由于用户想要获取色彩更细腻的图像时,往往也想要图像的更加清晰,用户在开启IMAX功能时,HDR10模式也已同步开启,能够便捷用户的操作,提升用户的体验感。
结合第一方面,在一种实施方式中,该方法还包括:该电子设备接收到作用于该预览界面的第六操作,该第六操作用于设置预设时长;该电子设备将该第二图像保存为图片或视频,具体包括:经过该预设时长后,该电子设备将该第二图像保存为图片或视频。
结合第一方面,在一种实施方式中,该电子设备将该第二图像保存为图片或视频之前,该方法还包括:该电子设备在该预览界面中显示倒计时信息。
电影模式还提供有触发用户开启定时拍摄功能的接口,在定时拍摄功能中,电子设备可以在倒计时拍摄时显示场记板倒计时动画,增加拍摄的趣味性。
第二方面,本申请实施例提供了一种电子设备,包括:显示屏,摄像头,触摸传感器,存储器,一个或多个处理器,多个应用程序,以及一个或多个程序;其中该一个或多个程序被存储在该存储器中;其特征在于,该一个或多个处理器在执行该一个或多个程序时,使得该电子设备执行如第一方面或第一方面的任意一种实施方式所描述的方法。
第三方面,本申请实施例提供了一种包含指令的计算机程序产品,其特征在于,当该计算机程序产品在电子设备上运行时,使得该电子设备执行如第一方面或第一方面的任意一种实施方式所描述的方法。
第四方面,本申请实施例提供了一种计算机可读存储介质,包括指令,其特征在于,当该指令在电子设备上运行时,使得该电子设备执行如第一方面或第一方面的任意一种实施方式所描述的方法。
附图说明
图1为本申请实施例提供的电子设备100的硬件结构示意图;
图2为本申请实施例提供的电子设备100的软件结构示意图;
图3A-图3H、图4A-图4E、图5A-图5G、图6A-图6D、图7A-图7H为本申请实施例提供的一些用户界面;
图8为本申请实施例提供的拍摄方法的流程示意图。
具体实施方式
下面将结合附图对本申请实施例中的技术方案进行清楚、详尽地描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;文本中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,另外,在本申请实施例的描述中,“多个”是指两个或多于两个。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征,在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
本申请以下实施例中的术语“用户界面(user interface,UI)”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面是通过java、可扩展标记语言(extensible markup language,XML)等特定计算机语言编写的源代码,界面源代码在电子设备上经过解析,渲染,最终呈现为用户可以识别的内容。用户界面常用的表现形式是图形用户界面(graphic user interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的文本、图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素。
本申请实施例提供一种拍摄方法。电子设备可以显示一个预览界面,该预览界面用于显示摄像头实时采集的预览图像。电子设备可以包括多个LUT(Look Up Table,LUT)模板,这些LUT模板可以改变预览图像的色彩值,使预览图像的显示效果与电影的显示效果类似或相同,其中,显示效果可以是指色相、亮度、饱和度等等。电子设备可以根据摄像头采集的一帧或多帧预览图像,从这多个LUT模板中选择一个适用于该预览图像的LUT模板,并利用该LUT模板,调整预览图像的显示效果,或者,电子设备可以接收用户操作,根据用户选择的LUT模板调整预览图像的显示效果,使预览界面中显示的预览图像更具电 影质感。另外,该LUT模板还可以以视频短片的形式展示给用户,增加图像调整过程的趣味性,使用户对LUT模板的调色效果有更直观的理解。并且,电子设备可以裁剪预览图像的尺寸,并在预览界面中增加黑边,使预览图像的宽高比为电影画面的宽高比(例如21:9)。这样,能够从观感上给用户一种观看电影的效果,增强拍摄过程中的电影氛围感。
其中,电子设备100可以在接收到用户开启LUT功能的操作后,显示一个或多个LUT模板。LUT模板能够提供一种转换图像色彩值的颜色转换模型,该颜色转换模型能够根据输入的色彩值,指定一个输出的色彩值。在选中该LUT模板后,电子设备会根据该LUT模板中的颜色转换模型调整预览图像的色彩值,从而改变预览图像的显示效果。调整前的图像可以是指摄像头采集的原始图像,调整后的图像可以是指添加LUT模板之后,显示在预览界面中的预览图像。原始图像的色彩值即为输入的色彩值,最终显示在预览界面中,调整后的预览图像的色彩值即为输出的色彩值。
可以理解的是,本申请实施例不限制与LUT功能有关的名称,在本申请其他实施例中,LUT还可以表述为LUT滤镜、色调、调色板等等,本申请实施例对此不作限制。
总的来说,该拍摄方法能够为用户提供一种与电影相关的拍摄模式,在该模式下,用户能够体会拍摄电影的乐趣,且电子设备拍摄的图像与电影的色调风格类似,使拍照或录像更具有趣味性,满足用户的拍摄需求。
图1示出了电子设备100的硬件结构示意图。
电子设备100可以是手机、平板电脑、桌面型计算机、膝上型计算机、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、人工智能(artificial intelligence,AI)设备、可穿戴式设备、车载设备、智能家居设备和/或智慧城市设备,本申请实施例对该电子设备的具体类型不作特殊限制。
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器 (application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
在一些实施例中,处理器110可用于根据摄像头采集的某一帧预览图像,从多个LUT模板中选择一个适用于该预览图像的LUT模板,并利用该LUT模板,改变预览界面中摄像头实时采集的预览图像的显示效果,使预览界面中显示的预览图像更具有电影质感。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。 无线通信模块160经由天线2接收电磁波,将电磁波信号解调以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,移动通信模板150和无线通信模块160可用于接收服务器发送的LUT模板。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(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)。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(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)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
在一些实施例中,显示屏194可用于显示电子设备100在拍摄过程中的预览界面,预览界面中显示有摄像头193实时采集的图像。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP 加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
内部存储器121可以包括一个或多个随机存取存储器(random access memory,RAM)和一个或多个非易失性存储器(non-volatile memory,NVM)。
在一些实施例中,内部存储器121可用于存储电子设备100中的一个或多个LUT模板。
随机存取存储器可以包括静态随机存储器(static random-access memory,SRAM)、动态随机存储器(dynamic random access memory,DRAM)、同步动态随机存储器(synchronous dynamic random access memory,SDRAM)、双倍资料率同步动态随机存取存储器(double data rate synchronous dynamic random access memory,DDR SDRAM,例如第五代DDR SDRAM一般称为DDR5SDRAM)等;非易失性存储器可以包括磁盘存储器件、快闪存储器(flash memory)。
快闪存储器按照运作原理划分可以包括NOR FLASH、NAND FLASH、3D NAND FLASH等,按照存储单元电位阶数划分可以包括单阶存储单元(single-level cell,SLC)、多阶存储单元(multi-level cell,MLC)、三阶储存单元(triple-level cell,TLC)、四阶储存单元(quad-level cell,QLC)等,按照存储规范划分可以包括通用闪存存储(英文:universal flash storage,UFS)、嵌入式多媒体存储卡(embedded multi media Card,eMMC)等。
随机存取存储器可以由处理器110直接进行读写,可以用于存储操作系统或其他正在运行中的程序的可执行程序(例如机器指令),还可以用于存储用户及应用程序的数据等。
非易失性存储器也可以存储可执行程序和存储用户及应用程序的数据等,可以提前加载到随机存取存储器中,用于处理器110直接进行读写。
外部存储器接口120可以用于连接外部的非易失性存储器,实现扩展电子设备100的存储能力。外部的非易失性存储器通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部的非易失性存储器中。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备 100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
电子设备可以是搭载iOS、Android、Microsoft或者其它操作系统的便携式终端设备,例如手机、平板电脑、可穿戴设备等,还可以是具有触敏表面或触控面板的膝上型计算机(Laptop)、具有触敏表面或触控面板的台式计算机等非便携式终端设备。电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本发明实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。
图2是本申请实施例的电子设备100的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。
应用程序层可以包括一系列应用程序包。
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
其中,相机可包括多种拍摄模式,例如,专业模式、电影模式。其中,专业模式可以为用户提供多种可调节的拍摄参数(例如,曝光度、亮度等),用户可以通过调整拍摄参数来调整预览图像。电影模式可以为用户提供一种电影主题的拍摄模式。具体关于专业模式和电影模式的描述可以参见后续实施例。
图库可用于存储电子设备100通过相机应用程序拍摄获得的图片或视频,电子设备100还可以在图库中使用LUT模板调整图片或视频的显示效果。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。其中,视图系统可用于构建相机应用程序和图库应用程序。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
下面结合捕获拍照场景,示例性说明电子设备100软件以及硬件的工作流程。
当触摸传感器180K接收到触摸操作,相应的硬件中断被发给内核层。内核层将触摸操作加工成原始输入事件(包括触摸坐标,触摸操作的时间戳等信息)。原始输入事件被存储在内核层。应用程序框架层从内核层获取原始输入事件,识别该输入事件所对应的控件。以该触摸操作是触摸单击操作,该单击操作所对应的控件为相机应用图标的控件为例,相 机应用调用应用框架层的接口,启动相机应用,进而通过调用内核层启动摄像头驱动,通过摄像头193捕获静态图像或视频。
本申请实施例提供的拍摄方法可以表现为两种拍摄模式下的多个功能,其中这两种拍摄模式可以是指:电影模式、专业模式。
电影模式是一种与电影主题相关的拍摄模式,在该模式下,电子设备100显示的图像能够从感官上给用户一种观看电影的效果,电子设备100还提供多个与电影主题相关的LUT模板,用户可以利用这些LUT模板获得色调调整后的图像或视频,这些图像或视频的色调与电影的色调类似或相同。在本申请以下实施例中,电影模式至少可提供用户触发LUT功能、IMAX功能、定时拍摄功能的接口。具体关于LUT功能、IMAX功能、定时拍摄功能的描述可以参见以下UI实施例。
专业模式是一种支持用户调整拍摄参数的拍摄模式,在该模式下,电子设备100可以提供多个可供用户调节的拍摄参数,包括,测光、曝光度、亮度、快门速度、对焦方式、白平衡参数等等,用户可以通过自行调整这些拍摄参数来获取自己想要的图像显示效果。另外,在本申请实施例中,该专业模式中还可以包含多个与电影模式中相似的LUT模板,用户同样可以利用这些LUT模板获得与色调调整后的图像或视频,这些图像或视频的色调与电影的色调类似或相同。再者,该专业模式中还可以拍摄LOG视频,并为该LOG视频添加LUT模板。这样,用户不但可以获得具有电影质感的图像或视频,该图像或视频的画面内容还能够保留更多的细节,画面内容更加精致丰富。在本申请以下实施例中,专业模式至少可提供用户触发LUT功能、LOG功能的接口。具体关于LUT功能、LOG功能的描述可以参见以下UI实施例。
下面结合图3A-图3H、图4A-图4E、图5A-图5G、图6A-图6D、图7A-图7H介绍本申请实施例涉及到的用户界面。
图3A-图3H示例性示出了拍照过程中LUT功能涉及的一些用户界面。
图3A示例性示出了电子设备100上用于应用程序菜单的示例性用户界面21。用户界面21包括:状态栏211、日历指示符212、天气指示符213、图库应用程序214、相机应用程序215。
其中,状态栏211可包括移动通信信号的一个或多个信号强度指示符、无线高保真(wirelessfidelity,WiFi)信号的一个或多个信号强度指示符、电池状态指示符以及时间指示符。日历指示符212可用于指示当前时间。天气指示符213可用于指示天气类型。图库应用程序214可用于保存电子设备100拍摄的图片,相机应用程序215可用于开启电子设备的摄像头,并提供用户界面用于显示摄像头采集的图像。
在一些实施例中,图3A示例性所示的用户界面21可以为主界面(Gome screen)。
可以理解的是,图3A仅仅示例性示出了电子设备100上的用户界面,不应构成对本申请实施例的限定。
如图3A所示,电子设备100可以检测到用户作用于相机应用程序215的触控操作,响应于该操作,电子设备100显示如图3B所示的用户界面31。用户界面31可以是指电子 设备100打开相机应用程序时,该应用程序提供的默认拍照界面。
如图3B所示,用户界面31可包括:预览框311、拍摄模式列表312、图库快捷键313、快门控件314、摄像头翻转控件315。其中:
预览框311可用于显示摄像头193实时采集的图像。电子设备100可以实时刷新其中的显示内容,以便于用户预览摄像头193当前采集的图像。
拍摄模式列表312中可以显示有一个或多个拍摄模式选项。这一个或多个拍摄模式选项可以包括:人像模式选项312A、录像模式选项312B、拍照模式选项312C、电影模式选项312D、专业选项312E。这一个或多个拍摄模式选项在界面上可以表现为文字信息,例如“人像”、“录像”、“拍照”、“电影”、“专业”。不限于此,这一个或多个拍摄模式选项在界面上还可以表现为图标或者其他形式的交互元素(interactive element,IE)。
图库快捷键313可用于开启图库应用程序。响应于作用在图库快捷键313上的用户操作,例如点击操作,电子设备100可以开启图库应用程序。这样,用户可以便捷地查看拍摄的照片和视频,而无需先退出相机应用程序,再开启图库应用程序。图库应用程序是智能手机、平板电脑等电子设备上的一款图片管理的应用程序,又可以称为“相册”,本实施例对该应用程序的名称不做限制。图库应用程序可以支持用户对存储于电子设备100上的图片进行各种操作,例如浏览、编辑、删除、选择等操作。
快门控件314可用于监听触发拍照的用户操作。电子设备100可以检测到作用于快门控件314的用户操作,响应于该操作,电子设备100可以将预览框311中的图像保存为图库应用程序中的图片。另外,电子设备100还可以在图库快捷键314中显示所保存的图像的缩略图。也即是说,用户可以点击快门控件314来触发拍照。其中,快门控件314可以是按钮或者其他形式的控件。
摄像头翻转控件315可用于监听触发翻转摄像头的用户操作。电子设备100可以检测到作用于摄像头翻转控件315的用户操作,例如点击操作,响应于该操作,电子设备100可以翻转摄像头,例如将后置摄像头切换为前置摄像头。
如图3B所示,电子设备100可以检测到用户作用于电影模式选项312D的触控操作,响应于该操作,电子设备显示如图3C所示的用户界面31。
在一些实施例中,电子设备100可以在启动相机应用程序后默认开启电影模式。不限于此,电子设备100还可以通过其他方式开启电影模式,例如电子设备100还可以根据用户的语音指令开启电影模式,本申请实施例对此不作限制。
如图3C所示,预览界面311中包括功能选项317,功能选项317包括IMAX选项317A、闪光灯选项317B、LUT选项317C、设置选项317D。这多个功能选项都可以检测到用户的触控操作,并响应于该操作,开启或关闭对应的拍摄功能,例如,IMAX功能、闪光灯功能、LUT功能、设置功能。其中,闪光灯功能可监听触发闪光灯的用户操作,设置功能可用于打开拍摄设置界面。具体关于IMAX功能、LUT功能的描述可以参考后续实施例,这里先不赘述。另外,快门控件314更新为电影快门控件316,与快门控件314类似,电影快门控件316可用于监听触发录像的用户操作。电子设备100可以检测到作用于电影快门控件316的用户操作,响应于该操作,电子设备100开启录像,在电子设备100检测到再次作用于电影快门控件316的用户操作时,电子设备100停止录像,并将前一次作用于电 影快门控件316的用户操作距离后一次作用于电影快门控件316的用户操作之间,预览界面311中显示的图像保存为视频。再者,如图3C所示,预览界面311的左右边界处增加黑边,使预览界面311中显示的摄像头采集的图像的尺寸与电影画面的尺寸相同。这样,可以增加拍摄电影的氛围感。另外,当电子设备100竖屏显示时,图库快捷键313、摄像头翻转控件315、电影快门控件316与功能选项317等用户界面中显示的图标处于横屏显示状态。这多个图标的横屏显示可以引导用户横向握持电子设备100拍摄。当检测到用户横向旋转电子设备100时,电子设备100显示如图3D所示的用户界面31。
如图3D所示,图库快捷键313、摄像头翻转控件315、电影快门控件316以及功能选项317中的图标显示方向与电子设备100横屏摆放的方向一致。电子设备100可以检测到用户作用于LUT选项317C的触控操作,响应于该操作,电子设备100显示如图3E所示的用户界面31。
如图3E所示,电子设备100开启LUT功能,该LUT功能可以改变预览图像的显示效果。实质上,LUT功能引入了颜色查找表,颜色查找表相当于一个颜色转换模型,该颜色转换模型能够根据输入的色彩值,输出调整后的色彩值。摄像头采集的图像的色彩值相当于输入值,不同的色彩值经过颜色转换模型后,都可以对应得到一个输出值。最终,显示在预览框311中的图像即为经过颜色转换模型调整后的图像。电子设备100利用该LUT功能,显示经过颜色转换模型调整后的色彩值组成的图像,达到调整图像色调的效果。开启LUT功能之后,电子设备100可以提供多个LUT模板,一个LUT模板对应一个颜色转换模型,不同的LUT模板可以给预览图像带来不同的显示效果。并且,这些LUT模板可以与电影主题相关联,LUT模板给预览图像带来的色调调整效果可以和电影中的色调接近或相同,为用户营造拍摄电影的氛围感。
另外,在电子设备100开启LUT功能之后,电子设备100可以根据预览框311中显示的图像,智能推荐合适的LUT模板,并显示如图3E所示的提示信息318。提示信息318用于提示用户当前电子设备100已经为预览框311中显示的预览图像添加合适的LUT模板,具体地,该LUT模板的名称为《电影A》。对比图3D与图3E中预览图像的可见部分即可看出,LUT功能的开启改变了预览图像的色调。在电子设备100检测到用户开启LUT功能的一段时间后,例如,1秒后,电子设备100可以显示如图3F所示的用户界面31,展示LUT功能包含的LUT模板。
如图3F所示,用户界面31中包括LUT预览窗口319,LUT预览窗口319用于显示电子设备100内部预置或者在线加载的一个或多个LUT模板。其中,LUT预览窗口319可以包括智能识别控件319A、第一LUT模板选项319B、第二LUT模板选项319C。智能识别控件319A用于开启或关闭电子设备100的智能推荐LUT模板的功能,默认地,智能识别控件319A初始处于开启状态。当电子设备100检测到用户作用于智能识别控件319A的触控操作时,电子设备100在下次开启LUT功能时,不再智能推荐LUT模板,且智能识别控件319A处于关闭状态。第一LUT模板选项319B不包含LUT模板,当电子设备100检测到用户作用于第一LUT模板选项319B的用户操作时,电子设备100关闭LUT功能,预览图像显示原片效果。第二LUT模板319C为LUT功能中包含的LUT模板。LUT预览窗口319还可以检测到用户左右滑动的用户操作,响应于该操作,电子设备100显示其他LUT 模板。其中,第二LUT模板319C中显示有其电影主题相对应的电影画面,以及LUT模板的名称,例如,该名称可以为LUT模板对应的电影的名称,或者与电影相关的名称等等。并且,当电子设备100使用LUT模板时,LUT预览窗口319中可以显示出该LUT模板处于选中状态。具体地,如图3F中,第二LUT模板319C处于选中状态时,第二LUT模板319C的边框为加粗的实线。并且,第二LUT模板319C还包括有播放控件3191C,播放控件3191C用于提示用户第二LUT模板319C可以展示为一段可播放的视频,播放控件3191C可以检测到用户的触控操作,响应于该操作,电子设备100可以显示如图3G所示的用户界面31,播放第二LUT模板319C对应的视频画面。
在一些实施例中,在电子设备100接收到用户开启LUT功能的用户操作后,电子设备100可以在智能推荐LUT模板后,同时显示提示信息和LUT功能中包含的一个或多个LUT模板。也就是说,在电子设备100检测到作用于LUT选项317C的用户操作后,电子设备100可以为预览图像添加LUT模板,并在一个用户界面中,同时显示图3E中的提示信息318以及图3F中的LUT预览窗口319。
在一些实施例中,智能识别控件319A可以默认处于关闭状态。则在电子设备100检测到作用于LUT选项317C的用户操作后,电子设备100显示如图3F所示的LUT预览窗口319。在电子设备100检测到用户作用于LUT预览窗口319中的一个LUT模板的用户操作后,电子设备100根据该LUT模板调整预览图像的显示效果。进一步地,当电子设备100检测到用户作用于智能识别控件319A的用户操作,响应于该操作,电子设备100自动选择一个LUT模板,并根据该LUT模板调整预览图像的显示效果。
在一些实施例中,电子设备100可以根据用户的滑动操作来选择LUT模板。具体地,当电子设备100检测到用户开启LUT功能的用户操作,显示LUT预览窗口319之后,电子设备100可以默认选择位于LUT预览窗口319中的第一个LUT模板,作为电子设备100选中的LUT模板。之后,电子设备100可以检测到用户作用于LUT预览窗口319的左右滑动操作,移动LUT预览窗口319中各LUT模板的位置,当电子设备100不再检测到用户的滑动操作时,电子设备100将LUT预览窗口319中显示的第一个LUT模板作为电子设备100选中的LUT模板。
如图3G所示,用户界面31中包括模板展示窗口320,模板展示窗口320用于展示当前用户选中的LUT模板所对应的视频,该视频可以为该LUT模板对应的电影片段,用户通过预览该视频即可了解到当前选中的LUT模板对图像的调整效果,使用户编辑图像的过程显得更加生动有趣。其中,模板展示窗口320包括关闭控件320A,关闭控件320A用于关闭当前电子设备100展示的LUT模板对应的视频,显示如图3H所示的用户界面31。其中,图3H所示的用户界面31中,预览框311中显示的预览图像即为添加了LUT模板后的图像。
在一些实施例中,电子设备100除了可以使用LUT模板改变预览图像的显示效果,还可以在添加LUT模板之后,检测到开始录制视频的用户操作,响应于该操作,电子设备100开始录制视频,从而获得使用LUT模板调整显示效果后的视频。另外,在录制视频的过程中,电子设备100还可以检测到拍摄照片的用户操作,响应于该操作,电子设备100将预览框中添加了LUT模板的预览图像保存成图片,从而获得使用LUT模板调整显示效果后 的图像。
可以理解的是,本申请实施例不限制电子设备100展示LUT模板对应的视频的触发方式。例如,LUT模板中可以显示可供用户触发的播放控件(如图3F所示的播放控件3191C),当电子设备100检测到用户作用于该播放控件的用户操作后,电子设备100播放该LUT模板对应的视频。又例如,电子设备100可以在LUT模板处于选中状态时,再次接收到用户作用于该LUT模板的用户操作时,播放该LUT模板对应的视频。本申请实施例对此不作限制。
图4A-图4E示例性示出了拍摄过程中IMAX功能涉及到的一些用户界面。
图4A示例性示出了电子设备100进入电影模式所显示的用户界面31。如图4A所示,电子设备100可以检测到用户作用于设置选项317D的触控操作,响应于该操作,电子设备100显示如图4B所示的用户界面41。
如图4B所示,用户界面41可以为电子设备100的拍摄设置界面,该界面可以包含一个或多个拍摄设置选项,例如,HDR10选项412、定时拍摄选项413、参考线选项414等等。其中,HDR10选项412可用于开启或关闭HDR10模式,HDR10模式中,HDR即为高动态范围图像(High-Dynamic Range,HDR),相比于普通的图像,HDR可以提供更多的动态范围和图像细节,能够更好地反映出真实环境中的视觉效果,HDR10中的10即为10比特,HDR10可以以10位高动态范围录制视频,该模式可以使电子设备100录制的视频拥有4K,30fps的分辨率。HDR10选项412包括开关控件412A,开关控件412A用于监听触发开启或关闭HDR10模式的用户操作。默认地,HDR10模式初始处于关闭状态,这时开关控件412A的主体颜色可以为如图4A所示的白色。当电子设备100检测到用户作用于开关控件412A的触控操作时,响应于该操作,电子设备100开启HDR10模式,开关控件412A的主体颜色可以为如图4C所示的黑色。定时拍摄选项413可以调整电子设备100延时开启录制视频的时间。参考线选项414可以在用户界面31的预览框311中显示参考线,辅助用户调整拍摄的构图效果。
如图4C所示,HDR10模式处于开启状态,但是即使电子设备100检测到用户开启录制视频的操作,此时电子设备100也并不能录制拥有4K,30fps的分辨率的视频,电子设备100需要检测到用户开启IMAX功能的用户操作,才能联动开启HDR10模式。如图4C所示,用户界面41还包括退出控件415,退出控件415可以监听触发退出拍摄设置界面的用户操作。电子设备100可以检测到作用于退出控件415的用户操作,响应于该操作,电子设备100退出用户界面41,显示上一级用户界面,即用户界面31。
如图4D所示,电子设备100可以检测到作用于IMAX选项317A的触控操作,响应于该操作,IMAX选项317A显示的图标更新为如图4E所示的IMAX选项317A显示的图标,电子设备100开启IMAX功能,并且,由于电子设备100通过拍摄设置界面开启了HDR10模式,在电子设备100开启IMAX功能后,该HDR10模式也同时处于开启状态。其中,IMAX功能能够增高预览图像的色彩深度,使图像的色彩更细腻、细节更生动。其中,色彩深度表示在位图或视频缓冲区中存储1像素的颜色所用的位数,色彩深度越高,图像中的各颜色之间的过渡越平滑,越能够真实还原色彩。
如图4E所示,对比图4D中预览框311中显示的预览图像,图4E所示的预览图像的色彩更加丰富。另外,电子设备100还可以检测到作用于电影快门控件316的触控操作,响应于该操作,电子设备100将开启IMAX功能后,预览框311中显示的图像录制成视频,且该视频的分辨率为4K,30fps,图像的色彩也更加丰富细腻。
值得注意的是,IMAX功能和HDR10模式是联动设计的,在电子设备100通过拍摄设置界面(例如图4B所示的用户界面41)开启了HDR10模式的前提下,电子设备100开启IMAX功能即可同时开启HDR10模式。在电子设备100未开启HDR10模式时,电子设备100开启IMAX功能并不会关联到HDR10模式。另外,在电子设备100开启IMAX功能之后,电子设备100可以显示提示信息,提示用户在开启IMAX功能时,HDR10模式也已同步开启。IMAX功能和HDR10模式联动设置能够将图像的帧率调整和色彩深度调整关联在一起,这是由于用户想要获取色彩更细腻的图像时,往往也想要图像的更加清晰,用户在开启IMAX功能时,HDR10模式也已同步开启,能够便捷用户的操作,提升用户的体验感。
图5A-图5G示例性示出了拍摄过程中定时拍摄涉及到的一些用户界面。
图5A示例性示出了电子设备100进入电影模式所显示的用户界面31。如图5A所示,电子设备100可以检测到用户作用于设置选项317D的触控操作,响应于该操作,电子设备100显示如图5B所示的用户界面41。
如图5B所示,用户界面41可以为电子设备100的拍摄设置界面。其中,定时拍摄选项413包括时间调整选项413A,时间调整选项413A可以显示有电子设备100设置的定时拍摄时间,例如3秒,再者,电子设备100还可以接收到作用于时间调整选项413A的触控操作,响应于该操作,电子设备100调整定时拍摄的时间。从图5B所示的时间调整选项413A可以看出,电子设备100设置的定时拍摄时间为3秒,电子设备100可以在检测到开始录制的用户操作后,显示3秒倒计时的电影录制动画特效。在电子设备100检测到作用于退出控件415的触控操作后,响应于该操作,电子设备100返回拍摄界面,显示如图5C所示的用户界面31。
如图5C所示,电子设备100可以检测到用户作用于电影快门控件316的触控操作,响应于该操作,电子设备100倒计时拍摄视频,按顺序显示如图5D、图5E、图5F所示的用户界面,该用户界面用于显示倒计时动画,提示用户电子设备100开始录制视频的时机。
从图5D-图5F可以看出,电子设备100在检测到用户作用于电影快门控件316的触控操作之后,用户界面51中都可以显示有摄像头采集的图像以及场记板图标511,不同的是,随着时间的推移,场记板图标511中显示的时间不同,当电子设备100设置的定时拍摄为3秒时,场记板图标511中显示的数字跟随倒计时依次显示数字3、2、1。当时间倒计时为0时,电子设备100显示如图5G所示的用户界面61。
如图5G所示,用户界面61为电子设备100录制视频时提供的用户界面。其中,用户界面61包括录制框611、录制时间612、变焦控件613、暂停录制控件614、结束录制控件615、拍照控件616。录制框611中显示摄像头采集的图像,或者,进一步地,显示电子设备100根据拍摄参数调整后的图像,例如,电子设备100开启IMAX功能、LUT功能调整后的图像。另外,录制框611内还可以包括上下边界的黑边,电子设备100可以将录制框 611中的内容录制为视频。录制时间612用于显示电子设备100从开始录制视频到当前的时间间隔。例如,当录制时间612显示为“00:01”,表明当前电子设备10录制了1秒的视频。变焦控件613可用于调整并显示电子设备100的变焦倍率。暂停录制控件614可用于暂停录制视频,结束录制控件615可用于结束录制视频,并将电子设备100录制的视频保存到图库中,拍照控件616可用于在录制视频的期间,监听触发拍照的用户操作。当电子设备100检测到作用于拍照控件616的用户操作,电子设备100将当前录像框611中显示的内容保存为一张图片。
也就是说,电影模式中,当电子设备100开启定时拍摄功能时,电子设备100可以在倒计时拍摄时显示场记板倒计时动画,增加拍摄的趣味性。
图6A-图6D示例性示出了专业模式中LUT功能涉及到的一些用户界面。
图6A示例性示出了电子设备100进入电影模式所显示的用户界面31。如图6A所示,电子设备100可以检测到用户作用于专业模式选项312E的触控操作,响应于该操作,电子设备100显示如图6B所示的用户界面31。其中,功能选项317由图6A中的横向排列更新为图6B中的纵向排列,且功能选项317中包含的功能更新为:LOG选项317E、闪光灯选项317B、LUT选项317C、设置选项317D。电影快门控件316更新为录像控件321。关于LOG选项317E的描述可以参考后续内容,关于闪光灯选项317B、LUT选项317C、设置选项317D可以参考前述内容。
在一些实施例中,电子设备100可以在启动相机应用程序后默认开启专业模式。不限于此,电子设备100还可以通过其他方式开启专业模式,例如电子设备100还可以根据用户的语音指令开启专业模式,本申请实施例对此不作限制。
如图6B所示,电子设备100可以检测到作用于LUT选项317C的触控操作,响应于该操作,电子设备100显示如图6C所示的LUT预览窗口322。LUT预览窗口319用于显示电子设备100内部预置或者在线加载的一个或多个LUT模板。
如图6C所示,LUT预览窗口322可以包括第一LUT模板322A,该第一LUT模板322A中可以显示由该LUT模板的名称或特点为“悠闲”。电子设备100可以检测到作用于第一LUT模板322A的触控操作,响应于该操作,电子设备100更改预览框311中预览图像的色调,显示如图6D所示的用户界面31。
如图6D所示,电子设备100选中第一LUT模板322A,第一LUT模板322A的边框为粗实线,并且,预览框311中显示的预览图像的色调不同于图6C所示的预览框311中的图像。
可以理解的是,专业模式中,电子设备100除了可以使用LUT模板改变预览图像的显示效果,还可以在添加LUT模板之后,检测到开始录制视频的用户操作,响应于该操作,电子设备100录制使用了LUT模板的视频,从而获得使用LUT模板调整显示效果后的视频。另外,在录制视频的过程中,电子设备100还可以检测到拍摄照片的用户操作,响应于该操作,电子设备100将预览框中添加了LUT模板的预览图像保存成图片,从而获得使用LUT模板调整显示效果后的图像。
总的来说,专业模式中的LUT功能与电影模式中的LUT功能类似,都是引入了LUT 来改变图像色彩值的原理。不同的是,专业模式中的LUT模板展示为一张图像,电影模式中的LUT模板展示为一段视频。也就是说,专业模式中的LUT功能能够通过图片的色调,更加直接地展示LUT模板对预览图像的调整效果,电影模式中的LUT功能能够通过视频的色调,更加趣味性地展示LUT模板对预览图像的调整效果。
图7A-图7D示例性示出了拍摄过程中LOG功能涉及到的一些用户界面。
图7A示例性示出了电子设备100进入专业模式所显示的用户界面31。如图7A所示,电子设备100可以检测到用户作用于LOG选项317E的用户操作,响应于该操作,电子设备100开启LOG功能,显示如图7B所示的用户界面31。其中,LOG功能能够将对数函数应用到曝光曲线上,最大限度地保留摄像头采集的图像中,高光和阴影部分的细节,使最终呈现出来的预览图像的饱和度较低。其中,使用LOG功能录制的视频称为LOG视频。
如图7B所示,预览框311中显示的图像相对于图7A中预览框311中显示的图像更“灰”。当电子设备100检测到用户作用于录像控件321触控操作时,响应于该操作,电子设备100开始录像,并显示如图7C所示的用户界面31。
如图7C所示,录像控件321更新为结束录像控件323,结束录像控件323可用于结束录像,并将录制的视频保存到“图库”中。预览框311中显示有时间324,该时间324用于显示电子设备100从开始录制视频到当前的时间间隔。当电子设备100检测到用户作用于结束录像控件323的用户操作,响应于该操作,电子设备100结束录制,并将录制的视频保存到“图库”。
如图7D所示,在电子设备100结束录制视频后,图库快捷键313中显示的图像由图7C更新为图7D中,图库快捷键313显示的图像。电子设备100可以检测到作用于图库快捷键313的用户操作,响应于该操作,电子设备100进入“图库”应用程序,并显示如图7E所示的用户界面51,该用户界面51中显示有电子设备100最近时间保存的视频。
如图7E所示,用户界面51可包括:返回控件511、菜单栏512、视频播放窗口513。返回控件511用于退出用户界面51,返回到上一级用户界面,例如,图7D所示的用户界面31。菜单栏512可包括:删除控件512A、LUT控件512B、更多控件512C。其中,删除控件512A可用于删除视频播放窗口513中显示的视频,LUT控件512B可用于为视频播放窗口513中显示的视频添加LUT模板,更多控件512C可用于展开更多的操作选项,例如,转发、查看详细信息等等。视频播放窗口513用于展示电子设备100录制的视频。视频播放窗口513还包括播放控件513A,当电子设备100检测到用户作用于播放控件513A的触控操作时,电子设备100播放视频播放窗口513中显示的视频,并且,该视频的画面饱和度较低,每一帧显示的图像都呈现“灰蒙蒙”的效果。当电子设备100检测到用户作用于LUT控件512B的触控操作,响应于该操作,电子设备100可显示如图7F所示的多个LUT模板。
如图7F所示,用户界面51可包括LUT预览窗口514。其中,LUT预览窗口514可包括一个或多个LUT模板。具体地,LUT预览窗口514可包括第一LUT模板514A,当电子设备100检测到作用于第一LUT模板514A的触控操作时,电子设备100为视频预览窗口513中显示的视频添加第一LUT模板514A对应的LUT模板,从而调整该视频的曝光和色 彩,调整后的视频显示效果可以参见如图7G所示的视频播放窗口513中显示的视频。
如图7G所示,相比于图7F,视频播放窗口513中显示的视频画面更加清楚,色彩更加丰富艳丽。用户界面51中还包括播放控件515,当电子设备100检测到作用于播放控件515的触控操作时,电子设备100开始播放视频播放窗口513。
如图7H所示,当视频播放窗口513中的视频播放到4秒时,视频播放窗口513中显示的视频画面与图7G所示的视频画面的色调相同。
可以看出,电子设备100通过专业模式除了可以录制添加了LUT模板的视频,还可以在录制未添加LUT模板的视频后,为该视频添加LUT模板,或者,在开启LOG功能后,录制LOG视频,之后再为该LOG视频添加LUT模板。这样,电子设备100不仅可以在录制视频的之前调整画面的显示效果,还可以在视频录制完成之后,调整录制的视频的显示效果,增加了图像调整的灵活性和自由度。
上述实施例中,由于电影模式更侧重于用户感官上的体验感,IMAX功能能够快速调整图像显示效果、定时拍摄功能能够提供有趣的动画特效,所以将IMAX功能以及定时拍摄功能应用在电影模式中,另外,由于专业模式更侧重于用户能够自己调整各种参数来达到图像显示效果的调整,LOG功能需要用户进一步在图库中添加LUT模板才能得到图像,所以将LOG功能应用到专业模式中。可以理解的是,上述提及的各种功能,包括IMAX功能、LUT功能、定时拍摄功能、LOG功能可以同时应用在电影模式或者专业模式中,本申请实施例对此不作限制。
下面介绍本申请实施例提供的拍摄方法的流程。
图8示例性示出了该拍摄方法的流程示意图。如图8所示,该方法包括:
阶段1(S101-S102):打开预览界面
S101、电子设备100开启相机应用程序。
具体实现中,电子设备100可以响应于在用户界面中接收到的用户操作,启动相机应用程序。该用户操作例如可以是作用于主界面中相机应用程序的图标的用户操作(例如点击操作、触摸操作等)。又例如,该用户操作可以是作用于电子设备100锁屏界面的左滑操作,或者,作用于第三方应用程序,例如社交类应用程序的聊天界面中启动相机功能的用户操作。
示例性地,电子设备100可以检测到作用于如图3A所示的相机应用程序215的触控操作(如在相机应用程序215上的点击操作),并响应于该操作启动相机应用程序。
S102、电子设备100显示预览界面,预览界面中显示摄像头实时采集的图像。其中,预览界面中显示的图像参数为第一参数。
具体地,预览界面中可以包括预览框、拍摄模式列表、图库快捷键、拍摄控件等等,其中,预览框用于显示摄像头实时采集的图像或者经过电子设备调整后的图像,拍摄模式列表包括多个可供用户选择的拍摄模式,例如,拍照模式、录像模式、电影模式、专业模式等等。图库快捷键可用于触发进入图库应用程序,拍摄控件可用于触发拍照或录像。另外,当拍摄模式处于选中状态时,电子设备100显示的预览界面为该拍摄模式下对应的用 户界面。
图像参数可以是指图像的参数值,包括尺寸、分辨率、颜色、亮度、色相、饱和度等等。在本申请实施例中图像参数可以是指色彩参数,则第一参数即为摄像头采集的图像的色彩值。
在一些实施例中,第一参数可以为摄像头采集的图像的初始参数值。
在另一些实施例中,第一参数可以为摄像头采集的图像并经过电子设备100调整后的参数值。这里,电子设备100的调整可以是指电子设备100根据默认开启的调整算法,对拍摄过程中的亮度、焦点等拍摄参数进行的调整。
在本申请实施例中,预览界面可以是上述图3B所述实施例中的用户界面31。或者,预览界面可以是指上述图3D所示实施例中的用户界面31,第一预览框可以是指上述图3D所示实施例中的预览框311。此时,预览界面可以为电子设备100启动相机应用程序后,默认开启电影模式进行拍摄时,电子设备100显示的用户界面。另外,预览界面可以包含多个拍摄功能选项,例如,该拍摄功能选项可以是指图3C所示的拍摄模式列表312,电子设备100可以在接收到用户作用于电影模式选项312D后进入电影模式。
其中,电影模式为电子设备100的一种拍摄模式。在电影模式下,用户可以体验到拍摄电影的乐趣。具体关于电影模式的描述以及相关界面可以参考前述图3A-图3G、图4A-图4E、图5A-图5G的相关内容。
那么,为了使电子设备100的拍摄过程具有拍摄电影的效果,电子设备100显示的预览界面存在以下几个特点:
1)图标处于横屏显示状态
在电影模式下,不论电子设备100处于横屏还是竖屏状态进行拍摄,预览界面中包含的图标(例如,图3D示出的图库快捷键313、摄像头翻转控件315、电影快门控件316以及功能选项317)都处于横屏显示状态。这样,当电子设备100进入电影模式时,图标的显示方向能够引导用户横屏拍摄。
2)增加黑边
在电影模式下,电子设备100可以裁剪摄像头采集图像的尺寸,并在第一预览框的上下或左右边界处增加黑边,这样可以使预览界面中显示的摄像头采集的图像的宽高比为电影画面的宽高比。例如,参见图3D,当预览框311的宽高比为16:9,一般电影画面的宽高比为21:9,电子设备100可以在图3D所示的预览框311的上下边界处增加横向的黑边,使得预览框311中显示的摄像头采集的画面的宽高比为21:9。这样,在用户预览、拍摄或录像的过程中,预览框中的黑边以及与电影画面相同的宽高比,都能够给用户营造一种拍摄或观看电影的氛围感。
在一些实施例中,预览界面还可以是上述图6B所示实施例中的用户界面31。此时,预览界面可以为电子设备100开启专业模式进行拍摄时,电子设备100显示的用户界面。
其中,专业模式为电子设备100的另一种拍摄模式。在专业模式下,电子设备100可以获得清晰度更高、细节内容更丰富的图像或视频。具体关于专业模式的描述以及相关界面可以参考前述图6A-图6D、图7A-图7H的相关内容。
阶段2(S103-S105):预览图像添加LUT模板
S103、电子设备100检测到针对预览界面的第一操作。
具体地,该第一操作可以是指开启LUT功能的用户操作,该LUT功能中包含一个或多个LUT模板,这些LUT模板可用于改变预览界面中显示的图像的显示效果。另外,在电影模式中,预览界面中可以包括功能选项317,功能选项317中包括LUT选项317C,当电子设备100接收到用户作用于LUT选项317C的操作后,开启LUT功能。在本申请实施例中,功能选项317还可以是指拍摄功能选项。
在一些实施例中,第一操作可以包括上述图3B所示实施例中针对电影模式选项312D的触控操作,以及上述图3D所示实施例中针对LUT选项317C的触控操作。也就是说,该第一操作包括切换拍摄模式以及开启LUT功能的用户操作。
在一些实施例中,第一操作可以是上述图3D所示实施例中针对LUT选项317C的触控操作。或者,该第一操作可以是上述图6B所示实施例中针对LUT选项317C的触控操作。
S104、电子设备100确定第一模板,所述第一模板用于将第一参数调整为第二参数。
电子设备100可以包含多个LUT模板,该第一模板可以为多个LUT模板中的其中一个LUT模板。电子设备100内部可以预置部分LUT模板,在电子设备100检测到用户开启LUT功能的用户操作后,电子设备100可以更新或从服务器中在线下载LUT模板。在本申请实施例中,第一模板还可以是指目标LUT模板。
由于电子设备100可以根据第一模板将预览界面中显示图像的显示效果,调整为电影画面的显示效果,该第一模板描述了第一视频到第二视频的转换关系。这是因为第二视频的显示效果也是第一视频经过图像参数(例如,曝光度、饱和度、亮度等)的调整后获得的,第一视频和第二视频为按照电影拍摄手法拍摄的未调整显示效果和调整显示效果的视频,第一视频为按照默认设备参数拍摄电影时拍摄的视频,第二视频为调整电影显示效果后的视频,将第一视频到第二视频的色彩值的映射关系提取出来即可得到第一模板,然后,将该第一模板应用到预览界面中显示图像的调整上,即可改变图像的色彩参数,调整图像的显示效果。例如,当第一模板能够将图像的显示效果调整为《电影A》的显示效果,该第一模板描述了《电影A》原片到成片的转换关系,将该第一模板应用到预览界面中显示图像时,该第一模板即可根据该转换关系调整预览界面中显示图像,获得调整显示效果后的图像。
具体地,第一视频的色彩参数为第二参数,第二视频的色彩参数为第三参数,该第一模板即描述了第二参数到第三参数的映射关系。
其中,电子设备可以包含以下两种确定第一模板的方式:
1)电子设备100根据预览界面中显示的图像自主确定LUT模板
预览界面中显示的图像可以是指电子设备100检测到针对预览界面的第一操作时,预览界面中显示的一帧或多帧图像。
LUT模板可以调整图像的色彩值。不同LUT模板可以给预览界面中显示的图像带来不同的显示效果。具体关于LUT模板的描述可以参考图3E的相关描述。
在一些实施例中,电子设备100可以根据图像的图像参数(例如,亮度、饱和度)以及图像的画面内容,从这多个模板中选出第一模板。也就是说,电子设备100可以根据预览界面中显示的图像智能推荐合适的LUT模板。
具体地,电子设备100智能推荐模板的过程可以分为以下四个步骤:
步骤1:电子设备100确定图像的拍摄场景
电子设备100可以根据图像的画面内容确定拍摄场景。其中,图像的画面内容可以包括人物、动物、食物、风景、建筑、室内、室外等等。例如,当电子设备100识别到图像中包含人物时,电子设备100确定图像的拍摄场景为人像场景。
具体地,电子设备100可以通过AI识别算法来识别图像中的画面内容。
步骤2:电子设备100确定图像的亮度等级
其中,图像的亮度即为图像的明暗程序,其数值范围包括0-255。数值越小,亮度越低,数值越大,亮度越高。电子设备100可以将亮度值分为多个亮度等级。例如,电子设备100可以根据图像的亮度值分出五个等级:高光、亮部、中间调、阴影、黑色。其中高光对应的亮度值可以在225-255之间,亮部对应的亮度值可以在169-225之间,中间调对应的亮度值可以在94-169之间,阴影对应的亮度值可以在33-94之间,黑色对应的亮度值可以在0-33之间。具体地,电子设备100可以根据图像的亮度值,确定图像的亮度等级。
步骤3:电子设备100确定图像的饱和度等级
其中,图像的饱和度是指图像色彩的鲜艳程度,图像的颜色种类越多,饱和度也就越高。电子设备100可以将图像的饱和度分为多个饱和度等级,例如,饱和度可以分为三个等级:饱和度高、饱和度中、饱和度低,饱和度高对应的饱和度值为67-100,饱和度中对应的饱和度值为34-66,饱和度低对应的饱和度值为0-33。具体地,电子设备100可以根据图像的饱和度确定图像的饱和度等级。
步骤4:电子设备100根据模板对照表确定LUT模板
模板对照表可以指示出不同拍摄场景、不同亮度等级、不同饱和度等级下,对应的LUT模板。表1示例性示出了模板对照表中的部分内容。
Figure PCTCN2022092833-appb-000001
表1
下面以一个具体地例子说明表1在推荐模板中的原理。如果电子设备100根据图像识别出画面中存在太阳或太阳光晕、天空等元素,则电子设备100判断拍摄场景为风景场景, 然后,电子设备100根据图像的亮度和饱和度确定图像的亮度等级为中间调且饱和度高,则电子设备100根据模板对照表确定该图像对应的LUT模板为“艳丽”,该模板对应的电影为“电影C”。当电子设备100使用该LUT模板调整图像的显示效果时,该LUT模板能够使图像的整体色调偏淡橙色,突显景物在日光下的氛围感。
可以理解的,上述电子设备100智能推荐模板的过程只是示例性介绍,本申请实施例还可以存在其他的推荐过程,例如,在步骤1中电子设备100识别图像的画面内容之后,电子设备100还可以确定该画面内容在该图像中所占的比例,该模板对照表中还可以包含画面内容的不同比例这一影响因素与模板的对应关系,也就是说,当图像中的画面内容在图像中所占的比例不同时,电子设备100最终确定的LUT模板也可能不同。
在本申请实施例中,电子设备100智能推荐LUT模板的过程可以参见图3D以及图3E所示的用户界面。
2)电子设备100根据用户操作确定LUT模板
具体地,电子设备100可以在预览界面中显示一个或多个LUT模板选项,这一个或多个LUT模板选项可以接收到用户的选择操作(例如点击操作),响应于该操作,电子设备100确定该被选中的LUT模板选项对应的LUT模板。
示例性地,该用户操作可以是指作用于图3F所示实施例中LUT预览窗口319中的其中一个LUT模板的点击操作。在本申请实施例中,该用户操作还可以是指第三操作。
在一些实施例中,在电子设备100根据用户操作确定LUT模板的过程中,或者,电子设备100根据预览界面中显示的图像自主确定LUT模板之后,电子设备100可以在预览界面中显示拍摄选项界面,该拍摄选项界面可用于显示LUT功能提供的一个或多个LUT模板选项。进一步地,该拍摄选项界面中包含第一模板对应的LUT模板选项。
示例性地,该拍摄选项界面可以是指上述图3F所示实施例中的LUT预览窗口319。第一模板对应的LUT模板选项可以是指图3F所示实施例中的第二LUT拍摄选项319C。或者,该拍摄选项界面可以是指上述图6D所示实施例中的LUT预览窗口322,第一模板对应的LUT模板选项可以是指图6D所示实施例中的第一LUT模板322A。
在一些实施例中,当电子设备100显示拍摄选项界面,拍摄选项界面中显示第一模板对应的LUT模板选项时,电子设备100可以接收到用户作用于该LUT模板的用户操作,响应于该操作,电子设备100显示该第一模板对应的视频内容,该视频内容的显示效果,与电子设备100根据第一模板调整预览界面中显示图像的显示效果相同。示例性地,该用户操作可以是指图3F所示实施例中作用于播放控件3191C的触控操作,该视频内容可以是指图3G所示实施例中模板展示窗口320中展示的视频。
也就是说,电子设备100可以将LUT模板展示为一段视频,用户可以通过观看视频,更加清楚直观地了解该LUT模板对图像色调的调整效果。另外,该视频可以为LUT模板对应的电影中的电影片段,增加LUT模板预览过程的趣味性,加强电影模式与电影的关联性。
可以理解的是,电子设备100可以同时包含上述两种确定LUT模板的方式,例如,电 子设备100可以在根据预览界面中显示的图像自主确定LUT模板之后,接收到用户作用于拍摄选项界面中的LUT模板选项的选择操作,更改电子设备100确定的LUT模板。或者,电子设备100可以在根据用户操作确定LUT模板之后,接收到用户开启电子设备100自主确定LUT模板的用户操作,响应于该操作,电子设备100根据预览界面中显示的图像自主确定LUT模板。
在一些实施例中,电子设备100可以显示一个LUT智能推荐控件(例如图3F所示的智能识别控件319A),该LUT智能推荐控件可用于开启或关闭电子设备100的智能推荐LUT模板的功能,用户可以通过该控件选择电子设备100确定LUT模板的方式。具体地,当LUT智能推荐控件处于开启状态,电子设备100开启LUT功能后,可以先确定一个LUT来改变预览界面中图像的显示效果,之后,再显示一个或多个LUT模板选项供用户选择,当LUT智能推荐控件处于关闭状态,电子设备100开启LUT功能后,直接显示一个或多个LUT模板选项以及智能推荐控件供用户选择。
S105、电子设备100根据第一模板调整预览界面中显示图像的显示效果,调整后显示图像的图像参数为第四参数。
该显示效果可以是指图像的色相、亮度、饱和度等调整后的效果。第一参数到第四参数的映射关系,与,第二参数和第三参数的映射关系相同。
此时调整后的显示图像可以是指图3E所示实施例中预览框311中显示的图像。或者,调整后的显示图像可以是指图6D所示实施例中预览框311中显示的图像。
当图像参数为色彩值时,第一参数和第四参数即为不同的色彩值。值得注意的是,第一参数和第四参数可以分别包含多个色彩值。第一参数中的每一个色彩值都能够在第四参数中找到唯一的一个色彩值与之对应。
在一些实施例中,在电子设备100根据第一模板调整预览界面中显示图像的显示效果后,电子设备100可以在预览界面中显示提示信息,提示用户当前已调整图像的显示。例如,参见图3E,该提示信息可以是指提示信息318。
阶段3(S106):触发拍照并保存图片,或触发录像并保存视频
S106、电子设备100检测到针对预览界面的第二操作,将预览界面中显示的图像保存为图片或视频。
具体地,预览界面中的拍摄控件可以是指第一拍照控件,该第二操作可以是指作用于该第一拍照控件的用户操作,响应于该操作,电子设备100可以将预览界面中显示的图像保存为图像。或者,预览界面中的拍摄控件可以是指录像控件,该第二操作可以包括作用于该录像控件的用户操作,响应于该操作,电子设备100开启录像,该录像控件可以更新为结束录像控件,之后,该第二操作还包括作用于结束录制控件的用户操作,响应于该操作,电子设备100结束录像,并将开启录像和结束录像之间,预览界面中显示的图像保存为视频。或者,在电子设备100录像的过程中,预览界面中除了包含结束录像控,还可以包括第二拍照控件,该第二操作可以是指作用于第二拍照控件的用户操作,响应于该操作,电子设备100在录像的过程中,将预览界面内中显示的图像保存为图像。
示例性地,该第二操作可以是指作用于图3H所示实施例中电影快门控件316的用户操作。或者,该第二操作可以是指作用于图6D所示实施例中录像控件321的用户操作。
也就是说,电子设备100可以在拍摄过程中,将已添加LUT模板的图像保存为图像或视频。这样,用户不仅能够在预览的过程中,调整预览图像的显示效果,还能够将调整显示效果后的预览图像保存为图片和视频,使用户获得的图片或视频对应的画面内容的色彩更加丰富,突出画面中的有用信息。并且,该LUT模板与电影相关,不同LUT模板对应不同电影色调。具体地,一个LUT模板对图像显示效果的调整,能够使该调整后的图像的显示效果,例如色相、亮度、饱和度,与具体某一电影的色相、亮度、饱和度等显示效果接近或相同,使用户能够拍摄出具有电影色调的图片或视频。
可以理解的是,本申请UI实施例中,电影模式和专业模式都示例性示出了用于录像的拍摄控件,该拍摄控件可以用于将预览界面中显示的图像保存为视频。在本申请其他实施例中,电影模式和专业模式还可以包含用于拍照的拍摄控件,该拍摄控件可以用于将预览界面中显示的图像保存为图像,本申请实施例对此不作限制。
在一些实施例中,在专业模式中,电子设备100还提供LOG功能,LOG功能可以调整摄像头采集的图像的曝光度,使电子设备100最终显示的图像的饱和度较低。参见图7A-图7C,电子设备100可以接收到作用于图7A所示的LOG选项317E的用户操作,响应于该操作,开启LOG功能,从图7B所示的预览框311中显示的图像可以看出,该图像整体色调偏灰色,当电子设备100接收到作用于图7B所示录像控件321的触控操作后,电子设备100开始录制视频,当电子设备100接收到作用于图7C所示结束录像控件323的触控操作后,电子设备100结束录制视频,获得画面内容整体色调偏灰色的视频(以下简称“灰片”)。
在一些实施例中,在电子设备100通过专业模式中的LOG功能获得灰片之后,该灰片可以保存在图库应用程序中。电子设备100还可以在图库应用程序中,使用LUT模板该改变该灰片的色调,使视频的灰色色调恢复为色彩艳丽的色调。不同于电子设备100在录像或拍照前就使用LUT模板的情况,在电子设备100获得灰片后再使用LUT模板来调整图像的显示效果,增强了用户调整图像显示效果的灵活性和自由度。
在一些实施例中,在电影模式中,电子设备100还可以包括电影录制动画特效。电子设备100可以提供定时拍摄功能。参见图5A所示的用户界面,电子设备100可以接收到作用于设置选项317D的触控操作,响应于该操作,电子设备100进入拍摄设置界面,用户可以通过该界面中的时间调整选项413A调整定时拍摄的时间。具体地,电子设备可以接收到作用于时间调整选项413A的第六操作,响应于第六操作,调整定时拍摄时间,设置预设时长。例如,电子设备100设置的定时拍摄时间为3秒,当电子设备100接收到用户作用于电影快门控件316的触控操作,响应于该操作,电子设备100显示如图5D、图5E、图5F所示用户界面中的倒计时信息,给用户呈现出电影录制动画特效。这样,可以增加拍摄的趣味性,突出电影模式下的电影拍摄风格。
本申请的各实施方式可以任意进行组合,以实现不同的技术效果。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。
总之,以上所述仅为本发明技术方案的实施例而已,并非用于限定本发明的保护范围。凡根据本发明的揭露,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (25)

  1. 一种拍摄方法,其特征在于,所述方法应用于包含摄像头的电子设备,所述方法包括:
    所述电子设备显示预览界面,所述预览界面显示来自所述摄像头的第一图像以及多个拍摄功能选项,所述第一图像的色彩参数为第一参数,所述多个拍摄功能选项包括LUT功能选项;
    所述电子设备接收到针对所述多个拍摄功能选项中的LUT功能选项的第一操作,所述LUT功能选项对应于LUT功能,所述LUT功能提供多个LUT模板,所述多个LUT模板用于改变图像的色彩参数;
    响应于所述第一操作,所述电子设备从所述多个LUT模板中确定目标LUT模板,所述目标LUT模板描述了第二参数和第三参数之间的映射关系,所述第二参数为第一视频对应的色彩参数,所述第三参数为第二视频对应的色彩参数;
    所述电子设备根据所述目标LUT模板调整所述第一图像的色彩参数,获得第二图像;
    所述电子设备在所述预览界面显示所述第二图像,所述第二图像的色彩参数为第四参数,所述第一参数和所述第四参数之间的映射关系,与,所述第二参数和所述第三参数之间的映射关系相同;
    所述电子设备接收到作用于所述预览界面的第二操作,响应于所述第二操作,所述电子设备开启针对所述第二图像的拍摄。
  2. 根据权利要求1所述的方法,其特征在于,所述电子设备中存储有所述多个LUT模板,所述电子设备从所述多个LUT模板中确定目标LUT模板,具体包括:
    所述电子设备根据所述第一图像的亮度、饱和度、画面内容,在所述多个LUT模板中确定目标LUT模板。
  3. 根据权利要求1或2所述的方法,其特征在于,所述电子设备从所述多个LUT模板中确定目标LUT模板之后,所述方法还包括:
    所述电子设备显示提示信息,所述提示信息用于指示所述预览界面显示的图像已根据所述目标LUT模板调整色彩参数。
  4. 根据权利要求3所述的方法,其特征在于,所述电子设备从所述多个LUT模板中确定目标LUT模板之后,所述方法还包括:
    所述电子设备在所述预览界面中显示多个模板选项,所述多个模板选项中包含第一模板选项,所述第一模板选项对应所述目标LUT模板。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,响应于所述第一操作,所述电子设备从所述多个LUT模板中确定目标LUT模板,具体包括:
    响应于所述第一操作,所述电子设备在所述预览界面中显示多个模板选项,所述多个 模板选项分别对应多个模板;
    所述电子设备接收到作用于所述多个模板选项中第一模板选项的第三操作;
    响应于所述第三操作,所述电子设备确定和所述第一模板选项对应的目标LUT模板。
  6. 根据权利要求5所述的方法,其特征在于,响应于所述第一操作,所述电子设备在所述预览界面中显示多个模板选项之后,所述方法还包括:
    所述电子设备检测到针对所述目标LUT模板选项的第四操作,响应于所述第四操作,所述电子设备显示视频展示窗口,所述视频展示窗口用于展示所述第二视频。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,在所述预览界面中,所述第一图像、所述第二图像的尺寸为预设尺寸,所述第一图像或所述第二图像以外的区域显示为黑色。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述电子设备接收到针对所述多个拍摄功能选项中的LUT功能选项的第一操作之前,所述方法还包括:
    所述预览界面还显示有多个拍摄模式选项,所述多个拍摄模式选项分别对应多个拍摄模式;
    所述预览界面显示来自所述摄像头的第一图像以及多个拍摄功能选项,具体包括:
    所述预览界面显示来自所述摄像头的第一图像,所述电子设备接收到作用于所述第一拍摄模式选项的操作,响应于所述第一操作,所述预览界面显示所述多个拍摄功能选项。
  9. 根据权利要求8所述的方法,其特征在于,所述电子设备接收到作用于所述第一拍摄模式选项的操作之后,所述方法还包括:
    所述电子设备横屏显示多个拍摄功能选项。
  10. 根据权利要求1-9任一项所述的方法,其特征在于,所述电子设备接收到针对所述多个拍摄功能选项中的LUT功能选项的第一操作之前,所述方法还包括:
    所述电子设备接收到作用于所述多个拍摄功能选项中的第二拍摄功能选项的第五操作,响应于所述第五操作,所述摄像头采集的图像的帧率大于第一值,色彩深度大于第二值。
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备接收到作用于所述预览界面的第六操作,所述第六操作用于设置预设时长;
    所述电子设备将所述第二图像保存为图片或视频,具体包括:经过所述预设时长后,所述电子设备将所述第二图像保存为图片或视频。
  12. 根据权利要求11所述的方法,其特征在于,所述电子设备将所述第二图像保存为图片或视频之前,所述方法还包括:
    所述电子设备在所述预览界面中显示倒计时信息。
  13. 一种拍摄方法,其特征在于,所述方法应用于包含摄像头的电子设备,所述方法包括:
    所述电子设备显示用户界面,所述用户界面包括预览框,在所述预览框中显示来自所述摄像头的第一图像,以及,多个拍摄功能选项,所述第一图像的色彩参数为第一参数,所述多个拍摄功能选项包括LUT功能选项;
    所述电子设备接收到针对所述多个拍摄功能选项中的LUT功能选项的第一操作,所述LUT功能选项对应于LUT功能,所述LUT功能提供多个LUT模板,所述多个LUT模板用于改变图像的色彩参数;
    响应于所述第一操作,所述电子设备在所述用户界面中显示多个LUT模板选项,所述多个LUT模板选项包含第一模板选项;所述电子设备从所述多个LUT模板中确定和所述第一模板选项对应的目标LUT模板,所述目标LUT模板描述了第二参数和第三参数之间的映射关系,所述第二参数为第一视频对应的色彩参数,所述第三参数为第二视频对应的色彩参数,所述第一模板选项用于被触发显示所述第二视频;
    所述电子设备根据所述目标LUT模板调整所述第一图像的色彩参数,获得第二图像;
    所述电子设备在所述预览框中显示所述第二图像,所述第二图像的色彩参数为第四参数,所述第一参数和所述第四参数之间的映射关系,与,所述第二参数和所述第三参数之间的映射关系相同;
    所述电子设备接收到作用于所述用户界面的第二操作,响应于所述第二操作,所述电子设备开启针对所述第二图像的拍摄。
  14. 根据权利要求13所述的方法,其特征在于,所述电子设备中存储有所述多个LUT模板,所述电子设备从所述多个LUT模板中确定目标LUT模板,具体包括:
    所述电子设备根据所述第一图像的亮度、饱和度、画面内容,在所述多个LUT模板中确定目标LUT模板。
  15. 根据权利要求13所述的方法,其特征在于,所述电子设备从所述多个LUT模板中确定目标LUT模板之后,所述方法还包括:
    所述电子设备显示提示信息,所述提示信息用于指示所述预览框中显示的图像已根据所述目标LUT模板调整色彩参数。
  16. 根据权利要求13所述的方法,其特征在于,响应于所述第一操作,所述电子设备显示多个LUT模板选项之后,所述方法还包括:
    所述电子设备接收到作用于所述第一模板选项的第三操作,所述第三操作用于触发所 述电子设备确定和所述第一模板选项对应的目标LUT模板。
  17. 根据权利要求13所述的方法,其特征在于,响应于所述第一操作,所述电子设备显示多个LUT模板选项之后,所述方法还包括:
    所述电子设备检测到针对所述第一模板选项的第四操作,响应于所述第四操作,所述电子设备显示视频展示窗口,所述视频展示窗口用于展示所述第二视频。
  18. 根据权利要求13所述的方法,其特征在于,在所述预览框中,所述第一图像、所述第二图像的尺寸为预设尺寸,所述第一图像或所述第二图像以外的区域显示为黑色。
  19. 根据权利要求13所述的方法,其特征在于,所述电子设备接收到针对所述多个拍摄功能选项中的LUT功能选项的第一操作之前,所述方法还包括:
    所述用户界面还显示有多个拍摄模式选项,所述多个拍摄模式选项分别对应多个拍摄模式;
    所述电子设备在所述预览框中显示来自所述摄像头的第一图像,以及,多个拍摄功能选项,具体包括:
    所述电子设备在所述预览框中显示来自所述摄像头的第一图像,所述电子设备接收到作用于第一拍摄模式选项的操作,响应于所述第一操作,在所述预览框中显示所述多个拍摄功能选项。
  20. 根据权利要求13所述的方法,其特征在于,所述电子设备接收到作用于所述第一拍摄模式选项的操作之后,所述方法还包括:
    所述电子设备横屏显示多个拍摄功能选项。
  21. 根据权利要求13所述的方法,其特征在于,所述电子设备接收到针对所述多个拍摄功能选项中的LUT功能选项的第一操作之前,所述方法还包括:
    所述电子设备接收到作用于所述多个拍摄功能选项中的第二拍摄功能选项的第五操作,响应于所述第五操作,所述摄像头采集的图像的帧率大于第一值,色彩深度大于第二值。
  22. 根据权利要求13-21任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备接收到作用于所述预览框的第六操作,所述第六操作用于设置预设时长;
    所述电子设备将所述第二图像保存为图片或视频,具体包括:经过所述预设时长后,所述电子设备将所述第二图像保存为图片或视频。
  23. 根据权利要求22所述的方法,其特征在于,所述电子设备将所述第二图像保存为图片或视频之前,所述方法还包括:
    所述电子设备在所述用户界面中显示倒计时信息。
  24. 一种电子设备,包括:显示屏,摄像头,触摸传感器,存储器,一个或多个处理器,多个应用程序,以及一个或多个程序;其中所述一个或多个程序被存储在所述存储器中;其特征在于,所述一个或多个处理器在执行所述一个或多个程序时,使得所述电子设备实现如权利要求1至23任一项所述的方法。
  25. 一种计算机可读存储介质,包括指令,其特征在于,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求1至23任一项所述的方法。
PCT/CN2022/092833 2021-06-16 2022-05-13 拍摄方法、图形界面及相关装置 WO2022262497A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22823979.4A EP4171014A4 (en) 2021-06-16 2022-05-13 PHOTOGRAPHY METHOD, GRAPHIC INTERFACE AND ASSOCIATED APPARATUS
US18/022,867 US20230217098A1 (en) 2021-06-16 2022-05-13 Shooting method, graphical interface, and related apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110668288.XA CN113727017B (zh) 2021-06-16 2021-06-16 拍摄方法、图形界面及相关装置
CN202110668288.X 2021-06-16

Publications (1)

Publication Number Publication Date
WO2022262497A1 true WO2022262497A1 (zh) 2022-12-22

Family

ID=78672978

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/092833 WO2022262497A1 (zh) 2021-06-16 2022-05-13 拍摄方法、图形界面及相关装置

Country Status (4)

Country Link
US (1) US20230217098A1 (zh)
EP (1) EP4171014A4 (zh)
CN (1) CN113727017B (zh)
WO (1) WO2022262497A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9854156B1 (en) 2016-06-12 2017-12-26 Apple Inc. User interface for camera effects
US11112964B2 (en) 2018-02-09 2021-09-07 Apple Inc. Media capture lock affordance for graphical user interface
USD924912S1 (en) * 2019-09-09 2021-07-13 Apple Inc. Display screen or portion thereof with graphical user interface
US11212449B1 (en) * 2020-09-25 2021-12-28 Apple Inc. User interfaces for media capture and management
CN113727017B (zh) * 2021-06-16 2022-07-05 荣耀终端有限公司 拍摄方法、图形界面及相关装置
CN115914823A (zh) * 2021-08-12 2023-04-04 荣耀终端有限公司 拍摄方法及电子设备
CN116546313A (zh) * 2022-01-25 2023-08-04 华为技术有限公司 一种复原拍摄的方法及电子设备
CN116668838B (zh) * 2022-11-22 2023-12-05 荣耀终端有限公司 图像处理方法与电子设备

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915417A (zh) * 2015-06-08 2015-09-16 上海如书文化传播有限公司 使用移动终端拍摄和处理图片成为电影效果的方法及装置
CN105323456A (zh) * 2014-12-16 2016-02-10 维沃移动通信有限公司 用于拍摄装置的图像预览方法、图像拍摄装置
CN106254764A (zh) * 2015-06-12 2016-12-21 三星电子株式会社 电子装置和用于在电子装置中显示图像的方法
CN109309783A (zh) * 2017-07-28 2019-02-05 益富可视精密工业(深圳)有限公司 电子装置及其滤镜拍摄方法
CN110730299A (zh) * 2019-09-29 2020-01-24 深圳酷派技术有限公司 一种屏下摄像头成像方法、装置、存储介质及电子设备
CN110798622A (zh) * 2019-11-29 2020-02-14 维沃移动通信有限公司 一种共享拍摄方法及电子设备
US20200111447A1 (en) * 2018-10-05 2020-04-09 Disney Enterprises, Inc. Machine learning color science conversion
CN112153288A (zh) * 2020-09-25 2020-12-29 北京字跳网络技术有限公司 用于发布视频或图像的方法、装置、设备和介质
CN113727017A (zh) * 2021-06-16 2021-11-30 荣耀终端有限公司 拍摄方法、图形界面及相关装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102386398B1 (ko) * 2017-03-17 2022-04-14 삼성전자주식회사 촬영 모드에 따라 이미지에 대한 표시자를 다르게 제공하는 방법 및 그 전자 장치
KR20190017303A (ko) * 2017-08-10 2019-02-20 엘지전자 주식회사 이동 단말기
EP3754958A4 (en) * 2018-02-14 2022-03-09 LG Electronics Inc. MOBILE TERMINAL AND ITS CONTROL METHOD
EP3764631B1 (en) * 2018-03-26 2023-06-21 Huawei Technologies Co., Ltd. Intelligent assistant control method and terminal device
CN110072070B (zh) * 2019-03-18 2021-03-23 华为技术有限公司 一种多路录像方法及设备、介质
CN111416950B (zh) * 2020-03-26 2023-11-28 腾讯科技(深圳)有限公司 视频处理方法、装置、存储介质及电子设备
CN111510698A (zh) * 2020-04-23 2020-08-07 惠州Tcl移动通信有限公司 图像处理方法、装置、存储介质及移动终端

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105323456A (zh) * 2014-12-16 2016-02-10 维沃移动通信有限公司 用于拍摄装置的图像预览方法、图像拍摄装置
CN104915417A (zh) * 2015-06-08 2015-09-16 上海如书文化传播有限公司 使用移动终端拍摄和处理图片成为电影效果的方法及装置
CN106254764A (zh) * 2015-06-12 2016-12-21 三星电子株式会社 电子装置和用于在电子装置中显示图像的方法
CN109309783A (zh) * 2017-07-28 2019-02-05 益富可视精密工业(深圳)有限公司 电子装置及其滤镜拍摄方法
US20200111447A1 (en) * 2018-10-05 2020-04-09 Disney Enterprises, Inc. Machine learning color science conversion
CN110730299A (zh) * 2019-09-29 2020-01-24 深圳酷派技术有限公司 一种屏下摄像头成像方法、装置、存储介质及电子设备
CN110798622A (zh) * 2019-11-29 2020-02-14 维沃移动通信有限公司 一种共享拍摄方法及电子设备
CN112153288A (zh) * 2020-09-25 2020-12-29 北京字跳网络技术有限公司 用于发布视频或图像的方法、装置、设备和介质
CN113727017A (zh) * 2021-06-16 2021-11-30 荣耀终端有限公司 拍摄方法、图形界面及相关装置

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
CN113727017B (zh) 2022-07-05
EP4171014A4 (en) 2024-03-06
EP4171014A1 (en) 2023-04-26
US20230217098A1 (en) 2023-07-06
CN113727017A (zh) 2021-11-30

Similar Documents

Publication Publication Date Title
WO2022262497A1 (zh) 拍摄方法、图形界面及相关装置
CN112532857B (zh) 一种延时摄影的拍摄方法及设备
CN113556461B (zh) 一种图像处理方法、电子设备及计算机可读存储介质
US11696018B2 (en) Method for displaying image in photographing scenario and electronic device
EP3893491A1 (en) Method for photographing the moon and electronic device
CN114390139B (zh) 一种电子设备在来电时呈现视频的方法、电子设备和存储介质
US20220343648A1 (en) Image selection method and electronic device
CN113891009B (zh) 曝光调整方法及相关设备
WO2023015991A1 (zh) 拍照方法、电子设备和计算机可读存储介质
WO2023015990A1 (zh) 点光源图像检测方法和电子设备
CN114640783B (zh) 一种拍照方法及相关设备
CN113170037A (zh) 一种拍摄长曝光图像的方法和电子设备
WO2024041394A1 (zh) 拍摄方法及相关装置
CN114463191B (zh) 一种图像处理方法及电子设备
CN115525783B (zh) 图片显示方法及电子设备
CN113891008B (zh) 一种曝光强度调节方法及相关设备
WO2023015959A1 (zh) 拍摄方法及电子设备
CN115550556A (zh) 一种曝光强度调节方法及相关装置
WO2023160224A9 (zh) 一种拍摄方法及相关设备
WO2022228010A1 (zh) 一种生成封面的方法及电子设备
WO2024002164A1 (zh) 一种显示方法及相关装置
CN115379039A (zh) 视频拍摄方法、装置和电子设备
CN114245011A (zh) 图像处理方法、用户界面及电子设备
CN115658191A (zh) 一种生成主题壁纸的方法及电子设备

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2022823979

Country of ref document: EP

Effective date: 20230118

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

Ref document number: 22823979

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE