Image processing device, image processing method, and program

The image processing device uses dual-wavelength imaging to determine a photometry area, excluding bright non-target objects, ensuring proper exposure and accurate object detection by addressing the issue of bright objects causing overall image darkness in existing technologies.

WO2024176953A1PCT designated stage expired Publication Date: 2024-08-29NUVOTON TECH CORP JAPAN
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/005412
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-22
Filing Date
2024-02-16
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Existing image processing technologies face challenges in correctly detecting objects when bright non-target objects, such as direct sunlight or white objects, are present, as automatic exposure control can result in an entire image becoming dark, making it difficult to accurately detect the target object.

Method used

An image processing device and method that acquire two types of images with different wavelengths, such as visible light and infrared, to determine a photometry area for exposure control, excluding bright non-target objects from the photometry area to ensure proper exposure for detecting the target object.

Benefits of technology

This approach allows for effective automatic exposure control, preventing the entire image from becoming dark and enabling accurate detection of the target object by excluding the influence of bright non-target objects from the photometry area, thereby improving object detection accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024005412_29082024_PF_FP_ABST
    Figure JP2024005412_29082024_PF_FP_ABST
Patent Text Reader

Abstract

An image processing device (100) comprising: an acquisition unit (exposure time setting unit (10)) which acquires two types of image obtained by two types of imaging means differ in wavelength from each other and showing the same area; and a determination unit (exposure time setting unit (10)) which determines, on the basis of one of the two types of image, a photometric area which is in the other one of the two types of image and in which photometry is performed.
Need to check novelty before this filing date? Find Prior Art

Description

Image processing device, image processing method and program

[0001] The present disclosure relates to an image processing device and the like.

[0002] Japanese Patent Application Laid-Open No. 2003-124222 discloses a technique for setting exposure conditions for a photographing area.

[0003] International Publication No. 2017 / 170719

[0004] However, when an image captured using the technology disclosed in Patent Document 1 is applied to object detection, the object may not be detected correctly. Specifically, if the captured image contains a bright object that is not the object to be detected, such as direct sunlight, the sky, or a distant white object (note that here, direct sunlight and the sky are also referred to as objects), automatic exposure control is performed so that the entire image becomes dark due to the influence of that brightness, and the area of ​​the object to be detected becomes dark, which may prevent the object from being detected correctly.

[0005] Therefore, the present disclosure provides an image processing device and the like that can perform automatic exposure control suitable for detecting a detection target.

[0006] The image processing device according to the present disclosure includes an acquisition unit that acquires two types of images showing the same area obtained by two types of imaging means having different wavelengths, and a determination unit that determines, based on one of the two types of images, a photometric area in which photometry is performed in the other of the two types of images.

[0007] The image processing method according to the present disclosure is an image processing method executed by an image processing device, and includes an acquisition step of acquiring two types of images showing the same area obtained by two types of imaging means having different wavelengths, and a determination step of determining, based on one of the two types of images, a photometric area in which photometry is performed in the other of the two types of images.

[0008] A program according to the present disclosure is a program for causing a computer to execute the image processing method described above.

[0009] These comprehensive or specific aspects may be realized as a system, a method, an integrated circuit, a computer program, or a computer-readable recording medium such as a CD-ROM, or may be realized as any combination of a system, a method, an integrated circuit, a computer program, and a recording medium.

[0010] According to an image processing device according to an aspect of the present disclosure, automatic exposure control suitable for detecting a detection target can be performed.

[0011] 1 is a block diagram illustrating an example of an image processing device according to an embodiment. FIG. 2 is a diagram illustrating a method for calculating the intensity of a reflected light component. FIG. 3 is a block diagram illustrating an example of an exposure time setting unit according to an embodiment. FIG. 4 is a flowchart illustrating an example of an operation of a photometry unit according to an embodiment. FIG. 5 is a diagram illustrating an example of an acquired visible light image. FIG. 6 is a diagram illustrating an example of an acquired infrared image. FIG. 7 is a diagram illustrating an example of an area where photometry is not performed. FIG. 8 is a flowchart illustrating an example of an operation of an exposure time calculation unit according to an embodiment. FIG. 9 is a diagram illustrating an example of a visible light image obtained by automatic exposure control using a conventional method. FIG. 10 is a diagram illustrating an example of a visible light image obtained by automatic exposure control using an image processing device according to an embodiment. FIG. 11 is a flowchart illustrating another example of the operation of a photometry unit according to an embodiment. FIG. 12 is a diagram illustrating a block where photometry is not performed. FIG. 13 is a block diagram illustrating an example of an image synthesis unit according to an embodiment. FIG. 14 is a flowchart illustrating an example of an operation of an offset correction unit according to an embodiment. FIG. 15 is a flowchart illustrating an example of an operation of an output synthesis unit according to an embodiment. FIG. 16 is a block diagram illustrating an example of a gain correction unit according to an embodiment. FIG. 17 is a flowchart illustrating an example of an image processing method according to another embodiment.

