Image processing device

The image processing device integrates structured illumination and multiple imaging units with controlled exposure and wavelength switching to achieve accurate distance measurement, addressing downsizing and simplification challenges in self-driving technology.

JP2024122298AInactive Publication Date: 2024-09-09PANASONIC I PRO SENSING SOLUTIONS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023029762
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-09-09
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing image processing devices for object detection and environment understanding in self-driving technology require separate cameras for floodlighting and structured illumination, leading to device downsizing and simplification challenges.

Method used

An image processing device that integrates structured illumination and multiple imaging units, allowing simultaneous capture of images with and without structured light, and employs wavelength control and exposure time adjustments to generate accurate distance information.

Benefits of technology

Enables high-accuracy distance measurement while minimizing device size and complexity, improving object detection and environment understanding in self-driving systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide an image processing device capable of highly accurately obtaining distance information and achieving reduction in size and simplification.SOLUTION: The image processing device includes a structured illumination for projecting structured light to an object, a first imaging unit for imaging an imaging area including the object, a second imaging unit for imaging the imaging area from a position different from the first imaging unit, and an image processing module for controlling the structured illumination, the first imaging unit, and the second imaging unit. The image processing module executes first imaging processing for turning on the structured illumination and allowing each of the first imaging unit and the second imaging unit to image a first image of the imaging area with a first exposure time, second imaging processing for turning off the structured illumination and allowing each of the first imaging unit and the second imaging unit to image a second image of the imaging area with a second exposure time longer than the first exposure time, and arithmetic processing for arithmetically operating the distance information up to the object by using the first image and the second image.SELECTED DRAWING: Figure 12
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an image processing device. [Background technology]

[0002] In recent years, with the promotion of factory automation and the advancement of self-driving technology, there is a demand for improved accuracy in object detection in self-location estimation and surrounding environment recognition technology.With the aim of solving such problems, Patent Document 1 discloses a visual positioning system that performs stereo ranging using structured lighting and outputs distance information.

[0003] The visual positioning system described in Patent Document 1 outputs distance information based on an image captured by a first camera synchronized with floodlighting and an image captured by a second camera synchronized with structured lighting. The first and second cameras can be monocular or stereo cameras. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] International Publication No. 2020 / 014706 Summary of the Invention [Problem to be solved by the invention]

[0005] However, the visual positioning system described in Patent Document 1 requires the preparation of a first camera with imaging conditions suitable for floodlight and a second camera with imaging conditions suitable for structured lighting separately, which makes it difficult to miniaturize and simplify the device.

[0006] The present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to provide an image processing device which is capable of obtaining distance information with high accuracy, and which is small in size and simple in design. [Means for solving the problem]

[0007] In order to solve the above problems, an image processing device according to the present invention includes a structured illumination device that projects structured light onto an object, a first imaging unit that images an imaging area including the object, a second imaging unit that images the imaging area from a position different from that of the first imaging unit, and an image processing module that controls the structured illumination device, the first imaging unit, and the second imaging unit, and the image processing module executes a first imaging process in which the structured illumination device is turned on and the first imaging unit and the second imaging unit are caused to capture a first image of the imaging area for a first exposure time, a second imaging process in which the structured illumination device is turned off and the first imaging unit and the second imaging unit are caused to capture a second image of the imaging area for a second exposure time longer than the first exposure time, and a calculation process in which distance information to the object is calculated using the first image and the second image. Effect of the Invention

[0008] According to the present invention, it is possible to obtain distance information with high accuracy, and to realize miniaturization and simplification. Problems, configurations, and effects other than those described above will become apparent from the following description of the embodiments. [Brief description of the drawings]

[0009] [Figure 1] 1 is a perspective view of the appearance of an image processing device according to a first embodiment; [Diagram 2] 1 illustrates a hardware configuration of an image processing device according to a first embodiment. [Diagram 3] 1 is a flowchart of a depth map generation process 1. [Figure 4] 1 is a diagram showing the operation timing of an imaging unit and a structured illumination 14 in a depth map generation process 1. FIG. [Diagram 5] FIG. 2 is a conceptual diagram of a composite image generated from a first image and a second image. [Figure 6] 13 is a flowchart of a depth map generation process 2. [Figure 7] 13 is a diagram showing the operation timing of the imaging unit and structured illumination in depth map generation process 2. FIG. [Figure 8] 13 illustrates a hardware configuration of an image processing device according to a second embodiment. [Figure 9] FIG. 2 is a diagram illustrating an example of a cell of an image sensor. [Figure 10] FIG. 2 is a diagram showing the positional relationship between an image sensor and an optical filter. [Figure 11] 13 is a flowchart of a depth map generation process 3. [Figure 12] 13 is a diagram showing the operation timing of the imaging unit, the optical filter, and the structured illumination in the depth map generation process 3. FIG. [Figure 13] 13A and 13B are diagrams illustrating another example of a configuration for moving an optical filter forward and backward along an optical path. [Figure 14] 13 illustrates a hardware configuration of an image processing device according to a third embodiment. [Figure 15] 13 is a flowchart of a depth map generation process 4. [Figure 16] 13 is a diagram showing the operation timing of the imaging unit, structured illumination, and illumination device in the depth map generation process 4. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] An embodiment of the invention will be described below with reference to the drawings. This embodiment realizes a highly versatile image processing device, thereby contributing to "9. Promote inclusive and sustainable industry, innovation and infrastructure" of the Sustainable Development Goals (SDGs) advocated by the United Nations.

