CN114697515A - Method and device for collecting image and readable storage medium - Google Patents

Method and device for collecting image and readable storage medium Download PDF

Info

Publication number
CN114697515A
CN114697515A CN202011583715.6A CN202011583715A CN114697515A CN 114697515 A CN114697515 A CN 114697515A CN 202011583715 A CN202011583715 A CN 202011583715A CN 114697515 A CN114697515 A CN 114697515A
Authority
CN
China
Prior art keywords
color style
target
scene
color
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011583715.6A
Other languages
Chinese (zh)
Inventor
王倩
荀嘉斌
赵煜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011583715.6A priority Critical patent/CN114697515A/en
Publication of CN114697515A publication Critical patent/CN114697515A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image

Abstract

The disclosure relates to a method and a device for acquiring images and a readable storage medium. Applied to electronic equipment, the method comprises the following steps: when a color style setting request is detected, determining a target color style corresponding to a target scene according to the target scene included in the color style request; and when a shooting instruction is received, acquiring an image containing a first object to be acquired under the target color style. Therefore, the target color style can be determined by receiving the color style setting request containing the target scene, the setting operation of the color style is simplified, the color style setting efficiency is improved, and the image acquisition experience of a user is improved. In addition, the first object to be collected is superposed with the target color style in the shooting process to obtain the image, so that more original data of the image is reserved, and the expansibility is stronger when image processing is carried out in the later period.

Description