[0012] Hereinafter, the embodiments will be specifically described with reference to the drawings.

[0013] The embodiments described below are all comprehensive or specific examples, and the numerical values, shapes, materials, components, arrangement and connection of the components, steps, and order of steps shown in the following embodiments are merely examples and are not intended to limit the present disclosure.

[0014] (Embodiment) An image processing device according to an embodiment will be described below.

[0015] Fig. 1 is a block diagram showing an example of an image processing device 100 according to an embodiment. In addition to the image processing device 100, Fig. 1 also shows an imaging unit 200 that captures images to be processed by the image processing device 100. Note that the image processing device 100 may also include the imaging unit 200.

[0016] The imaging unit 200 is, for example, a camera having two types of imaging means with different wavelengths, and capable of capturing two types of images using the two types of imaging means. For example, the imaging unit 200 is a BW-TOF camera. A BW-TOF camera can simultaneously capture two types of images: a visible light image (e.g., a BW (black and white) image) obtained by receiving visible light in the entire wavelength range, and an infrared image obtained by receiving reflected light of infrared light in the infrared range using a ToF (Time of Flight) sensor. That is, the imaging unit 200 can simultaneously capture two types of images, a visible light image and an infrared image, of the same area. Note that the imaging unit 200 does not have to be a camera capable of capturing both visible light images and infrared images with a single camera, as in a BW-TOF camera, as long as it can capture two types of images of the same area. For example, the imaging unit 200 may have two separate cameras, specifically, a camera capable of capturing visible light images and a camera capable of capturing infrared images.

[0017] Note that the same area is captured in the two types of images, but this area may be the entire image area or a portion of the entire image area. In other words, the entire image area of ​​the two types of images may match, or only a portion of the entire image area of ​​the two types of images may match. For example, if the imaging unit 200 is a camera such as a BW-ToF camera that can simultaneously capture two types of images, the entire image area of ​​the two types of images may match. On the other hand, if the imaging unit 200 has two cameras provided separately, only a portion of the entire image area of ​​the two types of images may match.

[0018] The imaging unit 200 can measure the distance to an object shown in an infrared image based on the intensity of the reflected light component relative to the emitted infrared light. In other words, the infrared image contains distance information (depth information) of the object shown in the infrared image. Here, a method for calculating the intensity of the reflected light component will be described with reference to FIG. 2.

[0019] FIG. 2 is a diagram for explaining a method for calculating the intensity of a component of reflected light.

[0020] For example, when an object is present within the imaging range of the imaging unit 200, reflected light from the object is received in response to the irradiated light shown in FIG. 2 . The intensity of this reflected light component can be calculated based on the amount of received light signal in at least three sections after the irradiated light is applied. Specifically, the at least three sections are sections A0 and A1 shown in FIG. 2 , where the signal amount increases due to the reflected light, and section A2, where the signal amount decreases. Sections A0 and A1 each contain a portion of the IR reflected light component and a background component, which is a light component other than the reflected light, while section A2 contains only the background component. Therefore, the intensity of the reflected light component (IR reflected light component) is calculated by subtracting the background component from the total signal amount of A0 and A1. If A0, A1, and A2 are each the signal amount, the reflected light component can be calculated by (A0-A2)+(A1-A2).

[0021] The image processing device 100 is a device that performs image processing on two types of images (a visible light image and an infrared image) that show the same area and that are obtained by two types of imaging means with different wavelengths in the imaging unit 200. For example, the image processing device 100 performs image processing to output an image that is suitable for detecting an object (detection target) that appears in the captured image.

[0022] The image processing device 100 includes an exposure time setting unit 10, an image synthesis unit 20, and a gain correction unit 30. The image processing device 100 is a computer including a processor (microprocessor), a memory, etc. The memory is a read-only memory (ROM) or a random access memory (RAM), etc., and can store programs executed by the processor. The exposure time setting unit 10, the image synthesis unit 20, and the gain correction unit 30 are realized by the processor, etc., that executes programs stored in the memory.

[0023] The exposure time setting unit 10 measures the luminance of the scene from the captured visible light image, sets an exposure time so that the brightness of the area of ​​the detection object captured in the image becomes a desired brightness, and outputs the exposure time to the imaging unit 200. Details of the exposure time setting unit 10 will be described later.

[0024] The image synthesis unit 20 synthesizes an image that does not cause overexposure or underexposure of the detection object from a plurality of visible light images captured with different exposure times obtained from the imaging unit 200. Details of the image synthesis unit 20 will be described later.

[0025] The gain correction unit 30 measures the luminance of the scene in the current frame from the synthesized image and performs digital gain correction on the image so that the brightness of the area of ​​the detection object becomes the desired brightness. Specifically, there is a delay time until the exposure time set by the exposure time setting unit 10 is reflected in the output image, and the gain correction unit 30 performs digital gain correction to compensate for output level fluctuations that accompany this delay time. Details of the gain correction unit 30 will be described later.