[0011] [First embodiment] [Overall configuration of the image processing device 100 according to the first embodiment] FIG. 1 is an external perspective view of an image processing device 100 according to the first embodiment. FIG. 2 shows a hardware configuration of the image processing device 100 according to the first embodiment. As shown in FIG. 1, the image processing device 100 includes an imaging device 1 and an image processing module 2. The imaging device 1 and the image processing module 2 are configured as separate bodies. More specifically, the components of the imaging device 1 are housed in a first housing 10. Meanwhile, the components of the image processing module 2 are housed in a second housing 20. The first housing 10 and the second housing 20 are connected by a cable 3 that transmits electric signals.

[0012] The imaging device 1 is a device that generates parallax images captured from different viewpoints. The imaging device 1 is attached to, for example, the tip of a robot arm (not shown). The imaging device 1 captures an image of an object located in the moving direction of the robot arm and generates a parallax image. The imaging device 1 then transmits the generated parallax image to the image processing module 2 via a cable 3.

[0013] The image processing module 2 is connected to, for example, a robot arm control device that controls the movement of the robot arm. The image processing module 2 calculates distance information indicating the distance to an object located in the traveling direction of the robot arm based on the parallax images acquired from the imaging device 1 through the cable 3. Then, the image processing module 2 outputs the calculated distance information to the robot arm control device. Note that the "object" refers to any object (e.g., a wall, floor, ceiling, target, obstacle, surrounding object, person, etc.) that exists within the imaging range of the imaging device 1. Also, the object does not refer to a single object, but is a collective term for multiple objects that exist within the imaging range of the imaging device 1.

[0014] The robot arm control device causes the robot arm to reach a target position while avoiding obstacles based on the distance information acquired from the image processing module 2. More specifically, the robot arm control device executes position estimation and obstacle identification based on the distance information acquired from the image processing module 2. Position estimation is a process of estimating the position of the robot arm in the surrounding environment based on a depth map described later, and requires an image with a clear overall image including the background. Obstacle identification is a process of identifying obstacles that may hinder the movement of the robot arm, and requires an image in which structured light is clearly reflected.

[0015] However, the image processing device 100 is not limited to being mounted on a robot arm, and may be mounted on a device that measures the distance to an object in an image based on a parallax image and operates using the measurement result, such as a transport robot that automatically travels within a floor. Also, the image processing device 100 is not limited to being configured as separate entities such as the imaging device 1 and the image processing module 2, and may be housed together in a single housing.

[0016] 2, the imaging device 1 includes a first imaging unit 11, a second imaging unit 12, and a third imaging unit 13 (hereinafter simply referred to as "imaging units 11, 12, and 13"), a structured illumination 14, and an interface module 15. The imaging device 1 is a device that captures parallax images using two of the imaging units 11 to 13 as a pair in order to perform stereo ranging in the image processing module 2. The imaging device 1 also causes the imaging units 11 to 13 to capture images with the structured illumination 14 turned on or off.

[0017] As shown in Fig. 1, the imaging units 11-13 and the structured illumination 14 are exposed on the surface (the same surface) of the first housing 10. The imaging units 11-13 and the structured illumination 14 are arranged spaced apart in the left-right direction. The imaging units 11-13 and the structured illumination 14 are arranged on a straight line L extending in the left-right direction (i.e., on the same straight line). The structured illumination 14 according to the first embodiment is arranged between the adjacent imaging units 11 and 12. The imaging unit 11 is arranged on the surface of the first housing 10 on the opposite side to the imaging unit 13 with the imaging unit 12 in between.

[0018] The base line length L1 (distance between the optical axes) between the imaging units 11 and 12 is different from the base line length L2 between the imaging units 11 and 13. More specifically, the second base line length L2 is set to be longer than the first base line length L1. The base line lengths L1 and L2 are set according to the distance to the object for which stereo ranging is performed. In the first embodiment, the base line length L1 is set to 60 mm in order to measure the distance to an object at a distance of 0.3 m to 6 m from the imaging device 1, and the base line length L2 is set to 100 mm in order to measure the distance to an object at a distance of 1 m to 10 m from the imaging device 1. However, the specific numerical values ​​are not limited to the above-mentioned examples.

[0019] The imaging unit 11 is a camera unit that integrates an optical lens 11a and an image sensor 11b. The optical lens 11a collects light from outside the imaging device 1 and makes it incident on the image sensor 11b. The image sensor 11b photoelectrically converts the light collected by the optical lens and outputs image data. The image sensor 11b is, for example, a CMOS (Complementary Metal-Oxide-Semiconductor) or a CCD (Charge-Coupled Device). The same applies to the imaging units 12 and 13.

