CN109660781B - Image auxiliary exposure processing method and device and electronic equipment - Google Patents

Image auxiliary exposure processing method and device and electronic equipment Download PDF

Info

Publication number
CN109660781B
CN109660781B CN201811521468.XA CN201811521468A CN109660781B CN 109660781 B CN109660781 B CN 109660781B CN 201811521468 A CN201811521468 A CN 201811521468A CN 109660781 B CN109660781 B CN 109660781B
Authority
CN
China
Prior art keywords
exposure
image
color
brightness
determining
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.)
Active
Application number
CN201811521468.XA
Other languages
Chinese (zh)
Other versions
CN109660781A (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.)
Beijing Times Osee Technology Co ltd
Original Assignee
Beijing Times Osee 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 Beijing Times Osee Technology Co ltd filed Critical Beijing Times Osee Technology Co ltd
Priority to CN201811521468.XA priority Critical patent/CN109660781B/en
Publication of CN109660781A publication Critical patent/CN109660781A/en
Application granted granted Critical
Publication of CN109660781B publication Critical patent/CN109660781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/77Circuits for processing the brightness signal and the chrominance signal relative to each other, e.g. adjusting the phase of the brightness signal relative to the colour signal, correcting differential gain or differential phase
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene

Abstract

The invention provides an image auxiliary exposure processing method, an image auxiliary exposure processing device and electronic equipment, and relates to the technical field of data processing, wherein the method comprises the following steps: acquiring a target image to be processed and a target signal format to which the target image belongs; determining the respective brightness ranges of a plurality of set color blocks according to the target signal format; wherein, there is corresponding relation between multiple color blocks and multiple exposure gears; and generating an exposure gear false color image corresponding to the target image according to the brightness value of each pixel point of the target image and the brightness range of each set color block. The exposure gear pseudo-color image obtained by applying the image auxiliary exposure processing method, the device and the electronic equipment can intuitively indicate the exposure effect through the set color block which has a corresponding relation with the set exposure gear, so that users such as photographers can intuitively and conveniently understand and apply the exposure gear pseudo-color image, the use convenience of the users is improved, and the user experience degree is improved.

Description