[0026] First, the exposure time setting unit 10 will be described in detail.

[0027] FIG. 3 is a block diagram showing an example of the exposure time setting unit 10 according to the embodiment.

[0028] The exposure time setting unit 10 includes a photometry unit 11 and an exposure time calculation unit 12 .

[0029] The photometry unit 11 is an example of an acquisition unit that acquires two types of images that show the same area and are obtained by two types of imaging means that have different wavelengths. The photometry unit 11 is also an example of a determination unit that determines, based on one of the two types of images, a photometric area in which photometry is performed in the other of the two types of images.

[0030] Specifically, the photometry unit 11 acquires two types of images, a visible light image and an infrared image, and determines a photometry area in the visible light image based on the infrared image. The photometry area is a group of pixels to be measured, and the photometry unit 11 measures the brightness of the determined photometry area. An example of a method for determining the photometry area will now be described with reference to FIG. 4.

[0031] 4 is a flowchart showing an example of the operation of the photometry unit 11 according to the embodiment. It is assumed that the photometry unit 11 acquires a visible light image as shown in FIG. 5 and an infrared image as shown in FIG. 6, for example.

[0032] FIG. 5 is a diagram showing an example of the acquired visible light image.

[0033] FIG. 6 is a diagram showing an example of an acquired infrared image.

[0034] 5 and 6, the same area is captured in the visible light image and the infrared image, and the photometry unit 11 recognizes pixels in the infrared image that are located at the same positions as the pixels in the visible light image. Note that pixels in the visible light image and the infrared image that are located at the same positions are referred to as corresponding pixels.

[0035] In addition, when the imaging unit 200 has a camera capable of capturing visible light images and a camera capable of capturing infrared images, which are provided separately, and some areas of the entire image area of ​​the visible light image and the infrared image match, but the entire image area does not match, a process of matching between the two images can be performed using known means, and corresponding pixels that capture the same positions in the visible light image and the infrared image can be determined.

[0036] The photometry unit 11 determines a photometric area by performing the processes from step S11 to step S14 shown in Fig. 4 for each pixel in the visible light image. Note that the area where photometry is not performed is an area excluding the photometric area where photometry is performed, so once the photometric area is determined, the area where photometry is not performed is also determined. In other words, determining the photometric area also means determining the area where photometry is not performed.

[0037] First, the photometry unit 11 determines whether the BW intensity (pixel value (luminance value) of a pixel) of a certain pixel in the visible light image is greater than a threshold value for the BW intensity (step S11). The threshold value for the BW intensity is set to a value that is somewhat smaller than the luminance value corresponding to the sky or a white object, for example, but is not particularly limited thereto and may be set appropriately depending on the space in which the imaging unit 200 is used, its purpose, etc.

[0038] When the photometry unit 11 determines that the BW intensity of a pixel in the visible light image is greater than the threshold for the BW intensity (Yes in step S11), that is, when the pixel in question is a pixel that depicts a bright object such as the sky, direct sunlight, or a white object, the photometry unit 11 determines whether the IR intensity (the intensity of the reflected light component relative to the emitted infrared light) of the pixel in the infrared image corresponding to the pixel in the visible light image is less than the threshold for the IR intensity (step S12). For example, when it is desired to detect an object within a certain range from the image capture unit 200, the threshold for the IR intensity is set to a value that is somewhat smaller than the value expected as the intensity of the reflected light component from the object within the certain range. However, the threshold for the IR intensity is not particularly limited and may be set appropriately depending on the space in which the image capture unit 200 is used, the purpose of use, etc.

[0039] If the photometry unit 11 determines that the IR intensity of a pixel in the infrared image is less than the IR intensity threshold (Yes in step S12), that is, if the pixel does not capture an object (detection target) within a certain range from the image capture unit 200, it excludes the pixel in the visible light image corresponding to the pixel from the photometry target (step S13). In this way, the photometry unit 11 does not determine pixels that capture bright objects such as the sky, direct sunlight, or distant white objects, but do not capture the detection target, as part of the photometry region. In other words, the photometry unit 11 considers such pixels to be pixels that capture high-brightness objects unrelated to the detection target (such as direct sunlight, the sky, or distant white objects), and excludes them from the photometry region. For example, the white building surrounded by dashed lines in Figures 5 and 6 is a bright but distant object, so pixels capturing this building are excluded from the photometry region.

[0040] Furthermore, if the photometry unit 11 determines that the IR intensity of a pixel in the infrared image is equal to or greater than the threshold for IR intensity (No in step S12), that is, if the pixel in question is a pixel that captures an object (detection target) within a certain range from the image capture unit 200, the photometry unit 11 includes the pixel in the visible light image corresponding to the pixel in question as a photometry target (step S14). In this way, the photometry unit 11 determines, as the photometry region, an area in the visible light image corresponding to an area in the infrared image where the reflected light component acquired by the image capture unit 200 (ToF sensor) is equal to or greater than a predetermined intensity (threshold for IR intensity). In other words, even if a pixel captures a high-brightness object, the photometry unit 11 does not exclude the pixel from the photometry region if the object is a detection target.