[0020] The structured illumination 14 is a projector that projects structured light. The structured illumination 14 realizes structured light by, for example, laser light such as a VCSEL (Vertical Cavity Surface Emitting Laser). The structured light refers to light having a predetermined pattern (for example, a circular or polygonal dot pattern, a stripe pattern) of light and dark. Note that the arrangement, density, size, and spacing and thickness of the dots, as well as the stripe width, do not necessarily need to be uniform.

[0021] The structured illumination 14 projects structured light within the imaging areas (angle of view) of the imaging units 11, 12, and 13. In other words, the imaging units 11, 12, and 13 capture images of the object onto which the structured light is projected from different positions. That is, the imaging areas of the imaging units 11, 12, and 13 at least partially overlap each other. In this specification, the term "imaging area" refers to the overlapping areas of the imaging areas of the imaging units 11 and 12 (or the imaging units 11 and 13). The wavelength area of ​​the light output by the structured illumination 14 overlaps with the sensitivity areas of the image sensors 11b, 12b, and 13b. As an example, when the structured illumination 14 outputs light of a visible wavelength (for example, 400 nm or more and less than 780 nm), the image sensors 11b, 12b, and 13b also receive (photoelectrically convert) the light of the visible wavelength to generate image data. As another example, when the structured illumination 14 outputs light of an infrared wavelength (eg, not less than 780 nm and less than 940 nm), the image sensors 11b, 12b, and 13b also receive (photoelectrically convert) the light of the infrared wavelength and generate image data.

[0022] The imaging units 11, 12, and 13 and the structured illumination 14 are connected to the interface module 15. The interface module 15 also has a terminal to which one end of the cable 3 is connected. That is, the interface module 15 connects the imaging units 11, 12, and 13 and the structured illumination 14 to the image processing module 2. The interface module 15 receives imaging signals instructing the imaging units 11, 12, and 13 to capture images and structured signals instructing the structured illumination 14 to be turned on and off from the image processing module 2, and transmits these to the imaging units 11, 12, and 13 and the structured illumination 14. The interface module 15 also transmits image data generated by the imaging units 11, 12, and 13 to the image processing module 2.

[0023] The image processing module 2 controls the generation of image data by the imaging device 1 by transmitting an imaging signal and a structured signal to the imaging device 1. The image processing module 2 also calculates distance information using the image data acquired from the imaging device 1. Furthermore, the image processing module 2 outputs the calculated distance information to the robot arm control device. As shown in FIG. 2, the image processing module 2 includes an interface module 21 and a processor module 22.

[0024] The interface module 21 is connected to the processor module 22. The interface module 21 also has a terminal to which the other end of the cable 3 is connected. The interface module 21 is also connected to a robot arm control device. That is, the interface module 21 connects the processor module 22 to the imaging device 1 and the robot arm control device. The interface module 21 then transmits the imaging signal and the structured signal acquired from the processor module 22 to the imaging device 1, transmits the image data acquired from the imaging device 1 to the processor module 22, and transmits the distance information calculated by the processor module 22 to the robot arm control device.

[0025] The interface modules 15 and 21 are, for example, SerDes (SERializer / DESerializer). More specifically, the interface module 15 converts image data (parallel signals) output from the imaging units 11, 12, and 13 into serial signals and outputs the serial signals to the cable 3. In addition, the interface module 21 converts serial signals acquired from the cable 3 into parallel signals and outputs the parallel signals to the processor module 22.

[0026] The processor module 22 controls the operation of the imaging device 1, and generates a depth map by calculating distance information from a parallax image captured by the imaging device 1. The processor module is, for example, an integrated circuit product (SoC) in which various electronic components are integrated on a single chip. The processor module 22 includes, for example, a memory that stores a program, and a CPU that executes the program stored in the memory to realize the processing described below.

[0027] The depth map is, for example, a two-dimensional array indicating the distance to each object in an image captured by the imaging device 1. More specifically, the depth map is a collection of distance information indicating the distance from the imaging device 1 for each pixel in the image captured by the imaging device 1. That is, in this embodiment, the distance information corresponds to information indicating the distance from the imaging device 1 to the object in the image captured by the imaging device 1 for each pixel included in the image captured by the imaging device 1. More specifically, the distance information indicates the distance from a point (typically, a midpoint) on a line segment connecting the image sensors 11b and 12b (or the image sensors 11b and 13b) to the object. The depth map is generated by calculating the distance information of each pixel based on the parallax image captured by the imaging device 1 and mapping the calculated distance information to a two-dimensional array. Since the method of generating the depth map is already well known, a detailed description will be omitted. However, the processor module 22 does not need to edit the calculated distance information into the form of a depth map and output it.

[0028] [Depth map generation process 1] The depth map generation process 1 executed by the image processing device 100 according to the first embodiment will be described with reference to Fig. 3 to Fig. 5. Fig. 3 is a flowchart of the depth map generation process 1. Fig. 4 is a diagram showing the operation timing of the imaging units 11, 12, 13 and the structured illumination 14 in the depth map generation process 1. Fig. 5 is a conceptual diagram of a composite image generated from the first image and the second image.

[0029] First, the image processing module 2 causes each of the imaging units 11, 12, and 13 to capture a first image with a first exposure time A while the structured illumination 14 is turned on (S11). As a result, in step S11, three first images having parallax are generated. The first image is an image of an object onto which structured light (dot pattern) is projected, as shown in the upper diagram of FIG. 5, for example. The structured light in the first image becomes clearer for objects closer to the imaging device 1, and becomes unclearer for objects farther away from the imaging device 1. The process of step S11 is an example of a first imaging process.

