Image acquisition method and electronic equipment

By providing multiple adjustment items for image attributes on the shooting interface of the electronic device, users are allowed to flexibly adjust the image saturation, color temperature and light and shadow, solving the limitations of image color adjustment in the prior art, and achieving high-quality personalized creation and interactive improvement.

CN120186461APending Publication Date: 2025-06-20HUAWEI TECH CO LTD

Patent Information

Application Number
CN202510261003.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-04
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

Existing electronic devices have limitations in image color adjustment, which is difficult to meet users' flexible adjustment and personalized creation needs.

Method used

An image acquisition method is provided, by displaying the first preview image and adjustment items of multiple image attributes on the shooting interface, allowing the user to independently and flexibly adjust the image attributes from multiple dimensions such as saturation, color temperature, light and shadow, and achieve precise control of the image color style.

Benefits of technology

By accurately adjusting color attributes, the color quality of the image will be improved, the work will be more visually attractive, meet users' personalized creative needs, and enhance the interactivity between users and devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120186461A_ABST
    Figure CN120186461A_ABST
Patent Text Reader

Abstract

The invention discloses an image acquisition method and electronic equipment, relates to the technical field of terminals, and can flexibly adjust the image attribute of an image so as to meet the requirements of flexible adjustment and personalized creation of a user. In the scheme, the electronic equipment can display the shooting interface, and the first preview image and the adjustment items of multiple image attributes such as saturation, color temperature or light and shadow are displayed to a user through the shooting interface, so that the user can adjust the image attributes through the adjustment operation on at least one adjustment item according to individual requirements. And adjusting the display of the preview image according to the corresponding image attribute.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of terminals, and in particular, to an image acquisition method and an electronic device. Background Art

[0002] In the context of the mobile Internet era, electronic devices such as mobile phones have become important tools for people to record and share life moments daily. With the continuous development and improvement of the image acquisition and image processing functions of electronic devices, users' expectations for the image display effect of electronic devices are also increasing day by day. They not only pursue the clarity of images but also pay more attention to the visual effect and artistic style of images. As a key element in images to express emotions and atmosphere, color has a decisive impact on the quality and expressiveness of images. Different color styles can convey different emotions and themes. For example, warm colors are often used to create a warm and cheerful atmosphere, and cool colors are often used to create a calm and mysterious atmosphere. Therefore, providing a rich variety of image color style adjustment functions has become an important direction.

[0003] Currently, electronic devices can provide different color filters for users to choose from to adjust the color of images. However, since these color filters are preset, the types of filters are relatively fixed, which has certain limitations and is difficult to meet the needs of users for flexible adjustment and personalized creation. Summary of the Invention

[0004] Embodiments of this application provide an image acquisition method and an electronic device, which can flexibly adjust the image attributes of an image, thereby meeting the needs of users for flexible adjustment and personalized creation.

[0005] To achieve the above object, the embodiments of this application adopt the following technical solutions:

[0006] In a first aspect, an image acquisition method is provided. This method can be applied to an electronic device. In this method, the electronic device displays a shooting interface. The shooting interface includes a first preview image and adjustment items for multiple image attributes. The multiple image attributes include one or more of the following: saturation, color temperature, or light and shadow. The electronic device responds to an adjustment operation for at least one adjustment item, obtains a first image attribute, and displays a second preview image on the shooting interface according to the first image attribute.

[0007] In the image acquisition method provided in the above first aspect, the shooting interface of the electronic device includes adjustment items for multiple image attributes. Users can flexibly adjust the image attributes of the preview image on the shooting interface, such as independently and flexibly adjusting from multiple dimensions such as saturation, color temperature, and light and shadow. It can achieve precise control of the image color style, and by precisely adjusting the color attributes, the colors of the picture can be made more vivid, natural, and coordinated, avoiding problems such as color deviation, thereby improving the image color quality and making the work more visually appealing.

[0008] Meanwhile, the electronic device can update the preview image on the shooting interface in real time according to the user's adjustment operations for at least one adjustment item, enabling the user to intuitively see the display effect of the image attribute adjustment, so as to more accurately control the image attributes until a satisfactory effect is achieved.

[0009] In addition, the above method can enhance the interactivity between the user and the electronic device. By providing adjustment items for multiple image attributes including saturation, color temperature, light and shadow, etc. through the color palette, the user can flexibly adjust according to personal needs to meet the needs of personalized creation.

[0010] In a possible implementation, the shooting interface includes a color palette. Among them, the color palette supports the user to adjust the color temperature by swiping left and right, adjust the saturation by swiping up and down on the left side of the color palette, and adjust the light and shadow by swiping up and down on the right side of the color palette. In this implementation, through the design of the color palette on the shooting interface, a multi-dimensional color adjustment interaction design is realized, enabling the user to intuitively and conveniently swipe on the color palette to adjust image attributes such as the color temperature, saturation, and light and shadow of the preview image, significantly improving the efficiency of image adjustment and the user's interaction experience, and meeting the needs of the user's personalized creation.

[0011] In a possible implementation, the method further includes: the electronic device makes corresponding display changes on the color palette according to the changes in the image attributes corresponding to the adjustment operations. In this implementation, the electronic device reflects the display changes of the image attributes, such as light and shadow, saturation or color temperature, etc., on the color palette in real time according to the user's adjustment operations for the adjustment items, enabling the user to intuitively perceive the adjustment effect of the image, improving the adjustment efficiency and accuracy, and thus enhancing the convenience of the user's operation.

[0012] In a possible implementation, the above shooting interface includes adjustment controls corresponding to adjustment items for multiple image attributes respectively. The method further includes that the electronic device prominently displays the adjustment controls according to the adjustment operations for the adjustment controls. Among them, prominent display includes increasing the size. In this implementation, on the shooting interface, by prominently displaying (such as increasing the size) the adjustment controls, the user can more intuitively, clearly and conveniently adjust the image attributes of the current preview image, enhancing the interactivity of the user interface.

[0013] In a possible implementation, the method further includes that when the electronic device prominently displays the adjustment control, it shrinks the color palette. In this implementation, the electronic device prominently displays the adjustment control (such as increasing the size of the adjustment control) by occupying a part of the original area of the color palette, thereby shrinking the size of the color palette. In this way, while prominently displaying the adjustment control, the color palette is shrunk, enabling the user to more clearly identify the adjustment control being operated currently, improving the accuracy and efficiency of adjustment. At the same time, shrinking the color palette makes the entire shooting interface more concise, enhancing the user experience.

[0014] In a possible implementation, displaying a second preview image on the shooting interface according to the first image attribute includes: the electronic device displays first image adjustment options according to the first image attribute and the first shooting style corresponding to the first image attribute; then, in response to a selection operation on the first image adjustment options, the electronic device displays a second preview image on the shooting interface. In this implementation, the electronic device displays image adjustment options according to the image attribute and the corresponding shooting style. During the user's shooting process, when it is necessary to call the saved image attributes, the user only needs to select the corresponding image adjustment options in the shooting interface of the camera application, and the preview image corresponding to the selected image adjustment options can be displayed on the shooting interface, enabling the user to intuitively preview the adjustment effect, improving the shooting efficiency, and enhancing the interactivity of the shooting interface at the same time. The entire calling process is fast and efficient, ensuring that the user can quickly switch to their favorite style during shooting and enhancing the shooting experience.

[0015] In a possible implementation, the method further includes that when displaying the second preview image, in response to a shooting operation, the electronic device captures an image and saves the first image data of the image. The first image data includes the first image attribute. In this implementation, the previously saved display effect is immediately applied during shooting, and the adjusted first image data is captured and saved, improving the shooting efficiency and accuracy and meeting the user's need to save personalized image attributes.

[0016] In a possible implementation, the above-mentioned first image data includes pixel data and exchangeable image file format (EXIF) data. The EXIF data includes the first image attribute. In this implementation, the EXIF data of the encapsulated first image data is written into the image file together with the pixel data to obtain the first image data, ensuring that each captured image carries accurate EXIF data related to the color style.

[0017] In a possible implementation, the method further includes that the electronic device displays a reference image list including at least one reference image in response to an operation of pulling up the reference image list. Among them, the at least one reference image includes a first reference image. After that, the electronic device obtains a second image attribute of the first reference image in response to a selection operation on the first reference image, and displays a third preview image on the shooting interface according to the second image attribute. In this implementation, after the user selects the first reference image in the reference image list, the electronic device obtains the second image attribute corresponding to the first reference image according to the first reference image, and displays the third preview image according to the second image attribute, so as to enable the user to quickly learn from existing or other people's shooting styles, greatly improving the shooting efficiency and enhancing the flexibility of creation.

[0018] In a possible implementation, the second image attribute includes one or more of the following: saturation, color temperature, or light and shadow. In this implementation, the electronic device obtains the image attributes corresponding to the selected image according to the user's selection, so as to realize the adjustment of image attributes such as saturation, color temperature, or light and shadow of the preview image.

[0019] In a possible implementation, obtaining the second image attribute of the first reference image includes: the electronic device obtains the second image data of the first reference image. Among them, the second image data includes pixel data and Exchangeable Image File Format (EXIF) data, and the EXIF data includes the second image attribute. In this implementation, by encapsulating the image attributes in the image data, it is possible to support the mechanism and method for the user to call the saved style at any time during shooting and apply it to the shooting screen, etc., so as to learn from existing or other people's shooting styles, greatly improving the shooting efficiency and enhancing the flexibility of creation.