Image auxiliary exposure processing method and device and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to an image auxiliary exposure processing method and apparatus, and an electronic device.
Background
During the shooting process, the photographer is one of the important tasks of the shooting work to ensure the correctness of the exposure of the shot materials. The most direct method they use is to increase or decrease the aperture, and the quantization standard is to adjust the exposure by increasing or decreasing the aperture.
The development of the photosensitive device of the modern camera is rapid, and the latitude of the photosensitive device of the modern camera is continuously improved. The increase of the physical tolerance of various monitoring devices is far from the development of photoreceptors. This may cause a photographer to have a risk of misjudgment of exposure due to insufficient latitude of the monitoring apparatus while viewing the exposure on the monitor.
Various auxiliary exposure tools, such as false colors, zebra stripes, etc., have been created. As a monitoring device, the most convenient method for processing and processing LOG curves (a LOG-gamma curve) output by a plurality of cameras is to directly determine quantized values of electrical characteristics (hereinafter, simply referred to as quantized values) in LOG format signals, which is intuitive and accurate, but the subjective intention of electrical engineers is not recognized by the cameras. The adjustment of the exposure by the photographer is non-linear, only the exposure can be increased or decreased in multiples, and the quantization value is linearly varied, so that the photographer cannot intuitively understand and apply the existing auxiliary exposure tool.
Disclosure of Invention
In view of the above, the present invention provides an image auxiliary exposure processing method, an image auxiliary exposure processing apparatus, and an electronic device, so as to improve convenience of use for a user, thereby improving user experience.
In a first aspect, an embodiment of the present invention provides an image assisted exposure processing method, including:
acquiring a target image to be processed and a target signal format to which the target image belongs;
determining the respective brightness ranges of a plurality of set color blocks according to the target signal format; wherein, a plurality of setting color blocks and a plurality of setting exposure gears have corresponding relations;
and generating an exposure gear false color image corresponding to the target image according to the brightness value of each pixel point of the target image and the brightness range of each set color block.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the determining, according to the target signal format, a luminance range of each of a plurality of set color blocks includes:
acquiring a LOG curve corresponding to the target signal format;
and determining the respective brightness ranges of the plurality of set color blocks according to the corresponding relation between the LOG curve and the preset exposure gear of the color blocks.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where a function describing the LOG curve includes:
Figure BDA0001903135970000021
wherein x represents an exposure gear, y represents a quantized value, and a, b, c, d, e, cut all represent set parameter values corresponding to the LOG curve.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the determining, according to the correspondence between the LOG curve and a preset color block exposure shift, a luminance range of each of a plurality of set color blocks includes:
determining quantized values corresponding to a plurality of set exposure gears according to the LOG curve;
and determining the respective brightness ranges of the plurality of set color blocks according to the corresponding relation between the quantized value corresponding to each set exposure gear and the preset color block exposure gear.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the generating an exposure shift false color map corresponding to the target image according to the brightness value of each pixel point of the target image and the brightness range of each set color block includes:
converting the target image into a corresponding grayscale image;
for each pixel point of the gray image, judging whether the brightness value of the current pixel point belongs to one of the brightness ranges of the set color blocks;
and if so, determining the set color block corresponding to the brightness range to be the target color block, and filling the current pixel point with the target color block.
With reference to the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where the set exposure range includes 5 th gear lower than middle gray exposure, 1 st gear higher than middle gray exposure, and a high light upper limit.
In a second aspect, an embodiment of the present invention further provides an image-assisted exposure processing apparatus, including:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a target image to be processed and a target signal format to which the target image belongs;
the determining module is used for determining the respective brightness ranges of the plurality of set color blocks according to the target signal format; wherein, a plurality of setting color blocks and a plurality of setting exposure gears have corresponding relations;
and the generating module is used for generating an exposure gear false color image corresponding to the target image according to the brightness value of each pixel point of the target image and the brightness range of each set color block.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the determining module includes:
the curve acquisition unit is used for acquiring an LOG curve corresponding to the target signal format;
and the range determining unit is used for determining the respective brightness ranges of the plurality of set color blocks according to the corresponding relation between the LOG curve and the preset color block exposure gear.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor executes the computer program to implement the method according to the first aspect or any possible implementation manner thereof.
In a fourth aspect, the present invention further provides a computer-readable medium having a non-volatile program code executable by a processor, where the program code causes the processor to execute the method according to the first aspect or any possible implementation manner thereof.
The embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, a target image to be processed and a target signal format to which the target image belongs are obtained; determining the respective brightness ranges of a plurality of set color blocks according to the target signal format; wherein, there is corresponding relation between multiple color blocks and multiple exposure gears; and generating an exposure gear false color image corresponding to the target image according to the brightness value of each pixel point of the target image and the brightness range of each set color block. The exposure gear pseudo-color image obtained by applying the image auxiliary exposure processing method, the device and the electronic equipment provided by the embodiment of the invention can intuitively indicate the exposure effect through the set color block which has a corresponding relation with the set exposure gear, so that users such as photographers and the like can intuitively and conveniently understand and apply the exposure gear pseudo-color image, the use convenience of the users is improved, and the user experience degree is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
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 some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flowchart illustrating a method for image-assisted exposure processing according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a LOG curve according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an exposure gear pseudo-color chart according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an image-assisted exposure apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Currently, photographers cannot intuitively understand and apply existing auxiliary exposure tools. The most intuitive of the work of photographers is the exposure gear, and the photographers need to increase or decrease the exposure value by gear according to the requirement of artistic creation after the accuracy of middle gray exposure is determined so as to achieve the expected creation effect; or the most conservative materials are shot after the exposure of the middle gray is directly confirmed, and the maximum latitude is provided for the post-production for further creation. Based on this, the image auxiliary exposure processing method, the image auxiliary exposure processing device and the electronic equipment provided by the embodiment of the invention can improve the convenience of use of a user, so that the user experience is improved.
For the understanding of the present embodiment, a detailed description will be given first of all on an image-assisted exposure processing method disclosed in the present embodiment.
The first embodiment is as follows:
fig. 1 is a flowchart illustrating an image-assisted exposure processing method according to an embodiment of the present invention, where the method can be executed by an electronic device. As shown in fig. 1, the method comprises the following steps:
step S102, a target image to be processed and a target signal format to which the target image belongs are obtained.
Specifically, a target image to be processed is acquired, and a target signal format to which the target image belongs is determined. Different types of cameras have corresponding output signal formats, and the method is suitable for various LOG format signals, such as: SONY _ SLog3, SONY _ SLog2, ARRI _ LogC, Canon _ CLog2, Canon _ CLog3, Panasonic _ Vlog, RED _ RedLogFilm, RED _ RL3G10, BMD _4K, RED _ RG3, RED _ RG4, and the like.
Step S104, determining the respective brightness ranges of a plurality of set color blocks according to the target signal format; wherein, there is corresponding relation between a plurality of setting colour lumps and a plurality of setting exposure gear.
In order to facilitate understanding and application of a photographer, the method provided by this embodiment identifies the brightness of the image by using a special color block corresponding to the exposure shift. Therefore, a LOG curve corresponding to a target signal format needs to be acquired; and determining the respective brightness ranges of the plurality of set color blocks according to the corresponding relation between the LOG curve and the preset exposure gear of the color blocks.
In some possible embodiments, the correspondence between the output signal format and the LOG curve is pre-stored, so that the LOG curve corresponding to the target signal format can be found. The function describing the LOG curve may be:
Figure BDA0001903135970000061
wherein x represents the exposure gear, y represents the quantization value, and a, b, c, d, e, cut all represent the setting parameter values corresponding to the LOG curve, and correspond to the output signal format.
Fig. 2 is a schematic diagram of a LOG curve according to an embodiment of the present invention, and fig. 2 shows quantized values corresponding to 17 exposure shifts from-8 to 8.
In some possible embodiments, the respective luminance ranges of the plurality of set patches are determined by: firstly, according to the LOG curve, determining quantized values corresponding to a plurality of set exposure gears; and determining the respective brightness ranges of the plurality of set color blocks according to the corresponding relation between the quantized values corresponding to the set exposure gears and the preset color block exposure gears.
When a photographer checks exposure, the photographer pays attention to whether the exposure of a subject is normal, namely whether the subject is in an intermediate exposure gear, whether dark details have enough latitude to provide post-processing, and whether highlight parts have been overexposed and lose details. In order to facilitate the judgment of photographers at the three parts, the exposure gear pseudo-color table is filled with special colors at the position, so that the identification is convenient.
Fig. 3 is a schematic diagram of an exposure shift pseudo-color chart according to an embodiment of the present invention, and as shown in fig. 3, unlike a conventional pseudo-color chart, the exposure shift pseudo-color chart is provided with 6 special color patches, which are as follows: the purple color blocks are dark parts which are not easy to post-process; blue color blocks are dark portions that are less than 5 steps of mid-gray exposure, usually the lowest discernable dark portions; the green color block is filled pseudo color corresponding to middle gray exposure, the pink color block is filled pseudo color with the brightness higher than that of middle gray exposure by 1 grade, and the two exposed pseudo colors are usually marked on a shot main body or a neutral exposure position of a picture; the yellow color block identifies the highlight upper limit of the dynamic range; the red color block identifies the overexposed portion.
Taking the exposure gear pseudo-color table shown in fig. 3 as an example, the set exposure gears include a 5-gear lower than middle gray exposure, a 1-gear higher than middle gray exposure, and a high light upper limit, and the relationship of the block exposure gears is as follows: the purple color blocks are adjacent to the blue color blocks, the blue color blocks are correspondingly lower than the middle gray exposure by 5 grades, the green color blocks are correspondingly exposed to the middle gray, the pink color blocks are correspondingly higher than the middle gray exposure by 1 grade, the yellow color blocks are correspondingly higher than the upper limit of highlight, and the red color blocks are adjacent to the yellow color blocks. Thus, determining the respective luminance ranges of the plurality of setting patches may be, for example: firstly, respectively determining quantization values corresponding to a level 5 lower than the middle gray exposure, a level 1 higher than the middle gray exposure and a high light upper limit through the LOG curve: 170. 412, 504, 940; then, respectively taking the quantized values as central values, determining the brightness range corresponding to each set exposure gear by a preset fluctuation range (such as +/-15 or +/-10): lower than middle gray exposure 5 th-order 155, 185, middle gray exposure 397, 427, higher than middle gray exposure 1 th-order 489, 519, upper limit of highlight 930, 950; finally, the brightness range of the purple color blocks is determined to be less than 155, the brightness range of the blue color blocks is determined to be [155, 185], the brightness range of the green color blocks is determined to be [397, 427], the brightness range of the pink color blocks is determined to be [489, 519], the brightness range of the yellow color blocks is determined to be [930, 950], and the brightness range of the red color blocks is determined to be more than 950.
And S106, generating an exposure gear false color image corresponding to the target image according to the brightness value of each pixel point of the target image and the brightness range of each set color block.
In some possible embodiments, step S106 may be implemented by the following process: converting the target image into a corresponding gray image; for each pixel point of the gray image, judging whether the brightness value of the current pixel point belongs to one of the brightness ranges of each set color block; if yes, determining a set color block corresponding to the brightness range to be a target color block, and filling the current pixel point with the target color block; if not, no color is filled. For example, if the brightness value of the current pixel is 500, the current pixel is filled with pink blocks. Thus, the target image is converted into an exposure gear false color image marked by the set color blocks.
In the embodiment of the invention, a target image to be processed and a target signal format to which the target image belongs are obtained; determining the respective brightness ranges of a plurality of set color blocks according to the target signal format; wherein, there is corresponding relation between multiple color blocks and multiple exposure gears; and generating an exposure gear false color image corresponding to the target image according to the brightness value of each pixel point of the target image and the brightness range of each set color block. The exposure gear pseudo-color image obtained by applying the image auxiliary exposure processing method provided by the embodiment of the invention can visually indicate the exposure effect through the set color block which has a corresponding relation with the set exposure gear, so that users such as photographers and the like can visually and conveniently understand and apply the exposure gear pseudo-color image, the use convenience of the users is improved, and the user experience degree is improved.
Example two:
fig. 4 is a schematic structural diagram of an image assisted exposure processing apparatus according to an embodiment of the present invention, as shown in fig. 4, the apparatus includes:
an obtaining module 42, configured to obtain a target image to be processed and a target signal format to which the target image belongs;
a determining module 44, configured to determine, according to the target signal format, respective luminance ranges of the plurality of set color blocks; wherein, there is corresponding relation between multiple color blocks and multiple exposure gears;
and the generating module 46 is configured to generate an exposure shift false color image corresponding to the target image according to the brightness value of each pixel point of the target image and the brightness range of each set color block.
Optionally, the determining module 44 includes: the curve acquisition unit is used for acquiring an LOG curve corresponding to a target signal format; and the range determining unit is connected with the curve acquiring unit and used for determining the respective brightness ranges of the plurality of set color blocks according to the corresponding relation between the LOG curve and the preset exposure gear of the color blocks.
Optionally, the range determining unit is specifically configured to: according to the LOG curve, determining quantized values corresponding to a plurality of set exposure gears; and determining the respective brightness ranges of the plurality of set color blocks according to the corresponding relation between the quantized values corresponding to the set exposure gears and the preset color block exposure gears.
Optionally, the generating module 46 is specifically configured to: converting the target image into a corresponding gray image; for each pixel point of the gray image, judging whether the brightness value of the current pixel point belongs to one of the brightness ranges of each set color block; if yes, determining the set color block corresponding to the brightness range to be the target color block, and filling the current pixel point with the target color block.
In the embodiment of the present invention, the obtaining module 42 obtains a target image to be processed and a target signal format to which the target image belongs; the determining module 44 determines the respective brightness ranges of the plurality of set color blocks according to the target signal format; wherein, there is corresponding relation between multiple color blocks and multiple exposure gears; the generating module 46 generates an exposure shift false color image corresponding to the target image according to the brightness value of each pixel point of the target image and the brightness range of each set color block. The exposure gear pseudo-color image obtained by applying the image auxiliary exposure processing device provided by the embodiment of the invention can visually indicate the exposure effect through the set color block which has a corresponding relation with the set exposure gear, so that users such as photographers and the like can visually and conveniently understand and apply the exposure gear pseudo-color image, the use convenience of the users is improved, and the user experience degree is improved.
Example three:
referring to fig. 5, an embodiment of the present invention further provides an electronic device 100, including: the device comprises a processor 50, a memory 51, a bus 52 and a communication interface 53, wherein the processor 50, the communication interface 53 and the memory 51 are connected through the bus 52; the processor 50 is arranged to execute executable modules, such as computer programs, stored in the memory 51.
The memory 51 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 53 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
The bus 52 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 5, but this does not indicate only one bus or one type of bus.
The memory 51 is used for storing a program, the processor 50 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 50, or implemented by the processor 50.
The processor 50 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 50. The Processor 50 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 51, and the processor 50 reads the information in the memory 51 and completes the steps of the method in combination with the hardware thereof.
The image auxiliary exposure processing device and the electronic equipment provided by the embodiment of the invention have the same technical characteristics as the image auxiliary exposure processing method provided by the embodiment of the invention, so the same technical problems can be solved, and the same technical effects can be achieved.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the apparatus and the electronic device described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Unless specifically stated otherwise, the relative steps, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present invention.
In all examples shown and described herein, any particular value should be construed as merely exemplary, and not as a limitation, and thus other examples of example embodiments may have different values.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The computer program product for performing the image auxiliary exposure processing method provided by the embodiment of the present invention includes a computer readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and is not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed electronic device, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. An image-assisted exposure processing method is characterized by comprising the following steps:
acquiring a target image to be processed and a target signal format to which the target image belongs;
determining the brightness ranges corresponding to the plurality of set color blocks according to the target signal format; wherein, a plurality of setting color blocks and a plurality of setting exposure gears have corresponding relations;
and generating an exposure gear false color image corresponding to the target image according to the brightness value of each pixel point of the target image and the brightness range corresponding to each set color block, wherein the false color image consists of a plurality of set color blocks.
2. The method according to claim 1, wherein determining the luminance range corresponding to each of the plurality of set color blocks according to the target signal format comprises:
acquiring a function which is corresponding to the target signal format and describes the corresponding relation between the exposure gear and the quantized value; the brightness range corresponding to the exposure gear can be determined through a preset fluctuation range by taking the quantization value as a central value;
and determining the brightness range corresponding to each of the plurality of set color blocks according to the function and the corresponding relationship between the set color blocks and the set exposure gear.
3. The method of claim 2, wherein the function describing the correspondence between exposure ranges and quantization values comprises:
Figure FDA0002825584610000011
wherein x represents an exposure gear, y represents a quantization value, a, b, c, d, e and cut all represent set parameter values corresponding to the functions, and the set parameter values of the functions corresponding to different target signal formats are different.
4. The method according to claim 2, wherein determining the brightness range corresponding to each of the plurality of set color blocks according to the function and the corresponding relationship between the set color blocks and the set exposure positions comprises:
determining quantized values corresponding to the multiple set exposure gears according to the function;
and determining the brightness range corresponding to each set color block according to the quantization value corresponding to each set exposure gear and the corresponding relation between the set color block and the set exposure gear.
5. The method according to claim 1, wherein the generating an exposure shift false color map corresponding to the target image according to the brightness value of each pixel point of the target image and the brightness range corresponding to each set color block comprises:
converting the target image into a corresponding grayscale image;
judging whether the brightness value of each pixel point of the gray level image belongs to one of the brightness ranges corresponding to the set color blocks or not;
and if so, determining the set color block corresponding to the affiliated brightness range as a target color block, and setting the color of the pixel point as the color of the target color block.
6. An image-assisted exposure processing apparatus, comprising:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a target image to be processed and a target signal format to which the target image belongs;
the determining module is used for determining the brightness ranges corresponding to the plurality of set color blocks according to the target signal format; wherein, a plurality of setting color blocks and a plurality of setting exposure gears have corresponding relations;
and the generating module is used for generating an exposure gear false color image corresponding to the target image according to the brightness value of each pixel point of the target image and the brightness range corresponding to each set color block, wherein the false color image consists of a plurality of set color blocks.
7. The apparatus of claim 6, wherein the determining module comprises:
the function acquisition unit is used for acquiring a function which is corresponding to the target signal format and describes the corresponding relation between the exposure gear and the quantized value; the brightness range corresponding to the exposure gear can be determined through a preset fluctuation range by taking the quantization value as a central value;
and the range determining unit is used for determining the brightness ranges corresponding to the plurality of set color blocks according to the function and the corresponding relation between the set color blocks and the set exposure gears.
8. An electronic device comprising a memory, a processor, a computer program being stored in the memory and being executable on the processor, wherein the processor realizes the method of any of claims 1-5 when executing the computer program.
9. A computer-readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the method of any of claims 1-5.
CN201811521468.XA 2018-12-12 2018-12-12 Image auxiliary exposure processing method and device and electronic equipment Active CN109660781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811521468.XA CN109660781B (en) 2018-12-12 2018-12-12 Image auxiliary exposure processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811521468.XA CN109660781B (en) 2018-12-12 2018-12-12 Image auxiliary exposure processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN109660781A CN109660781A (en) 2019-04-19
CN109660781B true CN109660781B (en) 2021-02-02