[0030] Next, after step S11 is completed, the image processing module 2 causes each of the imaging units 11, 12, and 13 to capture a second image with the second exposure time B with the structured illumination 14 turned off (S12). As a result, three second images having parallax between each other are generated in step S12. The second images are images of a subject captured under natural light (i.e., without structured light being projected), as shown in the center diagram of FIG. 5, for example. The process of step S12 is an example of a second imaging process.

[0031] The second exposure time B (e.g., 10 msec) is set longer than the first exposure time A (e.g., 1 msec). By shortening the first exposure time A, the influence of external light can be suppressed when capturing an image of a subject onto which structured light is projected. Furthermore, by lengthening the second exposure time B, even subjects far away from the imaging device 1 can be captured clearly. However, the specific values ​​of the exposure times A and B are not limited to the above-mentioned examples.

[0032] Next, the image processing module 2 synthesizes the first image captured in step S11 and the second image captured in step S12 to generate a composite image (S13). More specifically, the image processing module 2 synthesizes the first image and the second image captured by the imaging unit 11, synthesizes the first image and the second image captured by the imaging unit 12, and synthesizes the first image and the second image captured by the imaging unit 13 to generate three composite images. The process of step S13 is an example of a generation process.

[0033] The image processing module 2 generates the first image and the second image, for example, by known high dynamic range synthesis. As a result, the first image and the second image are compared, and regions with a large contrast difference (in other words, high spatial frequency) are synthesized to generate a synthetic image. As a result, for example, in the lower diagram of FIG. 5, the first image is adopted in regions where the spatial frequency is high when the structured light is strongly projected from the imaging device 1 (for example, an image region corresponding to a person) and regions where the spatial frequency is low when the structured light is not projected (for example, regions corresponding to a plain floor, wall, ceiling, and desk top). In addition, the second image is adopted in regions where the spatial frequency is high when the image is captured clearly without projecting the structured light, which are far from the imaging device 1 (for example, regions corresponding to a whiteboard or poster with letters or patterns, and regions corresponding to the joints of the floor, wall, and ceiling and the edge of the desk).

[0034] Next, the image processing module 2 calculates distance information for each pixel using the three composite images generated in step S13, and generates a depth map (S14). More specifically, the image processing module 2 generates a depth map for short distances based on a pair of composite images (parallax images) generated using the imaging units 11 and 12. Also, the image processing module 2 generates a depth map for long distances based on a pair of composite images (parallax images) generated using the imaging units 11 and 13. The process of step S14 is an example of calculation processing. Then, the image processing module 2 outputs the generated depth map to the robot arm control device.

[0035] The image processing module 2 repeatedly executes the processes of steps S11 to S14 at a predetermined frame rate. For example, if the frame rate is 60 fps, the processes of steps S11 to S14 are repeated at intervals of 1 / 60 sec.

[0036] [Depth map generation process 2] Fig. 6 is a flowchart of depth map generation process 2. Fig. 7 is a diagram showing operation timings of the imaging units 11, 12, 13 and the structured illumination 14 in depth map generation process 2. Note that a detailed description of commonalities with depth map generation process 1 will be omitted, and differences will be mainly described.

[0037] First, the image processing module 2 causes each of the imaging units 11 and 12 to capture a first image for a first exposure time A with the structured illumination 14 turned on (S21). As a result, in step S21, two first images having a parallax between them are generated. The process of step S21 is an example of a first imaging process.

[0038] Next, after step S21 is completed, the image processing module 2 causes each of the imaging units 11 and 12 to capture a second image with the second exposure time B in a state in which the structured illumination 14 is turned off (S22). As a result, in step S22, two second images having a parallax between them are generated. The process of step S22 is an example of a second imaging process.

[0039] Next, after step S22 is completed, the image processing module 2 causes each of the imaging units 11 and 13 to capture a third image for the first exposure time A with the structured illumination 14 turned on (S23). As a result, in step S23, two third images having a parallax between them are generated. The third images are images of a subject onto which structured light is projected, similar to the first image. The process of step S23 is an example of a third imaging process.

[0040] Next, after step S23 is completed, the image processing module 2 causes each of the imaging units 11 and 13 to capture a fourth image with the third exposure time C with the structured illumination 14 turned off (S24). As a result, in step S24, two fourth images having a parallax between them are generated. The fourth image, like the second image, is an image of the subject captured under natural light (i.e., without structured light being projected). The process of step S24 is an example of a fourth imaging process.

[0041] That is, steps S21 to S24 are executed at different timings. Also, the third exposure time C (e.g., 14 msec) is set longer than the second exposure time B (e.g., 10 msec). As a result, in the fourth image for generating a long-distance depth map, subjects at a distance become clearer than in the second image for generating a short-distance depth map. However, the specific value of the third exposure time C is not limited to the above example. Also, in the above example, the first exposure times A in steps S21 and S23 are set to be the same, but the exposure time in step S23 may be set longer than that in step S21.