[0020] In a possible implementation, after obtaining the second image attribute of the first reference image, the method further includes that the electronic device displays corresponding second image adjustment options according to the EXIF data and the second shooting style corresponding to the second image attribute. During the process of the electronic device displaying the third preview image on the shooting interface according to the second image attribute, in response to a selection operation on the second image adjustment option, the third preview image is displayed. In this implementation, the second image adjustment options accurately reflect the EXIF data and the second shooting style corresponding to the second image attribute. When the user selects the second image adjustment option on the shooting interface, the adjustment effect can be previewed in real time, enhancing the flexibility and personalization of shooting.

[0021] In a possible implementation, the method further includes that the electronic device updates the image attributes corresponding to the second image adjustment options in response to a modification operation on the second image attributes. The modification operation includes one or more of the following operations: modifying saturation, modifying color temperature, and modifying light and shadow. In this implementation, independent and flexible adjustment in multiple dimensions such as saturation, color temperature, and light and shadow is allowed under the selected shooting style, rather than being limited to a fixed shooting style only, greatly expanding the creative space.

[0022] In a second aspect, another image acquisition method is provided, which is applied to an electronic device. In this method, the electronic device displays a shooting interface. The shooting interface includes a first preview image. The electronic device displays a reference image list including at least one reference image in response to an operation of pulling up the reference image list. The at least one reference image includes a first reference image. The electronic device acquires the second image attributes of the first reference image in response to a selection operation on the first reference image, and displays a third preview image on the shooting interface according to the second image attributes.

[0023] In the image acquisition method provided in the above second aspect, after the user selects the first reference image from the reference image list, the electronic device acquires the second image attributes corresponding to the first reference image according to the first reference image, and displays a third preview image according to the second image attributes, thereby enabling the user to quickly learn from existing or others' shooting styles, greatly improving the shooting efficiency, and enhancing the flexibility of creation.

[0024] In a possible implementation, the second image attributes include one or more of the following: saturation, color temperature, or light and shadow.

[0025] In a possible implementation, during the process of the electronic device acquiring the second image attributes of the first reference image, the second image data of the first reference image is acquired. The second image data includes pixel data and Exchangeable Image File Format (EXIF) data, and the EXIF data includes the second image attributes.

[0026] In a possible implementation, after acquiring the second image attributes of the first reference image, the method further includes that the electronic device displays corresponding second image adjustment options according to the EXIF data and the second shooting style corresponding to the second image attributes. During the process of the electronic device displaying the third preview image on the shooting interface according to the second image attributes, a third preview image is displayed in response to a selection operation on the second image adjustment options.

[0027] In a possible implementation, the method further includes that the electronic device updates the image attributes corresponding to the second image adjustment options in response to a modification operation on the second image attributes. The modification operation includes one or more of the following operations: modifying saturation, modifying color temperature, and modifying light and shadow.

[0028] In a third aspect, an electronic device is provided, including: a display screen, a memory, and one or more processors; the display screen, the memory, and the processors are coupled; wherein, the display screen is configured to display a shooting interface, and a computer program code is stored in the memory, the computer program code includes computer instructions, and when the computer instructions are executed by the processor, the electronic device is caused to execute the image acquisition method of any one of the above first aspects, or the electronic device is caused to execute the image acquisition method of any one of the above second aspects.

[0029] In a fourth aspect, a computer-readable storage medium is provided, including computer instructions, and when the computer instructions run on an electronic device, the electronic device is caused to execute the image acquisition method of any one of the above first aspects, or the electronic device is caused to execute the image acquisition method of any one of the above second aspects.

[0030] In a fifth aspect, a computer program product is provided, and when the computer program product runs on a computer, the computer is caused to execute the image acquisition method of any one of the above first aspects, or the computer is caused to execute the image acquisition method of any one of the above second aspects.

[0031] In a sixth aspect, a chip system is provided, the chip system includes a processing circuit and a storage medium, and program instructions are stored in the storage medium; when the program instructions are executed by the processing circuit, the image acquisition method in any possible implementation manner of the first aspect can be implemented, or the image acquisition method in any possible implementation manner of the second aspect can be implemented. The chip system can be composed of chips, or can include chips and other discrete devices.

[0032] It can be understood that for the beneficial effects that can be achieved by the above-provided second aspect to sixth aspect, reference can be made to the beneficial effects in the first aspect and any possible design manner thereof, which will not be elaborated here. Description of the Drawings

[0033] Figure 1 It is a schematic diagram of an image acquisition method provided by an embodiment of the present application;

[0034] Figure 2 It is a schematic diagram of a functional structure for acquiring an image provided by an embodiment of the present application;

[0035] Figure 3 It is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application;

[0036] Figure 4 It is a schematic diagram of a software architecture of an electronic device provided by an embodiment of the present application;

[0037] Figure 5Flow schematic diagram of an image acquisition method provided by an embodiment of the present application;

[0038] Figure 6 Schematic diagram of an image acquisition method provided by an embodiment of the present application;

[0039] Figure 7 Schematic diagram of the layout method of a color palette provided by an embodiment of the present application;

[0040] Figure 8 Structural schematic diagram of an image acquisition method provided by an embodiment of the present application;

[0041] Figure 9 Flow schematic diagram of another image acquisition method provided by an embodiment of the present application;

[0042] Figure 10 Structural schematic diagram of another image acquisition method provided by an embodiment of the present application. Detailed implementation manners

[0043] Next, the technical solutions in the embodiments of the present application will be described in conjunction with the accompanying drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may represent A or B; herein, "and / or" is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality of" means two or more than two.

[0044] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of this embodiment, unless otherwise specified, the meaning of "a plurality of" is two or more.

[0045] In the embodiments of the present application, words such as "exemplarily" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplarily" or "for example" in the embodiments of the present application should not be construed as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of words such as "exemplarily" or "for example" is intended to present relevant concepts in a specific manner.

[0046] With the rapid development of the mobile Internet, electronic devices such as mobile phones have become important tools for people to record and share life moments daily. The image application functions of electronic devices are constantly upgraded, and users' requirements for the image display effects of electronic devices are also increasing day by day. They are no longer limited to the pursuit of image clarity, but pay more attention to the unique visual effects and artistic styles that images can present. As the core element in images to convey emotions and atmospheres, color plays a crucial role in the quality and expressiveness of images. Different color styles can effectively convey different emotions and themes. Among them, warm colors are often used to create a warm and cheerful atmosphere, and cool colors are often used to create a calm and mysterious atmosphere. Given the importance of color in images, providing diversified color style adjustment functions for the image applications of electronic devices has become the key to meeting users' personalized creation needs.

[0047] In related technologies, there are still certain limitations in color adjustment for image applications of electronic devices such as mobile phones. Some image applications of electronic devices can provide different color filters, and users can directly select different color filters to change the color style of images. However, the types of filters are relatively fixed, making it difficult to meet the needs of users for flexible adjustment and personalized creation according to their own preferences. Some other image applications of electronic devices introduce professional-level color adjustment functions, such as saturation, color temperature, and brightness adjustment, etc. However, these functions are often complex to operate and lack intuitiveness and convenience for ordinary users.

[0048] The embodiment of the present application provides an image acquisition method, which can be applied to the image acquisition scenario of an electronic device. In the image acquisition method provided by the embodiment of the present application, referring to Figure 1 , users can flexibly adjust the image attributes of an image on the shooting interface 101 of the electronic device 100, such as adjusting the image attributes of the preview image 102 on the shooting interface 101, so as to meet the needs of users for flexible adjustment and personalized creation.

[0049] For example, taking the shooting style of the preview image 102 as the first shooting style as an example, the electronic device 100 displays the shooting interface 101. Among them, the shooting interface 101 includes the preview image 102 and adjustment items 103 for multiple image attributes. For example, the multiple image attributes include one or more of the following: saturation, color temperature, or light and shadow. The electronic device responds to the adjustment operation for at least one adjustment item, acquires the corresponding image attribute, and updates the preview image displayed on the shooting interface 101 according to the image attribute.

[0050] In the above image acquisition method, the user can flexibly adjust the image attributes of the preview image on the shooting interface of the electronic device. For example, the user can independently and flexibly adjust from multiple dimensions such as saturation, color temperature, and light and shadow. This can achieve precise control of the image color style, and by precisely adjusting the color attributes, the colors of the picture can be made more vivid, natural, and harmonious, avoiding problems such as color deviation, thereby improving the image color quality and making the work more visually appealing.

[0051] At the same time, the electronic device can update the preview image on the shooting interface in real time according to the adjustment operations of the user for at least one adjustment item, enabling the user to intuitively see the display effect of the image attribute adjustment, so as to more precisely control the image attributes until a satisfactory effect is achieved.

[0052] In addition, the above method can enhance the interactivity between the user and the electronic device. By providing adjustment items for multiple image attributes including saturation, color temperature, and light and shadow through a color palette, the user can flexibly adjust according to personal needs to meet the needs of personalized creation.