Family

ID=66114215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811521468.XA Active CN109660781B (en) 2018-12-12 2018-12-12 Image auxiliary exposure processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109660781B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111861893B (en) * 2019-04-24 2024-04-09 浙江宇视科技有限公司 Method, system, equipment and computer medium for eliminating false color edges of image

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037167A (en) * 2011-09-29 2013-04-10 索尼公司 Imaging apparatus, imaging method, and program
CN104184958A (en) * 2014-09-17 2014-12-03 中国科学院光电技术研究所 Automatic exposure control method and device based on FPGA and suitable for space exploration imaging
CN105611037A (en) * 2015-07-22 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Terminal control method, terminal control device and terminal
CN107343156A (en) * 2017-07-10 2017-11-10 广东欧珀移动通信有限公司 The method of adjustment and device of human face region auto-exposure control
CN108833802A (en) * 2018-09-18 2018-11-16 Oppo广东移动通信有限公司 Exposal control method, device and electronic equipment
CN108924409A (en) * 2018-06-13 2018-11-30 北京蜂盒科技有限公司 Expose value adjustment method, device, storage medium and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103037167A (en) * 2011-09-29 2013-04-10 索尼公司 Imaging apparatus, imaging method, and program
CN104184958A (en) * 2014-09-17 2014-12-03 中国科学院光电技术研究所 Automatic exposure control method and device based on FPGA and suitable for space exploration imaging
CN105611037A (en) * 2015-07-22 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Terminal control method, terminal control device and terminal
CN107343156A (en) * 2017-07-10 2017-11-10 广东欧珀移动通信有限公司 The method of adjustment and device of human face region auto-exposure control
CN108924409A (en) * 2018-06-13 2018-11-30 北京蜂盒科技有限公司 Expose value adjustment method, device, storage medium and electronic equipment
CN108833802A (en) * 2018-09-18 2018-11-16 Oppo广东移动通信有限公司 Exposal control method, device and electronic equipment

Also Published As

Publication number Publication date
CN109660781A (en) 2019-04-19

Similar Documents

Publication Publication Date Title
EP3627440B1 (en) Image processing method and apparatus
CN108702452A (en) A kind of image capturing method and device
CN111209775B (en) Signal lamp image processing method, device, equipment and storage medium
CN107909569B (en) Screen-patterned detection method, screen-patterned detection device and electronic equipment
CN104823437A (en) Picture processing method and device
KR101150111B1 (en) System and method for automated correction of digital images
CN105554380A (en) Day and night switching method and day and night switching device
US20200143582A1 (en) Image processing apparatus, image processing method, and storage medium
CN109660781B (en) Image auxiliary exposure processing method and device and electronic equipment
CN111260604A (en) Fault detection method and device for fill-in light, electronic equipment and readable storage medium
US8427549B2 (en) Apparatus, method, and recording medium for displaying a pixel having a predetermined luminance in an output image to be identifiable from a position
CN104036471A (en) Image noise estimation method and image noise estimation device
KR20160076645A (en) Method for vignetting correction of image and apparatus therefor
CN113542608B (en) Image processing method and device
CN108810509A (en) A kind of image color correction method and device
CN103458194A (en) Method and device for analyzing exposure degree of digital image and video and digital imaging system
CN111373436A (en) Image processing method, terminal device and storage medium
JP2018081308A5 (en)
US9813640B2 (en) Image processing apparatus, image processing method, image processing program, and non-transitory recording for calculating a degree-of-invalidity for a selected subject type
US20170026620A1 (en) Apparatus and a method to determine the concentration of an analyte
CN110677558B (en) Image processing method and electronic device
US20150271382A1 (en) Apparatus, method, and medium
CN112950509B (en) Image processing method and device and electronic equipment
CN114494080A (en) Image generation method and device, electronic equipment and storage medium
CN114119691A (en) Method and device for projecting applique material

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