[0042] The execution order of steps S21 to S24 is not limited to the example in Fig. 6. As another example, the image processing module 2 may execute the imaging process in the order of steps S21, S23, S22, and S24. Furthermore, the processes of steps S21 and S23 may be executed simultaneously. That is, the image processing module 2 may execute the imaging process in the order of step S11 in Fig. 3, and steps S22 and S24 in Fig. 6.

[0043] Next, the image processing module 2 synthesizes the first image and the second image to generate a synthetic image, and synthesizes the third image and the fourth image to generate a synthetic image (S25). More specifically, the image processing module 2 synthesizes the first image and the second image captured by the imaging unit 11 in steps S21 and S22, synthesizes the first image and the second image captured by the imaging unit 12 in steps S21 and S22, synthesizes the third image and the fourth image captured by the imaging unit 11 in steps S23 and S24, and synthesizes the third image and the fourth image captured by the imaging unit 13 in steps S23 and S24 to generate four synthetic images. The process of step S25 is an example of a generation process.

[0044] Next, the image processing module 2 calculates distance information for each pixel using the four composite images generated in step S25, and generates a depth map (S26). More specifically, the image processing module 2 generates a depth map for short distances based on a pair of composite images (parallax images) obtained by combining the first image and the second image. Also, the image processing module 2 generates a depth map for long distances based on a pair of composite images (parallax images) obtained by combining the third image and the fourth image. The process of step S26 is an example of calculation processing. Then, the image processing module 2 outputs the generated depth map to the robot arm control device.

[0045] [Effects of the first embodiment] According to the first embodiment, in the first imaging process and the second imaging process, the structured illumination 14 is turned on and off, and the exposure times A and B are switched. This allows the first image under structured light and the second image under natural light to be captured by the same imaging units 11 to 13, thereby realizing a compact and simplified imaging device 1.

[0046] Also, by shortening the first exposure time A, it is possible to suppress the influence of external light when capturing an image of a subject onto which structured light is projected. Furthermore, by lengthening the second exposure time B, it is possible to capture a clear image of even a subject that is far away from the imaging device 1. This improves the accuracy of calculating the distance image.

[0047] Furthermore, according to the first embodiment, by making the baseline length L1 between the imaging units 11 and 12 different from the baseline length L2 between the imaging units 11 and 13, it is possible to appropriately generate a depth map for close distances and a depth map for long distances.

[0048] Here, according to the depth map generation process 1, the imaging units 11 to 13 are caused to capture images at the same timing, so that the frame rate can be made higher than that of the depth map generation process 2. On the other hand, according to the depth map generation process 2, the second exposure time B (S22) when capturing the second image for a short distance and the third exposure time C (S24) when capturing the fourth image for a long distance can be adjusted according to the distance to the object to be measured.

[0049] Moreover, according to the first embodiment, by arranging the imaging units 11-13 and the structured illumination 14 on the straight line L, it is possible to reduce the size of the imaging device 1 in a direction perpendicular to the straight line L. Furthermore, by making the imaging device 1 and the image processing module 2 separate, the imaging device 1 can be further reduced in size, thereby achieving a reduction in the weight of the robot arm.

[0050] Note that the operation of one of the imaging units 11 to 13 may be omitted in the depth map generation processes 1 and 2. Also, in the image processing device 100 according to the first embodiment, the operation of one of the imaging units 11 to 13 may be omitted. That is, it is sufficient that the image processing device 100 includes at least two imaging units.

[0051] [Second embodiment] [Overall configuration of the image processing device 100 according to the second embodiment] An image processing device 100 according to the second embodiment will be described with reference to Figs. 8 to 13. Fig. 8 shows a hardware configuration of the image processing device 100 according to the second embodiment. Fig. 9 is a diagram showing an example of a cell of the image sensor 11b. Fig. 10 is a diagram showing the positional relationship between the image sensors 11b, 12b and the optical filters 11c, 12c (more specifically, viewed in the optical axis direction from the rear side of the image sensors 11b, 12b). Note that a detailed description of commonalities with the first embodiment will be omitted, and differences will be mainly described.

[0052] 8, the image processing device 100 according to the second embodiment differs from the first embodiment in that it omits the imaging unit 13. Also, the imaging units 11 and 12 according to the second embodiment differ from the first embodiment in that they include optical filters 11c and 12c and filter driving units 11d and 12d.

[0053] The image sensor 11b according to the second embodiment is configured by arranging pixels 16 shown in Fig. 9 in a lattice pattern. The pixels 16 include a cell B that receives blue light, a cell G that receives green light, a cell R that receives red light, and a cell IR that receives infrared light, and the cells are arranged in a lattice pattern (6 x 6 in this embodiment). That is, the image sensor 11b according to the second embodiment can generate image data by photoelectrically converting both visible light and infrared light. The same applies to the image sensor 12b.

[0054] The optical filter 11c is disposed on the optical path of light incident on the image sensor 11b (hereinafter, simply referred to as the "optical path"). As one example, the optical filter 11c may be disposed on the optical path between the optical lens 11a and the image sensor 11b. As another example, the optical filter 11c may be disposed on the optical path on the opposite side of the optical lens 11a to the image sensor 11b.