[0053] The image acquisition method provided by the embodiments of the present application can be applied to an electronic device 100 as Figure 2 shown. The electronic device 100 includes, but is not limited to: a user interaction interface 201, an image adjustment engine 202, and a rendering module 203. In some embodiments, the electronic device 100 further includes a data extraction module 204.

[0054] Among them, the user interaction interface 201 is used to detect the adjustment operations of the user for each adjustment item. The image adjustment engine 202 is used to perform corresponding image attribute adjustments on the preview image according to the adjustment operations of the user for each adjustment item on the user interaction interface. In some embodiments, the image adjustment engine 202 can, based on image processing algorithms and image processing technologies, etc., in response to the adjustment operations for at least one adjustment item, obtain the instructions of the adjustment operations, parse out specific adjustment parameters, such as the offset of the color temperature, the change value of the saturation, and the adjustment amplitude of the light and shadow, etc. Then, the image adjustment engine 202 performs real-time processing on the first preview image displayed on the shooting interface according to these adjustment parameters. During the processing, the image adjustment engine 202 performs precise image attribute calculation and adjustment on each pixel data (such as pixel points) in the preview image according to the corresponding image processing algorithms, etc., to ensure that the conversion of the image color style is natural and smooth, and there will be no obvious color distortion or noise increase, etc. The image adjustment engine 202 can also perform optimization processing on the adjusted preview image to improve the image quality and display effect, meeting the user's needs for high-quality photography. The rendering module 203 is used to render the adjusted preview image in real time and send it to the shooting interface for display. The data extraction module 204 is used to obtain the corresponding image attributes according to the reference image selected by the user.

[0055] Exemplarily, refer to Figure 2 , when taking a picture, the user can perform adjustment operations on various adjustment items through the user interface 201. The image adjustment engine 202 can perform corresponding image property adjustments on the preview image according to the adjustment operations of the user for at least one adjustment item. The rendering module 203 can render the adjusted preview image in real time and send it to the shooting interface for display.

[0056] In some embodiments, in response to the user's operation of opening the reference image list, the user can display a reference image list including at least one reference image through the user interface 201. In response to the user's operation of selecting a reference image from the reference image list, the data extraction module 204 can obtain the image properties of the reference image and adjust the preview image according to the obtained image properties, so as to draw on the shooting styles and image properties of existing or other people's works. The rendering module 203 is used to render the adjusted preview image in real time and send it to the shooting interface for display.

[0057] The image acquisition method provided by the embodiments of the present application can be applied to the above-mentioned electronic device. Exemplarily, the electronic device may include, but is not limited to, mobile phones, tablet computers, laptop computers, smart screens, televisions, in-vehicle computers, netbooks, personal digital assistants (PDAs), wearable devices, augmented reality (AR) / virtual reality (VR) devices, or personal computers and other electronic devices. In some embodiments, the electronic device may be any device including a shooting interface and capable of processing, displaying, or storing images, etc. The embodiments of the present application do not impose special restrictions on the specific form of the electronic device.

[0058] The following describes the hardware structure of the electronic device 100.

[0059] Exemplarily, Figure 3 shows a schematic diagram of the hardware structure of the electronic device 100. As Figure 3As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric 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, a bone conduction sensor 180M, etc.

[0060] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than those illustrated, or combine certain components, or split certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0061] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0062] Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching instructions and executing instructions.

[0063] A memory can also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store the 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 directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0064] In the embodiments of the present application, the processor 110 of the electronic device obtains image attributes by running the instructions stored in the internal memory 121, so as to perform corresponding image attribute adjustments on the preview image on the shooting interface according to the image attributes.

[0065] In some embodiments, the processor 110 of the electronic device can also obtain the second image attributes of the first reference image by running the instructions stored in the internal memory 121, so as to perform corresponding image attribute adjustments on the preview image on the shooting interface according to the second image attributes.

[0066] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0067] It can be understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are only illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0068] The charging management module 140 is used to receive charging input from a charger. Herein, the charger can be a wireless charger or a wired charger. The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives inputs from the battery 142 and / or the charging management module 140 to supply power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, the wireless communication module 160, etc. In some other embodiments, the power management module 141 and the charging management module 140 can also be provided in the same device.

[0069] The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc. The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as the diversity antenna of the wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0070] The electronic device 100 can implement communication functions and resource acquisition functions, etc. through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, etc.

[0071] The electronic device 100 implements the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to execute mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0072] The display screen 194, also called the screen, is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0073] The display screen 194 can display the video content selected by the user to play on the electronic device 100, and can also display the video content projected from other electronic devices to the current electronic device in a screen mirroring scenario, and can also display some function controls, function pages, etc.

[0074] In some embodiments, when the electronic device 100 enters the shooting interface, the display screen 194 can display the shooting interface. For example, it can display a shooting interface including a preview image and adjustment items for image attributes, and the shooting interface can also provide interactive feedback, etc. For example, the adjustment items for image attributes can be located on the shooting interface in the form of a color palette. The display screen 194 of the electronic device 100 can respond to the user's adjustment operation on one or more adjustment items on the color palette and make corresponding display changes on the color palette according to the changes in the corresponding image attributes; another example is that the display screen 194 of the electronic device 100 can prominently display (such as increasing the size) the adjustment control according to the user's adjustment operation on the adjustment item; another example is that when the display screen 194 of the electronic device 100 prominently displays the adjustment control, it reduces the color palette; another example is that the display screen 194 of the electronic device 100 can display a prompt message 1. The prompt message 1 is used to prompt the user that the image adjustment options are full, and please select an old preset style to replace the new preset style.

[0075] The electronic device 100 can implement the shooting function through the ISP, camera 193, video codec, GPU, display screen 194, application processor, etc. The ISP is used to process the data fed back by the camera 193. The camera 193 is used to capture static images or videos. In some embodiments, the electronic device 100 can include 1 or N cameras 193, where N is a positive integer greater than 1.

[0076] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, files such as music and videos are saved in the external memory card.

[0077] The internal memory 121 can be used to store computer-executable program codes, and the executable program codes include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121.

[0078] The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.). The data storage area can store the data created during the use of the electronic device 100 (such as audio data, phone book, etc.). In addition, the internal memory 121 can include high-speed random access memory, and can also include non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0079] In some embodiments, the internal memory 121 is used to store the image data of an image when the electronic device 100 takes a picture. Among them, the image data includes pixel data and image attributes. Alternatively, the internal memory 121 is used to update the image attributes corresponding to the image adjustment options when the electronic device modifies the image attributes.

[0080] The camera 193 is used to take pictures, videos, etc. The camera 193 captures an image of a spatial straight line through an internal image sensor (such as a CMOS or CCD sensor), converts light into an electrical signal, and generates a corresponding digital image.

[0081] In some embodiments, the electronic device 100 turns on the camera 193 to display a shooting interface.

[0082] The shooting interface includes a preview image and adjustment items for multiple image attributes. The shooting interface can support the user's adjustment operations on one or more adjustment items; optionally, the shooting interface can also support the display change of the preview image according to the user's adjustment operations on one or more adjustment items.

[0083] The electronic device 100 can implement audio functions through the speaker, receiver, microphone, headphone jack, and application processor in the audio module 170. For example, music playback, recording, etc.

[0084] The ambient light sensor 180L is used to detect the ambient light conditions during shooting.

[0085] In some embodiments, when the electronic device 100 starts the shooting function, the ambient light sensor 180L can detect the light intensity, color temperature, and other relevant light characteristics of the surrounding environment in real time, and is used to adjust the display effect of the preview image on the shooting interface before the adjustment operation, such as dynamically adjusting the brightness or saturation of the preview image, so that the image effect previewed by the user is closer to the real physical environment before the adjustment operation.

[0086] The touch sensor 180K, also known as the "touch panel". The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also known as a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can transmit 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. In some other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, in a different position from the display screen 194.

[0087] In some embodiments, the touch screen can detect one or more operations of the user, such as an adjustment operation for an adjustment item, an adjustment operation for an adjustment control, a selection operation for an image adjustment option, a shooting operation, or an operation in response to pulling up a reference image list.

[0088] Based on Figure 3 When implementing the image acquisition method in the embodiments of the present application based on the electronic device 100 shown, the display screen 194 of the electronic device 100 displays a shooting interface. The touch screen responds to an adjustment operation for at least one adjustment item to adjust image attributes, such as saturation, color temperature, or light and shadow. The processor 110 obtains a first image attribute by running an instruction stored in the internal memory 121, and obtains a second preview image according to the first image attribute. Then, the display screen 194 displays the second preview image, thereby allowing the user to flexibly adjust the image attributes of the preview image on the shooting interface of the electronic device, enhancing the interactivity between the user and the electronic device. In addition, the internal memory 121 of the electronic device 100 is used to store image data. Among them, the image data includes pixel data and image attributes. For example, the image attributes can be encapsulated in exchangeable image file format (EXIF) data.

