CN111182232A - Exposure parameter adjusting method, device, equipment and computer readable storage medium - Google Patents

Exposure parameter adjusting method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN111182232A
CN111182232A CN201911424420.1A CN201911424420A CN111182232A CN 111182232 A CN111182232 A CN 111182232A CN 201911424420 A CN201911424420 A CN 201911424420A CN 111182232 A CN111182232 A CN 111182232A
Authority
CN
China
Prior art keywords
area
value
exposure
determining
brightness
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911424420.1A
Other languages
Chinese (zh)
Inventor
姚卫忠
李丽丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Huanuokang Technology Co Ltd
Original Assignee
Zhejiang Huanuokang 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 Zhejiang Huanuokang Technology Co Ltd filed Critical Zhejiang Huanuokang Technology Co Ltd
Priority to CN201911424420.1A priority Critical patent/CN111182232A/en
Publication of CN111182232A publication Critical patent/CN111182232A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene

Abstract

The embodiment of the invention provides an exposure parameter adjusting method, device and equipment and a computer readable storage medium. The exposure parameter adjusting method comprises the following steps: acquiring an imaging image; determining the brightness value of each area in the imaged image; selecting an area with a brightness value larger than a preset threshold value as an effective exposure area according to the brightness value of each area in the imaging image; and determining exposure parameters according to the brightness value of the effective exposure area. By the method and the device, the problem of image overexposure caused by the fact that the imaging size of the endoscope equipment is smaller than the photosensitive area of the imaging image sensor in the related art is solved, and the image overexposure is avoided.

Description

Exposure parameter adjusting method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of electronic imaging, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for adjusting exposure parameters.
Background
An endoscope is a commonly used medical instrument, and the optical part of the endoscope consists of a bendable part, a light source and a group of lenses. Enters the human body through natural pore canals of the human body or small incisions made by operation, and when the endoscope is used, the endoscope is guided into a pre-examined organ, and the change of the relevant part can be directly observed. The quality of the image directly affects the using effect of the endoscope and also marks the development level of the endoscope technology.
Current endoscopes mount an imaging sensor on the imaging surface for image acquisition. The imaging surface is usually circular, and the imaging size of the imaging surface is usually fixed in the same endoscope; the photosensitive area of the imaging image sensor is usually rectangular, and the size of the photosensitive area of the imaging image sensor on the same endoscope is different according to the different lenses which are selectively installed. Fig. 1 is a schematic diagram illustrating a relationship between an imaging size and a photosensitive area of an imaging image sensor in the related art, as shown in fig. 1, the following three situations may occur:
case (a): the imaging size of the endoscope (circular area) is larger than the light sensitive area of the imaging image sensor (square area);
case (b): the imaging size of the endoscope is slightly smaller than the photosensitive area of the imaging image sensor;
case (c): the imaging size of the endoscope is much smaller than the photosensitive area of the imaging image sensor.
In the related art, an automatic exposure technique is generally used in imaging. The automatic exposure is the operation of a camera replacing a person, and exposure time, an aperture and ISO are automatically adjusted to carry out exposure, so that the brightness of a shot object is normal. There are many methods for automatic exposure, for example: the average brightness method is to average the brightness of all pixels of the image and finally reach the target brightness by continuously adjusting exposure parameters; the weight averaging method is that different weights are set for different areas of an image by adopting a weight distribution table to calculate the image brightness, and then exposure parameters are adjusted according to the image brightness; the luminance histogram method calculates the image luminance by assigning different weights to the peaks in the histogram, and then adjusts the exposure parameters according to the image luminance.
It can be seen that, in the automatic exposure scheme in the related art, the brightness of the image plays a decisive role in the selection of the exposure parameters, however, in the case (b) and the case (c) shown in fig. 1, if the brightness of the image is counted in the conventional brightness statistical manner, since the portion (black portion in fig. 1) around the sensor where no light is irradiated is also counted into the overall brightness, the brightness of the image counted by the endoscope apparatus is entirely low, and the exposure parameters determined based on the counted brightness of the image is excessively high, thereby causing the area irradiated by the light in the image to be excessively bright or excessively exposed.
Disclosure of Invention
Based on the above, the invention provides an exposure parameter adjustment method, an apparatus, a device and a computer readable storage medium, which are used for solving the problem of image overexposure caused by the fact that the imaging size of an endoscope device is smaller than the photosensitive area of an imaging image sensor in the related art.
In a first aspect, the present invention provides an exposure parameter adjusting method, including: acquiring an imaging image; determining brightness values for respective regions in the imaged image; selecting an area with a brightness value larger than a preset threshold value as an effective exposure area according to the brightness value of each area in the imaging image; and determining an exposure parameter according to the brightness value of the effective exposure area.
In one possible implementation, determining the brightness values of the respective regions in the imaged image comprises: equally dividing the imaging image into a plurality of regions; acquiring brightness values of the regions.
In a possible implementation manner, before selecting, according to the luminance value of each region in the image, a region having a luminance value greater than a preset threshold as the effective exposure region, the method further includes: sequencing the plurality of regions according to the brightness values; selecting at least one region from the plurality of regions according to a preset proportion according to the sequence of the brightness values from large to small; determining an average brightness value of the at least one region according to the brightness value of the at least one region; determining the preset threshold according to the average brightness value of the at least one region, wherein the preset threshold is less than or equal to the average brightness value.
In a possible implementation manner, the value range of the preset ratio is 0.2-0.75; the ratio of the preset threshold value to the average brightness value of the at least one region ranges from 0.2 to 0.75.
In a possible implementation manner, determining an exposure parameter according to a luminance value of the effective exposure area includes: acquiring a first weight distribution table, wherein the first weight distribution table is used for representing the weight value of the brightness value of each of the plurality of areas when determining the exposure parameter; setting the weight value corresponding to the area which is not in the effective exposure area in the first weight distribution table to be zero to obtain a second weight distribution table; and determining the exposure parameters according to the second weight distribution table.
In a possible implementation manner, after setting a weight value corresponding to a region not in the effective exposure region in the first weight allocation table to zero to obtain a second weight allocation table, the method further includes: storing the second weight distribution table.
In a possible implementation manner, determining an exposure parameter according to a luminance value of the effective exposure area includes: determining the brightness average value of the effective exposure area according to the brightness value of the effective exposure area; and determining the exposure parameters according to the brightness average value.
In a second aspect, the present invention provides an exposure parameter adjusting apparatus, comprising: the first acquisition module is used for acquiring an imaging image; a first determining module for determining brightness values of respective regions in the imaged image; the first selection module is used for selecting an area with a brightness value larger than a preset threshold value as an effective exposure area according to the brightness value of each area in the image; and the second determining module is used for determining exposure parameters according to the brightness value of the effective exposure area.
In a third aspect, the present invention provides an exposure parameter adjusting apparatus comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the exposure parameter adjusting method described above when executing the computer program.
In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the exposure parameter adjustment method described above.
According to the exposure parameter adjusting method, the exposure parameter adjusting device, the exposure parameter adjusting equipment and the computer readable storage medium, an imaging image is obtained; determining the brightness value of each area in the imaged image; selecting an area with a brightness value larger than a preset threshold value as an effective exposure area according to the brightness value of each area in the imaging image; the mode of determining the exposure parameters according to the brightness value of the effective exposure area solves the problem of image overexposure caused by the fact that the imaging size of the endoscope equipment is smaller than the photosensitive area of the imaging image sensor in the related art, and avoids the image overexposure.
The details of one or more embodiments of the invention are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or technical solutions in related arts, the drawings needed to be used in the description of the embodiments 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 it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive labor.
FIG. 1 is a schematic illustration of imaging size versus photosensitive area of an imaging image sensor according to the related art;
FIG. 2 is a flow chart of an exposure parameter adjustment method according to an embodiment of the present invention;
FIG. 3 is a flow chart of an exposure parameter adjustment method according to a preferred embodiment of the present invention;
FIG. 4 is a block diagram of an exposure parameter adjusting apparatus according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware configuration of an exposure parameter adjusting apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and 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. All other examples, which can be obtained by a person skilled in the art without making any creative effort based on the examples in the present invention, belong to the protection scope of the present invention.
The embodiment of the invention is suitable for the field of electronic imaging, in particular to the field of electronic imaging of medical endoscopes and industrial spyhoscopes. In the present embodiment, the embodiments of the present invention will be described and illustrated by taking an endoscope in the medical field as an example.
In the present embodiment, an exposure parameter adjustment method is provided. Fig. 2 is a flowchart of an exposure parameter adjustment method according to an embodiment of the present invention, the flowchart includes the following steps:
step S202: the endoscopic device acquires an imaging image.
In this step, the endoscope apparatus acquires an imaging image through the endoscope imaging section.
Step S204: the endoscopic device determines the brightness values of the respective regions in the imaged image.
In this step, the endoscope apparatus may equally divide the imaged image into a plurality of regions, and then count the luminance values of the respective regions in the plurality of regions.
Step S206: and the endoscope equipment selects the area with the brightness value larger than the preset threshold value as the effective exposure area according to the brightness value of each area in the imaging image.
Step S208: and the endoscope equipment determines exposure parameters according to the brightness value of the effective exposure area.
In the case (b) and the case (c) in fig. 1, since the imaging size is small relative to the photosensitive region, there are regions where no light is applied at four corners or both sides of the target surface of the optical portion, and these regions are ineffective exposure regions. In the step, the effective exposure area of the imaging image is calibrated by setting the preset threshold of the brightness value, so that the influence of the ineffective exposure area on the automatic exposure parameters is reduced.
With continued reference to fig. 1, the size of the non-effective exposure area is different between the case (b) and the case (c), and therefore, setting a fixed preset threshold value can certainly play a role of excluding part of the non-effective exposure area, but the fixed preset threshold value may not be applicable to both the case (b) and the case (c). Therefore, in the present embodiment, the preset threshold may also be dynamically set for different situations to adapt to different situations.
For example, in some embodiments, the preset threshold is dynamically determined by:
step 1, the endoscope device sorts a plurality of regions obtained by equally dividing an imaging image according to the brightness value.
And 2, selecting at least one area from the plurality of areas according to a preset proportion by the endoscope equipment according to the sequence of the brightness values from large to small.
And 3, the endoscope equipment determines the average brightness value of the at least one area according to the brightness value of the at least one area.
And 4, the endoscope equipment determines a preset threshold according to the average brightness value of at least one region, wherein the preset threshold is smaller than or equal to the average brightness value.
By the method, the preset threshold value can be dynamically adjusted according to different imaging sizes and relative sizes of the photosensitive areas.
Experiments show that in the embodiment, the value range of the preset proportion is 0.2-0.75; the ratio of the preset threshold value to the average brightness value of at least one region is in the range of 0.2-0.75, and a proper automatic exposure effect can be obtained.
Through the steps, the endoscope equipment adopts the preset threshold to mark the effective exposure area, and then determines the exposure parameter according to the brightness value of the effective exposure area, so that the problem of effective area image overexposure caused by the fact that the imaging size of the endoscope equipment is smaller than the photosensitive area of the imaging image sensor in the related art is solved, and the image overexposure is avoided.
Although steps S202 to S206 may be performed to calibrate the effective exposure area in each imaging. However, considering that a dark image may exist in an actual imaging image and thus affect the calibration of the effective exposure area, in some embodiments, it is preferable to perform the above steps S202 to S206 only when the imaging image sensor of the endoscope apparatus is replaced. In this case, the endoscope apparatus executes steps S202 to S206 upon detecting that the imaging image sensor is replaced or that the endoscope apparatus receives an execution instruction of the effective exposure area. In addition, when step S202 to step S206 are executed, the image in the imaging field of view in the imaging image is as bright as possible, so as to avoid affecting the calibration of the effective exposure area.
The embodiments of the present invention will be described and illustrated below in terms of various methods of automatic exposure.
Under the condition of adopting the automatic exposure method based on the weight average value method, the key point is that the weight value corresponding to the ineffective exposure area in the original weight distribution table is set to be zero, so that the influence of the ineffective exposure area on the automatic exposure parameters is eliminated.
In one embodiment, the endoscope apparatus acquires a first weight distribution table for representing a weight value of a luminance value of each of a plurality of regions in determining an exposure parameter; the endoscope device sets the weight value corresponding to the area which is not in the effective exposure area in the first weight distribution table to be zero to obtain a second weight distribution table; the endoscope apparatus determines an exposure parameter according to the second weight distribution table.
The first weight distribution table is an original weight distribution table, and the second weight distribution table is a weight distribution table excluding the influence of the brightness of the ineffective exposure area. In the above-described embodiment, the second weight distribution table may also be stored in the nonvolatile memory of the endoscope apparatus so as to be acquired from the nonvolatile memory when the endoscope apparatus determines the exposure parameter using the automatic exposure method based on the weight averaging method.
The automatic exposure method based on the weight average method according to the embodiment of the present invention is described below by way of example.
In the present embodiment, after the endoscope apparatus acquires the imaging image, the imaging image is divided into 3 × 3 areas on average, and the luminance value of each area is determined, as shown in table 1.
0 3 0
3 5 3
0 3 0
TABLE 1 Brightness distribution Table for imaged images
The original weight assignment table in the endoscope apparatus is also a 3 × 3 table, and the numerical value in each cell represents the weight of the luminance value of the region of the corresponding position in calculating the luminance of the imaged image, as shown in table 2.
2 2 2
2 2 2
2 2 2
Table 2 raw weight distribution table for calculating exposure parameters
If the average luminance value of the imaged image is calculated according to the luminance values shown in table 1 and the original weight distribution table shown in table 2, the average luminance value is: 1.89, the average brightness value is affected by the darker areas of the four corner regions in table 1, which in turn affects the auto-exposure parameters. And these four corner areas are actually black areas in the case (b) of fig. 1 due to the imaging size of the endoscope apparatus being smaller than the light-sensitive area of the imaging image sensor.
In this embodiment, in order to eliminate the influence of the darker brightness regions in the four corner regions on the automatic exposure parameters, the effective exposure region is calibrated in the following manner:
3
3 5 3
3
TABLE 3 target region of imaged image and corresponding luminance values
First, the endoscopic device determines a preset threshold value for the calibration effective exposure area. The endoscope apparatus sorts the 9 regions obtained by equally dividing the imaging image according to the brightness values, and selects target regions (rounded up in this example, the number of the target regions is 5) from the 9 regions according to a preset proportion of 50% according to the sequence from the brightness values from large to small, and the selected 5 target regions are as shown in table 3.
The endoscope apparatus determines an average brightness value of the target region such that the preset threshold value is less than or equal to the average brightness value of the target region, according to the brightness value of the target region. In this embodiment, the average brightness value of the target area is 3.4 according to table 3, and in this embodiment, the ratio of the preset threshold to the average brightness value of the target area is 20%, and then the preset threshold is 0.68 according to the average brightness value of the target area.
Then, the endoscope device calibrates the effective exposure area according to the determined preset threshold value. The endoscope apparatus selects, according to the brightness values of the respective areas in the imaging image shown in table 1, an area having a brightness value greater than a preset threshold value of 0.68 as an effective exposure area, and sets the value of the ineffective exposure area to 0 if the value of the effective exposure area is set to 1, to obtain a distribution table of the effective exposure area of the imaging image, as shown in table 4.
0 1 0
1 1 1
0 1 0
TABLE 4 distribution of the effective exposure area of the imaged image
The original weight distribution table of table 2 is multiplied by table 4 to obtain a new weight distribution table, as shown in table 5.
0 2 0
2 2 2
0 2 0
TABLE 5 New weight assignment Table
It can be seen that the weights of the four corner regions are set to 0 in the new weight distribution table, so that the influence of the brightness values of these regions on the average brightness value of the effective exposure region is eliminated. If the average luminance value of the imaged image is calculated according to the new weight distribution table shown in table 5, the average luminance value is 3.4, which is larger than the average luminance value before optimization, which is 1.89.
Therefore, the endoscope equipment marks the effective exposure area and optimizes the weight distribution table to enable the weight of the ineffective exposure area to be zero, so that the influence of the ineffective exposure area on automatic exposure parameters is eliminated, and overexposure of the effective exposure area is avoided.
Optionally, in this embodiment, the storage unit of the endoscope apparatus may further store the new weight distribution table or the effective exposure area distribution table, and determine the exposure parameter in the subsequent imaging image processing using the new weight distribution table or the effective exposure area distribution table until the new weight distribution table or the effective exposure area distribution table is updated again.
The calibration method of the effective exposure area of the imaged image in the automatic exposure parameter adjustment method based on the average brightness value is also similar to the above embodiment. For example, in an automatic exposure parameter adjustment method based on an average brightness value, an average brightness value of the effective exposure area may be determined according to the brightness value of the effective exposure area; the exposure parameters are then determined from the average value of the brightness. In the embodiment, the exposure parameters of the effective exposure area are calculated by an average brightness method, so that the problem of image overexposure caused by the fact that the imaging size of the endoscope equipment is smaller than the photosensitive area of the imaging image sensor is also avoided.
The calibration method of the effective exposure area according to the above embodiment of the present invention is also applicable to an automatic exposure parameter adjustment method based on a luminance histogram method, and is not described herein again.
The invention is described below with reference to the drawings and preferred embodiments.
In a preferred embodiment, as shown in fig. 3, fig. 3 is a flowchart of an exposure parameter adjusting method according to a preferred embodiment of the present invention, where the flowchart includes:
step S302: the endoscope apparatus acquires an imaging image, and divides the imaging image into m × n regions.
Step S304: the endoscope apparatus counts the brightness values of the respective regions in the effective exposure region of the imaged image, and sorts the brightness values in descending order according to the brightness of the respective regions.
Step S306: the endoscope device selects the first 50% of the areas according to the sequence of the brightness values from large to small, then takes the average brightness value of the first 50% of the areas, and then takes 0.2 times of the average brightness value as a preset threshold value.
Step S308: the endoscope device creates a statistical table corresponding to the m multiplied by n area of the imaging image, and sets the area with the brightness larger than the preset threshold value in the imaging image as 1 and the area smaller than the preset threshold value as 0.
Step S310: the endoscope apparatus multiplies the statistical table by an original weight distribution table to obtain a new weight distribution table, wherein the original weight distribution table may be determined according to different scenes, may be determined according to an endoscope lens, or may be configured in a storage unit of the endoscope apparatus in advance.
Step S312: and the endoscope device carries out exposure brightness statistics on the imaging image according to the new weight distribution table.
Step S314: the endoscope device stores the statistical table into the flash, and when the endoscope lens is used again later, the statistical table is directly read from the flash when the endoscope lens is powered on and started, and the camera lens can be selected to be calibrated again when switched.
The present embodiment further provides an exposure parameter adjusting apparatus, which can be applied to an endoscope apparatus, and is used to implement the foregoing embodiments and preferred embodiments, and the description of the apparatus is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the system described in the embodiments below is preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
Fig. 4 is a block diagram of an exposure parameter adjusting apparatus according to an embodiment of the present invention, as shown in fig. 4, the apparatus including:
a first acquisition module 410 for acquiring an imaging image;
a first determining module 420, coupled to the first obtaining module 410, for determining brightness values of respective regions in the imaged image;
a first selecting module 430, coupled to the first determining module 420, configured to select, according to the brightness value of each region in the imaged image, a region with a brightness value greater than a preset threshold as an effective exposure region;
the second determining module 440 is coupled to the selecting module 430, and configured to determine the exposure parameter according to the brightness value of the effective exposure area.
In one embodiment, the first obtaining module 410 is further configured to divide the imaging image into a plurality of regions; luminance values of respective regions of the plurality of regions are acquired.
In one embodiment, the apparatus further comprises: a sorting module, coupled to the first determining module 420, for sorting the plurality of regions according to the brightness values; the second selection module is coupled to the sorting module and selects at least one region from the plurality of regions according to a preset proportion according to the sequence of the brightness values from large to small; the third determining module is coupled to the second selecting module and used for determining the average brightness value of the at least one region according to the brightness value of the at least one region; and the fourth determining module is coupled to the third determining module and is used for determining a preset threshold according to the average brightness value of the at least one region, wherein the preset threshold is smaller than or equal to the average brightness value.
In one embodiment, the preset ratio ranges from 0.2 to 0.75; the ratio of the preset threshold value to the average brightness value is in the range of 0.2-0.75.
In one embodiment, the second determining module 440 is further configured to obtain a first weight distribution table, where the first weight distribution table is used to indicate a weight value of a brightness value of each of the plurality of regions when determining the exposure parameter; setting the weight value corresponding to the area which is not in the effective exposure area in the first weight distribution table to be zero to obtain a second weight distribution table; and determining the exposure parameters according to the second weight distribution table.
In one embodiment, the apparatus further comprises a storage module, coupled to the fourth determining module, for storing the second weight assignment table.
In one embodiment, the second determining module 420 is further configured to determine an average value of the brightness of the effective exposure area according to the brightness value of the effective exposure area; and determining the exposure parameters according to the brightness average value.
In addition, the exposure parameter adjustment method described in conjunction with fig. 2 according to the embodiment of the present invention may be implemented by an exposure parameter adjustment apparatus. Fig. 5 is a schematic diagram of a hardware configuration of an exposure parameter adjusting apparatus according to an embodiment of the present invention.
The exposure parameter adjustment device may comprise a processor 51 and a memory 52 in which computer program instructions are stored.
Specifically, the processor 51 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured as one or more Integrated circuits implementing the embodiments of the present invention.
Memory 52 may include mass storage for data or instructions. By way of example, and not limitation, memory 52 may include a Hard Disk Drive (HDD), a floppy Disk Drive, flash memory, an optical Disk, a magneto-optical Disk, tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 52 may include removable or non-removable (or fixed) media, where appropriate. The memory 52 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 52 is a non-volatile solid-state memory. In particular embodiments, memory 52 includes Read Only Memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
The processor 51 may implement any one of the exposure parameter adjustment methods in the above embodiments by reading and executing computer program instructions stored in the memory 52.
In one example, the exposure parameter adjustment device may further include a communication interface 53 and a bus 50. As shown in fig. 3, the processor 51, the memory 52, and the communication interface 53 are connected via the bus 50 to complete mutual communication.
The communication interface 53 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present invention.
The bus 50 comprises hardware, software, or both that couple the components of the exposure parameter adjustment device to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hypertransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 50 may include one or more buses, where appropriate. Although specific buses have been described and shown in the embodiments of the invention, any suitable buses or interconnects are contemplated by the invention.
The exposure parameter adjustment device may execute the exposure parameter adjustment method in the embodiment of the present invention based on the acquired imaging image, thereby implementing the exposure parameter adjustment method described in conjunction with fig. 2.
In addition, in combination with the exposure parameter adjusting method in the foregoing embodiments, the embodiments of the present invention can be implemented by providing a computer-readable storage medium. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the exposure parameter adjustment methods in the above embodiments.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An exposure parameter adjustment method, comprising:
acquiring an imaging image;
determining brightness values for respective regions in the imaged image;
selecting an area with a brightness value larger than a preset threshold value as an effective exposure area according to the brightness value of each area in the imaging image;
and determining an exposure parameter according to the brightness value of the effective exposure area.
2. The exposure parameter adjustment method according to claim 1, wherein determining the luminance value of each region in the imaged image includes:
equally dividing the imaging image into a plurality of regions;
acquiring brightness values of the regions.
3. The method according to claim 2, wherein before selecting, as the effective exposure area, an area having a luminance value greater than a preset threshold value according to the luminance value of each area in the image, the method further comprises:
sequencing the plurality of regions according to the brightness values;
selecting at least one region from the plurality of regions according to a preset proportion according to the sequence of the brightness values from large to small;
determining an average brightness value of the at least one region according to the brightness value of the at least one region;
determining the preset threshold according to the average brightness value of the at least one region, wherein the preset threshold is less than or equal to the average brightness value.
4. The exposure parameter adjustment method according to claim 3, wherein the preset ratio has a value ranging from 0.2 to 0.75; the ratio of the preset threshold value to the average brightness value of the at least one region ranges from 0.2 to 0.75.
5. The method of claim 2, wherein determining the exposure parameter according to the luminance value of the effective exposure area comprises:
acquiring a first weight distribution table, wherein the first weight distribution table is used for representing the weight value of the brightness value of each of the plurality of areas when determining the exposure parameter;
setting the weight value corresponding to the area which is not in the effective exposure area in the first weight distribution table to be zero to obtain a second weight distribution table;
and determining the exposure parameters according to the second weight distribution table.
6. The exposure parameter adjustment method according to claim 5, wherein after setting the weight value corresponding to the region not in the effective exposure region in the first weight distribution table to zero to obtain a second weight distribution table, the method further comprises:
storing the second weight distribution table.
7. The method of claim 2, wherein determining the exposure parameter according to the luminance value of the effective exposure area comprises:
determining the brightness average value of the effective exposure area according to the brightness value of the effective exposure area;
and determining the exposure parameters according to the brightness average value.
8. An exposure parameter adjustment apparatus, characterized by comprising:
the first acquisition module is used for acquiring an imaging image;
a first determining module for determining brightness values of respective regions in the imaged image;
the first selection module is used for selecting an area with a brightness value larger than a preset threshold value as an effective exposure area according to the brightness value of each area in the image;
and the second determining module is used for determining exposure parameters according to the brightness value of the effective exposure area.
9. An exposure parameter adjustment apparatus comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the exposure parameter adjustment method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the exposure parameter adjustment method according to any one of claims 1 to 7.
CN201911424420.1A 2019-12-31 2019-12-31 Exposure parameter adjusting method, device, equipment and computer readable storage medium Pending CN111182232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911424420.1A CN111182232A (en) 2019-12-31 2019-12-31 Exposure parameter adjusting method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911424420.1A CN111182232A (en) 2019-12-31 2019-12-31 Exposure parameter adjusting method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111182232A true CN111182232A (en) 2020-05-19