[0055] As shown in FIG. 10, the optical filter 11c according to the second embodiment has a disk-shaped outer shape. The optical filter 11c has a first portion 11e and a second portion 11f. The first portion 11e is a sector-shaped portion corresponding to a portion of the circumference of the disk shape. The first portion 11e blocks light in a specific wavelength region and transmits light with a wavelength different from the specific wavelength region. The second portion 11f is a sector-shaped portion corresponding to another portion of the circumference of the disk shape. The second portion 11f transmits light in the specific wavelength region and blocks light with a wavelength different from the specific wavelength region.

[0056] The filter driving unit 11d is a motor that generates a driving force to rotate the optical filter 11c under the control of the image processing module 2. The filter driving unit 11d rotates the optical filter 11c to switch between a state in which the first portion 11e is arranged on the optical path (state A in FIG. 10) and a state in which the second portion 11f is arranged on the optical path (state B in FIG. 10).

[0057] For example, when the structured illumination 14 projects structured light of an infrared wavelength and the specific wavelength region is the visible wavelength region, in the first imaging step (S31), the first portion 11e is placed on the optical path (in other words, the second portion 11f is placed at a position off the optical path), while in the second imaging step (S32), the second portion 11f is placed on the optical path (in other words, the first portion 11e is placed at a position off the optical path).

[0058] That is, the central angles of the first portion 11e and the second portion 11f of the optical filter 11c are set so that the first portion 11e is placed on the optical path during execution of step S31, and the second portion 11f is placed on the optical path during execution of step S32. Then, the filter driver 11d rotates the optical filter 11c at a speed of one rotation per fps (e.g., 1 / 60 sec). The configurations of the optical filter 12c and the filter driver 12d are the same as those of the optical filter 11c and the filter driver 11d described above.

[0059] The image processing module 2 (processor module 22) according to the second embodiment outputs a rotation signal instructing the driving (rotation) of the optical filters 11c and 12c to the imaging device 1 (filter driving units 11d and 12d). More specifically, the image processing module 2 controls the filter driving units 11d and 12d to rotate the optical filters 11c and 12c so that the first portion 11e or the second portion 11f is placed on the optical path in synchronization with steps S31 and S32 in FIG. 11 that are repeatedly executed.

[0060] [Depth map generation process 3] Fig. 11 is a flowchart of depth map generation process 3. Fig. 12 is a diagram showing operation timings of the imaging units 11 and 12, the optical filters 11c and 12c, and the structured illumination 14 in depth map generation process 3. Note that a detailed description of commonalities with depth map generation processes 1 and 2 will be omitted, and differences will be mainly described.

[0061] First, the image processing module 2 causes each of the imaging units 11 and 12 to capture a first image for a first exposure time A while turning on the structured illumination 14 and disposing the first portions 11e and 12e of the optical filters 11c and 12c on the optical path (S31). Note that the first portions 11e and 12e of the optical filters 11c and 12c need only enter the optical path before the start of step S31 and exit the optical path after the end of step S31, and do not need to be simultaneously with the start and end of step S31. In other words, the first portions 11e and 12e of the optical filters 11c and 12c need only be disposed on the optical path at the timing of capturing the first image. The process of step S31 is an example of a first imaging process.

[0062] Next, after step S31 is completed, the image processing module 2 turns off the structured illumination 14 and causes each of the imaging units 11 and 12 to capture a second image at the second exposure time B while the second portions 11f and 12f of the optical filters 11c and 12c are placed on the optical path (S32). Note that the second portions 11f and 12f of the optical filters 11c and 12c need only enter the optical path before the start of step S32 and exit the optical path after the end of step S32, and do not need to be simultaneously with the start and end of step S32. In other words, the second portions 11f and 12f of the optical filters 11c and 12c need only be placed on the optical path at the timing of capturing the second image. The process of step S32 is an example of a second imaging process.

[0063] Next, the image processing module 2 synthesizes the first image and the second image to generate a composite image (S33). More specifically, the image processing module 2 synthesizes the first image and the second image captured by the imaging unit 11, and synthesizes the first image and the second image captured by the imaging unit 12 to generate two composite images. The process of step S33 is an example of a generation process.

[0064] Next, the image processing module 2 calculates distance information for each pixel using the pair of composite images (parallax images) generated in step S33, and generates a depth map (S34). The process of step S34 is an example of a calculation process. Then, the image processing module 2 outputs the generated depth map to the robot arm control device.

[0065] [Effects of the second embodiment] According to the second embodiment, the image sensors 11b and 12b having sensitivity to both visible light and infrared light are employed, and the wavelength of light reaching the image sensors 11b and 12b is switched using the optical filters 11c and 12c, so that the first and second images can be captured clearly. In particular, the influence of external light can be reduced by capturing the first image under structured light of an infrared wavelength.

[0066] Furthermore, according to the second embodiment, the disk-shaped optical filters 11c, 12c are rotated in one direction in synchronization with the first imaging process and the second imaging process, so that the wavelength of light reaching the image sensors 11b, 12b can be switched with a simple configuration.

[0067] The combination of wavelengths blocked and transmitted by the first portions 11e, 12e and the second portions 11f, 12f is not limited to the above example. As another example, when the structured illumination 14 projects structured light of an infrared wavelength and the specific wavelength region is the infrared wavelength region, in the first imaging step (S31), the second portion 11f enters the optical path (in other words, the first portion 11e exits the optical path). On the other hand, in the second imaging step (S32), the first portion 11e enters the optical path (in other words, the second portion 11f exits the optical path).

[0068] In addition, the specific configuration of the optical filter 11c is not limited to the example of FIG. 10. As another example, the optical filter 11c may be composed of a first portion 11e that blocks light in a specific wavelength region and transmits light outside the specific wavelength region, and a second portion 11f that transmits light in all wavelength regions. As yet another example, the optical filter 11c may have a sector-shaped outer shape corresponding to the first portion 11e. The same applies to the optical filter 12c.

[0069] Furthermore, the specific configuration for moving the optical filters 11c and 12c forward and backward with respect to the optical path of the light incident on the image sensor 11b is not limited to the example in Fig. 10. Fig. 13 is a diagram showing another example of the configuration for moving the optical filters 11c and 12c forward and backward with respect to the optical path.

[0070] The optical filter 11c shown in Fig. 13 blocks light in a specific wavelength region and transmits light outside the specific wavelength region. The external shape of the optical filter 11c may be any shape, such as a rectangle or a circle. The filter driver 11d may move the optical filter 11c forward and backward along the optical path by sliding the optical filter 11c in a direction perpendicular to the optical path. The same applies to the optical filter 12c.

[0071] [Third embodiment] [Overall configuration of the image processing device 100 according to the third embodiment] An image processing device 100 according to the third embodiment will be described with reference to Fig. 14 to Fig. 16. Fig. 14 shows a hardware configuration of the image processing device 100 according to the third embodiment. Note that a detailed description of commonalities with the first and second embodiments will be omitted, and differences will be mainly described.

[0072] 14, the image processing device 100 according to the third embodiment differs from the first embodiment in that the imaging unit 13 is omitted. In addition, the image processing device 100 according to the third embodiment differs from the first embodiment in that the image processing device 100 is connected to a lighting device 30.

[0073] The lighting device 30 irradiates visible light in the projection range of the structured light by the structured illumination 14 (in other words, the imaging area of ​​the imaging units 11 and 12). The lighting device 30 irradiates simple light that does not include a projection pattern. Moreover, the lighting device 30 irradiates diffuse light that travels while diffusing. The lighting device 30 is a so-called "flash device." Moreover, the image processing module 2 (processor module 22) according to the third embodiment outputs an illumination signal that instructs the lighting device 30 to be turned on and off.

[0074] [Depth map generation process 4] Fig. 15 is a flowchart of depth map generation process 4. Fig. 16 is a diagram showing operation timings of the imaging units 11 and 12, the structured illumination 14, and the illumination device 30 in depth map generation process 4. Note that a detailed description of commonalities with depth map generation processes 1, 2, and 3 will be omitted, and the following description will focus on differences.

[0075] First, the image processing module 2 causes each of the imaging units 11 and 12 to capture a first image for a first exposure time A with the structured illumination 14 turned on and the illumination device 30 turned off (S41). The process of step S41 is an example of a first imaging process.

[0076] Next, after step S41 is completed, the image processing module 2 causes each of the imaging units 11 and 12 to capture a second image for a second exposure time B in a state in which the structured illumination 14 is turned off and the illumination device 30 is turned on (S42). The process of step S42 is an example of a second imaging process.

[0077] Next, the image processing module 2 synthesizes the first image and the second image to generate a synthetic image (S43). More specifically, the image processing module 2 synthesizes the first image and the second image captured by the imaging unit 11, and synthesizes the first image and the second image captured by the imaging unit 12 to generate two synthetic images. The process of step S43 is an example of a generation process.

[0078] Next, the image processing module 2 calculates distance information for each pixel using the pair of composite images (parallax images) generated in step S43, and generates a depth map (S44). The process of step S44 is an example of a calculation process. Then, the image processing module 2 outputs the generated depth map to the robot arm control device.

[0079] [Effects of the third embodiment] According to the third embodiment, when the first image is captured, the illumination device 30 is turned off to darken the surroundings, and when the second image is captured, the illumination device 30 is turned on to brighten the surroundings. This makes it possible to obtain a first image with reduced influence of external light and a clear second image.

[0080] [Other embodiments] The first to third embodiments can be combined in any combination. That is, the optical filters 11c and 12c and the filter drivers 11d and 12d according to the second embodiment can be applied to the first and third embodiments. Moreover, the illumination device 30 according to the third embodiment can be applied to the first and second embodiments.

[0081] Although various embodiments have been described above with reference to the drawings, it goes without saying that the present disclosure is not limited to such examples. It is clear that a person skilled in the art can conceive of various modifications, corrections, substitutions, additions, deletions, and equivalents within the scope of the claims, and it is understood that these also naturally belong to the technical scope of the present disclosure. In addition, the components in the various embodiments described above may be arbitrarily combined within the scope of the invention. [Industrial Applicability]