[0089] In some embodiments, based on Figure 3 When implementing the image acquisition method in the embodiments of the present application based on the electronic device 100 shown, the display screen 194 of the electronic device 100 displays a shooting interface and a reference image list including at least one reference image. The processor 110 obtains a second image attribute of the first reference image by running an instruction stored in the internal memory 121, and obtains a third preview image according to the second image attribute. The display screen 194 displays the third preview image on the shooting interface. In addition, the internal memory 121 of the electronic device 100 is used to store image data. Among them, the image data includes pixel data and image attributes. For example, the image attributes can be encapsulated in EXIF data.

[0090] The electronic device provided in the embodiments of the present application can run an operating system (OS), and the operating system can be various operating systems applied in the industry, such as an operating system developed based on OpenHarmony, such as HarmonyOS; or other operating systems such as Android TM , iOS TMMobile operating systems; they can also be various open-source operating systems or their derivative operating systems, such as Linux OS, and other embedded operating systems, etc.; they can also be future new operating systems, such as operating systems based on artificial intelligence (AI). An operating system is a set of interrelated system software programs that manage and control the operations of an electronic device, utilize and run hardware and software resources, and provide public services to organize user interactions. The operating system connects to the physical devices in the hardware layer downward in the electronic device and provides a running environment for application software upward.

[0091] An operating system generally can include: a kernel layer, a middleware layer, and an application layer. The application layer includes application programs, and the application programs can include system application programs and third-party application programs. The middleware layer includes a series of software that provides various services to application developers, or a framework for providing various services such as databases, multimedia, and graphics, or provides various capabilities such as distributed scheduling and system expansion. Exemplarily, the middleware layer can include a framework layer and / or a system service layer. The framework layer provides application programming interfaces (APIs) and programming frameworks for the application programs in the application layer. The system service layer includes a set of core capabilities of the system and provides services to application programs through the framework layer. The kernel layer is the layer between the hardware and the software. The kernel layer can include hardware drivers and the operating system kernel. In addition to providing hardware drivers, the kernel layer also supports functions such as memory management and system process management.

[0092] Electronic devices come in various types and forms, and the scenarios in which electronic devices are applied are also very extensive. Therefore, based on the different forms and functions of electronic devices, different application scenarios, and different user requirements, the operating systems applied to electronic devices may also be different. The basic functions implemented by the electronic devices provided in this application can be achieved through a general operating system or a dedicated operating system. To more clearly introduce the implementation of the embodiments of this application under a specific operating system, the following shows the architecture of HarmonyOS. Those skilled in the art can deduce the implementation of the embodiments of this application under other specific operating systems accordingly, such as under Android TM and other operating systems.

[0093] Figure 4 Shows the software structure block diagram of the electronic device 100 according to the embodiments of this application. In some embodiments, such as Figure 4As shown in the figure, the software architecture of the electronic device can be divided into several layers, which are, from bottom to top: the kernel layer, the system service layer, the framework layer, and the application layer. The layers communicate with each other through software interfaces. The system functions can be trimmed, added, or combined according to the subsystem granularity in the deployment scenarios of different device forms, and each subsystem can be further trimmed, added, or combined according to the function granularity.

[0094] The Kernel Abstract Layer (KAL) provides basic kernel capabilities to the upper layer by shielding the differences between multiple kernels, including but not limited to process / thread management, memory management, file system, network management, and peripheral management.

[0095] The kernel subsystem supports the selection of a suitable OS kernel for different resource-constrained devices, not limited to the Linux kernel, HarmonyOS kernel, LiteOS (Lite Operating System), etc.

[0096] The driver framework of the driver subsystem is the basis for the opening of the system hardware ecosystem, providing unified peripheral access capabilities and a driver development and management framework. The driver framework includes: display driver, camera driver, audio driver, Bluetooth driver, sensor driver, etc.

[0097] The system service layer includes a set of core capabilities of the system and provides services to application programs through the framework layer. This layer includes a set of subsystems, but is not limited to the following parts:

[0098] The system basic capabilities subsystem set provides basic capabilities for the operation, scheduling, migration, etc. of distributed applications on multiple devices; the system basic capabilities subsystem set can include a distributed soft bus, distributed data management, distributed task scheduling, and the Ark multi-language runtime; it also includes a multi-mode input subsystem, a graphics subsystem, a security subsystem, an AI service subsystem, etc.

[0099] The basic software service subsystem set provides common and general software services; the basic software service subsystem set can include an event notification subsystem, a telephone service subsystem, a multimedia subsystem, etc.

[0100] The enhanced software service subsystem set provides differentiated and enhanced software services for different devices; the enhanced software service subsystem set can include a smart screen proprietary service subsystem, a wearable proprietary service subsystem, an IoT proprietary service subsystem, etc.

[0101] The hardware service subsystem set provides hardware services; the hardware service subsystem set may include a location service subsystem, a user IAM (Identity and Access Management) subsystem, a wearable proprietary hardware service subsystem, biometric identification, an IoT proprietary hardware service, and other subsystems.

[0102] Distributed task scheduling can implement distributed service management (discovery, synchronization, registration, invocation), and support operations such as remote startup, remote invocation, remote connection, and migration of applications across devices.

[0103] Distributed data management can implement data synchronization, data storage, data sharing, and data access functions across the entire scenario and across devices.

[0104] The distributed soft bus provides communication-related capabilities for seamless interconnection between multiple devices, including: WLAN service capabilities, Bluetooth service capabilities, soft bus, inter-process communication RPC (Remote Procedure Call), and SparkLink and other communication capabilities.

[0105] The Ark multi-language runtime is a unified compilation and runtime platform designed to support joint compilation and runtime of multiple programming languages and multiple chip platforms.

[0106] The framework layer provides application programming interfaces (APIs) and programming frameworks for application programs in the application layer. The framework layer includes the ArkUI framework (the ArkUI framework provides a complete infrastructure for UI development of system applications, including UI functions such as components, layouts, animations, and interaction events, as well as a real-time interface preview tool), the user program framework, and the Ability framework (Ability is a lightweight application program, and the Ability framework schedules and manages the operation and life cycle of Ability). The operating systems installed on different devices may vary, and the APIs they support may also vary.

[0107] The HarmonyOS API is a series of open capabilities provided to support HarmonyOS application development. The HarmonyOS API can be set in the framework layer or independently of the framework layer. The HarmonyOS API includes the Audio API (audio service), the Push API (push service), the Account API (account service), etc.

[0108] The application can include system applications and extended applications / third-party applications. System applications can include the desktop, control bar, settings, contacts, phone, camera, etc., and extended applications / third-party applications can include social applications, travel applications, etc.

[0109] Based on Figure 4 When implementing the image acquisition method in the embodiments of the present application on the electronic device 100 shown, the electronic device can provide an image application program that can take pictures and / or an application program that can implement the function of taking pictures for the user based on the application program layer, such as a camera. After entering the image shooting, the electronic device obtains the first image attribute based on the multimedia subsystem of the framework layer. The electronic device obtains the second preview image based on the multimedia subsystem of the framework layer or the system service layer according to the first image attribute. Then, the electronic device displays the second preview image on the shooting interface through the display screen based on the display driver of the application program layer and the kernel layer.

[0110] In the embodiments of the present application, Figure 2 The user interaction interface 201 in the electronic device 100 shown corresponds to the above-mentioned Figure 4 shown application layer, Figure 2 The image adjustment engine 202 in the electronic device 100 shown corresponds to the above-mentioned Figure 4 shown framework layer, Figure 2 The rendering module 203 in the electronic device 100 shown corresponds to the above-mentioned Figure 4 shown framework layer or system service layer.

[0111] Hereinafter, taking a mobile phone with the above structure as an example of the electronic device, the image acquisition method provided in the embodiments of the present application will be described in conjunction with the accompanying drawings. As Figure 5 shown, the method may include the following steps S501 - S502.

[0112] S501. The electronic device displays a shooting interface.

[0113] Among them, the shooting interface includes a first preview image (such as a picture or video, etc.) and adjustment items for multiple image attributes, etc. The first preview image is a real-time preview image of the camera, enabling the user to adjust the image attributes and take pictures according to the display effect of the preview image.

[0114] In some embodiments, the electronic device enables the image acquisition function according to the user's operation, displays the shooting interface, and then displays the first preview image on the shooting interface. For example, the electronic device responds to the user's operation of opening the camera application (APP), enables the image acquisition function, turns on the camera to capture an image, and then displays the first preview image on the shooting interface. For another example, the electronic device responds to the user's voice input operation, enables the image acquisition function, turns on the camera to capture an image, and then displays the first preview image on the shooting interface.

[0115] Exemplarily, in response to the user's selection operation on the camera APP icon 600 as shown in (a) of Figure 6 , the electronic device displays the initial shooting interface (which can also be referred to as the shooting preview interface), as shown in (b) of Figure 6 . Among them, the initial shooting interface 101 includes a preview image 102 (i.e., the first preview image).

[0116] As Figure 6 shown in (b), the initial shooting interface further includes a shooting style 601 (which can also be referred to as a personalized style) option. In response to the user's click operation on the shooting style 601 option as shown in (b) of Figure 6 , the electronic device displays the shooting interface as shown in (c) of Figure 6 . At this time, the shooting interface includes a preview image 102 and adjustment items for multiple image attributes. Figure 6 In (c), the case where the electronic device defaults to the first shooting style after the user clicks the shooting style 601 option is taken as an example for introduction. In some embodiments, after the user clicks the shooting style 601 option, the electronic device can also display a shooting style list for the user to select a shooting style from.