[0041] On the other hand, if the photometry unit 11 determines that the BW intensity of a pixel in the visible light image is equal to or less than the threshold for BW intensity (No in step S11), that is, if the pixel does not show a bright object such as the sky, direct sunlight, or a white object, the photometry unit 11 includes the pixel in the photometry area (step S14). In this way, the photometry unit 11 determines that a pixel that does not show a bright object is a photometry area without determining the IR intensity of the pixel in the infrared image that corresponds to the pixel.

[0042] FIG. 7 is a diagram showing an example of an area where photometry is not performed.

[0043] 7, white areas indicate areas where no photometry is performed, and black areas indicate photometry areas. Note that in this example, the threshold for BW intensity is set to be greater than the BW intensity of pixels that show the sky, and pixels that show the sky are not excluded from the photometry area.

[0044] The photometry unit 11 measures the brightness of the photometry area determined in this manner. For example, the photometry unit 11 measures a representative value (e.g., average, median, or mode) of the pixel values ​​of the pixel group to be measured as the brightness of the photometry area. The photometry unit 11 outputs the brightness of the photometry area to the exposure time calculation unit 12.

[0045] Next, the exposure time calculation unit 12 will be described with reference to FIG.

[0046] FIG. 8 is a flowchart showing an example of the operation of the exposure time calculation unit 12 according to the embodiment.

[0047] The exposure time calculation unit 12 calculates the exposure time from the ratio of the photometry result of the current frame (the brightness of the measured photometry area) to the target pixel value (step S31). Specifically, the exposure time calculation unit 12 calculates the exposure time by (target pixel value / photometry result of the current frame) x (current exposure time). That is, if the photometry result of the current frame is greater than the target pixel value (i.e., if it is bright), the exposure time calculation unit 12 calculates a shorter exposure time than the current exposure time. On the other hand, if the photometry result of the current frame is smaller than the target pixel value (i.e., if it is dark), the exposure time calculation unit 12 calculates a longer exposure time than the current exposure time. For example, the target pixel value is not particularly limited, but may be an intermediate value between the blown-out highlight value and the blocked-up shadow value.

[0048] The exposure time calculation unit 12 then outputs the calculated exposure time to the imaging unit 200. As a result, the imaging unit 200 performs exposure using the acquired exposure time and captures a visible light image. If a calculated exposure time is shorter than the current exposure time, a visible light image that is darker than the current frame can be captured, and if a calculated exposure time is longer than the current exposure time, a visible light image that is brighter than the current frame can be captured.

[0049] FIG. 9 is a diagram showing an example of a visible light image obtained by performing automatic exposure control using a conventional method.

[0050] FIG. 10 is a diagram showing an example of a visible light image obtained by performing automatic exposure control by the image processing device 100 according to the embodiment.

[0051] In the conventional method, as shown in Fig. 9, automatic exposure control is performed so that the entire image becomes dark due to the influence of the brightness of the white building in the background, and the area where the detection object (e.g., a vehicle) exists, surrounded by a dashed line, becomes dark, which may result in the detection object not being detected correctly. On the other hand, according to the image processing device 100 according to the embodiment, as shown in Fig. 10, the area of ​​the white building in the background is excluded from the photometry area, so automatic exposure control is performed without being influenced by the brightness of the white building in the background, and the area where the detection object exists, surrounded by a dashed line, does not become dark, making it easier to detect the detection object.

[0052] In this way, the intensity of the reflected light component from nearby objects is high and the intensity of the reflected light component from distant objects is low, so it is possible to obtain an infrared image in which nearby objects with high reflected light component intensities are easily captured and distant objects with low reflected light component intensities are not easily captured. Areas with high reflected light component intensities are areas where the detection target object may be captured, and can therefore be determined as photometric areas.

[0053] Although the method for determining the photometric area using the intensity of the reflected light component has been described, there is also a method for determining the photometric area without using the intensity of the reflected light component. Below, a method for determining the photometric area without using the intensity of the reflected light component will be described with reference to FIG. 11.

[0054] FIG. 11 is a flowchart showing another example of the operation of the photometry unit 11 according to the embodiment.

[0055] The photometry unit 11 determines a photometric area by performing the processes from step S21 to step S24 shown in Fig. 11 for each pixel in the visible light image. Note that the area where photometry is not performed is an area excluding the photometric area where photometry is performed, so once the photometric area is determined, the area where photometry is not performed is also determined. In other words, determining the photometric area also means determining the area where photometry is not performed.

[0056] First, the photometry unit 11 determines whether the BW intensity (pixel value (luminance value) of a pixel) of a certain pixel in the visible light image is greater than a threshold value for the BW intensity (step S21). The threshold value for the BW intensity is set to a value that is somewhat smaller than the luminance value corresponding to the sky or a white object, for example, but is not particularly limited thereto and may be set appropriately depending on the space in which the imaging unit 200 is used, its purpose, etc.

