CN111901521A - Scene self-adaptive system, method and terminal based on image processing - Google Patents

Scene self-adaptive system, method and terminal based on image processing Download PDF

Info

Publication number
CN111901521A
CN111901521A CN202010595789.5A CN202010595789A CN111901521A CN 111901521 A CN111901521 A CN 111901521A CN 202010595789 A CN202010595789 A CN 202010595789A CN 111901521 A CN111901521 A CN 111901521A
Authority
CN
China
Prior art keywords
scene
image processing
adaptive
image data
adaptive adjusting
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.)
Granted
Application number
CN202010595789.5A
Other languages
Chinese (zh)
Other versions
CN111901521B (en
Inventor
黄勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Malio Technology Co ltd
Original Assignee
Shenzhen Malio Technology 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 Shenzhen Malio Technology Co ltd filed Critical Shenzhen Malio Technology Co ltd
Priority to CN202010595789.5A priority Critical patent/CN111901521B/en
Publication of CN111901521A publication Critical patent/CN111901521A/en
Application granted granted Critical
Publication of CN111901521B publication Critical patent/CN111901521B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/166Detection; Localisation; Normalisation using acquisition arrangements

Abstract

The invention discloses a scene self-adaptive system, a method and a terminal based on image processing, comprising the following steps: a data receiving unit for receiving original image data; the scene self-adaptive adjusting module is configured to be written with image processing parameters in advance and debug the original image data according to the image processing parameters written in advance to acquire target image data adaptive to the current scene; and the processor is used for starting and controlling the scene self-adaptive adjusting module. The image processing parameters are written into the scene self-adaptive adjusting module, the scene self-adaptive adjusting module debugs original image data based on the pre-written image processing parameters to obtain target image data adaptive to the current scene, and the effect of the image can be debugged to the optimal effect under the current scene.

Description

Scene self-adaptive system, method and terminal based on image processing
Technical Field
The invention relates to the technical field of biological identification, in particular to a scene self-adaptive system, a scene self-adaptive method and a scene self-adaptive terminal based on image processing.
Background
In the field of biological identification, an image is a very important part, and the quality of the image directly determines whether an algorithm can be successfully identified, and meanwhile, the experience of a user is also influenced. Generally, most processing methods for image processing are to adjust an image by embedding default parameters in a driver or in an ISP (image signal processor) module. The same parameter may affect multiple image indexes, tuning to a satisfactory effect may require many parameters to be tuned in coordination, and so on. However, the camera can face tens of millions of changes in external scenes when shooting video acquisition data, and for different scenes, the ISP module inside the chip defaults to use the same parameters, so that the effect of the image cannot be adjusted to the optimal effect in the current scene.
The above background disclosure is only for the purpose of assisting understanding of the inventive concept and technical solutions of the present invention, and does not necessarily belong to the prior art of the present patent application, and should not be used for evaluating the novelty and inventive step of the present application in the case that there is no clear evidence that the above content is disclosed at the filing date of the present patent application.
Disclosure of Invention
The present invention is directed to a scene adaptive system, method and terminal based on image processing, so as to solve at least one of the above-mentioned problems in the background art.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
a scene adaptation system based on image processing, comprising:
a data receiving unit for receiving original image data;
the scene self-adaptive adjusting module is configured to write image processing parameters in advance and debug the original image data according to the image processing parameters written in advance to acquire target image data adaptive to a current scene;
and the processor is used for starting and controlling the scene self-adaptive adjusting module.
In some embodiments, the processor is further configured to obtain metadata of the raw image data and correct the image processing parameters based on the obtained metadata to correspond the image processing parameters to the current metadata.
In some embodiments, the scene adaptive adjustment module includes a plurality of adaptive adjustment units, where different adaptive adjustment units store different image processing parameters, and the adaptive adjustment units modify the corresponding image processing parameter values.
In some embodiments, the metadata includes one or more of sensitivity, exposure amount, exposure ratio, and color temperature in combination, and the plurality of adaptive adjustment units include an ISO adaptive adjustment unit, an exposure amount adaptive adjustment unit, an exposure ratio adaptive adjustment unit, and a color temperature adaptive adjustment unit, correspondingly.
In some embodiments, the processor determines whether the corresponding image processing parameter is in a preset range or a preset value according to the sensitivity, the exposure amount, the exposure ratio and the color temperature monitored in real time, and if not, the processor controls the adaptive adjustment unit to correct the corresponding image processing parameter value so as to enable the image processing parameter value to correspond to the sensitivity, the exposure amount, the exposure ratio and the color temperature in the current scene.
In some embodiments, the system further comprises a scene determining unit, configured to determine an application mode of a scene; and the analysis unit analyzes a pre-stored configuration file according to the application mode to acquire image processing parameters.
The other technical scheme of the embodiment of the invention is as follows:
a scene self-adaptive method based on image processing comprises the following steps:
s60, acquiring original image data;
s61, writing the image processing parameters into a scene adaptive adjusting module, starting the scene adaptive adjusting module, and debugging the original image data by the scene adaptive adjusting module based on the pre-written image processing parameters to acquire target image data adaptive to the current scene.
In some embodiments, the method further comprises the steps of:
acquiring metadata of original image data, and correcting the image processing parameters based on the acquired metadata so that the image processing parameters correspond to the current metadata; wherein the metadata comprises one or more of sensitivity, exposure ratio and color temperature.
In some embodiments, the scene adaptive adjustment module includes a plurality of adaptive adjustment units, and the processor determines whether the corresponding image processing parameter is in a preset range or a preset value according to the sensitivity, the exposure amount, the exposure ratio, and the color temperature monitored in real time, and if not, the processor controls the corresponding adaptive adjustment unit to correct the corresponding image processing parameter value so as to make the corresponding image processing parameter value correspond to the sensitivity, the exposure amount, the exposure ratio, and the color temperature in the current scene.
The embodiment of the invention adopts another technical scheme that:
a terminal, comprising:
the data acquisition unit is used for acquiring original image data;
the data receiving unit is used for receiving the original image data acquired by the data acquisition unit;
the scene self-adaptive adjusting module is configured to be written with image processing parameters in advance, and debug the original image data according to the image processing parameters written in advance to acquire target image data adaptive to a current scene;
and the processor is used for starting and controlling the scene self-adaptive adjusting module.
The technical scheme of the invention has the beneficial effects that:
compared with the prior art, the method can debug the effect of the image to the optimal effect in the current scene; specifically, the image processing parameters are written into a scene self-adaptive adjusting module, and the scene self-adaptive adjusting module debugs original image data based on the pre-written image processing parameters to acquire target image data adaptive to the current scene; and by setting a plurality of different adaptive adjusting units, a plurality of image processing parameters can be debugged to adapt to different ISO, exposure, color temperature and exposure ratio, so that the effect of the finally obtained target image data is optimal in the current scene.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic block diagram of a scene adaptive system according to one embodiment of the invention.
Fig. 2 is a schematic block diagram of a scene adaptive system according to another embodiment of the present invention.
Fig. 3 is a flowchart illustration of a scene adaptation method based on image processing according to an embodiment of the present invention.
Fig. 4 is a functional block diagram of a terminal employing the method of fig. 3.
Fig. 5 is a schematic block diagram of a scene adaptive system according to yet another embodiment of the present invention.
FIG. 6 is a flowchart illustration of a scene adaptation method based on image processing according to yet another embodiment of the present invention.
Fig. 7 is a functional block diagram of a terminal employing the method of fig. 6.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the embodiments of the present invention more clearly apparent, the present invention is further described in detail below with reference to the accompanying drawings and the embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that when an element is referred to as being "secured to" or "disposed on" another element, it can be directly on the other element or be indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or be indirectly connected to the other element. The connection may be for fixation or for circuit connection.
It is to be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in an orientation or positional relationship indicated in the drawings for convenience in describing the embodiments of the present invention and to simplify the description, and are not intended to indicate or imply that the referenced device or element must have a particular orientation, be constructed in a particular orientation, and be in any way limiting of the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of the present invention, "a plurality" means two or more unless specifically limited otherwise.
Referring to fig. 1, fig. 1 is a schematic block diagram of a scene adaptive system based on image processing according to an embodiment of the present invention, where the system includes: the system comprises a data receiving unit, a parsing unit, a scene adaptive adjusting module and a processor.
The data receiving unit is used for receiving original image data. In one embodiment, a video and/or image of the current scene may be captured by a camera as raw image data. In general, a camera includes at least optical elements such as a lens and an image sensor. Specifically, a scene (a generic term for a target object in a scene) is projected onto an image sensor (CCD/CMOS) surface through an optical image generated by a lens of a camera to form RAW image data (i.e., RAW image data), and is transmitted to a data receiving unit of a scene adaptive system through a corresponding interface or system bus for subsequent image processing. In one embodiment, the camera may be a wide-angle lens, a micro-focus lens, a telephoto lens, or a fisheye lens, or may also be a 3D camera integrated in a structured-light, binocular, TOF, etc. based depth camera. The camera can be independent of the system or integrated in the system.
And the analysis unit is used for analyzing the pre-stored configuration file to acquire the image processing parameters.
And the scene self-adaptive adjusting module is used for debugging the original image data according to the image processing parameters to acquire target image data adaptive to the current scene.
And the processor is used for starting the scene self-adaptive adjusting module, configuring image processing parameters for the scene self-adaptive adjusting module and controlling the scene self-adaptive adjusting module.
In one embodiment, the scene adaptive system further comprises a storage unit for storing a configuration file. The storage unit may be a local memory, for example: a hard disk, but may also be implemented as an interface to external memory (e.g., cloud memory).
In one embodiment, the processor is further configured to obtain metadata of the original image data, and correct the image processing parameters based on the metadata so that the image processing parameters accurately correspond to the current metadata, thereby obtaining target image data adapted to the current scene. Wherein the metadata includes one or more of sensitivity (ISO), exposure ratio and color temperature. In one embodiment, the image processing parameters include: dynamic black level, Dynamic CCM (Color correction Matrix), DRC (Dynamic Range Compression), Dynamic DP (defective Pixel) correction, Dynamic CSC (Color Space Conversion), Dynamic 3DNR (3D Noise Reduction, three-dimensional Noise Reduction), WB (White Balance ), Dynamic gamma (gamma), Dynamic AE (automatic exposure control), Dynamic Shading correction, Dynamic demize (defogging), and WDR (wide Dynamic Range), and the like.
In one embodiment, the scene adaptive adjusting module includes a plurality of adaptive adjusting units corresponding to the metadata, and in the embodiment of the present invention, the plurality of adaptive adjusting units are respectively: an ISO adaptive adjusting unit, an exposure amount adaptive adjusting unit, an exposure ratio adaptive adjusting unit, and a color temperature adaptive adjusting unit. Since different image processing parameters have different sensitivities to changes in ISO, exposure ratio, color temperature, different adaptive adjustment units will be configured with and correct for different image processing parameters according to the settings of the configuration file. In one example, the image processing parameters to be configured by the ISO adaptive adjustment unit include: dynamic black level, dynamic CCM, dynamic DRC, dynamic DP correction, dynamic CSC, dynamic 3DNR, and WB; the image processing parameters to be configured by the exposure amount adaptive adjustment unit include: dynamic gamma, dynamic AE parameters, dynamic Shading correction, dynamic Dehaze, etc.; the image processing parameters to be configured by the exposure ratio adaptive adjustment unit include: WDR-related synthesis parameters; and the image processing parameters to be configured by the color temperature adaptive adjustment unit include: dynamic CSC.
In one embodiment, after the scene adaptive adjustment module is configured with the image processing parameters, the processor may determine whether the corresponding image processing parameters are in a preset range/a preset value according to the real-time monitored ISO, exposure ratio, and color temperature, if not, the processor may control the adaptive adjustment unit to correct the corresponding image processing parameter values so that the image processing parameter values accurately correspond to the ISO, exposure ratio, and color temperature in the current scene, and store and execute the corrected image processing parameters.
For ease of understanding, the following detailed description will be made of ISO, exposure amount, exposure ratio, and color temperature.
Sensitivity, also known as the ISO value, is an index that measures the degree of sensitivity of a film (image sensor) to light. For a less sensitive image sensor, it takes longer to expose to achieve the same imaging as the more sensitive image sensor. The ISO of the camera can be improved by improving the light sensitivity of the photosensitive device or combining several adjacent photosites. It should be noted that, in order to reduce the exposure time, the use of a relatively high sensitivity generally introduces more noise, resulting in a reduced image quality.
The exposure is determined by the sensitivity, the aperture and the exposure duration, different parameter combinations can generate equal exposure, and when a camera shoots an image, if the exposure is excessive, the image is too bright and the image details are lost; if underexposure occurs, the image is too dark and image detail is lost as well. Controlling the exposure is controlling the total luminous flux, i.e. the sum of the photons reaching the surface of the image sensor (CCD/CMOS) during the exposure.
The exposure ratio refers to the exposure time ratio of the long exposure time to the short exposure time of the image sensor when the image sensor collects the frame image. Specifically, when an image is acquired by the image sensor, multiple exposures, one long exposure and one short exposure are performed, and then the images of the two exposures are fused into a secondary image by using an image processing method, so that the Wide Dynamic Range (WDR) of the image is improved, wherein the wide dynamic range is the ratio of the brightest signal value which can be resolved by the image to the darkest signal value which can be resolved by the image.
Color temperature, which represents a unit of measurement including color components in light, and under different color temperatures, due to different spectral characteristics, a photographed picture often has color shift, for example, an image photographed under indoor tungsten lamp light tends to be yellow, and an image photographed at a sunlight shadow tends to be blue. If the photosensitive element (image sensor) has no self-adaptive function, the color of the shot image is distorted, and the satisfactory color under the original normal condition is difficult to achieve.
It should be understood that when the usage scene changes, the image processing parameters to be debugged are different in order to achieve the effect of the acquired target image data optimal for the current scene. Therefore, referring to fig. 2, in an embodiment, the scene adaptive system further includes a scene determining unit, configured to determine an application mode of the scene, and the parsing unit parses a pre-stored configuration file according to the application mode to obtain the image processing parameters.
In one embodiment, the application mode includes a face brushing mode, that is, target image data is used for face recognition, and correspondingly, an output mode of raw image data acquired by an image sensor in the camera is a WDR (wide dynamic range) mode. At this time, the image processing parameters acquired by the analysis unit according to the pre-stored configuration file in the face brushing mode include: dynamic black level, dynamic CCM, DRC, dynamic DP correction, dynamic CSC, dynamic 3DNR, WB, dynamic gamma, dynamic AE, dynamic Shading correction, dynamic Dehaze, WDR related synthesis parameters, etc. Correspondingly, according to the setting of the configuration file, the processor starts an ISO adaptive adjusting unit, an exposure value adaptive adjusting unit, an exposure ratio adaptive adjusting unit or a color temperature adaptive adjusting unit, and controls the adaptive adjusting unit to correct corresponding parameters according to metadata (including ISO, exposure value, exposure ratio and color temperature) so as to enable the parameters to accurately correspond to ISO, exposure value, exposure ratio and color temperature in the current scene.
In one embodiment, the application mode includes a code scanning mode, that is, the target image data is used for code scanning identification or payment, and correspondingly, the output mode of the raw image data collected by the image sensor in the camera is a linear mode. At this time, the image processing parameters acquired by the analysis unit according to the pre-stored configuration file in the face brushing mode include: dynamic black level, dynamic CCM, DRC, dynamic DP correction, dynamic CSC, dynamic 3DNR, WB, dynamic gamma, dynamic AE, dynamic Shading correction, and dynamic Dehaze. Correspondingly, according to the setting of the configuration file, the processor starts the ISO adaptive adjusting unit and the exposure adaptive adjusting unit, and controls the adaptive adjusting unit to correct the corresponding parameters according to the metadata (including ISO and exposure) so as to enable the parameters to accurately correspond to ISO and exposure in the current scene.
Referring to fig. 3, as an embodiment of the present invention, there is further provided a scene adaptive method based on image processing, and fig. 3 is a flowchart illustrating the scene adaptive method based on image processing according to the embodiment of the present invention, where the method includes the following steps:
s30, acquiring original image data;
s31, analyzing the pre-stored configuration file to obtain image processing parameters;
and S32, starting the scene adaptive adjusting module, configuring image processing parameters for the scene adaptive adjusting module, and debugging the original image data by the scene adaptive adjusting module based on the image processing parameters to acquire target image data adaptive to the current scene.
In some embodiments, the method further comprises the steps of:
acquiring, by a processor, metadata of original image data, and correcting image processing parameters based on the acquired metadata so that the image processing parameters accurately correspond to current metadata; wherein the metadata comprises one or more of sensitivity (ISO), exposure ratio and color temperature.
In some embodiments, the scene adaptive adjustment module includes a plurality of adaptive adjustment units corresponding to the metadata; and the processor judges whether the corresponding image processing parameter is in a preset range or a preset value according to the ISO, the exposure ratio and the color temperature monitored in real time, if not, the processor controls the corresponding adaptive adjusting unit to correct the corresponding image processing parameter value so as to enable the corresponding image processing parameter value to accurately correspond to the ISO, the exposure ratio and the color temperature in the current scene, and stores and executes the corrected image processing parameter. In the embodiment of the present invention, for example: the scene adaptive adjusting module comprises an ISO adaptive adjusting unit, an exposure ratio adaptive adjusting unit and a color temperature adaptive adjusting unit corresponding to the light sensitivity (ISO), the exposure ratio and the color temperature.
In some embodiments, the method further comprises the steps of:
the application mode of the scene is judged through the scene judging unit, and then the analysis unit analyzes the pre-stored configuration file according to the application mode to obtain the image processing parameters.
Specifically, the scene adaptive method based on image processing according to the embodiment of the present invention may be executed according to the aforementioned scene adaptive system, and specific implementation may refer to descriptions in the scene adaptive system, which is not described herein again.
Referring to fig. 4, as an embodiment of the present invention, a terminal is further provided, including a data acquisition unit, configured to acquire original image data; the data receiving unit is used for receiving the original image data acquired by the data acquisition unit; the analysis unit is used for analyzing a pre-stored configuration file to obtain an image processing parameter; the scene self-adaptive adjusting module is used for debugging the original image data according to the image processing parameters to acquire target image data adaptive to the current scene; and the processor is used for starting the scene self-adaptive adjusting module, configuring the image processing parameters to the scene self-adaptive adjusting module and controlling the scene self-adaptive adjusting module.
In one embodiment, the terminal may be a mobile phone, a tablet, a personal digital assistant, a wearable device (e.g., glasses, watch, etc.), and so on.
The Processor may be an ISP image Signal Processor, an AP Application Processor, or other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The image processing parameters are embodied in a configuration file mode, so that the image processing parameters can be modified and take effect at any time; moreover, by setting a plurality of different adaptive adjusting units, a plurality of image processing parameters can be adjusted to adapt to different ISO, exposure, color temperature and exposure ratio, so that the effect of the finally obtained target image data is optimal in the current scene; in addition, through setting of different application modes in the configuration file, such as a face brushing mode, a code scanning mode, and the like, when the scene is in a specific mode, parameters of the corresponding mode in the configuration file can be correspondingly analyzed, so that the corresponding adaptive adjusting unit can be selectively opened.
It should be understood that the image processing parameters may be pre-stored in a configuration file, and when the scene changes, the pre-stored image processing parameters may be parsed by calling the configuration file, and may be modified and validated at any time. In one embodiment, the image processing parameters may also be written directly to the scene adaptive adjustment module for processing.
Referring to fig. 5, as another embodiment of the present invention, there is provided an image processing-based scene adaptive system, including: a data receiving unit for receiving original image data; the scene self-adaptive adjusting module is configured to be written with image processing parameters in advance and debug the original image data according to the image processing parameters written in advance to acquire target image data adaptive to the current scene; and the processor is used for starting and controlling the scene self-adaptive adjusting module.
In an embodiment, the data receiving unit receives a video and/or image of the current scene captured by the camera as raw image data. In general, a camera includes at least optical elements such as a lens and an image sensor. Specifically, an optical image of a scene (a generic term for a target object in a scene) generated by a lens of a camera is projected onto an image sensor (CCD/CMOS) surface to form RAW image data (i.e., RAW image data) and transmitted to a data receiving unit of a scene adaptive system through a corresponding interface or system bus for subsequent image processing. In one embodiment, the camera may be a wide-angle lens, a micro-focus lens, a telephoto lens, or a fisheye lens, or may also be a 3D camera integrated in a structured-light, binocular, TOF, etc. based depth camera. The camera can be independent of the system or integrated in the system.
In one embodiment, the processor is further configured to obtain metadata of the original image data, and correct the image processing parameters based on the obtained metadata so that the image processing parameters accurately correspond to the current metadata, thereby obtaining target image data adapted to the current scene. Wherein the metadata comprises one or more of sensitivity (ISO), exposure ratio and color temperature.
In one embodiment, the image processing parameters include: dynamic black level, Dynamic CCM (Color correction matrix), DRC (Dynamic Range Compression), Dynamic DP (defectpicture) correction, Dynamic CSC (Color Space Conversion), Dynamic 3DNR (3 dnoil Reduction, three-dimensional noise Reduction), WB (White Balance), Dynamic gamma (gamma), Dynamic AE (automatic exposure control), Dynamic Shading correction, Dynamic demize (defogging), and WDR (Wide Dynamic Range) related synthesis parameters.
In one embodiment, the scene adaptive adjusting module includes a plurality of adaptive adjusting units corresponding to the metadata, and in the embodiment of the present invention, the plurality of adaptive adjusting units are respectively: an ISO adaptive adjusting unit, an exposure amount adaptive adjusting unit, an exposure ratio adaptive adjusting unit, and a color temperature adaptive adjusting unit. Since different image processing parameters have different sensitivities to changes in ISO, exposure amount, exposure ratio, and color temperature, different adaptive adjustment units store different image processing parameters. In one example, the image processing parameters stored in the ISO adaptive adjustment unit include: dynamic black level, dynamic CCM, dynamic DRC, dynamic DP correction, dynamic CSC, dynamic 3DNR, and WB; the image processing parameters to be stored in the exposure amount adaptive adjustment unit include: dynamic gamma, dynamic AE parameters, dynamic Shading correction, dynamic Dehaze, etc.; the image processing parameters stored in the exposure ratio adaptive adjustment unit include: WDR-related synthesis parameters; the image processing parameters stored in the color temperature adaptive adjustment unit include: dynamic CSC.
In one embodiment, the processor may determine whether the corresponding image processing parameter is in a preset range/is a preset value according to the real-time monitored ISO, exposure ratio, and color temperature, if not, the processor may control the adaptive adjustment unit to correct the corresponding image processing parameter value so that the corresponding image processing parameter value accurately corresponds to the ISO, exposure ratio, and color temperature in the current scene, and write the corrected image processing parameter value into the scene adaptive adjustment module to replace the previous image processing parameter, and execute the corrected image processing parameter.
In an embodiment, the system further includes a scene determining unit, configured to determine an application mode of the scene. When the scenes are in different application modes, the processor starts the corresponding adaptive adjusting units to debug the original image data so as to acquire target image data adaptive to the current scenes.
In one embodiment, the application mode includes a face brushing mode, that is, the target image data is used for face recognition, and correspondingly, the output mode of the raw image data collected by the image sensor in the camera is a WDR (wide dynamic range) mode. The image processing parameters at this time include: dynamic black level, dynamic CCM, DRC, dynamic DP correction, dynamic CSC, dynamic 3DNR, WB, dynamic gamma, dynamic AE, dynamic Shading correction, dynamic Dehaze, and WDR related synthesis parameters. Correspondingly, the processor starts the ISO adaptive adjusting unit, the exposure ratio adaptive adjusting unit and the color temperature adaptive adjusting unit, and controls the adaptive adjusting unit to correct corresponding parameters according to metadata (including ISO, exposure ratio and color temperature) so as to enable the parameters to accurately correspond to ISO, exposure ratio and color temperature in the current scene.
In one embodiment, the application mode is a code scanning mode, that is, the target image data is used for code scanning identification or payment, and correspondingly, the output mode of the raw image data collected by the image sensor in the camera is a linear mode. The image processing parameters at this time include: dynamic black level, dynamic CCM, DRC, dynamic DP correction, dynamic CSC, dynamic 3DNR, WB, dynamic gamma, dynamic AE, dynamic Shading correction, dynamic Dehaze. Correspondingly, the processor starts an ISO adaptive adjusting unit and an exposure adaptive adjusting unit, and controls the adaptive adjusting unit to correct corresponding parameters according to metadata (including ISO and exposure) so as to enable the parameters to accurately correspond to ISO and exposure in the current scene.
Referring to fig. 6, as an embodiment of the present invention, there is further provided a scene adaptive method based on image processing, and fig. 6 is a flowchart illustrating the scene adaptive method based on image processing according to the embodiment of the present invention, where the method includes the following steps:
s60, acquiring original image data;
and S61, writing the image processing parameters into the scene adaptive adjusting module, starting the scene adaptive adjusting module, and debugging the original image data by the scene adaptive adjusting module based on the pre-written image processing parameters to acquire target image data adaptive to the current scene.
In some embodiments, the method further comprises the steps of:
acquiring, by a processor, metadata of original image data, and correcting image processing parameters based on the acquired metadata so that the image processing parameters accurately correspond to current metadata; wherein the metadata comprises one or more of sensitivity (ISO), exposure ratio and color temperature.
In some embodiments, the scene adaptive adjustment module includes a plurality of adaptive adjustment units corresponding to the metadata; the processor judges whether the corresponding image processing parameter is in a preset range or is a preset value according to the ISO, the exposure ratio and the color temperature monitored in real time, if not, the processor controls the corresponding adaptive adjusting unit to correct the corresponding image processing parameter value so as to enable the corresponding image processing parameter value to accurately correspond to the ISO, the exposure ratio and the color temperature in the current scene, writes the corrected image processing parameter value into the scene adaptive adjusting module to replace the previous image processing parameter, and executes the corrected image processing parameter. In the embodiment of the present invention, for example: the scene adaptive adjusting module comprises an ISO adaptive adjusting unit, an exposure ratio adaptive adjusting unit and a color temperature adaptive adjusting unit.
In some embodiments, the method further comprises the steps of:
the application mode of the scene is judged by the scene judging unit, and the corresponding adaptive adjusting unit is started by the processor to debug the original image data so as to obtain the target image data adaptive to the current scene.
Referring to fig. 7, as an embodiment of the present invention, there is also provided a terminal including: the data acquisition unit is used for acquiring original image data; the data receiving unit is used for receiving the original image data acquired by the data acquisition unit; the scene self-adaptive adjusting module is configured to be written with image processing parameters in advance and debug the original image data according to the image processing parameters written in advance to acquire target image data adaptive to the current scene; and the processor is used for starting and controlling the scene self-adaptive adjusting module.
In one embodiment, the terminal may be a mobile phone, a tablet, a personal digital assistant, a wearable device (e.g., glasses, watch, etc.), and so on.
The Processor may be an ISP image Signal Processor, an AP Application Processor, or other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
All or part of the flow of the method of the embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium and executed by a processor, to instruct related hardware to implement the steps of the embodiments of the methods. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It is to be understood that the foregoing is a more detailed description of the invention, and that specific embodiments are not to be considered as limiting the invention. It will be apparent to those skilled in the art that various substitutions and modifications can be made to the described embodiments without departing from the spirit of the invention, and these substitutions and modifications should be considered to fall within the scope of the invention. In the description herein, references to the description of the term "one embodiment," "some embodiments," "preferred embodiments," "an example," "a specific example," or "some examples" or the like are intended to mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention.
In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction. Although embodiments of the present invention and their advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the scope of the invention as defined by the appended claims.
Moreover, the scope of the present application is not intended to be limited to the particular embodiments of the process, machine, manufacture, composition of matter, means, methods and steps described in the specification. One of ordinary skill in the art will readily appreciate that the above-disclosed, presently existing or later to be developed, processes, machines, manufacture, compositions of matter, means, methods, or steps, that perform substantially the same function or achieve substantially the same result as the corresponding embodiments described herein may be utilized. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or steps.

Claims (10)

1. A scene adaptation system based on image processing, comprising:
a data receiving unit for receiving original image data;
the scene self-adaptive adjusting module is configured to write image processing parameters in advance and debug the original image data according to the image processing parameters written in advance to acquire target image data adaptive to a current scene;
and the processor is used for starting and controlling the scene self-adaptive adjusting module.
2. The image-processing-based scene adaptation system of claim 1, wherein: the processor is further configured to obtain metadata of the raw image data and correct the image processing parameters based on the obtained metadata to correspond the image processing parameters to the current metadata.
3. The image-processing-based scene adaptation system of claim 1, wherein: the scene adaptive adjusting module comprises a plurality of adaptive adjusting units, wherein different image processing parameters are stored in different adaptive adjusting units, and the adaptive adjusting units are used for correcting the corresponding image processing parameter values.
4. The image-processing-based scene adaptation system of claim 3, wherein: the metadata includes one or more combinations of sensitivity, exposure amount, exposure ratio, and color temperature, and correspondingly, the plurality of adaptive adjusting units include an ISO adaptive adjusting unit, an exposure amount adaptive adjusting unit, an exposure ratio adaptive adjusting unit, and a color temperature adaptive adjusting unit.
5. The image-processing-based scene adaptation system of claim 4, wherein: and the processor judges whether the corresponding image processing parameter is in a preset range or a preset value according to the sensitivity, the exposure ratio and the color temperature monitored in real time, and if not, the processor controls the adaptive adjusting unit to correct the corresponding image processing parameter value so as to enable the image processing parameter value to correspond to the sensitivity, the exposure ratio and the color temperature in the current scene.
6. The image-processing-based scene adaptive system according to any one of claims 1 to 5, wherein: the system also comprises a scene judging unit used for judging the application mode of the scene; and the analysis unit analyzes a pre-stored configuration file according to the application mode to acquire image processing parameters.
7. A scene self-adaptive method based on image processing is characterized by comprising the following steps:
s60, acquiring original image data;
s61, writing the image processing parameters into a scene adaptive adjusting module, starting the scene adaptive adjusting module, and debugging the original image data by the scene adaptive adjusting module based on the pre-written image processing parameters to acquire target image data adaptive to the current scene.
8. The image-processing-based scene adaptive method according to claim 7, further comprising the steps of:
acquiring metadata of original image data, and correcting the image processing parameters based on the acquired metadata so that the image processing parameters accurately correspond to the current metadata; wherein the metadata comprises one or more of sensitivity, exposure ratio and color temperature.
9. The method of claim 8, wherein the scene adaptive adjustment module comprises a plurality of adaptive adjustment units corresponding to the metadata, and the processor determines whether the corresponding image processing parameter is in a preset range or a preset value according to the sensitivity, exposure ratio, and color temperature monitored in real time, and if not, the processor controls the corresponding adaptive adjustment unit to modify the corresponding image processing parameter value to correspond to the sensitivity, exposure ratio, and color temperature of the current scene.
10. A terminal, comprising:
the data acquisition unit is used for acquiring original image data;
the data receiving unit is used for receiving the original image data acquired by the data acquisition unit;
the scene self-adaptive adjusting module is configured to be written with image processing parameters in advance, and debug the original image data according to the image processing parameters written in advance to acquire target image data adaptive to a current scene;
and the processor is used for starting and controlling the scene self-adaptive adjusting module.
CN202010595789.5A 2020-06-26 2020-06-26 Scene self-adaptive system, method and terminal based on image processing Active CN111901521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010595789.5A CN111901521B (en) 2020-06-26 2020-06-26 Scene self-adaptive system, method and terminal based on image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010595789.5A CN111901521B (en) 2020-06-26 2020-06-26 Scene self-adaptive system, method and terminal based on image processing

Publications (2)

Publication Number Publication Date
CN111901521A true CN111901521A (en) 2020-11-06
CN111901521B CN111901521B (en) 2021-12-10

Family

ID=73207102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010595789.5A Active CN111901521B (en) 2020-06-26 2020-06-26 Scene self-adaptive system, method and terminal based on image processing

Country Status (1)

Country Link
CN (1) CN111901521B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116668866A (en) * 2022-11-21 2023-08-29 荣耀终端有限公司 Image processing method and electronic equipment
CN116668866B (en) * 2022-11-21 2024-04-19 荣耀终端有限公司 Image processing method and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040150726A1 (en) * 2003-02-04 2004-08-05 Eastman Kodak Company Method for determining image correction parameters
JP2008067134A (en) * 2006-09-08 2008-03-21 Seiko Epson Corp Image processor, printer, image processing method, and image processing program
CN102629983A (en) * 2011-02-01 2012-08-08 株式会社理光 Imaging device and imaging method and program
CN103250408A (en) * 2010-11-01 2013-08-14 诺基亚公司 Tuning of digital image quality
US20150029327A1 (en) * 2011-12-22 2015-01-29 Canon Kabushiki Kaisha Imaging apparatus, display data generating apparatus, imaging system, and method for controlling the same
CN104967784A (en) * 2015-07-02 2015-10-07 广东欧珀移动通信有限公司 Method of calling underlayer effect mode of shooting function of mobile terminal, and mobile terminal
CN106303250A (en) * 2016-08-26 2017-01-04 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN106954051A (en) * 2017-03-16 2017-07-14 广东欧珀移动通信有限公司 A kind of image processing method and mobile terminal
CN110266946A (en) * 2019-06-25 2019-09-20 普联技术有限公司 One kind is taken pictures effect automatic optimization method, device, storage medium and terminal device
CN110933312A (en) * 2019-12-09 2020-03-27 Oppo广东移动通信有限公司 Photographing control method and related product

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040150726A1 (en) * 2003-02-04 2004-08-05 Eastman Kodak Company Method for determining image correction parameters
JP2008067134A (en) * 2006-09-08 2008-03-21 Seiko Epson Corp Image processor, printer, image processing method, and image processing program
CN103250408A (en) * 2010-11-01 2013-08-14 诺基亚公司 Tuning of digital image quality
CN102629983A (en) * 2011-02-01 2012-08-08 株式会社理光 Imaging device and imaging method and program
US20150029327A1 (en) * 2011-12-22 2015-01-29 Canon Kabushiki Kaisha Imaging apparatus, display data generating apparatus, imaging system, and method for controlling the same
CN104967784A (en) * 2015-07-02 2015-10-07 广东欧珀移动通信有限公司 Method of calling underlayer effect mode of shooting function of mobile terminal, and mobile terminal
CN106303250A (en) * 2016-08-26 2017-01-04 维沃移动通信有限公司 A kind of image processing method and mobile terminal
CN106954051A (en) * 2017-03-16 2017-07-14 广东欧珀移动通信有限公司 A kind of image processing method and mobile terminal
CN110266946A (en) * 2019-06-25 2019-09-20 普联技术有限公司 One kind is taken pictures effect automatic optimization method, device, storage medium and terminal device
CN110933312A (en) * 2019-12-09 2020-03-27 Oppo广东移动通信有限公司 Photographing control method and related product

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116668866A (en) * 2022-11-21 2023-08-29 荣耀终端有限公司 Image processing method and electronic equipment
CN116668866B (en) * 2022-11-21 2024-04-19 荣耀终端有限公司 Image processing method and electronic equipment

Also Published As

Publication number Publication date
CN111901521B (en) 2021-12-10

Similar Documents

Publication Publication Date Title
CN111901520B (en) Scene self-adaptive system, method and terminal based on image processing
US11228720B2 (en) Method for imaging controlling, electronic device, and non-transitory computer-readable storage medium
US10630906B2 (en) Imaging control method, electronic device and computer readable storage medium
CN109005364B (en) Imaging control method, imaging control device, electronic device, and computer-readable storage medium
CN107635102B (en) Method and device for acquiring exposure compensation value of high-dynamic-range image
CN109040609B (en) Exposure control method, exposure control device, electronic equipment and computer-readable storage medium
CN110225248B (en) Image acquisition method and device, electronic equipment and computer readable storage medium
CN108632537B (en) Control method and apparatus, imaging device, computer device, and readable storage medium
KR101549529B1 (en) Image capture apparatus, control method thereof, and recording medium
WO2020057199A1 (en) Imaging method and device, and electronic device
US20210160416A1 (en) Method for imaging controlling, electronic device, and non-transitory computer-readable storage medium
CN107846556B (en) Imaging method, imaging device, mobile terminal and storage medium
US8593547B2 (en) Image processing apparatus, image capturing apparatus, and image processing method
CN108156369B (en) Image processing method and device
JP6999802B2 (en) Methods and equipment for double camera-based imaging
US11601600B2 (en) Control method and electronic device
WO2020034702A1 (en) Control method, device, electronic equipment and computer readable storage medium
CN110213498B (en) Image generation method and device, electronic equipment and computer readable storage medium
CN110049240B (en) Camera control method and device, electronic equipment and computer readable storage medium
KR101639664B1 (en) Photographing apparatus and photographing method
CN107682611B (en) Focusing method and device, computer readable storage medium and electronic equipment
CN109005363B (en) Imaging control method, imaging control device, electronic device and storage medium
CN111901521B (en) Scene self-adaptive system, method and terminal based on image processing
CN107835362B (en) Image storage method, image display method and electronic equipment
KR102068164B1 (en) Imaging device imaging method and imaging program thereof

Legal Events

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