[0117] Referring to Figure 6 in (c), the adjustment items 103 for multiple image attributes included on the shooting interface 101 may include adjustment items for one or more of the following image attributes: saturation, color temperature, or light and shadow. In some embodiments, light and shadow include image attribute adjustments in two dimensions: lightness and exposure. The adjustment item is used to represent the control or option on the shooting interface for adjusting the image attribute, and is used to adjust the image attribute, including but not limited to the saturation adjustment item, the color temperature adjustment item, or the light and shadow adjustment item, etc. For example, the saturation adjustment item is used to adjust the saturation of the preview image, the color temperature adjustment item is used to adjust the warm and cold tones of the preview image, and the light and shadow adjustment item is used to adjust the lightness and exposure of the preview image. The adjustment functions implemented by the adjustment item in the embodiments of the present application are not limited.

[0118] In the embodiments of the present application, on the shooting interface displayed by the electronic device, there are a preview image and multiple image attribute adjustment items, enabling users to flexibly adjust image attributes through multiple adjustment items and intuitively view the shooting effects after adjustment, so as to more easily adjust to the ideal shooting effects, improving the user's shooting experience and interactivity.

[0119] In some embodiments, as Figure 6 shown in (c) of

[0120] As an example, please refer to Figure 7 , Figure 7 taking the shooting style as the first shooting style as an example, several schematic diagrams of the layout of the color palette are shown.

[0121] Referring to Figure 7 (a) of

[0122] Figure 7 In (a), the horizontal direction of the color palette 103 is used to indicate the color temperature adjustment axis. From the leftmost end to the rightmost end of the color palette, the color temperature gradually transitions from blue representing cold tones to yellow representing warm tones. In some embodiments, the color palette supports users to adjust the color temperature by swiping left and right. The specific form of the color adjustment operation for the color palette in the embodiments of the present application is not limited. The vertical direction on the left side of the color palette 103 is used to indicate the saturation adjustment axis. In some embodiments, saturation can also be referred to as the degree of gray and vividness. From the topmost end to the bottommost end of the color palette, the saturation gradually transitions from gray with low saturation to bright colors with high saturation, so as to realize the saturation adjustment by swiping up and down on the left side of the color palette. The vertical direction on the right side of the color palette is used to indicate the light and shadow adjustment axis. In some embodiments, the color palette may further include an adjustment bar 700 for adjusting the light and shadow of the preview image, so as to realize the light and shadow adjustment by swiping up and down on the right side of the color palette. Through the design of the color palette on the shooting interface, the layout of warm and cold, gray and vivid colors is realized, with the vertical direction from blue to yellow representing warm and cold adjustment, and the up and down direction representing gray and vivid adjustment, realizing a unique multi-dimensional color adjustment interaction design, enabling users to intuitively and conveniently slide on the color palette to adjust image attributes such as the color temperature, saturation, and light and shadow of the preview image, significantly improving the efficiency of image adjustment and the user's interaction experience, and meeting the needs of users' personalized creation.As an example of a possible layout of the color palette, in a possible implementation, the adjustment bar 700 can also exist independently of the color palette 103. The color temperature can be adjusted by swiping left and right on the color palette, the saturation can be adjusted by swiping up and down on the left side of the color palette, and the light and shadow can be adjusted by swiping up and down on the adjustment bar. The adjustment bar is separately set for adjusting the brightness, color, exposure, etc. of the picture. This interactive method, which is independent and collaborative with other adjustment dimensions of the color palette, enhances the flexibility of the interaction.

[0123] In some embodiments, the color palette includes adjustment items for multiple image attributes. By performing adjustment operations on multiple adjustment items on the color palette, the image attributes of the preview image can be adjusted, ensuring that the desired image shooting effect is achieved.

[0124] In the embodiments of the present application, the electronic device also provides multiple shooting styles, including but not limited to one or more shooting styles such as the standard shooting style, the film shooting style, the romantic shooting style, or the anime shooting style. These shooting styles provide users with diverse creative starting points, and users can quickly select the appropriate shooting style according to their shooting themes and emotional expression needs.

[0125] Among them, the standard shooting style is the initial style when the electronic device turns on the image acquisition function and displays the shooting interface. At this time, no adjustment operations for any image attributes are performed. Each shooting style has a different background color (or called tone) and an initial image attribute combination.

[0126] In some embodiments, when the electronic device turns on the image acquisition function and displays the shooting interface, the shooting interface can be defaultly displayed in the standard shooting style.

[0127] In some embodiments, after the electronic device displays the shooting interface, it can use image processing algorithms, image recognition algorithms, computer vision technologies, etc. to generate and display the first preview image according to the real shooting environment data collected by the sensor. In this way, the user is allowed to manually adjust the saturation, color temperature, or light and shadow of the default display effect to meet the user's personalized creative needs.

[0128] For example, by obtaining the original red, green, and blue (RGB) image data from the sensor and using a color space conversion algorithm, etc. to convert it to the hue, saturation, value (HSV) color space, the image attributes such as saturation, color temperature, and light and shadow can be accurately extracted. Among them, the color temperature is determined according to the camera's detection of the ambient light and the calculation result of the white balance algorithm.

[0129] For example, the image recognition algorithm may include AI classification algorithms such as neural network algorithms and pattern recognition algorithms, as well as other recognition algorithms. The feature extraction algorithm may include various methods such as feature extraction methods based on static images (such as the holistic method or the local method), or feature extraction methods based on dynamic video images (such as the optical flow method, the model method, or the geometric method). The embodiments of the present application do not limit the types of image processing algorithms such as image recognition algorithms and feature extraction algorithms.

[0130] S502. In response to an adjustment operation for at least one adjustment item, the electronic device obtains a first image attribute and displays a second preview image on the shooting interface according to the first image attribute.

[0131] After the electronic device displays the shooting interface, it can respond to the adjustment operations for each adjustment item, update the display effect of the preview image on the shooting interface, enable the user to intuitively see the shooting effect after the image attribute is adjusted, so as to achieve precise image color adjustment. This enhances the interactivity of the shooting interface, improves the flexibility of the user to adjust the image color, and meets the needs of the user's personalized creation.

[0132] Among them, the adjustment operation is used to represent the operation performed by the user on the adjustment item of the image attribute, such as sliding on the color palette, sliding the adjustment bar, clicking on a certain position within the color palette area, etc. The present application does not limit the specific form of the adjustment operation. For example, the adjustment operation may be an adjustment operation for the saturation adjustment item, which is used to adjust the saturation of the first preview image in the shooting interface.

[0133] In some embodiments, in response to an adjustment operation for at least one adjustment item, the electronic device may perform corresponding display changes on the color palette according to the change of the image attribute corresponding to the adjustment operation. The electronic device reflects the display change of the image attribute on the color palette in real time according to the adjustment operation of the user on the adjustment item, such as light and shadow, saturation or color temperature, etc., enabling the user to intuitively perceive the adjustment effect of the image, improving the adjustment efficiency and accuracy, and thus enhancing the convenience of the user operation.

[0134] Exemplarily, by sliding up and down the adjustment bar to perform light and shadow adjustment, the color palette correspondingly performs light and shadow display changes. For example, if the user slides the adjustment bar from top to bottom and darkens the light and shadow display effect of the preview image, the display change of the color palette will also become darker accordingly. By sliding on the color palette to perform saturation and color temperature adjustment, the color palette correspondingly performs saturation and color temperature display changes. For example, if the user slides the color palette from left to right and warms the color temperature display effect of the preview image, the display change of the color palette will also become warmer accordingly. If the user slides the color palette from bottom to top and makes the saturation display effect of the preview image more vivid, the display change of the color palette will also become more vivid accordingly.

[0135] In some embodiments, in response to a user's adjustment operation on at least one adjustment item, the electronic device can prominently display an adjustment control according to the adjustment operation on the adjustment control corresponding to the adjustment item. By prominently displaying the adjustment control, the user can more intuitively, clearly, and conveniently adjust the image attributes of the current preview image, improving the interactivity of the user interface.

[0136] In some embodiments, in response to a user's adjustment operation on an adjustment control corresponding to at least one adjustment item (such as color temperature, saturation, or light and shadow), according to the adjustment operation, the electronic device prominently displays one or more of the following: the adjustment controls corresponding to the color temperature adjustment item, the saturation adjustment item, and the light and shadow adjustment item, respectively, so that the corresponding adjustment controls on the shooting interface are more prominent, facilitating the user's adjustment operation and improving the interactivity of the user interface.

[0137] In a possible implementation, referring to Figure 7 (b) in, in response to a user's adjustment operation on the adjustment control corresponding to the saturation adjustment item, according to the adjustment operation, the electronic device increases the sizes of the adjustment controls corresponding to the color temperature adjustment item, the saturation adjustment item, and the light and shadow adjustment item, respectively, so that the adjustment controls on the shooting interface are more prominent, facilitating the user's adjustment operation and improving the interactivity of the user interface.

[0138] The above-mentioned ways for the electronic device to prominently display the adjustment control according to the adjustment operation include, but are not limited to, one or more of increasing the size of the adjustment control, highlighting, etc. The embodiments of the present application do not limit the ways of prominently displaying the adjustment control.