[0057] If the photometry unit 11 determines that the BW intensity of a pixel in the visible light image is greater than the threshold for the BW intensity (Yes in step S21), that is, if the pixel in question is a pixel that depicts the sky, direct sunlight, or a bright object such as a white object, the photometry unit 11 determines whether the IRBG intensity (intensity of light components other than reflected light: intensity of background components) of the pixel in the infrared image that corresponds to the pixel in question in the visible light image is greater than the threshold for the IRBG intensity (step S22). The threshold for the IRBG intensity is set to a value that is somewhat smaller than the saturation level obtained when receiving direct sunlight, for example, but is not particularly limited thereto and may be set appropriately depending on the space in which the imaging unit 200 is used, the purpose of use, etc.

[0058] If the photometry unit 11 determines that the IRBG intensity of a pixel in the infrared image is greater than the threshold for IRBG intensity (Yes in step S22), that is, if the pixel in question is a pixel that reflects direct sunlight or the like, it excludes the pixel in the visible light image corresponding to that pixel from the photometry target (step S23). In this way, the photometry unit 11 does not determine, as a photometry region, a region in the visible light image that corresponds to a region in the infrared image where the components of light other than reflected light (background components) acquired by the imaging unit 200 (ToF sensor) are greater than a predetermined intensity (threshold for IRBG intensity).

[0059] Furthermore, if the photometry unit 11 determines that the IRBG intensity of a pixel in the infrared image is equal to or less than the threshold for IRBG intensity (No in step S22), that is, if the pixel does not reflect direct sunlight, etc., the photometry unit 11 includes the pixel in the visible light image corresponding to the pixel in question as a photometry target (step S24). In this way, even if a pixel reflects a highly luminous object, the photometry unit 11 does not exclude the pixel from the photometry target if the pixel does not reflect direct sunlight, etc.

[0060] On the other hand, if the photometry unit 11 determines that the BW intensity of a pixel in the visible light image is equal to or less than the threshold for BW intensity (No in step S21), that is, if the pixel does not show a bright object such as the sky, direct sunlight, or a white object, the photometry unit 11 includes the pixel in the photometry area (step S24). In this way, for pixels that do not show a bright object, the photometry unit 11 determines the pixel as a photometry area without determining the IRBG intensities of the corresponding pixels in the infrared image.

[0061] The subsequent operation of the photometry unit 11 is the same as when the photometry area is determined using the intensity of the component of reflected light, and therefore a description thereof will be omitted.

[0062] In this way, the intensity of light components (background components) other than reflected light from high-brightness objects such as direct sunlight is very high, and areas where the intensity of light components other than reflected light is high are areas where high-brightness objects such as direct sunlight may be captured, so they can be prevented from being determined as photometric areas.

[0063] When determining the photometric area using the intensity of the reflected light component, an area in the visible light image corresponding to an area in the infrared image where the light component other than the reflected light is greater than a predetermined intensity may not be determined as the photometric area.

[0064] The photometry unit 11 may divide the visible light image into a plurality of blocks and exclude from the photometry target any block in which the proportion of non-photometric regions is equal to or greater than a predetermined proportion. This will be described with reference to FIG. 12 .

[0065] 12 is a diagram for explaining blocks where photometry is not performed. White areas in FIG. 12 indicate areas where photometry is not performed, and black areas indicate photometry areas.

[0066] For example, the photometry unit 11 divides the visible light image into multiple blocks (multiple blocks surrounded by white lines) as shown in FIG. 12 . Next, the photometry unit 11 calculates the proportion of the area where photometry is not performed (the white area in FIG. 12 ) for each block. Specifically, the photometry unit 11 calculates the proportion of the number of pixels in the area where photometry is not performed relative to the total number of pixels included in the block. The photometry unit 11 then excludes all pixels included in blocks where the proportion of the area that is not a photometry area is equal to or greater than a predetermined proportion from the photometry target. In other words, in a block that includes many pixels that are not a photometry target, all pixels are excluded from the photometry target. This makes it possible to exclude areas surrounding the area where photometry is not performed from the photometry target. For example, the predetermined proportion may be 50%, but is not particularly limited thereto.

[0067] Next, the image synthesis unit 20 will be described in detail.

[0068] 13 is a block diagram showing an example of the image composition unit 20 according to the embodiment. It is assumed that the image composition unit 20 acquires visible light images captured using three different exposure times from the imaging unit 200. For example, the ratio between the three exposure times is constant, and if the exposure time setting unit 10 calculates an exposure time that is shorter than the current exposure time, the three exposure times are shortened while the ratio between the three exposure times remains constant. Conversely, if the exposure time setting unit 10 calculates an exposure time that is longer than the current exposure time, the three exposure times are lengthened while the ratio between the three exposure times remains constant.