Method and device for collecting image and readable storage medium
Technical Field
The present disclosure relates to the field of image processing technologies, and in particular, to a method and an apparatus for acquiring an image, and a readable storage medium.
Background
With the development of image processing technology, people have more ideas and requirements on beautifying images, so that a large number of images with different color styles are continuously emerging. The color style refers to the overall effect of the color matching of the image. When images of different objects are collected, the color styles selected by people are different due to different collected objects. In the related art, after the image is captured, an image editing software is usually used to manually edit an image to change the overall effect of the image. For example, the sharpness of a video is manually edited to make the edited video clearer.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and an apparatus for capturing an image, and a readable storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for capturing an image, applied to an electronic device, including:
when a color style setting request is detected, determining a target color style corresponding to a target scene according to the target scene included in the color style request;
and when a shooting instruction is received, acquiring an image containing a first object to be acquired under the target color style.
Optionally, the method further comprises:
displaying a color style setting function key through a display interface of the electronic equipment;
and generating the color style setting request in response to the detected touch operation of the color style setting function key.
Optionally, when the color style setting request is detected, determining a target color style corresponding to the target scene according to the target scene included in the color style request includes:
when a color style setting request is detected, inquiring the corresponding relation between the scene and the color style so as to determine the target color style corresponding to the target scene.
Optionally, when the color style setting request is detected, determining a target color style corresponding to the target scene according to the target scene included in the color style request, further including:
when a color style setting request is detected, determining the color style input by the user as a target color style corresponding to the target scene under the condition that the target scene does not exist in the corresponding relation between the scene and the color style.
Optionally, the color style setting request includes a target image, and when the color style setting request is detected, determining a target color style corresponding to a target scene included in the color style request according to the target scene, including:
when a color style setting request is detected, identifying a scene corresponding to the target image, and determining the scene as a target scene;
and identifying and extracting the color style of the target image from the target image, and determining the color style as the target color style corresponding to the target scene.
Optionally, before the capturing an image including a first object to be captured in the target color style upon receiving the shooting instruction, the method further includes:
displaying a first object to be acquired under the target color style;
when a request for adjusting the color style is received, adjusting the target color style according to an adjustment value included in the request for adjusting the color style;
and displaying the first object to be acquired under the adjusted target color style.
Optionally, the method further comprises:
establishing communication connection with other electronic equipment;
and sending the target scene and the target color style to other electronic equipment, so that the other electronic equipment performs image acquisition on a second object to be acquired matched with the target scene by using the target color style.
Optionally, the color styles include, but are not limited to: saturation index, sharpness index, contrast index, highlight index, shadow index, color temperature index, hue index, white balance index.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for capturing an image, which is applied to an electronic device, including:
the determining module is configured to determine a target color style corresponding to a target scene according to the target scene included in a color style request when the color style setting request is detected;
and the acquisition module is configured to acquire an image containing a first object to be acquired under the target color style when a shooting instruction is received.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for capturing an image, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a color style setting request is detected, determining a target color style corresponding to a target scene according to the target scene included in the color style request;
and when a shooting instruction is received, acquiring an image containing the first object to be acquired under the target color style.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the method of acquiring images provided by the first aspect of the present disclosure.
By adopting the technical scheme, the target color style corresponding to the target scene is determined through the target scene included in the color style setting request, and when the shooting instruction is received, the image containing the first object to be collected is collected under the target color style. Therefore, the target color style can be determined by receiving the color style setting request containing the target scene, the setting operation of the color style is simplified, and the color style setting efficiency is improved. In addition, the first object to be collected is superposed with the target color style in the shooting process to obtain the image, so that more original data of the image is reserved, and the expansibility is stronger when image processing is carried out in the later period.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of acquiring an image according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating another method of capturing imagery in accordance with an exemplary embodiment.
FIG. 3 is a flow chart illustrating another method of capturing imagery in accordance with an exemplary embodiment.
FIG. 4 is a flow chart illustrating another method of capturing imagery in accordance with an exemplary embodiment.
FIG. 5 is a schematic diagram illustrating a camera display interface in accordance with an exemplary embodiment.
Fig. 6 is a block diagram illustrating an apparatus for capturing imagery in accordance with an exemplary embodiment.
Fig. 7 is a block diagram illustrating an apparatus for acquiring imagery in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the related products, although the preview and the photograph can be performed while setting the color style, in the process of setting the color style, fine parameters related to the color style need to be debugged one by one to obtain the final color style, and thus, higher learning cost is required. In addition, in related products, the color style setting entry is arranged at a deep setting level, and a user can enter the color style setting interface for parameter adjustment by multiple operations, so that the operation obstacles of the user are increased by switching operations among levels. In addition, the color style setting entry is hidden, so that the cognitive disorder exists in the user. Therefore, in related products, the color style cannot be set efficiently, and the experience of capturing images by a user is poor.
In view of this, the present disclosure provides a method and an apparatus for acquiring an image, and a readable storage medium, so as to simplify the color style setting operation, improve the color style setting efficiency, and improve the user experience of acquiring an image.
Fig. 1 is a flowchart illustrating a method of acquiring an image, as shown in fig. 1, for an electronic device, according to an exemplary embodiment, including the following steps.
In step S11, upon detection of the color style setting request, a target color style corresponding to the target scene is determined from the target scene included in the color style request.
In the present disclosure, before a user collects an image of an object to be detected, a color style setting request for requesting setting of a color style of the image may be input to the electronic device. The color style setting request may include a target scene, which may be a scene corresponding to the first object to be captured, input by the user. In addition, the video referred to in the present disclosure may be an image or a video.
Further, the color styles may include, but are not limited to: saturation index, sharpness index, contrast index, highlight index, shadow index, color temperature index, hue index, white balance index.
In step S12, upon receiving the photographing instruction, an image including the first object to be captured is captured in the target color style.
For example, the electronic device may automatically generate the shooting instruction after determining the target color style, and thus, the electronic device may receive the shooting instruction after determining the target color style. For example, when the user confirms that the target color style matches the first object to be captured, that is, the user is more satisfied with the current display effect of the first object to be captured, a shooting instruction may be input to the electronic device, for example, the shooting instruction may be sent to the electronic device by touching a shooting function key in the electronic device or by voice. For example, the electronic device may capture an image containing the first object to be captured in the target color style when receiving the shooting instruction.
By adopting the technical scheme, the target color style corresponding to the target scene is determined through the target scene included in the color style setting request, and when the shooting instruction is received, the image containing the first object to be collected is collected under the target color style. Therefore, the target color style can be determined by receiving the color style setting request containing the target scene, the setting operation of the color style is simplified, and the color style setting efficiency is improved. In addition, the first object to be collected is superposed with the target color style in the shooting process to obtain the image, so that more original data of the image is reserved, and the expansibility is stronger when image processing is carried out in the later period.
In order to make those skilled in the art better understand the method for acquiring an image provided by the embodiments of the present disclosure, the following describes a method for acquiring an image in a complete embodiment.
In the present disclosure, the electronic device executing the method for capturing an image is equipped with an image capturing device capable of capturing an image including a first object to be captured, and when receiving a shooting instruction, the electronic device can control the image capturing device to capture the image including the first object to be captured in a target color style. And, this electronic equipment still has the display interface. Accordingly, as shown in fig. 2, the method for capturing an image may further include steps S13 and S14 in addition to the steps S11 and S12.
In step S13, a color style setting function key is displayed through a display interface of the electronic device.
In the present disclosure, the color style setting function key may be preset on the display interface, or may be a function key displayed in a floating window form based on the triggering of the user to serve as an entry for setting the color style.
In step S14, a color style setting request is generated in response to detection of a touch operation on the color style function key.
In one embodiment, a user may send a color style setting request to an electronic device of an electronic device through a color style setting function key displayed on a display interface of the electronic device. When the electronic device detects the touch operation on the color style function key, it generates a color style setting request, so that the electronic device can detect the color style setting request and further execute step 11 and step S12 in fig. 1.
For example, the electronic device may be a mobile phone, the image capturing device may be a camera on the mobile phone, and a color style setting function key is disposed on a display interface of the camera. Therefore, after the user opens the camera, the user can touch the color style setting function key on the display interface of the camera, so that the mobile phone generates a color style setting request. In this way, the electronic device may generate the color style setting request according to the touch operation on the color style setting function key, and then execute step 11 and step S12 in fig. 1.
In another embodiment, the electronic device automatically generates the color style setting request when detecting that the camera is turned on. Also, the target scene included in the color style setting request may be a scene corresponding to a scene in the camera view range recognized by the electronic device. The electronic equipment can detect whether the camera is started or not by utilizing the related technology and identify the scene corresponding to the scene. The present disclosure does not specifically limit this.
By adopting the scheme, the color style setting function key is displayed on the display interface of the electronic equipment by means of the technology of a camera and a bottom layer BSP (Board Support Package), so that a user can conveniently and quickly find an entrance for setting the color style, and the color style setting efficiency is further improved.
In addition, in order to facilitate the user to confirm in real time whether the target tint is matched with the first object to be captured, after the target tint corresponding to the target scene is determined in step 11, the first object to be captured may be displayed in the target tint. For example, as shown in fig. 2, the method for capturing an image may further include step S15.
In step S15, the first object to be captured is displayed in the target color style.
After the target color style is determined, the electronic device may display the first object to be captured in the target color style, so that the user may preview the target color style in the electronic device to confirm whether the target color style is matched with the first object to be captured, that is, to confirm whether the current display effect of the first object to be captured is satisfied.
The display interface of the electronic device can also be used for displaying the first object to be acquired under the target color style, so that a user can browse the display effect of the first object to be acquired after the target color style is superposed, and can input a shooting instruction when the display efficiency of the first object to be acquired is satisfactory, so that an image containing the first object to be acquired is acquired under the target color style, and the user experience of acquiring the image is improved.
Next, a specific embodiment will be described in which, when a color style setting request is detected in step S11 in fig. 1, a target color style corresponding to a target scene is determined from the target scene included in the color style request.
FIG. 3 is a flow chart illustrating another method of capturing imagery in accordance with an exemplary embodiment. As shown in fig. 3, step S11 in fig. 1 may include step S111.
In step S111, when a color style setting request is detected, the correspondence between the scene and the color style is queried to determine a target color style corresponding to the target scene.
In the embodiment shown in fig. 3, a corresponding relationship between a scene and a color style may be preset in the electronic device, and when the electronic device detects a color style setting request, the electronic device queries the corresponding relationship between the scene and the color style to determine a target color style corresponding to the target scene. For example, the electronic device is preset with a correspondence relationship between a character scene and a color style, a correspondence relationship between a landscape scene and a color style, a correspondence relationship between a building scene and a color style, and the like.
In this embodiment, the corresponding relationship between the preset scene and the color style is integrated, and when shooting, the user directly inputs the target scene, and the electronic device can determine the target color style corresponding to the target scene from the corresponding relationship between the scene and the color style. Therefore, the setting of the color style by the user is avoided, and the setting operation of the color style is further simplified.
In addition, in an embodiment, if the preset relationship between the scene and the color style does not have the target scene, the electronic device may further receive an editing operation of the color style by the user. For example, in a case where there is no target scene in the correspondence relationship between the scene and the color style, the color style input by the user is determined as a target color style corresponding to the target scene.
In this embodiment, if the target scene does not exist in the relationship between the preset scene and the color style, the electronic device may further receive a color style customized by the user, and determine the color style as the target color style corresponding to the target scene. The specific implementation of the user-defined color style may refer to the prior art, which is not specifically limited by this disclosure.
By adopting the technical scheme, if no target scene exists in the corresponding relation between the preset scene and the color style, the electronic equipment can also receive the user-defined color style, so that the flexibility of setting the color style is improved.
In addition, after the electronic device receives the color style input by the user, the electronic device can also store the color style input by the user in association with the target scene, and/or add the color style to the corresponding relationship between the scene and the color style to enrich the corresponding relationship between the scene and the color style, so that the electronic device can directly determine the target color style corresponding to the target scene when the target scene is input by the user next time.
FIG. 4 is a flow chart illustrating another method of capturing imagery in accordance with an exemplary embodiment. As shown in fig. 4, step S11 in fig. 1 may include step S112 and step S113.
In step S112, when the color style setting request is detected, a scene corresponding to the target video image is recognized, and the scene is determined as the target scene.
In step S113, the color style of the target video is extracted from the target video, and the color style is determined as a target color style corresponding to the target scene.
In the embodiment shown in fig. 4, the target image is included in the color style setting request, so that the electronic device can identify a scene corresponding to the target image from the target image, determine the scene as the target scene, extract the color style of the target image from the target scene, and determine the extracted color style as the target color style corresponding to the target scene. The recognition of the scene corresponding to the target image and the recognition of the color style of the extracted target image belong to the prior art, and the disclosure does not specifically limit this.
In the embodiment, the user does not directly input the target scene, but determines the scene corresponding to the target image as the target scene and the color style of the target image as the target color style, so that the user does not need to manually set the target color style, and the color style setting operation is simplified.
Likewise, after the target color style is extracted from the target video, the target scene and the extracted target color style may be stored in association, and/or the target scene and the extracted target color style may be added to the correspondence between the scene and the color style.
Illustratively, FIG. 5 is a schematic diagram illustrating a camera display interface according to an exemplary embodiment. As shown in fig. 5, in this example, a color style setting function key is set on the display interface of the camera, and the color style setting function key may include five function keys, which are, in order from left to right, a scene 1 function key, a scene 2 function key, a scene 3 function key, a custom function key, and an extraction function key. It should be noted that, in practical applications, a scene 4 function key, a scene 5 function key, and the like may also be included. The present disclosure does not specifically limit this. Further, the electronic device has a color style corresponding to each of scene 1, scene 2, and scene 3.
When detecting that the user touches a function key of the scene 1, the electronic device may generate a color style setting request including the scene 1, and the electronic device may acquire an image including a first object to be acquired in a target color style corresponding to the scene 1. When it is detected that the user touches a function key of scene 2, a color style setting request including the scene 2 may be generated, and the electronic device may acquire an image including a first object to be acquired in a target color style corresponding to the scene 2. And when detecting that the user touches a scene 3 function key, generating a color style setting request containing the scene 3, and acquiring an image containing the first object to be acquired by the electronic equipment under a target color style corresponding to the scene 3.
For example, when the user opens the camera, the display interface of the camera is as shown in fig. 5, where it is assumed that the first object to be captured in fig. 5 is a person and the scene 1 is a person scene, the user may cause the electronic device to generate a color style setting request including the person scene through touch operation of the function key of the scene 1, and determine the color style corresponding to the scene 1 as a target color style, so that the electronic device captures an image of the person in the target color style when receiving a shooting instruction.
In addition, as shown in fig. 5, the color style setting function key further includes a custom function key, and when the scene corresponding to the first object to be captured does not belong to any one of the scene 1, the scene 2, and the scene 3 displayed in the display interface, the user may touch the custom function key, so that the electronic device may display a color style parameter selection interface (not shown in fig. 5) so that the user may select a suitable parameter value for each parameter in the color style parameter selection interface, and after the user selects the parameter value, the electronic device may receive the color style input by the user, and further determine the color style as the target color style.
In addition, when the user wants to use the color style of a certain image as the color style of the first object to be captured, a captured image (i.e., the target image) may be displayed in the displayed display interface, and then the extraction function key is touched. When detecting that the user touches the extraction function key shown in fig. 5, the electronic device identifies a scene corresponding to a target image displayed in the current display interface and determines the scene as the target scene, and identifies and extracts a color style of the target image and determines the color style as a target color style corresponding to the target scene.
After the target color style is determined in any of the above manners, the first object to be captured may be displayed in the target color style.
In an embodiment, after the user browses the first object to be captured displayed in the target color style, if the display effect of the first object to be captured is considered to be not met, the target color style may be further adjusted. For example, when receiving a color style adjustment request input by a user, the electronic device adjusts the target color style according to an adjustment value included in the color style adjustment request, and displays the first object to be captured in the adjusted target color style.
In this embodiment, if the target color style is not satisfied, the target color style may be further adjusted, and after the adjustment, the user may further browse the first object to be captured displayed in the adjusted target color style, and if it is determined that the display effect of the first object to be captured meets the requirement, the adjustment is ended, and a shooting instruction is input, so that the electronic device captures an image including the first object to be captured in the adjusted target color style. If the display effect of the first object to be acquired is not considered to meet the requirement, the adjustment can be continued until the display effect of the first object to be acquired meets the requirement.
It should be noted that, when the user thinks that the display effect of the first object to be collected does not meet the requirement, the user can also touch the user-defined function key shown in fig. 5 to achieve user-defined adjustment of the color style parameters until the display effect of the first object to be collected meets the requirement.
In addition, the electronic device can also establish communication connection with other electronic devices, and send the target scene and the target color style to the other electronic devices, so that the other electronic devices perform image acquisition on the second object to be acquired matched with the target scene by using the target color style. The communication connection established between the electronic equipment and other electronic equipment can be wifi, Bluetooth, ZigBee and the like. The present disclosure does not specifically limit this. In addition, the second object to be acquired and the first object to be acquired may be the same or different. This disclosure is also not limited thereto.
It should be noted that, if the corresponding relationship between the scene and the color style is preset in the electronic device, the electronic device may further send the corresponding relationship between the scene and the color style to other electronic devices, so that the other electronic devices may also determine the target color style corresponding to the target scene based on the corresponding relationship between the scene and the color style.
Based on the same invention concept, the disclosure also provides a device for collecting images. Fig. 6 is a block diagram illustrating an apparatus for capturing an image applied to an electronic device according to an exemplary embodiment. Referring to fig. 6, the apparatus 600 for acquiring an image may include:
a determining module 601, configured to determine, when a color style setting request is detected, a target color style corresponding to a target scene included in the color style request according to the target scene;
the acquisition module 602 is configured to acquire an image containing a first object to be acquired in the target color style when receiving a shooting instruction.
Optionally, the apparatus further comprises:
the first display module is configured to display a color style setting function key through a display interface of the electronic equipment;
a generating module configured to generate the color style setting request in response to detecting a touch operation on the color style setting function key.
Optionally, the determining module 601 is configured to: when a color style setting request is detected, inquiring the corresponding relation between the scene and the color style so as to determine the target color style corresponding to the target scene.
Optionally, the determining module 601 is configured to: when a color style setting request is detected, determining the color style input by the user as a target color style corresponding to the target scene under the condition that the target scene does not exist in the corresponding relation between the scene and the color style.
Optionally, the color style setting request includes a target image, and the determining module 601 is configured to: when a color style setting request is detected, identifying a scene corresponding to the target image, and determining the scene as a target scene;
and identifying and extracting the color style of the target image from the target image, and determining the color style as the target color style corresponding to the target scene.
Optionally, the apparatus further comprises:
the second display module is used for displaying the first object to be acquired under the target color style;
the adjusting module is configured to adjust the target color style according to an adjusting value included in a color style adjusting request when the color style adjusting request input by a user is received;
and the third display module is configured to display the first object to be acquired under the adjusted target color style.
Optionally, the apparatus further comprises:
the establishing module is configured to establish communication connection with other electronic equipment;
the sending module is configured to send the target scene and the target color style to the other electronic equipment, so that the other electronic equipment performs image acquisition on a second object to be acquired, which is matched with the target scene, by using the target color style.
Optionally, the color styles include, but are not limited to: saturation index, sharpness index, contrast index, highlight index, shadow index, color temperature index, hue index, white balance index.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of capturing imagery provided by the present disclosure.
Fig. 7 is a block diagram illustrating an apparatus for acquiring imagery in accordance with an exemplary embodiment. For example, the apparatus may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 806 provides power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, audio component 810 includes a Microphone (MIC) configured to receive external audio signals when apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described method of capturing images.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform a method of acquiring an image is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned method of acquiring images when executed by the programmable apparatus.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1. A method for capturing images, applied to an electronic device, includes:
when a color style setting request is detected, determining a target color style corresponding to a target scene according to the target scene included in the color style request;
and when a shooting instruction is received, acquiring an image containing a first object to be acquired under the target color style.
2. The method of claim 1, further comprising:
displaying a color style setting function key through a display interface of the electronic equipment;
and generating the color style setting request in response to the detected touch operation of the color style setting function key.
3. The method according to claim 1, wherein the determining a target color style corresponding to a target scene from the target scene included in the color style request upon detecting the color style setting request comprises:
when a color style setting request is detected, inquiring the corresponding relation between the scene and the color style so as to determine the target color style corresponding to the target scene.
4. The method according to claim 3, wherein when the color style setting request is detected, determining a target color style corresponding to the target scene from the target scene included in the color style request, further comprising:
and when a color style setting request is detected, determining the color style input by the user as the target color style corresponding to the target scene under the condition that the target scene does not exist in the corresponding relation between the scene and the color style.
5. The method according to claim 1, wherein the color style setting request includes a target image, and the determining a target color style corresponding to a target scene included in the color style request according to the target scene when the color style setting request is detected comprises:
when a color style setting request is detected, identifying a scene corresponding to the target image, and determining the scene as a target scene;
and identifying and extracting the color style of the target image from the target image, and determining the color style as the target color style corresponding to the target scene.
6. The method according to any one of claims 1-5, wherein before said capturing an image containing a first object to be captured in the target color style upon receiving a capture instruction, the method further comprises:
displaying a first object to be acquired under the target color style;
when a request for adjusting the color style is received, adjusting the target color style according to an adjustment value included in the request for adjusting the color style;
and displaying the first object to be acquired under the adjusted target color style.
7. The method according to any one of claims 1-5, further comprising:
establishing communication connection with other electronic equipment;
and sending the target scene and the target color style to other electronic equipment, so that the other electronic equipment performs image acquisition on a second object to be acquired matched with the target scene by using the target color style.
8. The method according to any of claims 1-5, wherein the color styles include, but are not limited to: saturation index, sharpness index, contrast index, highlight index, shadow index, color temperature index, hue index, white balance index.
9. The utility model provides a device of gathering image which is applied to electronic equipment, includes:
the device comprises a determining module, a judging module and a display module, wherein the determining module is configured to determine a target color style corresponding to a target scene according to the target scene included in a color style setting request when the color style setting request is detected;
and the acquisition module is configured to acquire an image containing a first object to be acquired under the target color style when a shooting instruction is received.
10. An apparatus for capturing images, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a color style setting request is detected, determining a target color style corresponding to a target scene according to the target scene included in the color style request;
and when a shooting instruction is received, acquiring an image containing a first object to be acquired under the target color style.
11. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 8.
CN202011583715.6A 2020-12-28 2020-12-28 Method and device for collecting image and readable storage medium Pending CN114697515A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011583715.6A CN114697515A (en) 2020-12-28 2020-12-28 Method and device for collecting image and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011583715.6A CN114697515A (en) 2020-12-28 2020-12-28 Method and device for collecting image and readable storage medium