[0139] In some embodiments, when prominently displaying the adjustment control, the electronic device can shrink the color palette. Referring to Figure 7 (b) in, in response to a user's adjustment operation on an adjustment control corresponding to at least one adjustment item, according to the adjustment operation, the electronic device prominently displays the adjustment controls corresponding to the color temperature adjustment item, the saturation adjustment item, and the light and shadow adjustment item, respectively. Correspondingly, the electronic device shrinks the color palette to adapt to the display size of the shooting interface. That is, the electronic device prominently displays the adjustment control (such as increasing the size of the adjustment control) by occupying a part of the original area of the color palette, thereby shrinking the size of the color palette. In this way, while prominently displaying the adjustment control, the color palette is shrunk, enabling the user to more clearly identify the adjustment control being currently operated, improving the accuracy and efficiency of adjustment. At the same time, shrinking the color palette makes the entire shooting interface more concise, enhancing the user's experience.

[0140] In some other embodiments, when prominently displaying the adjustment control, the electronic device can keep the display size of the color palette unchanged, and the enlarged adjustment control can be displayed covering the color palette.

[0141] In addition, the electronic device can also display the overall adjustment values corresponding to the adjustment items of multiple image attributes (such as color temperature, saturation, or light and shadow), which facilitates the storage, transmission, etc. of the adjustment values. Among them, the overall adjustment value can reflect the values of multiple image attributes, and the overall adjustment value can change in real time according to the adjustment operation of the user on the adjustment item. Continue to refer to Figure 6 In (c) of Figure 6 , in the dial 602 composed of the adjustment items of multiple image attributes, the adjustment values corresponding to the adjustment items of each image attribute are 10, 05, and 05 respectively. Therefore, the electronic device correspondingly displays the combination 100505 of this group of adjustment values at the position 603 in the upper right corner of the shooting interface, and this combination is the overall adjustment value. Or, the adjustment values corresponding to the adjustment items of multiple image attributes are 14, 05, and 08 respectively, and the electronic device correspondingly displays the combination 140508 of this group of adjustment values in the upper right corner of the shooting interface, and this combination is the overall adjustment value.

[0142] In the embodiments of the present application, after obtaining the image attributes, the electronic device can save the image attributes. In some embodiments, after obtaining the image attributes, the electronic device can temporarily save (or called memorize) the obtained image attributes in the local storage space. In some embodiments, the electronic device can permanently save the obtained image attributes in the local storage space in response to the save operation for the image attributes.

[0143] Exemplarily, refer to Figure 8 , the electronic device displays the navigation list 802 in response to the user's operation on the option 800. The electronic device permanently saves the obtained image attributes in the local storage space in response to the user's selection of the "Save as Preset" option in the navigation list 802.

[0144] Among them, the local storage space is used to store image data. Among them, the image data includes pixel data and image attributes. The image data has a file directory structure to facilitate the management and quick retrieval of image attributes. In some embodiments, after the electronic device turns on the image acquisition function, a dedicated storage space is opened up. In other embodiments, after the electronic device responds to the save operation for the image attributes, a dedicated storage space is opened up.

[0145] In some embodiments, the image attributes are saved in the storage space in the form of a preset data structure, so as to realize the function of saving the adjusted image attributes, including the technical logic and data storage method for saving. For example, the image attributes can be encapsulated in the Exchangeable Image File Format (EXIF) data.

[0146] Among them, the data structure includes various image attributes (or color parameters) corresponding to the adjustment operations of the electronic device for the adjustment items, such as saturation value, color temperature value, light and shadow value, as well as information such as the offset of the color temperature and the change value of the saturation determined by the adjustment operation on the color palette. These image attributes are saved completely to ensure that the image color style set by the user can be accurately restored during subsequent calls.

[0147] In addition, the preset data structure will also contain some descriptive information. For example, the custom name for the image attribute (if the user does not name it, the electronic device automatically generates a default name), the save time, and the brief description (which the user can add by themselves for easy recollection of the style features in the future), etc. These descriptive information helps the user quickly find the one they need among the many saved image attributes.

[0148] Among them, each group of image attributes corresponds to an identifier. The electronic device obtains the identifier corresponding to this group of image attributes in response to the save operation for the image attributes. Exemplarily, the identifier can be a random string or digital code generated based on information such as the timestamp and the user operation sequence. Through the identifier, the electronic device can accurately distinguish different custom styles, call different image attributes, and avoid data confusion.

[0149] During the process of the electronic device saving the image attributes, data verification is performed to ensure the integrity and accuracy of the data. If an error occurs during the writing process, such as insufficient storage space, file system failure, etc., the electronic device can display prompt message 2 to the user, timely feedback the error information to the user, and provide corresponding solutions, such as cleaning up the storage space, etc.

[0150] In some embodiments of the present application, the electronic device can display corresponding image adjustment options according to the image attributes and the shooting styles corresponding to the image attributes. Among them, each shooting style can correspond to a group of default image attributes. As Figure 8 (a) shows, the first shooting style can include the image adjustment option 801 corresponding to the image attribute 1.

[0151] In some embodiments, the electronic device can, in response to the save operation for the image attributes, display new image adjustment options according to the image attributes and the shooting styles corresponding to the image attributes. The user can select among the many image adjustment options to achieve the display effect they want. For example, the image adjustment options can be displayed in the form of a list or thumbnails on the shooting interface. The user can quickly find the display effect they want to use by browsing the list or viewing the thumbnails.

[0152] Exemplarily, the electronic device responds to, for example Figure 8The "Save as Preset" option of the navigation list 802 shown in (b) in [description] will, according to the image attributes and the shooting styles corresponding to the image attributes, newly display an image adjustment option 803 as shown in (c) in [description]. Figure 8 in (c) in [description].

[0153] In a possible implementation, referring to Figure 8 in (c) in [description], the electronic device may display a prompt message 3 to prompt the user of the newly added image adjustment option. For example, display the prompt message "New preset has been added".

[0154] In a possible implementation, the number of image adjustment options that the electronic device can display is less than or equal to a preset threshold. Exemplarily, if the number of image adjustment options is greater than the preset threshold, the electronic device may display a prompt message 1 to prompt the user that the image adjustment options are full, and prompt the user to select an old preset style to replace the new preset style, etc., so as to ensure that the user can flexibly and effectively manage their image adjustment options.

[0155] Again exemplarily, if the number of image adjustment options is greater than the preset threshold, the electronic device may hide the image adjustment options corresponding to the old preset style and display the image adjustment options corresponding to the newly added shooting style, so that the user can slide left and right to view all shooting styles, ensuring that the user can flexibly select image adjustment options.

[0156] The following describes the operation process of the electronic device calling the image adjustment options displayed according to the image attributes and the shooting styles corresponding to the image attributes during the shooting selection process.

[0157] Continuing to refer to Figure 8 , the electronic device displays a first preview image corresponding to a first shooting style. The electronic device responds to the "Save as Preset" option of the navigation list 802 shown in (b) in [description] and obtains the first image attributes. The electronic device displays a first image adjustment option 803 according to the first image attributes and the first shooting style corresponding to the first image attributes. During shooting, the electronic device responds to the user's selection operation on the first image adjustment option 803 shown in (c) in [description] and displays a second preview image shown in (d) in [description] on the shooting interface. Figure 8 in (b) in [description], obtains the first image attributes. The electronic device displays a first image adjustment option 803 according to the first image attributes and the first shooting style corresponding to the first image attributes. During shooting, the electronic device responds to the user's selection operation on the first image adjustment option 803 shown in (c) in [description] and displays a second preview image shown in (d) in [description] on the shooting interface. Figure 8 in (c) in [description], and displays a second preview image shown in (d) in [description] on the shooting interface. Figure 8 in (d) in [description].

[0158] By displaying image adjustment options according to image attributes and corresponding shooting styles, during the user's daily shooting process, when it is necessary to call the saved image attributes, the user only needs to select the corresponding image adjustment option in the shooting interface of the camera application, and the preview image corresponding to the selected image adjustment option can be displayed on the shooting interface, enabling the user to intuitively preview the adjustment effect, improving the shooting efficiency, and enhancing the interactivity of the shooting interface. The entire calling process is fast and efficient, ensuring that the user can quickly switch to their favorite style during shooting and enhancing the shooting experience.

[0159] In some embodiments, the electronic device can, in response to a selection operation for the first image adjustment option, obtain the corresponding image attribute according to the identifier corresponding to the image attribute, and display a preview image according to the selected image attribute and the shooting style corresponding to the image attribute.

[0160] To facilitate the user's management of the saved display effects, the user can perform operations such as renaming, deleting, and editing descriptive information on the saved display effects. The electronic device, in response to the user's operation on the image adjustment option corresponding to the display effect, correspondingly updates the image attributes and descriptive information stored in the local storage space.

[0161] In some embodiments, for the case where the shooting interface includes a color palette, the color palette can support one or more operations such as adjusting the color temperature by swiping left and right, adjusting the saturation by swiping up and down on the left side of the color palette, and adjusting the light and shadow by swiping up and down on the right side of the color palette. The adjusted display effect is fed back to the shooting interface in real time, enabling the user to immediately see the impact of color changes on the picture, forming an intuitive visual feedback, facilitating the user to further fine-tune the camera preview area according to the actual effect, and ensuring an ideal creative effect.

[0162] Exemplarily, in response to the user swiping left on the color palette, the display effect of the first preview image will undergo corresponding display changes, such as increasing the proportion of cool color components such as blue tones, making the preview image as a whole present a cooler color tone effect, creating an atmosphere such as tranquility, coldness, mystery, etc. In response to the user swiping right on the color palette, the display effect of the first preview image will undergo corresponding display changes, such as increasing the proportion of warm color components such as yellow tones, making the display effect of the first preview image tend to be warm, showing an atmosphere such as warmth, vitality, enthusiasm, etc. In response to the user swiping up on the left side of the color palette, the display effect of the preview image will undergo corresponding display changes, reducing the saturation of the colors of the preview image, making the picture gradually turn gray, creating a visual effect of retro, elegant, and soft, which is often used to represent themes such as literature and nostalgia. In response to the user swiping down on the left side of the color palette, the saturation of the colors of the preview image is increased, making the picture more colorful and eye-catching, suitable for highlighting the vitality and visual impact of the picture. For example, when shooting scenes such as landscapes and flowers, it can enhance the attractiveness of the picture. This intuitive interface interaction method allows users to easily achieve precise adjustment of warm and cool color tones without understanding complex color theory knowledge, only relying on the intuitive feeling of the colors of the preview image, enhancing the interactivity between the user and the electronic device.

[0163] In some embodiments, the electronic device can also respond to the user's re - adjustment and re - saving of a certain saved display effect. According to the identifier corresponding to the image attribute, the electronic device obtains the image attribute, overwrites the original image attribute with the new image attribute and descriptive information, and realizes the update of the style data. At the same time, the electronic device retains a certain record of historical versions (which can be retained according to user settings or system default rules) so that users can revert to the previously saved display effect when needed.

[0164] In some embodiments, when the electronic device displays the second preview image, it can also respond to the shooting operation, shoot an image and save the first image data of the second preview image. Among them, the first image data includes the first image attribute. The previously saved display effect is immediately applied during shooting, and the adjusted first image data is shot and saved, improving the shooting efficiency and accuracy and meeting the user's need for saving personalized image attributes.

[0165] Among them, the first image data includes pixel data and image attributes. For example, the image attributes can be encapsulated in the Exchangeable Image File Format (EXIF) data.

[0166] Exemplarily, after the electronic device obtains the first image attribute, according to the EXIF standard, it encodes and encapsulates multiple image attributes. Among them, the EXIF standard defines a series of data structures and tags for storing image attributes. The electronic device maps these image attributes to appropriate EXIF tags. For example, a custom extended tag can be defined to accurately record the image attributes. Then, the electronic device can save the first image data, and write the EXIF data of the encapsulated first image data together with the pixel data into the image file, ensuring that each image taken with this function carries accurate EXIF data related to the color style.

[0167] In some embodiments, by immediately saving the image data with image attributes, the electronic device can support applying the image attributes obtained from the captured images to new shootings subsequently. In this way, the user can call the mechanism and method of the saved style at any time during daily shooting and apply the selected image data to the shooting screen.

[0168] For example, referring to Figure 9 S901 - S903 in [reference], the electronic device displays a shooting interface. The shooting interface includes a first preview image. In response to an operation of pulling up a reference image list (such as clicking a certain button, gesture operation, or voice input, etc.), the electronic device displays a reference image list including at least one reference image. Among them, at least one reference image includes a first reference image. In response to a selection operation for the first reference image, the electronic device obtains the second image attribute of the first reference image and displays a third preview image on the shooting interface according to the second image attribute. The second image attribute includes one or more of the following: saturation, color temperature, or light and shadow.

[0169] In this way, after the user selects an image, the electronic device obtains the image attributes corresponding to the selected image, thereby realizing the adjustment of image attributes such as the saturation, color temperature, or light and shadow of the preview image. After that, the electronic device updates the preview image in real time, and the user can see the shooting effect after applying the second image attribute in real time, making it easier to make satisfactory display effect adjustments. Moreover, the user can quickly learn from existing or other people's shooting styles, greatly improving the shooting efficiency and enhancing the flexibility of creation. At the same time, different style elements are integrated, inspiring new creative inspirations and optimizing the shooting effect.

[0170] Among them, the reference image is an image with image attributes saved or imported by the user and is used as a reference for the shooting style. The second image attribute refers to the image attributes carried by the selected reference image. The third preview image is a real-time preview image after applying the second image attribute.

[0171] In a possible implementation, the second image data of the first reference image that the electronic device can obtain includes pixel data and Exchangeable Image File Format (EXIF) data, and the EXIF data includes second image attributes. By encapsulating image attributes in the image data, it is possible to support the mechanism and method for the user to call the saved styles at any time during shooting and apply them to the shooting scene, etc., so as to achieve learning from existing or others' shooting styles, greatly improving the shooting efficiency and enhancing the flexibility of creation.

[0172] In a possible implementation, the electronic device can obtain the image attributes of the first reference image by learning based on an AI algorithm. The embodiments of the present application do not limit the manner and specific process for the electronic device to obtain image attributes.

[0173] In some embodiments, in response to a selection operation on the first reference image, after obtaining the second image attributes of the first reference image, the electronic device can perform format recognition and verification on the image data to ensure that it is an image file format that meets the requirements (such as common JPEG, PNG, etc.). After confirming that the image data format is correct, the electronic device can parse the EXIF data according to the rules of the EXIF standard and read the EXIF data. By parsing the tag structure in the EXIF information, the previously written image attributes such as saturation, color temperature, and light and shadow can be accurately extracted.

[0174] In some embodiments, during the process of reading the EXIF data, in order to ensure the accuracy and integrity of the EXIF data, the electronic device can also adopt a variety of data verification mechanisms. For example, use the checksum field in the EXIF data to verify the read image data. If it is found that the image data is incorrect or incomplete, the electronic device can perform some error correction algorithms for repair. For example, for some damaged EXIF data blocks, the electronic device can make reasonable inferences and repairs based on the content of adjacent data blocks and the specifications of the EXIF standard to ensure the reliability of subsequent image data learning.

[0175] As an example, if the image data obtained by the electronic device is the image data saved after previous color adjustment, the electronic device can directly read the image attributes such as saturation, color temperature, or light and shadow from the EXIF data; if the image data obtained by the electronic device is downloaded from other channels, the electronic device can convert the format of the image data into a format including image attributes such as saturation, color temperature, and light and shadow to ensure that its image data is converted into an image attribute format suitable for the color palette of the present invention.

[0176] In some implementations, after obtaining the second image attribute of the first reference image, the electronic device may display corresponding second image adjustment options according to the EXIF data and the second shooting style corresponding to the second image attribute. For example, the electronic device may determine the shooting style corresponding to the image attribute of the image according to the image data and the preset color palette classification rules, and add the second image adjustment options generated based on the image attribute to the corresponding shooting style.

[0177] In a possible implementation, the electronic device may determine the image attribute relationship between multiple image adjustment options corresponding to a shooting style according to an algorithm, and determine the arrangement order of the multiple image adjustment options on the shooting interface according to the image attribute relationship between the multiple image adjustment options, so as to display the new image adjustment options in a smooth and reasonable manner, avoid conflicts or sudden style changes, and facilitate the user's switching operation between the image adjustment options.

[0178] In a possible implementation, the electronic device may, according to the user's operation of selecting a newly added image adjustment option, update the display effect of the color palette in real time, and present the newly added display effect to the user in a visual manner, so that the user can intuitively see the position of the newly added image adjustment option.

[0179] In some embodiments, the electronic device may display a third preview image in response to a selection operation on the second image adjustment option. The second image adjustment option accurately reflects the EXIF data and the second shooting style corresponding to the second image attribute. When the user selects the second image adjustment option on the shooting interface, the adjustment effect can be previewed in real time, enhancing the flexibility and personalization of shooting.

[0180] Exemplarily, referring to Figure 10 , taking the electronic device as an example to display the first preview image shown in (a) in Figure 10 on the shooting interface according to the image attribute 1 of the first shooting style, the electronic device responds to the user's operation of clicking the "Import Preset" option in the navigation list 802 on the shooting interface, and displays Figure 10 the reference image list shown in (b). The reference image list includes multiple reference images. The electronic device responds to the user's selection operation on the second reference image in the reference image list, and obtains the second image attribute of the reference image. The electronic device displays the corresponding second image adjustment option 1000 shown in Figure 10 (c) according to the second image attribute and the second shooting style corresponding to the second image attribute. After that, the electronic device responds to the selection operation on the second image adjustment option 1000, and displays the third preview image shown in Figure 10 (d) according to the second image attribute and the second shooting style corresponding to the second image attribute.

[0181] Figure 10 The electronic device displays the second image attribute and the second shooting style corresponding to the second image attribute according to the second image attribute. Figure 10 (c) and updates the preview image according to the user's selection operation for the second image adjustment option 1000. In some embodiments, after obtaining the second image attribute of the reference image, the electronic device may also directly update the preview image according to the second image attribute and the second shooting style corresponding to the second image attribute.

[0182] After the electronic device displays the third preview image corresponding to the first shooting style, it can further respond to the modification operation on the second image attribute and update the image attribute corresponding to the second image adjustment option. The modification operation includes one or more of the following operations: modifying saturation, modifying color temperature, and modifying light and shadow. In this way, it is allowed to independently and flexibly adjust multiple dimensions such as saturation, color temperature, and light and shadow under the same shooting style, rather than being limited to a fixed shooting style, which greatly expands the creative space.

[0183] In some embodiments, the electronic device may also support the user's adjustment operation on one or more image attributes of the image in the gallery, and modify the display of the image according to the user's adjustment operation on the one or more image attributes; optionally, the electronic device may also modify and save the image data of the image according to the user's adjustment operation on the one or more image attributes. For specific methods, please refer to the description of the adjustment of image attributes during the shooting process.

[0184] In the image acquisition method of the above embodiment, the user can flexibly adjust the image properties of the preview image on the shooting interface of the electronic device, such as the user can independently and flexibly adjust from multiple dimensions such as saturation, color temperature, light and shadow. In this way, the color style of the image can be accurately controlled, and by accurately adjusting the color properties, the color of the picture can be made more vivid, natural, and coordinated, avoiding problems such as color deviation, thereby improving the color quality of the image and making the work more visually attractive.

[0185] At the same time, the electronic device can update the preview image on the shooting interface in real time according to the user's adjustment operation on at least one adjustment item, so that the user can intuitively see the display effect of the image attribute adjustment, thereby more accurately controlling the image attributes until a satisfactory effect is achieved.

[0186] In addition, the above method can enhance the interactivity between the user and the electronic device. The color palette provides adjustment items including saturation, color temperature, light and shadow, etc., and the user can flexibly adjust according to personal needs to meet the needs of personalized creation.

[0187] In addition, it is unique and innovative in the camera application market, which can attract more users to use it, enhance the user stickiness and market share of the application. By paying attention to users' in-depth needs for color style adjustment and providing comprehensive and convenient functions, it helps to stand out in the highly competitive market, establish a good brand image, and lay a foundation for the development and promotion of the application.

[0188] It can be understood that in order to implement the above functions, the electronic device includes the corresponding hardware and / or software modules for executing each function. Combining the algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to exceed the scope of the present application.

[0189] This embodiment can divide the functional modules of the electronic device according to the above method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, only a logical function division, and there may be other division methods in actual implementation.

[0190] The embodiment of the present application also provides a computer-readable storage medium. Computer program code is stored in the computer storage medium. When the above processor executes the computer program code, the electronic device executes the relevant method steps in the above method embodiment.

[0191] The embodiment of the present application also provides a computer program product. When the computer program product runs on a computer, it causes the computer to execute the relevant method steps in the above method embodiment.

[0192] Among them, the electronic device, computer storage medium, or computer program product provided by the present application is all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be elaborated here.

[0193] Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and simplicity of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0194] In several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical or other forms.

[0195] The units described as separate components may or may not be physically separated. The components displayed as units can be one physical unit or multiple physical units, that is, they can be located in one place, or they can be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0196] In addition, in each embodiment of this application, the functional units can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

[0197] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, in essence, or the part that makes a contribution, or all or part of this technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods described in the embodiments of this application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read only memory (ROM), random access memory (RAM), magnetic disks or optical discs that can store program codes.

[0198] The above content is only the specific implementation manner of this application, but the protection scope of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims

1. An image acquisition method, characterized in that: Applied to electronic equipment, the method comprises: Displaying a shooting interface, the shooting interface including a first preview image and a plurality of adjustment items for image attributes, the plurality of image attributes including one or more of the following: saturation, color temperature, or light and shadow; In response to an adjustment operation on at least one of the adjustment items, a first image attribute is acquired, and a second preview image is displayed on the shooting interface according to the first image attribute.

2. The method according to claim 1, characterized in that The shooting interface includes a color palette, which supports the user to adjust the color temperature by sliding left and right, adjust the saturation by sliding up and down on the left side of the color palette, and adjust the light and shadow by sliding up and down on the right side of the color palette.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: A corresponding display change is performed on the color palette according to the change of the image attribute corresponding to the adjustment operation.

4. The method according to any one of claims 1 to 3, characterized in that: The shooting interface includes adjustment controls corresponding to the adjustment items of the plurality of image attributes respectively, and the method further includes: The adjustment control is prominently displayed according to an adjustment operation on the adjustment control, and the prominent display includes increasing the size.

5. The method according to claim 4, characterized in that The method further comprises: When the adjustment control is prominently displayed, the color palette is reduced.

6. The method according to any one of claims 1 to 5, characterized in that: The displaying a second preview image on the shooting interface according to the first image attribute includes: displaying a first image adjustment option according to the first image attribute and a first shooting style corresponding to the first image attribute; In response to a selection operation on the first image adjustment option, the second preview image is displayed on the shooting interface.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: When the second preview image is displayed, in response to a photographing operation, an image is photographed and first image data of the image is saved, the first image data including the first image attribute.

8. The method according to claim 7, characterized in that The first image data includes pixel data and Exchangeable Image File Format (EXIF) data, and the EXIF ​​data includes the first image attribute.

9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: In response to an operation of pulling up the reference image list, displaying the reference image list including at least one reference image, the at least one reference image including the first reference image; In response to a selection operation on the first reference image, a second image attribute of the first reference image is acquired, and a third preview image is displayed on the shooting interface according to the second image attribute.

10. The method according to claim 9, characterized in that The second image attribute includes one or more of the following: saturation, color temperature, or light and shadow.

11. The method according to claim 9 or 10, characterized in that: The acquiring the second image attribute of the first reference image includes: Second image data of the first reference image is acquired, where the second image data includes pixel data and Exchangeable Image File Format (EXIF) data, and the EXIF ​​data includes the second image attribute.

12. The method according to any one of claims 9 to 11, characterized in that: After acquiring the second image attribute of the first reference image, the method further includes: Displaying corresponding second image adjustment options according to the EXIF ​​data and the second shooting style corresponding to the second image attribute; The displaying a third preview image on the shooting interface according to the second image attribute includes: In response to a selection operation on the second image adjustment option, the third preview image is displayed.

13. The method according to claim 12, characterized in that The method further comprises: In response to a modification operation on the second image attribute, the image attribute corresponding to the second image adjustment option is updated, and the modification operation includes one or more of the following operations: modifying saturation, modifying color temperature, and modifying light and shadow.

14. An image acquisition method, characterized in that: Applied to electronic equipment, the method comprises: Displaying a shooting interface, wherein the shooting interface includes a first preview image; In response to an operation of pulling up the reference image list, displaying the reference image list including at least one reference image, the at least one reference image including the first reference image; In response to a selection operation on the first reference image, a second image attribute of the first reference image is acquired, and a third preview image is displayed on the shooting interface according to the second image attribute.

15. The method according to claim 14, characterized in that The second image attribute includes one or more of the following: saturation, color temperature, or light and shadow.

16. The method according to claim 14 or 15, characterized in that The acquiring the second image attribute of the first reference image includes: Second image data of the first reference image is acquired, where the second image data includes pixel data and Exchangeable Image File Format (EXIF) data, and the EXIF ​​data includes the second image attribute.

17. The method according to any one of claims 14 to 16, characterized in that: After acquiring the second image attribute of the first reference image, the method further includes: Displaying corresponding second image adjustment options according to the EXIF ​​data and the second shooting style corresponding to the second image attribute; The displaying a third preview image on the shooting interface according to the second image attribute includes: In response to a selection operation on the second image adjustment option, the third preview image is displayed.

18. The method according to claim 17, characterized in that The method further comprises: In response to a modification operation on the second image attribute, the image attribute corresponding to the second image adjustment option is updated, and the modification operation includes one or more of the following operations: modifying saturation, modifying color temperature, and modifying light and shadow.

19. An electronic device, characterized in that: include: A display screen, a memory, and one or more processors; the display screen and the memory are coupled to the processor; wherein the display screen is used to display a shooting interface, the memory stores a computer program code, and the computer program code includes computer instructions, and when the computer instructions are executed by the processor, the electronic device executes the image acquisition method as described in any one of claims 1 to 13, or the electronic device executes the image acquisition method as described in any one of claims 14 to 18.

20. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on an electronic device, enable the electronic device to execute the image acquisition method as described in any one of claims 1 to 13, or enable the electronic device to execute the image acquisition method as described in any one of claims 14 to 18.

21. A computer program product, characterized in that When the computer program product runs on a computer, the computer is enabled to execute the image acquisition method according to any one of claims 1 to 13, or the electronic device is enabled to execute the image acquisition method according to any one of claims 14 to 18.

Citation Information

Patent Citations

  • Control method and terminal

    CN106506945A

  • Picture shooting methods, terminal and server

    CN107026966A

  • Photographing method and device

    CN107277377A

  • Shooting method, equipment, computer readable storage medium and program product

    CN113852755A

  • Image processing method and device, electronic equipment and readable storage medium

    CN114327166A

Cited By

  • Image acquisition method and electronic device

    WO2026184086A1