[0082] INDUSTRIAL APPLICABILITY The present disclosure is useful as an image processing device that improves the accuracy of calculating distance information from an image captured by a camera, and that realizes miniaturization and simplification. [Explanation of symbols]

[0083] 1. Imaging device 2. Image Processing Module 3 Cable 10: First unit 11: First imaging unit 11a, 12a, 13a Optical lenses 11b, 12b, 13b Image sensors 11c,12c Optical filters 11d, 12d: Filter drive section 11e Part 1 11f 2nd part 12 Second imaging unit 13 Third Imaging Unit 14 Structured Lighting 15,21 Interface Module 16 pixels 20 Second cabinet 21 Interface Module 22 Processor Module 30 Lighting Equipment 100 Image processing device

Claims

1. Structured illumination for projecting structured light onto an object; A first imaging unit that captures an image of an imaging area including the object; a second imaging unit that captures an image of the imaging area from a position different from that of the first imaging unit; an image processing module that controls the structured illumination, the first imaging unit, and the second imaging unit; The image processing module includes: a first imaging process of turning on the structured illumination and causing each of the first imaging unit and the second imaging unit to capture a first image of the imaging area for a first exposure time; a second imaging process of turning off the structured illumination and causing each of the first imaging unit and the second imaging unit to capture a second image of the imaging area for a second exposure time longer than the first exposure time; and a calculation process for calculating distance information to the object using the first image and the second image.

2. a third imaging unit configured to capture an image of the imaging area from a position different from that of the first imaging unit and the second imaging unit; The image processing device according to claim 1 , wherein a first base line length between the first imaging unit and the second imaging unit is different from a second base line length between the first imaging unit and the third imaging unit.

3. The image processing device according to claim 2 , wherein the first imaging unit, the second imaging unit, and the third imaging unit are arranged on a same straight line.

4. The image processing module includes: In the first imaging process, the first imaging unit, the second imaging unit, and the third imaging unit are caused to capture the first image for the first exposure time, The image processing device according to claim 2 , wherein in the second imaging process, the first imaging unit, the second imaging unit, and the third imaging unit are caused to capture the second image for the second exposure time.

5. The image processing module includes: a third imaging process of turning on the structured illumination and causing each of the first imaging unit and the third imaging unit to capture a third image of the imaging area for the first exposure time; further executing a fourth imaging process in which the structured illumination is turned off and the first imaging unit and the third imaging unit are caused to capture a fourth image of the imaging area for a third exposure time longer than the second exposure time; The image processing device according to claim 2 , wherein in the calculation process, the distance information is calculated using the first image, the second image, the third image, and the fourth image.

6. the structured light is at a visible wavelength; The image processing device according to claim 1 , wherein each of the first imaging unit and the second imaging unit includes an image sensor that receives light of a visible wavelength and generates an image.

7. Each of the first imaging unit and the second imaging unit is an image sensor having a cell for receiving visible light and a cell for receiving infrared light; an optical filter that blocks light in a specific wavelength region among light incident on the image sensor and transmits light with wavelengths different from the specific wavelength region; The image processing device according to claim 1 , further comprising a filter drive unit that disposes the optical filter so that the optical filter can be advanced and retreated on an optical path of light incident on the image sensor.

8. the structured light is at an infrared wavelength; The specific wavelength region is a visible wavelength region, The image processing module includes: In the first imaging process, the optical filter is disposed on an optical path of light incident on the image sensor; The image processing device according to claim 7 , wherein in the second imaging process, the optical filter is disposed at a position out of an optical path of light incident on the image sensor.

9. the structured light is at an infrared wavelength; The specific wavelength region is an infrared wavelength region, The image processing module includes: In the first imaging process, the optical filter is disposed at a position out of an optical path of light incident on the image sensor; The image processing device according to claim 7 , wherein in the second imaging process, the optical filter is disposed on an optical path of light incident on the image sensor.

10. The optical filter includes: A circumferential portion blocks light in the specific wavelength region and transmits light outside the specific wavelength region, The other portion in the circumferential direction transmits light in the specific wavelength region and blocks light outside the specific wavelength region. the image processing module rotates the optical filter in synchronization with the first imaging process and the second imaging process that are repeatedly executed, so that the part in the circumferential direction or the other part in the circumferential direction is disposed on an optical path of light incident on the image sensor. The image processing device according to claim 7.

11. an illumination device that irradiates a projection range of the structured light with visible light is connected to the image processing device; The image processing module includes: In the first imaging process, the illumination device is turned off; The image processing device according to claim 1 , wherein the illumination device is turned on in the second imaging process.

12. a first housing that houses the structured illumination, the first imaging unit, and the second imaging unit; The image processing module includes: a processor module that controls the structured illumination, the first imaging unit, and the second imaging unit; The image processing device according to claim 1 , further comprising: a second housing that houses the processor module and is connected to the first housing by a cable.

13. The image processing module includes: executing a generation process of generating a pair of composite images by combining the first image and the second image captured by the first imaging unit and by combining the first image and the second image captured by the second imaging unit; The image processing device according to claim 1 , wherein in the calculation process, the distance information is calculated using a pair of the composite images.

Citation Information

Patent Citations

  • Visual navigation for mobile devices operable in differing environmental lighting conditions

    WO2020014706A1