Publications (1)

Publication Number Publication Date
CN114697515A true CN114697515A (en) 2022-07-01

Family

ID=82129491

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011583715.6A Pending CN114697515A (en) 2020-12-28 2020-12-28 Method and device for collecting image and readable storage medium

Country Status (1)

Country Link
CN (1) CN114697515A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115633118A (en) * 2022-09-30 2023-01-20 联想(北京)有限公司 Data processing method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104853102A (en) * 2015-05-28 2015-08-19 网易传媒科技(北京)有限公司 Shooting processing method and device
US20160094824A1 (en) * 2014-09-25 2016-03-31 Sony Corporation Image processing method, image processing apparatus and electronic device
CN105812646A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Shooting method, shooting device, image processing method, image processing device, and communication system
CN106488134A (en) * 2016-11-18 2017-03-08 上海传英信息技术有限公司 The image pickup method of photo and mobile terminal
CN108337433A (en) * 2018-03-19 2018-07-27 广东欧珀移动通信有限公司 A kind of photographic method, mobile terminal and computer readable storage medium
CN110198408A (en) * 2018-02-24 2019-09-03 东斓视觉科技发展(北京)有限公司 Method for imaging and device
CN110351537A (en) * 2019-07-31 2019-10-18 深圳前海达闼云端智能科技有限公司 White balance method, device, storage medium and the electronic equipment of Image Acquisition
CN111383224A (en) * 2020-03-19 2020-07-07 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160094824A1 (en) * 2014-09-25 2016-03-31 Sony Corporation Image processing method, image processing apparatus and electronic device
CN105812646A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Shooting method, shooting device, image processing method, image processing device, and communication system
CN104853102A (en) * 2015-05-28 2015-08-19 网易传媒科技(北京)有限公司 Shooting processing method and device
CN106488134A (en) * 2016-11-18 2017-03-08 上海传英信息技术有限公司 The image pickup method of photo and mobile terminal
CN110198408A (en) * 2018-02-24 2019-09-03 东斓视觉科技发展(北京)有限公司 Method for imaging and device
CN108337433A (en) * 2018-03-19 2018-07-27 广东欧珀移动通信有限公司 A kind of photographic method, mobile terminal and computer readable storage medium
CN110351537A (en) * 2019-07-31 2019-10-18 深圳前海达闼云端智能科技有限公司 White balance method, device, storage medium and the electronic equipment of Image Acquisition
CN111383224A (en) * 2020-03-19 2020-07-07 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115633118A (en) * 2022-09-30 2023-01-20 联想(北京)有限公司 Data processing method and device