Family

ID=70621720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911424420.1A Pending CN111182232A (en) 2019-12-31 2019-12-31 Exposure parameter adjusting method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111182232A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111741227A (en) * 2020-06-24 2020-10-02 浙江大华技术股份有限公司 Exposure parameter adjusting method and device
CN111991704A (en) * 2020-08-28 2020-11-27 深圳大学 Treatment method based on photodynamic treatment system and photodynamic treatment system
CN112200755A (en) * 2020-12-09 2021-01-08 成都索贝数码科技股份有限公司 Image defogging method
CN112422842A (en) * 2020-11-18 2021-02-26 重庆紫光华山智安科技有限公司 Self-adaptive exposure method, medium and terminal
CN112887636A (en) * 2021-01-28 2021-06-01 北京华捷艾米科技有限公司 Infrared image exposure method, device, equipment and storage medium
CN112911165A (en) * 2021-03-02 2021-06-04 杭州海康慧影科技有限公司 Endoscope exposure method, device and computer readable storage medium
CN113114932A (en) * 2021-03-30 2021-07-13 深圳术为科技有限公司 Image processing method, endoscope terminal, and computer-readable storage medium
CN113347369A (en) * 2021-06-01 2021-09-03 中国科学院光电技术研究所 Deep space exploration camera exposure adjusting method, adjusting system and adjusting device thereof
CN114241048A (en) * 2021-12-03 2022-03-25 全芯智造技术有限公司 Characteristic dimension consistency analysis method and device and computer-readable storage medium
WO2022151518A1 (en) * 2021-01-13 2022-07-21 Hong Kong Applied Science and Technology Research Institute Company Limited Auto-exposure method for wireless capsule endoscope
CN114795080A (en) * 2022-04-21 2022-07-29 安翰科技(武汉)股份有限公司 Endoscope exposure control method and endoscope

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167244A (en) * 2011-12-09 2013-06-19 宏达国际电子股份有限公司 Portable electronic device with a camera function, and image capturing method with auto exposure control
CN104580923A (en) * 2014-12-30 2015-04-29 重庆金山科技(集团)有限公司 Exposure device and exposure method for electronic endoscope
US20170237885A1 (en) * 2015-09-28 2017-08-17 Omnitek Partners Llc Method and Apparatus for High Contrast Imaging
CN109729275A (en) * 2019-03-14 2019-05-07 Oppo广东移动通信有限公司 Imaging method, device, terminal and storage medium
CN109889733A (en) * 2019-03-25 2019-06-14 福州瑞芯微电子股份有限公司 A kind of automatic exposure compensation method, storage medium and computer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167244A (en) * 2011-12-09 2013-06-19 宏达国际电子股份有限公司 Portable electronic device with a camera function, and image capturing method with auto exposure control
CN104580923A (en) * 2014-12-30 2015-04-29 重庆金山科技(集团)有限公司 Exposure device and exposure method for electronic endoscope
US20170237885A1 (en) * 2015-09-28 2017-08-17 Omnitek Partners Llc Method and Apparatus for High Contrast Imaging
CN109729275A (en) * 2019-03-14 2019-05-07 Oppo广东移动通信有限公司 Imaging method, device, terminal and storage medium
CN109889733A (en) * 2019-03-25 2019-06-14 福州瑞芯微电子股份有限公司 A kind of automatic exposure compensation method, storage medium and computer

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111741227A (en) * 2020-06-24 2020-10-02 浙江大华技术股份有限公司 Exposure parameter adjusting method and device
CN111741227B (en) * 2020-06-24 2021-06-15 浙江大华技术股份有限公司 Exposure parameter adjusting method and device
CN111991704A (en) * 2020-08-28 2020-11-27 深圳大学 Treatment method based on photodynamic treatment system and photodynamic treatment system
CN112422842B (en) * 2020-11-18 2022-05-31 重庆紫光华山智安科技有限公司 Self-adaptive exposure method, medium and terminal
CN112422842A (en) * 2020-11-18 2021-02-26 重庆紫光华山智安科技有限公司 Self-adaptive exposure method, medium and terminal
CN112200755A (en) * 2020-12-09 2021-01-08 成都索贝数码科技股份有限公司 Image defogging method
US11730352B2 (en) 2021-01-13 2023-08-22 Hong Kong Applied Science and Technology Research Institute Company Limited Auto-exposure method for wireless capsule endoscope
WO2022151518A1 (en) * 2021-01-13 2022-07-21 Hong Kong Applied Science and Technology Research Institute Company Limited Auto-exposure method for wireless capsule endoscope
CN112887636A (en) * 2021-01-28 2021-06-01 北京华捷艾米科技有限公司 Infrared image exposure method, device, equipment and storage medium
CN112911165A (en) * 2021-03-02 2021-06-04 杭州海康慧影科技有限公司 Endoscope exposure method, device and computer readable storage medium
CN112911165B (en) * 2021-03-02 2023-06-16 杭州海康慧影科技有限公司 Endoscope exposure method, device and computer readable storage medium
CN113114932B (en) * 2021-03-30 2023-04-28 深圳术为科技有限公司 Image processing method, endoscope terminal, and computer-readable storage medium
CN113114932A (en) * 2021-03-30 2021-07-13 深圳术为科技有限公司 Image processing method, endoscope terminal, and computer-readable storage medium
CN113347369A (en) * 2021-06-01 2021-09-03 中国科学院光电技术研究所 Deep space exploration camera exposure adjusting method, adjusting system and adjusting device thereof
CN113347369B (en) * 2021-06-01 2022-08-19 中国科学院光电技术研究所 Deep space exploration camera exposure adjusting method, adjusting system and adjusting device thereof
CN114241048A (en) * 2021-12-03 2022-03-25 全芯智造技术有限公司 Characteristic dimension consistency analysis method and device and computer-readable storage medium
CN114241048B (en) * 2021-12-03 2024-01-26 全芯智造技术有限公司 Feature size consistency analysis method and device and computer readable storage medium
CN114795080A (en) * 2022-04-21 2022-07-29 安翰科技(武汉)股份有限公司 Endoscope exposure control method and endoscope
WO2023202675A1 (en) * 2022-04-21 2023-10-26 安翰科技(武汉)股份有限公司 Method for controlling endoscope exposure and endoscope
CN114795080B (en) * 2022-04-21 2024-04-09 安翰科技(武汉)股份有限公司 Endoscope exposure control method and endoscope

Similar Documents

Publication Publication Date Title
CN111182232A (en) Exposure parameter adjusting method, device, equipment and computer readable storage medium
CN108683862B (en) Imaging control method, imaging control device, electronic equipment and computer-readable storage medium
EP3565236B1 (en) Control method, control apparatus, mobile terminal and computer-readable storage medium
CN107343156B (en) Adjusting method and device for automatic exposure control of face area
US20140176783A1 (en) Image capturing apparatus and method for controlling the same
US10453188B2 (en) Methods and devices for improving image quality based on synthesized pixel values
JP2009177472A (en) Image processing method, image processor and imaging device
CN108156369B (en) Image processing method and device
US20090009624A1 (en) Automatic white balance control system, automatic white balance module, and method thereof
TWI407780B (en) Methods for image exposure correction
CN111447372B (en) Control method, device, equipment and medium for brightness parameter adjustment
JP2016072694A (en) Image processing system, control method of the same, program, and recording medium
CN108234895A (en) It is segmented exposure image automatic exposure regulating method and system
CN112653845A (en) Exposure control method, exposure control device, electronic equipment and readable storage medium
JP2006333205A (en) Imaging apparatus, image processing method and image processing program
US9904991B2 (en) Image pickup apparatus that corrects contrast of image, control method for the image pickup apparatus, and storage medium
CN108337448B (en) High dynamic range image acquisition method and device, terminal equipment and storage medium
US11405598B2 (en) Image processing apparatus, image processing method, and storage medium
JP5849515B2 (en) Exposure calculation device and camera
JP2007288245A (en) Imaging apparatus, image processing method, and image processing program
JP7309508B2 (en) IMAGING DEVICE, ITS CONTROL METHOD AND PROGRAM
CN113114932B (en) Image processing method, endoscope terminal, and computer-readable storage medium
JP7163767B2 (en) Image processing device and image processing method
CN109151254B (en) Black balance calibration method and device
JP6590585B2 (en) Imaging apparatus and exposure control method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200519