[0069] The image synthesis unit 20 is a processing unit for realizing WDR (Wide Dynamic Range), and includes, for example, offset correction units 21 a , 21 b , and 21 c and an output synthesis unit 22 .

[0070] A visible light image (referred to as an L image) captured with the longest exposure time of the three exposure times is input to offset correction unit 21a, a visible light image (referred to as an M image) captured with the second longest exposure time of the three exposure times is input to offset correction unit 21b, and a visible light image (referred to as an S image) captured with the shortest exposure time of the three exposure times is input to offset correction unit 21c. Of the L, M, and S images, the L image is the brightest image, the M image is the next brightest image, and the S image is the darkest image. Here, the offset correction unit 21a will be described with reference to FIG. 14 .

[0071] FIG. 14 is a flowchart showing an example of the operation of the offset correction unit 21a according to the embodiment.

[0072] The offset correction unit 21a performs the processes of steps S41 and S42 shown in FIG. 14 for each pixel in the L image.

[0073] First, the offset correction unit 21a subtracts the offset level from the input image (L image) (step S41).

[0074] Next, the offset corrector 21a replaces pixel values ​​equal to or greater than the clip level with the clip level (step S42).

[0075] The offset correction units 21b and 21c are the same as the offset correction unit 21a except that the image input thereto is different, and therefore a description thereof will be omitted.

[0076] Next, the output synthesis unit 22 will be described with reference to FIG.

[0077] FIG. 15 is a flowchart showing an example of the operation of the output combining unit 22 according to the embodiment.

[0078] The output synthesis unit 22 performs the processes from step S51 to step S59 shown in FIG. 15 for each pixel at the same position in the L image, M image, and S image.

[0079] First, the output synthesis unit 22 determines whether the pixel value of a pixel at the same position in the L image, M image, and S image is smaller than a first threshold value (referred to as threshold value 1) in the L image (step S51).

[0080] If the output synthesis unit 22 determines that the pixel value of the pixel in the L image is smaller than threshold 1 (Yes in step S51), it outputs the pixel value of the pixel in the L image (step S52).

[0081] If the output synthesis unit 22 determines that the pixel value of the pixel in the L image is equal to or greater than Threshold 1 (No in step S51), it determines whether the pixel value of the pixel in the L image is smaller than a second threshold (referred to as Threshold 2) (step S53). Threshold 2 is a value greater than Threshold 1.

[0082] If the output synthesis unit 22 determines that the pixel value of the pixel in the L image is smaller than threshold value 2 (Yes in step S53), it outputs a value obtained by weighting and adding the pixel value of the pixel in the L image and the pixel value of the pixel in the M image (step S54).

[0083] If the output synthesis unit 22 determines that the pixel value of the pixel in the L image is greater than or equal to threshold value 2 (No in step S53), it determines whether the pixel value of the pixel in the M image is less than a third threshold value (hereinafter referred to as threshold value 3) (step S55).

[0084] If the output synthesis unit 22 determines that the pixel value of the pixel in the M image is smaller than threshold value 3 (Yes in step S55), it outputs the pixel value of the pixel in the M image (step S56).

[0085] If the output synthesis unit 22 determines that the pixel value of the pixel in the M image is equal to or greater than threshold value 3 (No in step S55), it determines whether the pixel value of the pixel in the M image is smaller than a fourth threshold value (hereinafter referred to as threshold value 4) (step S57).

[0086] If the output synthesis unit 22 determines that the pixel value of the pixel in the M image is smaller than threshold value 4 (Yes in step S57), it outputs a value obtained by weighting and adding the pixel value of the pixel in the M image and the pixel value of the pixel in the S image (step S58).

[0087] If the output synthesis unit 22 determines that the pixel value of the pixel in the M image is equal to or greater than the threshold value 4 (No in step S57), it outputs the pixel value of the pixel in the S image (step S59).

[0088] In this way, WDR is realized.

[0089] Next, the gain correction unit 30 will be described in detail.

[0090] FIG. 16 is a block diagram illustrating an example of the gain correction unit 30 according to the embodiment.

[0091] The gain correction unit 30 includes a photometry unit 31 , a gain calculation unit 32 , and a gain application unit 33 .

[0092] The photometry unit 31 acquires the composite image synthesized by the image synthesis unit 20 and measures the brightness (pixel value) of each pixel. For example, the photometry unit 31 measures a representative value (e.g., average value, median value, or mode value) of the pixel values ​​of each pixel as the brightness of each pixel.

[0093] The gain calculation unit 32 calculates a correction gain from the ratio between the photometry result (measured brightness) and the target pixel value. Specifically, the gain calculation unit 32 calculates the correction gain by (target pixel value / photometry result of the current frame). That is, if the photometry result of the current frame is greater than the target pixel value (i.e., brighter), the gain calculation unit 32 calculates a small correction gain. Also, if the photometry result of the current frame is smaller than the target pixel value (i.e., darker), the exposure time calculation unit 12 calculates a large correction gain. For example, the target pixel value is not particularly limited, but may be an intermediate value between the blown-out highlight value and the blocked-up shadow value.