Similar Documents

Publication Publication Date Title
CN108419016B (en) Shooting method and device and terminal
CN107025419B (en) Fingerprint template inputting method and device
US20170032725A1 (en) Method, device, and computer-readable medium for setting color gamut mode
CN107426502B (en) Shooting method and device, electronic equipment and storage medium
CN108462833B (en) Photographing method, photographing device and computer-readable storage medium
CN107155060A (en) Image processing method and device
CN107015648B (en) Picture processing method and device
CN105631804A (en) Image processing method and device
CN107463052A (en) Shoot exposure method and device
CN107426489A (en) Processing method, device and terminal during shooting image
CN107347136A (en) Photographic method, device and terminal device
CN107885016B (en) Holographic projection method and device
CN106791563B (en) Information transmission method, local terminal equipment, opposite terminal equipment and system
CN105357449A (en) Shooting method and device, and image processing method and apparatus
CN109145878B (en) Image extraction method and device
CN105677352B (en) Method and device for setting application icon color
CN113364965A (en) Shooting method and device based on multiple cameras and electronic equipment
US10627996B2 (en) Method and apparatus for sorting filter options
CN108027821B (en) Method and device for processing picture
CN111614910B (en) File generation method and device, electronic equipment and storage medium
CN114697515A (en) Method and device for collecting image and readable storage medium
CN108924529B (en) Image display control method and device
CN106980781B (en) External equipment and control method and device of external equipment
CN111586296B (en) Image capturing method, image capturing apparatus, and storage medium
CN108769513B (en) Camera photographing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination