WO2022196324A1 - 画像処理装置、画像処理方法、及びプログラム - Google Patents
画像処理装置、画像処理方法、及びプログラム Download PDFInfo
- Publication number
- WO2022196324A1 WO2022196324A1 PCT/JP2022/008271 JP2022008271W WO2022196324A1 WO 2022196324 A1 WO2022196324 A1 WO 2022196324A1 JP 2022008271 W JP2022008271 W JP 2022008271W WO 2022196324 A1 WO2022196324 A1 WO 2022196324A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- gain
- white balance
- infrared light
- control value
- balance control
- Prior art date
Links
- 238000012545 processing Methods 0.000 title claims abstract description 72
- 238000003672 processing method Methods 0.000 title claims 3
- 238000001514 detection method Methods 0.000 claims description 62
- 238000003384 imaging method Methods 0.000 claims description 50
- 238000004364 calculation method Methods 0.000 claims description 31
- 230000035945 sensitivity Effects 0.000 claims description 23
- 238000000034 method Methods 0.000 claims description 21
- 239000003086 colorant Substances 0.000 claims description 12
- 230000000694 effects Effects 0.000 claims description 6
- 230000008859 change Effects 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 25
- 230000008569 process Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 7
- 238000005286 illumination Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 230000006866 deterioration Effects 0.000 description 5
- 238000003780 insertion Methods 0.000 description 3
- 230000037431 insertion Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000002542 deteriorative effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/73—Colour balance circuits, e.g. white balance circuits or colour temperature control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
- H04N23/84—Camera processing pipelines; Components thereof for processing colour signals
- H04N23/88—Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
- H04N1/56—Processing of colour picture signals
- H04N1/60—Colour correction or control
- H04N1/6077—Colour balance, e.g. colour cast correction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/10—Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
- H04N23/11—Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths for generating image signals from visible and infrared light wavelengths
Definitions
- the present invention relates to technology for processing images captured by an imaging device.
- WB white balance
- the color of a color image is usually in a state in which only visible light is taken in, that is, an infrared light cut filter (Infra-Red Cut-Off Filter, hereinafter referred to as IRCF) is inserted on the optical axis so as not to take in infrared light.
- IRCF infrared light cut filter
- the color of the imaging device is designed in such a way that infrared light is not taken in, the color of the color image is lost when the infrared light is taken in. Specifically, compared to a state in which infrared light is not taken in, the color of the captured image becomes reddish. That is, the color reproducibility of the imaging device is degraded.
- Patent Document 1 discloses a technique for switching the white balance control method according to the position of the IRCF. According to Patent Document 1, depending on the position of the IRCF, white balance control is performed so that the ratio of the integrated values of the RGB (red, green, and blue) components of the entire screen becomes a prestored ratio, or 1:1. Switches whether to perform white balance control so that the ratio is 1:1. This improves the color reproducibility of the imaging device.
- RGB red, green, and blue
- an object of the present invention is to enable control to an appropriate white balance even when the IRCF is removed.
- the image processing apparatus of the present invention includes detection means for detecting the influence of infrared light on the color of an input image, calculation means for calculating a first white balance control value based on the input image, and the first white balance control value. determining means for determining whether or not the control value is valid; and setting means for setting a predetermined white balance control value based on the determination result of the determining means, wherein the determining means detects the detection by the detecting means. Based on the result, determination conditions for determining whether or not the first white balance control value is effective are determined.
- FIG. 1 is a diagram showing a configuration example of an image processing apparatus according to a first embodiment
- FIG. 4 is a flow chart showing the flow of main parts of image processing according to the present embodiment.
- FIG. 4 is a diagram showing a first example of WB gain control in the first embodiment
- FIG. 9 is a diagram showing a second example of WB gain control in the first embodiment
- FIG. FIG. 11 is a diagram showing a third WB gain control example in the first embodiment
- FIG. 11 is a diagram showing a fourth WB gain control example in the first embodiment
- FIG. 10 is a diagram used for explaining the operation of a gain determination unit in the second embodiment
- FIG. 11 is a diagram illustrating a configuration example of an image processing apparatus according to a third embodiment
- FIG. 11 is a diagram showing an example of WB gain control in the third embodiment
- FIG. FIG. 13 is a diagram illustrating a configuration example of an image processing apparatus according to a fourth embodiment; FIG. It is a figure used for explanation of operation of a gain deciding part in a 4th embodiment.
- FIG. 14 is a diagram showing an example of an input image in the fifth embodiment
- FIG. 13 is a diagram showing an example of WB gain in the fifth embodiment
- FIG. 12 is a diagram showing an example of WB gain control in the sixth embodiment
- FIG. 1 is a block diagram showing a configuration example of an image processing apparatus according to the first embodiment.
- the image processing apparatus according to the first embodiment will be described below with reference to FIG. Assume that the image processing apparatus of the present embodiment is an apparatus built in or connected to an imaging apparatus such as a digital camera or a surveillance camera.
- the input image is an image captured by an imaging unit consisting of a lens and an imaging sensor (not shown).
- the input image is image data (or image signal) composed of a plurality of pixels and includes information of a plurality of colors.
- the plurality of colors are, for example, red (R), green (G), and blue (Blue). This data corresponds to the amount of light that has passed through the filter and has been converted into an electrical signal by the imaging sensor.
- Color filters transmit not only visible light corresponding to red, green, and blue, but also some infrared light (invisible light).
- an infrared light cut filter (Infra-Red Cut-Off Filter: IRCF) is provided to remove the infrared light component so that an image close to human vision can be obtained.
- the imaging sensor is composed of an imaging element such as a CMOS (Complementary Metal Oxide Semiconductor) or a CCD (Charge-Coupled Device).
- the output image is an image in which the white balance is appropriately corrected by multiplying the pixel values of the input image by the white balance gain, which is the final white balance control value obtained as described later.
- white balance will be appropriately referred to as WB.
- the image processing apparatus of the present embodiment performs white balance control (WB control) according to whether the input image is affected by infrared light captured by the imaging sensor. An output image with appropriately corrected white balance is obtained.
- the feature amount acquisition unit 101 acquires a feature amount related to the color of the input image, and outputs the feature amount to the gain calculation unit 102 . More specifically, the feature amount acquisition unit 101 acquires color information for each rectangular area determined by image data included in each rectangular area when the input image is divided into a plurality of rectangular areas.
- the color information is, for example, a representative value of color difference signals for each rectangular area, and the representative value is, for example, an average value or a mode value.
- the gain calculation unit 102 calculates the first white balance control value according to the feature amount of the input image. For example, the gain calculation unit 102 acquires color information for each region from the feature amount acquisition unit 101 and calculates a representative value of the color information of the input image. Then, the gain calculation unit 102 calculates, as a first white balance control value, a white balance gain (hereinafter referred to as WB gain) that makes the representative value of the color information of the output image a predetermined target value.
- WB gains used for white balance control include, for example, a red gain for adjusting the redness of an image (hereinafter referred to as Red gain) and a blue gain for adjusting the blueness of an image (hereinafter referred to as Blue gain). do).
- Information on the WB gain calculated by gain calculation section 102 is sent to gain determination section 104 and gain determination section 105 .
- the infrared light detection unit 103 detects the influence of infrared light on the color of the input image. That is, the infrared light detection unit 103 detects whether or not the color of the input image is affected by the infrared light captured by the imaging sensor, and outputs the detection result to the gain determination unit 104 . For example, the infrared light detection unit 103 detects that the color of the input image is not affected by infrared light when an IRCF (not shown) is inserted on the optical axis of the lens of the imaging unit.
- an IRCF not shown
- the infrared light detection unit 103 detects that the color of the input image is affected by the infrared light when the IRCF is not inserted on the optical axis of the lens of the imaging unit (removed from the optical axis). detect that
- a gain determination unit 104 determines whether or not the WB gain (first white balance control value) obtained from the gain calculation unit 102 is effective based on the detection result obtained from the infrared light detection unit 103. Determine conditions. Gain determination section 104 then determines whether or not the WB gain (first white balance control value) acquired from gain calculation section 102 is effective using the determination condition, and sends the determination result to a gain determination section. output to 105. That is, the gain determination unit 104 determines the WB gain (first white balance control value) is valid. Although details will be described later, in the present embodiment, the gain determination unit 104 uses a predetermined area A1 and a predetermined area A2 for the WB gain as determination conditions.
- the gain determination unit 104 determines that the WB gain is effective when the WB gain acquired from the gain calculation unit 102 is within the predetermined area A1. Determine that there is. Further, when the color of the input image is affected by infrared light, the gain determination unit 104 determines that the WB gain obtained from the gain calculation unit 102 is within a predetermined area A2 different from the predetermined area A1. It is determined that the WB gain is valid.
- the predetermined area A1 represents the effective range of the WB gain when the color of the input image is not affected by the infrared light
- the area A2 represents the effective range of the WB gain.
- This area represents the effective range of the WB gain when the color of the input image is affected by infrared light
- the predetermined area A1 is an area representing the effective range of the WB gain assuming a state in which only visible light is captured by the imaging sensor, that is, a state in which the IRCF is inserted on the optical axis so as not to capture infrared light.
- the position of the predetermined area A2 is designed according to whether the color of the input image is affected by infrared light and the sensitivity of the imaging sensor. That is, the ratio of infrared light to visible light captured by the imaging sensor when the IRCF is removed is the ratio of infrared light to visible light in the imaging environment, or the ratio of the sensitivity to infrared light and the sensitivity to visible light of the imaging sensor. determined by Therefore, in this embodiment, the position of the predetermined area A2 is designed to include a position farther from the position of the predetermined area A1 as the imaging sensor has higher sensitivity.
- the predetermined area A2 is the WB gain when the colors of the input image are not affected by infrared light. It is designed to allow a large difference from the WB gain when
- a gain determination unit 105 determines a final white balance control value (final WB gain) by which an input image is multiplied by a gain multiplication unit 106, which will be described later. Although the details will be described later, the gain determination section 105 determines the final WB gain based on the determination result or determination conditions of the gain determination section 104 .
- the final WB gain multiplied by the input image in the gain multiplication unit 106 is the WB gain (first white balance control value) obtained from the gain calculation unit 102 or a predetermined white balance control value is the second white balance control value as .
- the gain determination unit 105 acquires the WB gain (first white balance control value) from the gain calculation unit 102, acquires the determination result as to whether or not the WB gain is effective from the gain determination unit 104, and obtains the final WB gain is determined and output to gain multiplying section 106 . More specifically, when the determination result obtained from the gain determination unit 104 indicates validity, the gain determination unit 105 sets the first white balance control value calculated by the gain calculation unit 102 to the final white balance control value. WB gain is output to gain multiplying section 106 as a typical WB gain.
- the gain determination unit 105 sets the predetermined white balance control value (second white balance control value) to the final WB gain is output to gain multiplying section 106 .
- the second white balance control value is, for example, a WB gain stored in a storage device (not shown).
- the WB gains stored in the storage device are, for example, WB gains used as final WB gains in the past, and predetermined WB gains included within a predetermined area A1 or A2.
- the gain multiplication unit 106 acquires the final WB gain from the gain determination unit 105, and multiplies the input image by the final WB gain to generate and output a white balance-controlled output image.
- FIG. 2 is a flow chart showing an example of the flow of main parts of image processing executed by the image processing apparatus of this embodiment. An example of image processing according to the present embodiment will be described below with reference to the flowchart of FIG. In addition, in the description of the flow charts below, the processing step is indicated by using the symbol "S".
- the feature amount acquisition unit 101 acquires a feature amount related to the color of the input image.
- the gain calculation unit 102 calculates the WB gain P, which is the first white balance control value, based on the feature amount acquired in S1.
- the infrared light detection unit 103 detects whether or not the colors of the input image are affected by the infrared light captured by the imaging sensor. Then, when the infrared light detection unit 103 detects that the color of the input image is not affected by the infrared light, the process proceeds to S4. On the other hand, when the infrared light detection unit 103 detects that the color of the input image is affected by infrared light, the process proceeds to S5.
- the gain determination unit 104 determines whether or not the WB gain P is included in the area A1. Then, when the WB gain P is included in the area A1, the gain determination section 104 determines that the WB gain P is effective, and advances the process to S6. On the other hand, when the WB gain P is not included in the area A1, the gain determination unit 104 determines that the WB gain P is not effective, and advances the process to S7.
- the gain determination unit 104 determines whether or not the WB gain P is included in the area A2. Gain determining section 104 then determines that WB gain P is effective when WB gain P is included in area A2, and then the process proceeds to S6. On the other hand, when the WB gain P is not included in the predetermined area A2, the gain determination section 104 determines that the WB gain P is not effective, and then the process proceeds to S8.
- the gain determining section 105 After proceeding to S6, the gain determining section 105 outputs the WB gain P (first white balance control value) to the gain multiplying section 106 as the final WB gain.
- the gain determination unit 105 sets the WB gain Q as the predetermined white balance control value (second white balance control value) as the final WB gain and outputs it to the gain multiplication unit 106.
- WB gain Q will be described later.
- gain determining section 105 sets WB gain R as a predetermined white balance control value (second white balance control value) as a final WB gain and outputs it to gain multiplying section .
- WB gain R will be described later.
- FIG. 3 is a diagram showing a first WB control example, which is an example of white balance gain control in this embodiment.
- a predetermined area A1 represents the effective range of the WB gain when the color of the input image is not affected by infrared light, and is hereinafter referred to as the effective area A1.
- a predetermined area A2 represents the effective range of the WB gain when the color of the input image is affected by infrared light, and is hereinafter referred to as the effective area A2.
- the effective range is designed so that the WB gain within the effective range is applied to the input image so that the white balance is appropriately controlled and the user does not feel uncomfortable.
- the WB gain belonging to the effective area A1 is applied to the input image, thereby preventing the deterioration of the image quality due to the collapse of the white balance. can.
- applying the WB gain belonging to the effective area A2 to the input image prevents the deterioration of the image quality due to the collapse of the white balance. can be prevented.
- WB gains P1, P2, P3, Q, and R each represent a WB gain.
- WB gain P1 represents the WB gain calculated when the colors of the input image are not affected by infrared light
- WB gains P2 and P3 are calculated when the colors of the input image are affected by infrared light.
- WB gain calculated when there is The illustrated three WB gains included in the WB gain P2 indicate that one of the three WB gains that is most suitable for the lighting conditions of the shooting environment is applied.
- the WB gain P3 is a WB gain outside the range of the effective area A2 when the color of the input image is affected by infrared light, and is a WB gain that is not applied to the input image. .
- the WB gain Q is set for the input image when the color of the input image is not affected by infrared light and the WB gain calculated from the feature amount of the input image is outside the range of the effective area A1. is the WB gain within the effective area A1 applied at On the other hand, when the color of the input image is affected by infrared light and the WB gain calculated from the feature amount of the input image is outside the range of the effective area A2, the WB gain R is is the WB gain within the effective area A2 applied to .
- control is performed to gradually change the WB gain over time.
- the effective range of WB gain is fixed regardless of whether the color of the input image is affected by infrared light. Therefore, when the color of the input image is affected by infrared light, it is not possible to apply the optimum WB gain for the lighting conditions of the shooting environment shown in WB gain P2 in FIG. WB gain shown in is applied. Therefore, if the difference between the actually applied WB gain and the optimum WB gain is large, there is a risk that the white balance will be lost and the image quality will be degraded.
- the effective range of WB gain is variable depending on whether the color of the input image is affected by infrared light. Therefore, in this embodiment, when the color of the input image is affected by infrared light, a WB gain that is optimal for the lighting conditions of the shooting environment, such as the WB gain P2 in FIG. 3, is applied. can be done. On the other hand, when the color of the input image is affected by infrared light, even if the WB gain P3 outside the effective range is calculated, the WB gain R within the effective range is applied. It is possible to prevent deterioration of image quality due to collapse of white balance.
- the effective area A2 of the WB gain is designed according to the sensitivity of the imaging sensor when the color of the input image is affected by infrared light. That is, in the present embodiment, the higher the sensitivity of the imaging sensor, the more the position of the effective area A2 of the WB gain, and the position of the effective area A1 of the WB gain when the color of the input image is not affected by the infrared light. It is designed to include positions away from
- the lower the illuminance the greater the ratio of the infrared light component to the visible light component in the shooting environment, so the captured image becomes more reddish.
- the higher the sensitivity of the imaging sensor the higher the SN even in a low-illuminance environment, and the captured image that retains the original color of the subject can be obtained. From the above, the higher the sensitivity of the imaging sensor, the more aggressively the white balance can be controlled in a low-illumination environment, even if the color of the input image is affected by infrared light.
- the higher the sensitivity of the imaging sensor the more aggressively the white balance is controlled even when the color of the input image is affected by the infrared light. . That is, in the white balance control of the present embodiment, the higher the sensitivity of the imaging sensor, the more widely different WB gain is applied compared to the WB gain when the color of the input image is not affected by infrared light. make it As a result, it is possible to improve the color reproducibility of the captured image at low illuminance while preventing significant deterioration of the white balance.
- the IRCF insertion/removal state is detected by the infrared light detection unit 103, but the present invention is not limited to this.
- the infrared light detection unit 103 it is detected whether or not the colors of the input image are affected by the infrared light according to the ON/OFF state of the infrared illumination. good too. That is, when the infrared lighting unit is emitting infrared light, it is detected that the color of the input image is affected by the infrared light, and when the infrared lighting unit is not emitting infrared light. It may also be detected that the color of the input image is not affected by infrared light.
- the user may set whether or not the color of the input image is affected by infrared light. That is, a WB control mode in which the colors of the input image are affected by infrared light and a WB control mode in which the colors of the input image are not affected by infrared light are provided. Either WB control mode may be selected.
- the gain determining section 105 may output the WB gain Q or the WB gain R to the gain multiplying section 106 only at the timing when the detection result of the infrared light detection section 103 changes. For example, assume that the WB gain calculated by the gain calculation unit 102 is outside the range of the effective area A2 when the color of the input image is affected by infrared light. In this case, the gain determination unit 105 outputs the current WB gain instead of the WB gain R when the currently applied WB gain is within the range of the effective area A2 based on the WB gain calculated in the past. On the other hand, at the timing when the IRCF is removed, the currently applied WB gain was calculated when the IRCF was inserted, and is within the effective area A1.
- WB gain R is output. That is, when the color of the input image is affected by the infrared light, the gain determination unit 105 determines the gain within the range of the effective area A2 only when the currently applied WB gain is outside the range of the effective area A2. WB gain R is output.
- FIG. 4 is a diagram showing a second WB control example in this embodiment.
- the gain determining section 105 sets the WB gain Q and the WB gain R to the center of the effective area A1 and the effective area A2, respectively. By doing so, an average WB gain within the effective area can be applied. As a result, even if the true (optimal) WB gain is any gain within the effective area, the difference between the applied WB gain and the true (optimal) WB gain can be suppressed to a small amount, and white It is possible to prevent the balance from greatly collapsing. In addition, since the difference between the applied WB gain and the true (optimal) WB gain can be kept small, when the WB gain is gently controlled in terms of time, the WB gain can be set to the true value (optimal value). ) can be minimized.
- FIG. 5 is a diagram showing a third WB control example in this embodiment.
- the gain determination unit 105 sets the WB gain R to the WB gain closest to the WB gain P3 in the area A2 instead of setting the WB gain R to the predetermined WB gain in the area A2. and Also, the gain determination unit 104 makes the effective area A2 when the color of the input image is affected by infrared light larger than the effective area A1 when the color of the input image is not affected by infrared light. You can make it smaller. If the color of the input image is affected by infrared light, the color of the subject may deviate greatly depending on the material of the subject. There is a risk that it will be lost. As shown in FIG.
- FIG. 6 is a diagram showing a fourth WB control example in this embodiment.
- the gain determination unit 105 sets the WB gain P2 calculated when the color of the input image is affected by infrared light to The WB gain Ra is set to be within the WB gain effective area A2 under the influence. Further, the gain determination unit 105 sets the WB gain P3 calculated when the color of the input image is affected by infrared light to the WB gain P3 when the color of the input image is affected by infrared light. may be output as a WB gain R within the effective area A2 of .
- the WB gain P2 is within the WB gain effective area A2 when the color of the input image is affected by infrared light
- the WB gain P3 is within the range of the WB gain effective area A2 when the color of the input image is affected by infrared light. It is outside the range of the effective area A2 of the WB gain in the case.
- the WB gain Ra is within the range of the effective area A2 and is a WB gain predetermined for appropriately controlling the white balance.
- the white balance even when the color of the input image is affected by infrared light, it is necessary to set a wide effective area A2.
- the effective area A2 is set wide, the range of WB gains that can be obtained increases, so there is a risk that an unexpected WB gain will be applied and the white balance will be lost. Therefore, in the fourth WB control example, even if the calculated WB gain (for example, the WB gain P2) is within the range of the effective area A2, the WB gain (for example, the WB gain Ra ) apply. As a result, it is possible to prevent the white balance from being greatly disturbed due to the application of unexpected WB gains. It is possible to improve the color reproducibility of the captured image.
- appropriate image data can be generated according to insertion/removal of the IRCF.
- the gain determination unit 105 acquires the WB gain from the gain calculation unit 102 and acquires the determination result as to whether or not the WB gain is valid from the gain determination unit 104 . Further, gain determining section 105 determines the final WB gain based on the acquired information and the current WB gain stored in gain determining section 105 . In the case of the second embodiment, gain determining section 105 outputs to gain multiplying section 106 a WB gain that gradually changes from the current WB gain to the final WB gain. Note that the current WB gain is the WB gain calculated in the past and set in the gain multiplication unit 106, and in the case of moving images, for example, the WB gain applied to the input image one frame before. .
- FIG. 7 is a diagram used for explaining the operation of the gain determining unit 105 of the second embodiment.
- the WB gain P1 in FIG. 7 is the current WB gain
- the WB gain P2 is the WB gain calculated by the gain calculation unit 102 when the color of the input image is affected by infrared light.
- the WB gain P2 is the WB gain within the effective area A2, so the gain determination unit 105 sets this WB gain P2 as the final WB gain. .
- gain determining section 105 sequentially calculates a plurality of WB gains positioned between WB gains P1 and P2 so that WB gains gradually change from WB gain P1 to WB gain P2. Output. That is, the gain determination unit 105 sets the target WB gain when the WB gain is gradually changed, and sets the WB gain so that the WB gain (current WB gain) applied to the input image gradually approaches the target WB gain. is sequentially calculated and output.
- the gain determining section 105 determines the target WB gain depending on whether the current WB gain belongs only to the effective area A1, only to the effective area A2, or to the common area of the effective areas A1 and A2. to control. For example, when the current WB gain belongs to the effective area A1 excluding the common area of the effective areas A1 and A2 (for example, the position of P1 in FIG. 7), the gain determining section 105 sets the target WB gain to the area between the effective areas A1 and A2. A WB gain belonging to the common area (for example, the position of R in FIG. 7) is set. Then, gain determining section 105 sets the WB gain such that the current WB gain gradually approaches WB gain R.
- the gain determination unit 105 sets the target WB gain to the originally calculated WB gain P2 after the current WB gain reaches the WB gain R belonging to the common area of the effective areas A1 and A2. That is, when the current WB gain belongs to the common area of the effective areas A1 and A2, the gain determining section 105 sets the target WB gain to the WB gain belonging to the effective area A2 excluding the common area of the effective areas A1 and A2 (for example, position P2). Then, gain determination section 105 sets and outputs the WB gain so that the current WB gain changes slowly over time from WB gain R to the final target WB gain P2.
- the target WB gain is set to the first target WB gain belonging to the common area of the two effective areas until the current WB gain reaches the common area of the two effective areas from one effective area. do. Then, after reaching the common area of the two effective areas, the first target WB gain is set to the second target WB gain (final WB gain) belonging to the other effective area.
- the gain determination unit 105 sets the target WB gain between two effective areas immediately after switching whether or not the color of the input image is affected by infrared light, that is, immediately after the effective area of the WB gain is switched.
- a WB gain belonging to a common area of areas may be set.
- the gain determining unit 105 may output the WB gain belonging to the common area of the two effective areas at the timing immediately after switching whether or not the color of the input image is affected by infrared light. Since the color of the input image changes significantly at the timing when the color of the input image changes whether or not it is affected by infrared light, it is considered that even if the white balance changes significantly, the image quality is not likely to deteriorate.
- the gain determination unit 105 changes the WB gain to be applied to the input image, for example, from the WB gain P1 in FIG. Change to WB gain R. Thereafter, gain determination section 105 gently changes the WB gain from WB gain R to WB gain P2 in FIG. By implementing in this way, the time required to reach the original final target WB gain is shortened while preventing the WB gain from converging before reaching the original final target WB gain. be able to.
- the third embodiment detects the magnitude of the influence of infrared light on the color of the input image, and controls the white balance according to the magnitude of the influence of infrared light. Therefore, in the third embodiment, even if the color of the input image is always affected by the infrared light captured by the imaging sensor, appropriate white balance control can be performed according to the relative magnitude of the influence. It can be performed.
- FIG. 8 is a configuration diagram showing an example of the functional configuration of an image processing apparatus according to the third embodiment. Note that the same reference numerals are given to the same functional units as in the first embodiment, and the description thereof will be omitted.
- the infrared light detection unit 303 acquires the feature amount related to the color of the input image from the feature amount acquisition unit 101 . Then, the infrared light detection unit 303 detects how much the color of the input image is affected by the infrared light captured by the imaging sensor, based on the feature amount related to the color of the input image, and outputs the detection result. Output to the gain determination unit 304 . More specifically, the infrared light detection unit 303 calculates the average color value of the input image, and detects that the larger the red component of the calculated average color value, the greater the influence of the infrared light. It is detected that the smaller the red component of the calculated color average value, the smaller the influence of the infrared light.
- the gain determination unit 304 determines whether or not the WB gain obtained from the gain calculation unit 102 is valid according to the detection result obtained from the infrared light detection unit 303, and outputs the determination result to the gain determination unit 105. . More specifically, the gain determination unit 304 determines whether or not the WB gain is effective based on different determination conditions according to the degree of influence of infrared light on the color of the input image. For example, if the WB gain is within a predetermined area (effective area A20 in FIG. 9 described later) when the influence of infrared light on the color of the input image is small, the gain determination unit 304 is valid.
- the gain determination unit 304 determines that the WB gain is within a predetermined area (effective area A21 in FIG. 9 to be described later). is valid. Further, the gain determination unit 304 determines that the WB gain is effective when the WB gain is within the predetermined area (A22) when the influence of the infrared light on the color of the input image is large. Further, the gain determination unit 304 sets the positions of the regions such that the predetermined regions are farther apart, for example, as the difference in the magnitude of the influence of the infrared light on the color of the input image increases.
- determination as to whether the magnitude of the influence of the infrared light on the color of the input image is small, large, or medium may be made, for example, based on whether it is within the corresponding effective range. , and comparison with corresponding thresholds.
- FIG. 9 is a diagram used for explaining the operations of the gain determination section 304 and the gain determination section 105 in the third embodiment.
- An area A20 in FIG. 9 represents an effective range (effective area A20) when the influence of infrared light on the color of the input image is small.
- An area A21 in FIG. 9 represents an effective range (effective area A21) when the influence of infrared light on the color of the input image is medium, and an area A22 in FIG. It represents an effective range (assumed to be an effective area A22) when the influence of outside light is large.
- the WB gains in the valid range are the WB gains that, when applied to the input image, produce a properly white-balanced output image.
- the WB gain P22 in FIG. 9 represents the effective WB gain belonging to the effective area A22, which is calculated when the influence of the infrared light on the color of the input image is small and the effective area A20 is set.
- the WB gain P22 in FIG. 9 represents the effective WB gain belonging to the effective area A22, which is calculated when the influence of the infrared light on the color of the input image is large and the effective area A22 is set.
- the WB gain P31 in FIG. 9 is calculated when the influence of infrared light on the color of the input image is moderate and the effective area A21 is set. WB gain that is not
- the WB gain R1 in FIG. 9 has a moderate degree of influence of infrared light on the color of the input image, and when the effective area A21 is set, the calculated WB gain is WB gain to be applied to the input image if there is.
- the WB gain P20 is set when the influence of the infrared light on the color of the input image is small, the WB gain R1 is set when the influence is medium, and the WB gain P22 is set when the influence is large. , each WB gain is applied.
- the effective range of the optimum WB gain can be set according to the degree of influence of infrared light on the color of the input image. It is possible to improve color reproducibility and prevent large collapse of white balance.
- the infrared light detection unit 303 calculates the average color value of the input image, and detects that the larger the red component of the calculated color average value, the greater the influence of the infrared light.
- the method is not limited to this.
- the infrared light detection unit 303 may acquire illuminance information of the shooting environment and detect that the lower the illuminance, the greater the influence of the infrared light.
- the illuminance information may be calculated based on the brightness of the input image, calculated based on the exposure conditions, or calculated based on the read value of an illuminance sensor (not shown).
- the infrared light detection unit 303 may detect that the influence of infrared light is greater as the bias in the distribution of color information is greater, based on the distribution of color information for each region of the input image. This is because the greater the influence of infrared light, the less the color component of the subject, so the color of the captured image is dominated by reddishness due to infrared light rather than the color of the subject, and the distribution of color information is biased around red. .
- the gain determination unit 304 may perform control so that the size of the effective range of the WB gain becomes smaller as the influence of the infrared light on the color of the input image increases, as shown in FIG.
- the influence of infrared light on the color of the input image increases, the original color components of the subject decrease, and it is conceivable that the amount of noise increases due to insufficient sensitivity of the imaging sensor.
- an unexpected WB gain is calculated, and there is a risk that the white balance will be greatly disturbed. Therefore, by reducing the size of the effective range of WB gains as the influence of infrared light on the color of the input image increases, it is possible to prevent the application of unexpected WB gains and achieve an appropriate white balance. can be controlled.
- FIG. 10 is a configuration diagram showing an example of the functional configuration of an image processing apparatus according to the fourth embodiment. Note that the same reference numerals are given to the same functional units as in the first embodiment, and the description thereof will be omitted.
- Gain determination section 405 acquires the WB gain from gain calculation section 102 , acquires the determination result as to whether or not the WB gain is effective from gain determination section 104 , determines the final WB gain, and gain multiplication section 106 . output to Also, the gain determination unit 405 determines whether the output image should be chromatic or achromatic based on the WB gain calculated by the gain calculation unit 102, and outputs the result to the color switching unit 407. . Furthermore, when the gain determination unit 405 determines to make the output image achromatic, the gain determination unit 405 outputs a predetermined WB gain to the gain multiplication unit 106 as the final WB gain.
- the color switching unit 407 acquires the result of determination as to whether the output image is to be chromatic or achromatic from the gain determining unit 405, and if it is to be achromatic, color-converts the input image into an achromatic color and outputs the image. to output
- FIG. 11 is a diagram used for explaining WB gain control in the fourth embodiment.
- area A1 represents the effective range (effective area A1) of the WB gain when the color of the input image is not affected by infrared light
- area A2 is the area where the color of the input image is affected by infrared light.
- the effective range (effective area A2) of the WB gain when receiving is shown. WB gains within the valid range are applied to the input image to produce the output image.
- the effective range is designed so that the WB gain within the effective range is applied to the input image so that the white balance is appropriately controlled and the user does not feel uncomfortable.
- the WB gain P1 is a WB gain calculated when the color of the input image is not affected by infrared light.
- WB gains P2a, P2b, and P2c are WB gains calculated when the color of the input image is affected by infrared light.
- the WB gain when the color of the input image is affected by the infrared light has a large difference compared to the WB gain when the color of the input image is not affected by the infrared light. That is, the WB gain P2a is the WB gain when the influence of the infrared light is relatively small, the WB gain P2b is the WB gain when the influence of the infrared light is medium, and the WB gain P2c is the WB gain when the influence of the infrared light is relatively This is the WB gain when the influence of infrared light is large.
- the gain determination unit 405 determines that the output image is a chromatic color CC in a range in which the WB gain (red gain) is greater than a predetermined range, for example, the WB gain P2b. set the obtained WB gain to the final WB gain. Thereby, the white balance is dynamically controlled according to the calculated WB gain.
- the WB gain (red gain) is within a predetermined range, for example, a range smaller than the WB gain P2b
- the gain determination unit 405 determines that the output image is an achromatic NC, Apply WB gain.
- the WB gain control By performing such WB gain control, if the sensitivity of the imaging sensor is sufficient, the color reproducibility of the captured image can be improved by controlling the white balance according to the influence of infrared light on the color of the input image. An improvement effect can be obtained.
- the WB gain is set to a fixed value and the output image is rendered achromatic, thereby preventing the display of an image in which the white balance is significantly degraded. can do.
- the gain determination unit 405 determines whether to use an achromatic color or a chromatic color according to the Red gain, the present invention is not limited to this. It may be determined whether to use an achromatic color or a chromatic color according to the Blue gain. Further, the gain determination unit 405 may acquire the illuminance information of the imaging environment, and determine to use an achromatic color when the illuminance is low and a chromatic color when the illuminance is high.
- the functional configuration diagram of the image processing apparatus according to the present embodiment is the same as that of the first embodiment, so it is omitted. Also, the description of the functional units that are the same as those of the first embodiment will be omitted, and only the functional units that have different functions from those of the first embodiment will be described below.
- a gain multiplication unit 106 acquires the WB gain determined by the gain determination unit 105, and multiplies the input image by the WB gain to generate and output an output image.
- the gain multiplication unit 106 calculates the brightness value of each pixel based on the acquired input image, and sets the final WB gain for each pixel based on the brightness value. It also has the function to That is, the gain multiplier 106 of the fifth embodiment applies the WB gain set for each pixel to the input image as the final WB gain based on the luminance value of each pixel.
- the gain multiplication unit 106 calculates the brightness of each pixel included in the input image. Then, the gain multiplying unit 106 applies the WB gain determined by the gain determining unit 105 as the final WB gain to pixels whose brightness is less than the predetermined value. On the other hand, the gain multiplication unit 106 sets a third white balance control value as a predetermined white balance control value for pixels whose brightness is equal to or higher than a predetermined value, and applies it as the final WB gain. In this embodiment, the third white balance control value is a predetermined WB gain.
- FIG. 12 shows a subject 1200 existing in a low illumination environment.
- the subject 1200 also has a light source 1201, such as an LED indicator.
- subject 1200 may be a device installed in an unmanned facility and equipped with an LED indicator that indicates the operational status of the device. It is assumed that the device of this subject 1200 emits light from an LED indicator for the purpose of issuing an alert when some kind of abnormality occurs in the device.
- the environment in which the object 1200 exists has a low illuminance, so the influence of infrared light on the color of the input image is large.
- the infrared light has less effect on the color of the input image when the LED indicator emits visible light.
- the area of the region 1203 where the influence of the infrared light on the color of the input image is greater. Therefore, if uniform white balance control is performed on the entire image, a WB gain suitable for the image of the area 1203 that is greatly affected by infrared light will be applied to the entire image.
- the WB gain suitable for the image of the area 1203, which is greatly influenced by infrared light is applied to the area 1202, which is less influenced by infrared light, around the LED indicator.
- the white balance of the area 1202 around the LED indicator where the influence of infrared light is small may not be appropriately controlled, and it is possible that the correct color of the LED indicator cannot be identified. In other words, the alert issued by the device may be overlooked.
- the gain multiplication unit 106 of the present embodiment determines a high-luminance region in the input image as a region dominated by visible light, and determines a low-luminance region in the input image as a region dominated by infrared light. judge. Then, the gain multiplying unit 106 sets the third white balance control value as a WB gain suitable for visible light for a region where visible light is dominant, that is, a region with high brightness.
- the third white balance control value suitable for visible light is a WB gain suitable for a light source with a predetermined color temperature, for example, a white light source of 5600K (Kelvin).
- the gain multiplying unit 106 applies the WB gain when the color of the input image is affected by the infrared light to the area where the infrared light is dominant, that is, the area of low brightness. That is, the gain multiplying unit 106 applies the WB gain acquired from the gain determining unit 105 to the pixels in the low luminance area.
- FIG. 13 shows an example of a WB gain correction method performed by the gain multiplication unit 106 for each pixel, and shows a blue gain 1300 and a red gain 1301 .
- the gain multiplication unit 106 determines that the area is dominated by visible light, and applies a WB gain suitable for visible light.
- the gain multiplication unit 106 determines that the area is dominated by infrared light, and obtains a WB gain suitable for an image containing infrared light. apply. More specifically, when the luminance value of the pixel of the input image is equal to or greater than the first luminance threshold value (Y1 or more), the gain multiplication unit 106 determines that the area is dominated by visible light, and Apply appropriate WB gain.
- the gain multiplication unit 106 determines that the area is dominated by infrared light, and determines that the image contains infrared light.
- WB gain suitable for the WB gain suitable for visible light is the WB gain suitable for a white light source of 5600K (Kelvin), for example, as described above.
- the WB gain suitable for an image containing infrared light is the WB gain obtained from the gain determination unit 105 .
- the first luminance threshold and the second luminance threshold may be the same predetermined value, they are different values in this embodiment, and the first luminance threshold is greater than the second luminance threshold.
- the gain multiplying unit 106 determines that the WB gain calculated by the gain calculating unit 102 is not valid when the luminance value of the pixel of the input image is equal to or greater than the first luminance threshold value Y1.
- the gain multiplication unit 106 sets a predetermined WB gain, for example, a WB gain suitable for a white light source of 5600K, as the third white balance control value for pixels having a brightness equal to or greater than the first luminance threshold value Y1. Apply.
- the gain multiplying unit 106 determines that the WB gain calculated by the gain calculating unit 102 is valid. Then, gain multiplying section 106 applies the WB gain determined by gain determining section 105 .
- the gain multiplication unit 106 sets a WB gain suitable for visible light and a A WB gain that is intermediate between a WB gain suitable for an image containing infrared light is calculated.
- the gain multiplier 106 in this case applies this intermediate WB gain to the pixels of the input image.
- the intermediate WB gain is a WB gain that is obtained by slowly changing over time between the first luminance threshold and the second luminance threshold.
- the functional configuration diagram of the image processing apparatus according to the present embodiment is substantially the same as that of the first embodiment, so the illustration is omitted. Also, the description of the functional units that are the same as those of the first embodiment will be omitted, and only the functional units that have different functions from those of the first embodiment will be described below.
- the gain calculation unit 102 outputs a white balance control value (WB gain) calculated by a method different from the above-described embodiments, based on the detection result of the infrared light detection unit 103. More specifically, the gain calculator 102 of the sixth embodiment calculates the WB gain by a method different from that for other periods at the timing when the detection result acquired from the infrared light detector 103 changes.
- the different WB gain calculation methods are, for example, estimating that the input image is an achromatic object, and calculating the WB gain so that the integral value or average value of the colors of the input image becomes a numerical value representing an achromatic color. It is a method that calculates Such a WB gain calculation method will be referred to as "white setting" in the following description.
- the infrared light detection unit 103 detects the influence of infrared light on the color of the input image.
- the detection result of the infrared light detection unit 103 is sent not only to the gain determination unit 104 but also to the gain calculation unit 102 .
- the gain determination unit 104 determines whether the WB gain obtained from the gain calculation unit 102 is valid based on the detection result obtained from the infrared light detection unit 103, and outputs the determination result to the gain determination unit 105. do. In the case of the sixth embodiment, the gain determination unit 104 determines whether or not the WB gain is effective based on different determination conditions based on the detection result of the infrared light detection unit 103 . That is, the gain determination unit 104 of the sixth embodiment determines that the WB gain acquired from the gain calculation unit 102 is valid at the timing when the detection result acquired from the infrared light detection unit 103 changes.
- Gain determination section 105 acquires the WB gain from gain calculation section 102 , acquires the determination result as to whether or not the WB gain is effective from gain determination section 104 , determines the final WB gain, and gain multiplication section 106 . output to The gain determination unit 105 according to the sixth embodiment determines that the WB gain from the gain calculation unit 102 is calculated in the white setting process and is effective at the timing when the infrared light detection result changes. is the determined WB gain, the WB gain is fixed. More specifically, the gain determination unit 105 of the sixth embodiment is reinserted after the IRCF is removed, and until the detection result of the infrared light detection unit 103 changes, that is, until the IRCF is removed. It continues to output a constant WB gain while it is on.
- FIG. 14 is a diagram used for explaining the operation of the gain determining unit 105 of the sixth embodiment.
- area A1 represents the effective range of WB gain (effective area A1) when the color of the input image is not affected by infrared light
- area A2 is the area where the color of the input image is affected by infrared light.
- the effective range (effective area A2) of the WB gain when receiving is shown.
- the WB gain P1 within the effective area A1 is applied to the input image to generate the output image.
- the WB gain P2 in FIG. 14 represents the WB gain calculated at the timing when the influence of the infrared light on the color of the input image changes.
- the WB gain P2 is calculated by, for example, the white setting process described above.
- the white setting process is performed at the timing when the influence of the infrared light on the color of the input image changes.
- the WB gain P2 calculated at the timing when the presence or absence of the influence of infrared light on the color of the input image is changed is determined to be valid and applied to the input image. That is, in the case of the sixth embodiment, white setting processing is performed at the timing when the IRCF is inserted and removed, and the WB gain calculated thereby is applied. This makes it possible to control the white balance according to the influence of infrared light on the color of the input image, and improve the color reproducibility of the output image.
- the effectiveness of the WB gain calculated at the timing when the presence or absence of the influence of infrared light on the color of the input image is changed is determined unconditionally or based on a condition that is relaxed more than usual. It applies. Therefore, the method of calculating the WB gain is not limited to the method of the white setting process described above. Also, in general white setting processing, the WB gain after setting is fixed, but it may or may not be fixed. In this embodiment, after setting the WB gain P2 in FIG. 14, the effective area of the WB gain remains the area A1. A WG gain is calculated. That is, an invalid WB gain is calculated, and in that case, the currently set white balance is maintained, so that the WB gain is naturally fixed to P2.
- the image processing apparatus may be realized by an information processing apparatus (computer) such as a personal computer or a smartphone connected to the imaging apparatus. good.
- the image capturing apparatus includes raw data captured by the image capturing unit, shooting parameters indicating exposure time, frame rate, exposure value, etc., and information indicating whether IRCF is used, that is, infrared light for the color of the input image. It also outputs to the computer information indicating the presence or absence of the influence of The information indicating the presence or absence of the influence of infrared light may be input by the user. Then, the computer performs image processing similar to that described in the above embodiment.
- the computer in this example executes software program code that implements the image processing of this embodiment.
- a computer that realizes the image processing apparatus of this embodiment includes a CPU, a ROM, a RAM (random access memory), an auxiliary storage device, a display unit, an operation unit, a communication I/F, and It is configured with a bus and the like.
- the CPU uses the computer programs and data stored in the ROM and RAM to control the entire computer and to perform the aforementioned white balance control and the like.
- the image processing apparatus of the present embodiment may have one or a plurality of dedicated hardware different from the CPU, and may be configured such that at least part of the processing by the CPU is executed by the dedicated hardware.
- Examples of dedicated hardware include ASICs (Application Specific Integrated Circuits), FPGAs (Field Programmable Gate Arrays), and DSPs (Digital Signal Processors).
- the ROM stores programs and the like that do not require modification.
- the RAM temporarily stores programs and data supplied from the auxiliary storage device, data supplied from the outside via the communication I/F, and the like.
- the auxiliary storage device is composed of an HDD or the like, and stores various data such as image data, shooting parameters, and information indicating the presence or absence of the influence of infrared light.
- the display unit is composed of, for example, a liquid crystal display, an LED display, or the like, and displays a GUI or the like for the user to operate the image processing apparatus.
- the operating unit includes, for example, a keyboard, mouse, joystick, touch panel, etc., and inputs various instructions to the CPU in response to user's operations.
- the CPU also operates as a display control section that controls the display section and as an operation control section that controls the operation section.
- a communication I/F is used for communication with an external device of the image processing apparatus. For example, when the image processing device is further connected to an external device by wire, a communication cable is connected to the communication I/F. If the image processing device has a function of wirelessly communicating with an external device, the communication I/F has an antenna.
- the bus connects each part of the image processing apparatus to transmit information.
- the external device connected to the image processing device is the above-described imaging device, other information processing device, or the like.
- the display section and the operation section are assumed to exist inside the image processing apparatus, at least one of the display section and the operation section may exist as a separate device outside the image processing apparatus.
- the image processing apparatus does not necessarily have to include a display section and an operation section.
- the present invention supplies a program that implements one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in the computer of the system or apparatus reads and executes the program. It can also be realized by processing to It can also be implemented by a circuit (for example, ASIC) that implements one or more functions.
- a circuit for example, ASIC
Abstract
Description
図1は第1の実施形態の画像処理装置の構成例を示したブロック図である。
次に、図7を参照して、第2の実施形態の画像処理装置について説明する。第2の実施形態のホワイトバランス制御では、WBゲインの急峻な変動に伴う画質劣化を防止するため、WBゲインを時間的に緩やかに変化させる。
以下、第3の実施形態の画像処理装置について説明する。すでに説明した実施形態では、IRCFの挿抜や、赤外照明の点灯/消灯、ユーザによるモード切り替えなど、入力画像の色が撮像センサで取り込んだ赤外光の影響を受けているか否かに応じてホワイトバランスを制御する。
以下、第4の実施形態の画像処理装置について説明する。すでに説明した実施形態では入力画像の色が、撮像センサで取り込んだ赤外光の影響を受けている場合であっても、ホワイトバランスを適切に制御して、有彩色の出力画像を出力するものである。それに対して第4の実施形態では、入力画像の色が撮像センサで取り込んだ赤外光の影響を受けている場合に、赤外光の影響の大きさに応じて出力画像を有彩色とするか、または無彩色とするかを切り替える。
以下、第5の実施形態の画像処理装置について説明する。すでに説明した実施形態は、画像全体に対して一様に適用するWBゲインを制御するものである。それに対して、第5の実施形態は、入力画像の色に対する赤外光の影響の大きさを画素毎に判定して、その画素毎の判定結果に基づいて、画素毎にWBゲインを設定する。
以下、第6の実施形態の画像処理装置について説明する。すでに説明した実施形態は、赤外光の影響の有無に応じて、WBゲインが有効か否かを判定する際の判定条件を変更している。それに対して、第6の実施形態では、赤外光の影響の有無が切り替わったタイミングで算出されたホワイトバランス制御値を、判定条件に関わらず有効である、と判定するものである。
Claims (25)
- 入力画像の色に対する赤外光の影響を検知する検知手段と、
入力画像に基づいて第1のホワイトバランス制御値を算出する算出手段と、
前記第1のホワイトバランス制御値が有効か否かを判定する判定手段と、
前記判定手段の判定結果に基づいて、所定のホワイトバランス制御値を設定する設定手段と、を備え、
前記判定手段は、前記検知手段の検知結果に基づいて、前記第1のホワイトバランス制御値が有効か否かを判定するための判定条件を決定することを特徴とする画像処理装置。 - 前記設定手段は、前記判定手段において前記第1のホワイトバランス制御値が有効であると判定された場合には、当該第1のホワイトバランス制御値を設定することを特徴とする請求項1に記載の画像処理装置。
- 前記設定手段は、前記判定条件に基づいて、前記所定のホワイトバランス制御値を設定することを特徴とする請求項1に記載の画像処理装置。
- 前記検知手段は、前記入力画像が、赤外光カットフィルタを透過した光から得られた画像であるか否かに応じて前記赤外光の影響を検知することを特徴とする請求項1乃至請求項3のいずれか1項に記載の画像処理装置。
- 前記検知手段は、前記入力画像が撮影された環境の照度に応じて前記赤外光の影響を検知することを特徴とする請求項1乃至請求項3のいずれか1項に記載の画像処理装置。
- 前記検知手段は、前記入力画像の色に対する赤外光の影響の大きさを検知し、
前記判定手段は、前記赤外光の影響の大きさに応じて前記判定条件を決定することを特徴とする請求項1乃至請求項5のいずれか1項に記載の画像処理装置。 - 前記判定手段は、前記赤外光の影響が大きいほど、前記赤外光の影響が小さい場合の前記判定条件との差が大きくなるように、前記判定条件を決定することを特徴とする請求項6に記載の画像処理装置。
- 前記判定手段は、前記入力画像を撮像した撮像センサの感度が高いほど、前記赤外光の影響が小さい場合の前記判定条件との差が大きくなるように、前記判定条件を決定することを特徴とする請求項6または請求項7に記載の画像処理装置。
- 前記判定手段は、前記第1のホワイトバランス制御値が所定の有効範囲に含まれる場合には当該第1のホワイトバランス制御値が有効であると判定し、または、前記第1のホワイトバランス制御値が前記所定の有効範囲に含まれない場合には当該第1のホワイトバランス制御値が有効でないと判定することを特徴とする請求項1乃至請求項8のいずれか1項に記載の画像処理装置。
- 前記判定手段は、前記赤外光の影響が大きいほど、前記赤外光の影響が小さい場合と比較して、前記所定の有効範囲が小さくなるように、前記判定条件を決定することを特徴とする請求項9に記載の画像処理装置。
- 前記設定手段は、前記判定手段において前記第1のホワイトバランス制御値が有効であると判定された場合には、当該第1のホワイトバランス制御値とは異なり、かつ前記所定の有効範囲に含まれるホワイトバランス制御値を設定することを特徴とする請求項9に記載の画像処理装置。
- 前記設定手段は、前記判定手段において前記第1のホワイトバランス制御値が有効でないと判定された場合には、前記所定の有効範囲に含まれるホワイトバランス制御値を設定することを特徴とする請求項9に記載の画像処理装置。
- 前記設定手段は、前記所定の有効範囲を第1の領域から第2の領域に変更するタイミングにおいて、前記第1の領域と前記第2の領域との共通領域に含まれるホワイトバランス制御値を設定することを特徴とする請求項9乃至請求項12のいずれか1項に記載の画像処理装置。
- 前記判定手段は、前記検知手段の検知結果が変化したタイミングにおいて、前記所定の有効範囲に含まれない前記第1のホワイトバランス制御値を有効であると判定することを特徴とする請求項9乃至請求項13のいずれか1項に記載の画像処理装置。
- 前記設定手段は、前記検知手段の検知結果が変化したタイミングにおいて、前記所定の有効範囲に含まれない前記第1のホワイトバランス制御値が有効であると判定されてから、再度、前記検知手段の検知結果が変化するまでの間では、前記検知手段の検知結果が変化したタイミングにおいて算出された、前記所定の有効範囲に含まれない前記第1のホワイトバランス制御値を設定することを特徴とする請求項14に記載の画像処理装置。
- 前記算出手段は、前記検知手段の検知結果が変化したタイミングにおいて、前記検知手段の検知結果が変化しない期間とは異なる方法で、第1のホワイトバランス制御値を算出することを特徴とする請求項14または請求項15に記載の画像処理装置。
- 前記算出手段は、前記検知手段の検知結果が変化したタイミングにおいて、前記入力画像に含まれる被写体が無彩色である場合に算出されるホワイトバランス制御値を、前記第1のホワイトバランス制御値として算出することを特徴とする請求項16に記載の画像処理装置。
- 前記設定手段は、ホワイトバランス制御値を変更する場合には、ホワイトバランス制御値を時間的に緩やか変化させるようにすることを特徴とする請求項1乃至請求項17のいずれか1項に記載の画像処理装置。
- 前記設定手段は、前記入力画像に対して前記ホワイトバランス制御値を適用して、前記入力画像のホワイトバランスを制御した出力画像を生成する適用手段をさらに備えることを特徴とする請求項1乃至請求項18のいずれか1項に記載の画像処理装置。
- 有彩色の画像を無彩色の画像に変換する色変換手段をさらに備え、
前記設定手段は、前記入力画像の色に対する赤外光の影響の大きさに基づいて、前記出力画像を有彩色とするか無彩色とするかを決定することを特徴とする請求項19に記載の画像処理装置。 - 前記設定手段は、前記入力画像に含まれる画素毎の明るさを算出し、前記明るさが所定値以上の画素に対しては前記所定のホワイトバランス制御値を適用することを特徴とする請求項19に記載の画像処理装置。
- 前記明るさが所定値以上の画素に対して適用される前記所定のホワイトバランス制御値は、所定の色温度に対応したホワイトバランス制御値であることを特徴とする請求項21に記載の画像処理装置。
- 前記算出手段は、前記赤外光の影響を受けている入力画像に基づいて、前記第1のホワイトバランス制御値を算出することを特徴とする請求項1乃至請求項22のいずれか1項に記載の画像処理装置。
- 画像処理装置が実行する画像処理方法であって、
入力画像の色に対する赤外光の影響を検知する検知ステップと、
入力画像に基づいて第1のホワイトバランス制御値を算出する算出ステップと、
前記第1のホワイトバランス制御値が有効か否かを判定する判定ステップと、
前記判定ステップでの判定結果に基づいて、所定のホワイトバランス制御値を設定する設定工程と、を含み、
前記判定ステップでは、前記検知ステップでの検知結果に基づいて、前記第1のホワイトバランス制御値が有効か否かを判定するための判定条件を決定することを特徴とする画像処理方法。 - コンピュータを、請求項1から請求項23のいずれか1項に記載の画像処理装置の各手段として機能させるためのプログラム。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP22771078.7A EP4311231A1 (en) | 2021-03-15 | 2022-02-28 | Image processing device, image processing method, and program |
CN202280020014.2A CN116965051A (zh) | 2021-03-15 | 2022-02-28 | 图像处理装置、图像处理方法和程序 |
US18/466,704 US20240080425A1 (en) | 2021-03-15 | 2023-09-13 | Image processing apparatus, image processing method, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021041214A JP2022141076A (ja) | 2021-03-15 | 2021-03-15 | 画像処理装置、画像処理方法、及びプログラム |
JP2021-041214 | 2021-03-15 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US18/466,704 Continuation US20240080425A1 (en) | 2021-03-15 | 2023-09-13 | Image processing apparatus, image processing method, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022196324A1 true WO2022196324A1 (ja) | 2022-09-22 |
Family
ID=83321429
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2022/008271 WO2022196324A1 (ja) | 2021-03-15 | 2022-02-28 | 画像処理装置、画像処理方法、及びプログラム |
Country Status (5)
Country | Link |
---|---|
US (1) | US20240080425A1 (ja) |
EP (1) | EP4311231A1 (ja) |
JP (1) | JP2022141076A (ja) |
CN (1) | CN116965051A (ja) |
WO (1) | WO2022196324A1 (ja) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005130317A (ja) | 2003-10-27 | 2005-05-19 | Sony Corp | 撮像装置および方法 |
JP2012023606A (ja) * | 2010-07-15 | 2012-02-02 | Canon Inc | 撮像装置、その制御方法及びプログラム |
JP2014007692A (ja) * | 2012-06-27 | 2014-01-16 | Canon Inc | 撮像装置およびその制御方法 |
JP2014216897A (ja) * | 2013-04-26 | 2014-11-17 | Necカシオモバイルコミュニケーションズ株式会社 | 撮像装置、撮像装置の制御方法及びプログラム |
JP2017017593A (ja) * | 2015-07-02 | 2017-01-19 | キヤノン株式会社 | 撮像装置 |
JP2021041214A (ja) | 2020-11-27 | 2021-03-18 | サミー株式会社 | ぱちんこ遊技機 |
-
2021
- 2021-03-15 JP JP2021041214A patent/JP2022141076A/ja active Pending
-
2022
- 2022-02-28 EP EP22771078.7A patent/EP4311231A1/en active Pending
- 2022-02-28 CN CN202280020014.2A patent/CN116965051A/zh active Pending
- 2022-02-28 WO PCT/JP2022/008271 patent/WO2022196324A1/ja active Application Filing
-
2023
- 2023-09-13 US US18/466,704 patent/US20240080425A1/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005130317A (ja) | 2003-10-27 | 2005-05-19 | Sony Corp | 撮像装置および方法 |
JP2012023606A (ja) * | 2010-07-15 | 2012-02-02 | Canon Inc | 撮像装置、その制御方法及びプログラム |
JP2014007692A (ja) * | 2012-06-27 | 2014-01-16 | Canon Inc | 撮像装置およびその制御方法 |
JP2014216897A (ja) * | 2013-04-26 | 2014-11-17 | Necカシオモバイルコミュニケーションズ株式会社 | 撮像装置、撮像装置の制御方法及びプログラム |
JP2017017593A (ja) * | 2015-07-02 | 2017-01-19 | キヤノン株式会社 | 撮像装置 |
JP2021041214A (ja) | 2020-11-27 | 2021-03-18 | サミー株式会社 | ぱちんこ遊技機 |
Also Published As
Publication number | Publication date |
---|---|
CN116965051A (zh) | 2023-10-27 |
US20240080425A1 (en) | 2024-03-07 |
JP2022141076A (ja) | 2022-09-29 |
EP4311231A1 (en) | 2024-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108600725B (zh) | 一种基于rgb-ir图像数据的白平衡校正装置及方法 | |
US8743208B2 (en) | Method and apparatus for image noise reduction using noise models | |
JP3892648B2 (ja) | 画像入力装置、ホワイトバランス調整方法、およびその方法を実行するためのプログラムを格納したコンピュータが読取可能な記録媒体 | |
EP3343911A1 (en) | Image signal processing method and system | |
US8169500B2 (en) | Dynamic range compression apparatus, dynamic range compression method, computer-readable recording medium, integrated circuit, and imaging apparatus | |
KR100925629B1 (ko) | YCbCr 색공간에서의 오토 화이트 밸런스 방법 | |
CN104221364A (zh) | 成像装置和图像处理方法 | |
JP5091550B2 (ja) | ホワイトバランス調整装置およびホワイトバランス調整方法 | |
WO2022196324A1 (ja) | 画像処理装置、画像処理方法、及びプログラム | |
JP4793001B2 (ja) | 画像信号処理回路および撮像システム | |
JP2012095223A (ja) | 撮像装置、撮像方法及びプログラム | |
JP2017533505A (ja) | ヒストグラム拡散を伴う自動車両カメラ装置 | |
JP2023161376A (ja) | 画像処理装置、画像処理方法、及びプログラム | |
CN110876042B (zh) | 用以控制图像捕获设备的电路及相关的控制方法 | |
WO2023037901A1 (ja) | 画像処理装置、画像処理方法、及びプログラム | |
JP4440562B2 (ja) | 映像信号処理装置 | |
JP5520863B2 (ja) | 画像信号処理装置 | |
JP5535443B2 (ja) | 画像処理装置 | |
JP7263018B2 (ja) | 画像処理装置、画像処理方法およびプログラム | |
JP7383393B2 (ja) | 画像処理装置、画像処理方法、プログラム、及び記憶媒体 | |
US20230215131A1 (en) | Video signal processing apparatus, video signal processing method, and imaging apparatus | |
JP6649176B2 (ja) | 画像処理装置及び画像処理方法 | |
US20200045280A1 (en) | Imaging apparatus and endoscope apparatus | |
JP2021027490A (ja) | 画像処理装置、撮像装置、撮像システム、画像処理装置の制御方法、及び、プログラム | |
JP2011248413A (ja) | 画像処理装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22771078 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202280020014.2 Country of ref document: CN |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2022771078 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2022771078 Country of ref document: EP Effective date: 20231016 |