[0094] The gain application unit 33 applies the calculated correction gain to each pixel of the composite image synthesized by the image synthesis unit 20. When a small correction gain is calculated, the composite image can be corrected to a dark image, and when a large correction gain is calculated, the composite image can be corrected to a bright image.

[0095] As described above, depending on the wavelength of the imaging means, it is possible to capture an image in which close objects are easily captured and distant objects are not easily captured. Note that the detection target is often a close object, while bright objects that are not the detection target, such as direct sunlight, the sky, or distant white objects, are often distant objects. Therefore, one of two types of images obtained by two types of imaging means with different wavelengths can be an image in which the detection target is more clearly captured than the other image, and in which bright objects that are not the detection target are less captured than the other image. Therefore, by not determining the area that is bright in the other of the two types of images but is difficult to capture in the first image as the photometric area, and instead determining the other area as the photometric area, the area in which bright objects that are not the detection target are captured is excluded from the photometric area, and automatic exposure control suitable for detecting the detection target can be performed on the other image.

[0096] For example, the two types of images are a visible light image and an infrared image, and the infrared image shows the detection target more clearly than the visible light image, and shows bright areas that are not the detection target less clearly than the visible light image. Therefore, by not determining areas that are bright in the visible light image and that are less visible in the infrared image (i.e., where the intensity of the reflected light component is low) as the photometric area, and instead determining other areas as the photometric area, areas that show bright objects that are not the detection target are excluded from the photometric area, and automatic exposure control suitable for detecting the detection target can be performed for the visible light image.

[0097] (Other Embodiments) As described above, the embodiments have been described as examples of the technology according to the present disclosure. However, the technology according to the present disclosure is not limited to these, and can be applied to embodiments in which modifications, substitutions, additions, omissions, etc. are made as appropriate. For example, the following modifications are also included in one embodiment of the present disclosure.

[0098] For example, the present disclosure can be realized not only as the image processing device 100 but also as an image processing method including steps (processing) performed by the components that make up the image processing device 100 .

[0099] FIG. 17 is a flowchart showing an example of an image processing method according to another embodiment.

[0100] The image processing method is an image processing method executed by the image processing device 100, and includes an acquisition step (step S101) of acquiring two types of images showing the same area obtained by two types of imaging means with different wavelengths, as shown in Figure 17, and a determination step (step S102) of determining, based on one of the two types of images, a photometric area in which photometry is performed in the other of the two types of images.

[0101] For example, the present disclosure can be realized as a program for causing a computer (processor) to execute steps included in an image processing method. Furthermore, the present disclosure can be realized as a non-transitory computer-readable recording medium, such as a CD-ROM, on which the program is recorded.

[0102] For example, when the present disclosure is realized as a program (software), each step is performed by running the program using hardware resources such as a computer's CPU, memory, input / output circuits, etc. In other words, each step is performed by the CPU acquiring data from memory or input / output circuits, etc., performing calculations, and outputting the calculation results to memory or input / output circuits, etc.

[0103] In the above embodiment, each component included in image processing device 100 may be configured with dedicated hardware, or may be realized by executing a software program suitable for each component. Each component may also be realized by a program execution unit such as a CPU or processor reading and executing a software program recorded on a recording medium such as a hard disk or semiconductor memory.

[0104] Some or all of the functions of the image processing device 100 according to the above-described embodiment are typically realized as an LSI, which is an integrated circuit. These may be individually implemented on a single chip, or some or all of them may be integrated on a single chip. Furthermore, the integrated circuit is not limited to an LSI, and may be realized using a dedicated circuit or a general-purpose processor. It is also possible to use an FPGA (Field Programmable Gate Array), which can be programmed after LSI manufacturing, or a reconfigurable processor, which allows the connections and settings of circuit cells within an LSI to be reconfigured.

[0105] Furthermore, if an integrated circuit technology that can replace LSI emerges due to advances in semiconductor technology or other derivative technologies, it is natural that each component included in the image processing device 100 may be integrated into an integrated circuit using that technology.

[0106] In addition, this disclosure also includes forms obtained by making various modifications to the embodiments that a person skilled in the art would think of, and forms realized by arbitrarily combining the components and functions in each embodiment within the scope of the present disclosure.

[0107] (Additional Notes) The above description of the embodiments discloses the following techniques.

[0108] (Technology 1) An image processing device comprising: an acquisition unit that acquires two types of images of the same area obtained by two types of imaging means with different wavelengths; and a determination unit that determines, based on one of the two types of images, a photometric area in which photometry is performed in the other of the two types of images.

[0109] Depending on the wavelength of the imaging means, it is possible to capture an image in which close objects are easily captured and distant objects are difficult to capture. Note that the detection target is often a close object, while bright objects that are not the detection target, such as direct sunlight, the sky, or distant white objects, are often distant objects. Therefore, one of two types of images obtained by two types of imaging means with different wavelengths can be an image in which the detection target is more clearly captured than the other image, and in which bright objects that are not the detection target are less captured than the other image. Therefore, by not determining the area that is bright in the other of the two types of images and difficult to capture in the one image as the photometric area, and instead determining the other area as the photometric area, the area in which bright objects that are not the detection target are captured is excluded from the photometric area, and automatic exposure control suitable for detecting the detection target can be performed on the other image.

[0110] (Technology 2) The image processing device according to Technology 1, wherein the two types of images are a visible light image and an infrared image, one of the images being the infrared image and the other image being the visible light image.

[0111] Infrared images tend to show the detection target more clearly than visible light images, and bright areas that are not the detection target are less visible than in visible light images. Therefore, by not determining areas that are bright in the visible light image but are difficult to see in the infrared image as the photometric area, and instead determining other areas as the photometric area, areas that show bright objects that are not the detection target are excluded from the photometric area, making it possible to perform automatic exposure control for the visible light image that is suitable for detecting the detection target.

[0112] (Technology 3) The image processing device according to Technology 2, wherein the infrared image is an image obtained by a ToF sensor.

[0113] The ToF sensor makes it possible to capture infrared images that clearly show nearby objects and poorly show distant objects.

[0114] (Technology 4) The image processing device described in Technology 3, wherein the determination unit determines, as the photometric area, an area in the visible light image corresponding to an area in the infrared image where the reflected light component acquired by the ToF sensor is at or above a predetermined intensity.

[0115] Since the intensity of the reflected light component from nearby objects is high and the intensity of the reflected light component from distant objects is low, it is possible to obtain an infrared image in which nearby objects with high reflected light component intensities are easily captured and distant objects with low reflected light component intensities are difficult to capture. Areas with high reflected light component intensities are areas where the detection target object may be captured, and can therefore be determined as photometric areas.

[0116] (Technology 5) An image processing device described in Technology 3 or 4, wherein the determination unit does not determine, as the photometric area, an area in the visible light image corresponding to an area in the infrared image where light components other than reflected light acquired by the ToF sensor are greater than a predetermined intensity.

[0117] The intensity of light components (background components) other than reflected light from high-brightness objects such as direct sunlight is very high, and areas where the intensity of light components other than reflected light is high are areas where high-brightness objects such as direct sunlight may be captured, so they can be prevented from being determined as photometric areas.

[0118] (Technology 6) An image processing method executed by an image processing device, comprising: an acquisition step of acquiring two types of images showing the same area obtained by two types of imaging means having different wavelengths; and a determination step of determining, based on one of the two types of images, a photometric area in which photometry is performed in the other of the two types of images.

[0119] This makes it possible to provide an image processing method that can perform automatic exposure control suitable for detecting an object to be detected.

[0120] (Technology 7) A program for causing a computer to execute the image processing method described in Technology 6.

[0121] This makes it possible to provide a program that can perform automatic exposure control suitable for detecting an object to be detected.

[0122] The present disclosure can be applied to devices for detecting an object to be detected.

[0123] REFERENCE SIGNS LIST 10 Exposure time setting unit 11, 31 Photometry unit 12 Exposure time calculation unit 20 Image synthesis unit 21a, 21b, 21c Offset correction unit 22 Output synthesis unit 30 Gain correction unit 32 Gain calculation unit 33 Gain application unit 100 Image processing device 200 Imaging unit

Claims

1. An image processing device comprising: an acquisition unit that acquires two types of images capturing the same area obtained by two types of imaging means having different wavelengths; and a determination unit that determines, based on one of the two types of images, a photometric area in which photometry is performed in the other of the two types of images.

2. The image processing device according to claim 1, wherein the two types of images are a visible light image and an infrared image, one of the images being the infrared image and the other image being the visible light image.

3. The image processing device according to claim 2, wherein the infrared image is an image obtained by a ToF (Time of Flight) type sensor.

4. The image processing device according to claim 3, wherein the determination unit determines, as the photometric area, an area in the visible light image corresponding to an area in the infrared image in which the reflected light component acquired by the ToF sensor is equal to or greater than a predetermined intensity.

5. An image processing device as described in claim 3 or 4, wherein the determination unit does not determine, as the photometric area, an area in the visible light image corresponding to an area in the infrared image in which light components other than reflected light acquired by the ToF sensor are greater than a predetermined intensity.

6. An image processing method executed by an image processing device, comprising: an acquisition step of acquiring two types of images capturing the same area obtained by two types of imaging means having different wavelengths; and a determination step of determining, based on one of the two types of images, a photometric area in which photometry is performed in the other of the two types of images.

7. A program for causing a computer to execute the image processing method according to claim 6.

Citation Information

Patent Citations

  • Imaging device

    JP2009100252A

  • Photometry device, photometry method, program, and imaging device

    WO2018150768A1