[go: up one dir, main page]

WO2017002367A1 - Dispositif de génération d'image de disparité, procédé de génération d'image de disparité, programme de génération d'image de disparité, dispositif de reconnaissance d'objet, et système de commande d'équipement - Google Patents

Dispositif de génération d'image de disparité, procédé de génération d'image de disparité, programme de génération d'image de disparité, dispositif de reconnaissance d'objet, et système de commande d'équipement Download PDF

Info

Publication number
WO2017002367A1
WO2017002367A1 PCT/JP2016/003129 JP2016003129W WO2017002367A1 WO 2017002367 A1 WO2017002367 A1 WO 2017002367A1 JP 2016003129 W JP2016003129 W JP 2016003129W WO 2017002367 A1 WO2017002367 A1 WO 2017002367A1
Authority
WO
WIPO (PCT)
Prior art keywords
disparity
valid
value
pixel
pair
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/JP2016/003129
Other languages
English (en)
Inventor
Sadao Takahashi
Hiroyoshi Sekiguchi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2016088603A external-priority patent/JP6805534B2/ja
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to KR1020177037261A priority Critical patent/KR102038570B1/ko
Priority to EP16817477.9A priority patent/EP3317850B1/fr
Priority to CN201680037648.3A priority patent/CN107735812B/zh
Publication of WO2017002367A1 publication Critical patent/WO2017002367A1/fr
Priority to US15/854,461 priority patent/US10520309B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C11/00Photogrammetry or videogrammetry, e.g. stereogrammetry; Photographic surveying
    • G01C11/04Interpretation of pictures
    • G01C11/06Interpretation of pictures by comparison of two or more pictures of the same area
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C3/00Measuring distances in line of sight; Optical rangefinders
    • G01C3/02Details
    • G01C3/06Use of electric means to obtain final indication
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/50Depth or shape recovery
    • G06T7/55Depth or shape recovery from multiple images
    • G06T7/593Depth or shape recovery from multiple images from stereo images
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/98Detection or correction of errors, e.g. by rescanning the pattern or by human intervention; Evaluation of the quality of the acquired patterns
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/98Detection or correction of errors, e.g. by rescanning the pattern or by human intervention; Evaluation of the quality of the acquired patterns
    • G06V10/993Evaluation of the quality of the acquired pattern
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • G06V20/58Recognition of moving objects or obstacles, e.g. vehicles or pedestrians; Recognition of traffic objects, e.g. traffic signs, traffic lights or roads
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30248Vehicle exterior or interior
    • G06T2207/30252Vehicle exterior; Vicinity of vehicle

Definitions

  • the present invention relates to a disparity image generation device, a disparity image generation method, a disparity image generation program, an object recognition device, and an equipment control system.
  • a technique for detecting an object such as a person or an automobile rapidly by measuring distances with millimetric wave radar, laser radar, or a stereo camera for example.
  • a position of a road surface is detected after interpolating a disparity of the object, and the object being in contact with the road surface is detected.
  • a detection output of such an object is used for automatic brake control, automatic steering wheel control, or the like.
  • a disparity in a horizontal direction needs to be detected.
  • a method for detecting a disparity known are a block matching method and a sub-pixel interpolation method.
  • PTL 1 Japanese Laid-open Patent Publication No. 11-351862 discloses a technique for creating an interpolated disparity image, when there are pixels having the same disparity on the left and the right in a disparity image from which an object at the same height as the road surface is eliminated, by substituting a disparity value into a pixel between the left pixel and the right pixel to detect a forward vehicle in a driver's own lane and obtain a distance.
  • a disparity of a portion having a virtually vertical edge or texture can be detected with high accuracy.
  • there is difficulty in detecting the disparity at a virtually horizontal edge in the block matching method in the related art, even if the disparity can be detected, much noise is disadvantageously included therein.
  • a three-dimensional object such as a preceding vehicle is a box-shaped object, and can be regarded as a collection of perpendicular lines on the left and right ends and horizontal lines connecting the perpendicular lines on the left and right ends. It is hard to detect the disparity of this object except the perpendicular lines on both ends. This means that there is a valid disparity at a portion where a vertical edge is present.
  • the perpendicular lines are not recognized as one object, and erroneously recognized as two objects running side by side.
  • a technique has been developed in which the perpendicular lines can be recognized as one object by interpolating the disparity.
  • this technique has a problem in that there is difficulty in recognizing the object correctly because the disparity is interpolated between the automobile and another automobile running side by side, a nearby sign, and another three-dimensional object.
  • disparities between the automobile and the other three-dimensional object are interpolated with the same value, so that the objects having different sizes are recognized.
  • the disparity always includes an error, so that interpolation cannot be made by interpolating the disparities of the same disparity value, and difficulty still arises in recognizing the object.
  • the present invention is made in view of the above described problem, and provides a disparity image generation device, a disparity image generation method, a disparity image generation program, an object recognition device, and an equipment control system for generating a disparity image appropriate for recognizing an object.
  • one aspect of the present invention includes a valid pixel determination unit configured to determine a valid pixel based on a feature value of each pixel in a captured image; and a validation unit configured to validate a disparity, which is not a valid disparity, near a valid disparity corresponding to the valid pixel in a disparity image corresponding to the captured image.
  • a disparity image appropriate for recognizing an object can be generated.
  • Fig. 1 is a schematic diagram illustrating a schematic configuration of an equipment control system according to a first embodiment.
  • Fig. 2 is a block diagram illustrating a schematic configuration of an imaging unit and an analyzing unit disposed in the equipment control system according to the first embodiment.
  • Fig. 3 is a block diagram illustrating a functional configuration of the analyzing unit according to the first embodiment.
  • Fig. 4 is a block diagram illustrating a functional configuration of a principal part of a disparity arithmetic unit according to the first embodiment.
  • Fig. 5 is a flowchart illustrating processing performed by the disparity arithmetic unit according to the first embodiment.
  • Fig. 6 is a diagram illustrating a specific example of processing performed by the disparity arithmetic unit illustrated in Fig. 5.
  • Fig. 7 is a diagram for explaining a case in which a result of invalidation determination in the processing illustrated in Fig. 5 is true.
  • Fig. 8 is a diagram for explaining a case in which the result of invalidation determination in the processing illustrated in Fig. 5 is false.
  • Fig. 9 is a diagram for explaining a threshold that can prevents a false result of invalidation determination from occurring in the processing illustrated in Fig. 5.
  • Fig. 10 is another diagram for explaining a threshold that can prevents a false result of invalidation determination from occurring in the processing illustrated in Fig. 5.
  • Fig. 11 is a diagram for explaining minimum value processing and exception processing performed by the disparity arithmetic unit.
  • FIG. 12 is a diagram illustrating an example of an arithmetic result of the disparity arithmetic unit according to the first embodiment.
  • Fig. 13 is a diagram illustrating another example of the arithmetic result of the disparity arithmetic unit according to the first embodiment.
  • Fig. 14 is a diagram illustrating an example of a graph of a matching processing result.
  • Fig. 15 is a diagram illustrating another example of the graph of the matching processing result.
  • Fig. 16 is a specific functional block diagram of a valid disparity determination unit.
  • Fig. 17 is a further specific functional block diagram of the valid disparity determination unit.
  • Fig. 18 is a schematic diagram for explaining an operation of setting a valid disparity pair in a valid disparity pair setting unit.
  • Fig. 18 is a schematic diagram for explaining an operation of setting a valid disparity pair in a valid disparity pair setting unit.
  • FIG. 19 is a functional block diagram of a valid disparity determination unit in an equipment control system according to a second embodiment.
  • Fig. 20 is a schematic diagram for explaining a search range of the valid disparity pair.
  • Fig. 21 is a functional block diagram of a valid disparity determination unit in an equipment control system according to a third embodiment.
  • Fig. 22 is a functional block diagram of a principal part of an equipment control system according to a fourth embodiment.
  • Fig. 23 is a flowchart illustrating a procedure of disparity image generation processing in a disparity image generator in the equipment control system according to the fourth embodiment.
  • Fig. 24 is a diagram for explaining a conventional determination method that erroneously determines a pixel in which erroneous matching occurs to be a valid pixel.
  • Fig. 25 is a diagram for explaining the disparity image generator in the equipment control system according to the fourth embodiment that accurately detects the valid pixel to be output.
  • First Embodiment Fig. 1 is a schematic diagram illustrating a schematic configuration of an equipment control system according to a first embodiment.
  • the equipment control system is disposed in a vehicle 1 such as an automobile as an example of equipment.
  • the equipment control system includes an imaging unit 2, an analyzing unit 3, a control unit 4, and a display unit 5.
  • the imaging unit 2 is disposed near a room mirror on a windshield 6 of the vehicle 1, and takes an image of the vehicle 1 in a traveling direction, for example.
  • Various pieces of data including image data obtained through an imaging operation of the imaging unit 2 are supplied to the analyzing unit 3.
  • the analyzing unit 3 analyzes an object to be recognized such as a road surface on which the vehicle 1 is traveling, a vehicle preceding the vehicle 1, a pedestrian, and an obstacle based on the various pieces of data supplied from the imaging unit 2.
  • the control unit 4 gives a warning and the like to a driver of the vehicle 1 via the display unit 5 based on an analysis result of the analyzing unit 3.
  • the control unit 4 supports traveling by controlling various onboard devices, performing steering wheel control or brake control of the vehicle 1, for example, based on the analysis result.
  • Fig. 2 is a schematic block diagram of the imaging unit 2 and the analyzing unit 3.
  • the imaging unit 2 has a stereo camera configuration including two imaging units 10A and 10B, for example.
  • the two imaging units 10A and 10B have the same configuration.
  • the imaging units 10A and 10B includes imaging lenses 11A and 11B, image sensors 12A and 12B in which light receiving elements are two-dimensionally arranged, and controllers 13A and 13B that drive the image sensors 12A and 12B to take an image.
  • the analyzing unit 3 is an example of an object recognition device, and includes a field-programmable gate array (FPGA) 14, a random access memory (RAM) 15, and a read only memory (ROM) 16.
  • the analyzing unit 3 also includes a serial interface (serial IF) 18 and a data IF 19.
  • the FPGA 14 to the data IF 19 are connected with each other via a data bus line 21 of the analyzing unit 3.
  • the imaging unit 2 and the analyzing unit 3 are connected with each other via the data bus line 21 and a serial bus line 20.
  • the RAM 15 stores disparity image data and the like generated based on luminance image data supplied from the imaging unit 2.
  • the ROM 16 stores an operation system and various programs such as an object detection program including a disparity image generation program.
  • the FPGA 14 operates in accordance with the disparity image generation program included in the object detection program. As described later in detail, the FPGA 14 causes one of captured images captured by the imaging units 10A and 10B to be a reference image, and causes the other one thereof to be a comparative image. The FPGA 14 calculates a position shift amount between a corresponding image portion on the reference image and a corresponding image portion on the comparative image, both corresponding to the same point in an imaging region, as a disparity value (disparity image data) of the corresponding image portion.
  • the FPGA 14 in calculating the disparity from a stereo image captured by the imaging unit 2, the FPGA 14 previously calculates many disparities based on block matching for a pixel position having an edge and other portions. Thereafter, the disparity of the pixel having an edge is validated. When a difference between the validated disparity that has been validated and a validated disparity positioned nearby is equal to or smaller than a predetermined value, a disparity between the validated disparity that has been validated and the validated disparity positioned nearby is validated. “Validate” means to specify (or extract) the disparity as information used for processing of recognizing an object.
  • the equipment control system can appropriately generate disparity information of the preceding vehicle not only at a vehicle edge but also in the vehicle and other spaces.
  • the vehicle 1 can be recognized as one object with correct size and distance, and the vehicle 1 can be prevented from being coupled with another object to be erroneously detected.
  • a CPU 17 operates based on the operation system stored in the ROM 16, and performs overall imaging control on the imaging units 10A and 10B.
  • the CPU 17 loads the object detection program from the ROM 16, and performs various pieces of processing using the disparity image data written into the RAM 15.
  • the CPU 17 refers to controller area network (CAN) information such as vehicle speed, acceleration, a steering angle, and a yaw rate acquired from each sensor disposed in the vehicle 1 via the data IF 19, and performs processing of recognizing the object to be recognized such as a road surface, a guardrail, a vehicle, and a person, disparity calculation, calculation of a distance to the object to be recognized, and the like.
  • CAN controller area network
  • the CPU 17 supplies a processing result to the control unit 4 illustrated in Fig. 1 via the serial IF 18 or the data IF 19.
  • the control unit 4 is an example of a control device, and performs, for example, brake control, vehicle speed control, and steering wheel control based on data as the processing result.
  • the control unit 4 causes the display unit 5 to display a warning and the like based on the data as the processing result. This configuration can support driving of the vehicle 1 by the driver.
  • the following specifically describes an operation of generating the disparity image and an operation of recognizing the object to be recognized in the equipment control system according to the first embodiment.
  • the polynomial expression is, for example, based on a quintic polynomial expression regarding x (a horizontal direction position of the image) and y (a vertical direction position of the image). Accordingly, a parallel luminance image can be obtained in which distortion of an optical system in the imaging units 10A and 10B is corrected.
  • Such luminance images (a right captured image and a left captured image) are supplied to the FPGA 14 of the analyzing unit 3.
  • Fig. 3 is a functional block diagram of each function that is implemented when the FPGA 14 executes the object detection program stored in the ROM 16 in the equipment control system according to the first embodiment.
  • the FPGA 14 implements a captured image corrector 31, a disparity arithmetic unit 32, a disparity image generator 33, and a recognition processor 34 by executing the object detection program.
  • the captured image corrector 31 performs correction such as gamma correction and distortion correction (parallelization of left and right captured images) on a left captured image and a right captured image.
  • the disparity arithmetic unit 32 calculates a disparity value d from the left and right captured images corrected by the captured image corrector 31. Details about the disparity arithmetic unit 32 will be described later.
  • the disparity image generator 33 generates a disparity image using the disparity value d calculated by the disparity arithmetic unit 32.
  • the disparity image represents a pixel value corresponding to the disparity value d calculated for each pixel on the reference image as a pixel value of each pixel.
  • the recognition processor 34 recognizes an object preceding the vehicle and generates recognition data as a recognition result using the disparity image generated by the disparity image generator 33.
  • Part or all of the captured image corrector 31 to the recognition processor 34 may be implemented as hardware such as an integrated circuit (IC).
  • the object detection program may be recorded and provided in a computer-readable recording medium such as a compact disc read only memory (CD-ROM), a flexible disk (FD), a compact disc recordable (CD-R), a DVD, a Blu-ray Disc (registered trademark), and a semiconductor memory, as an installable or executable file.
  • the DVD is an abbreviation for a “digital versatile disc”.
  • the object detection program may be provided to be installed via a network such as the Internet.
  • the object detection program may be embedded and provided in a ROM in a device, for example.
  • the disparity arithmetic unit 32 assumes luminance image data of the imaging unit 10A as reference image data, assumes luminance image data of the imaging unit 10B as comparative image data, and generates disparity image data representing disparity between the reference image data and the comparative image data. Specifically, the disparity arithmetic unit 32 defines a block including a plurality of pixels (for example, 16 pixels ⁇ 1 pixel) around one disparity of interest (pixel of interest) for a predetermined “row” of the reference image data.
  • a block having the same size as that of the defined block of the reference image data is shifted in a horizontal line direction (X-direction) one pixel by one pixel.
  • the disparity arithmetic unit 32 calculates a correlation value representing a correlation between a feature value indicating a feature of a pixel value of the defined block in the reference image data and a feature value indicating a feature of a pixel value of each block in the comparative image data.
  • the disparity arithmetic unit 32 performs matching processing of selecting a block in the comparative image data that is most correlated with the block in the reference image data from among blocks in the comparative image data based on the calculated correlation value. Thereafter, the disparity arithmetic unit 32 calculates, as the disparity value d, a position shift amount between the pixel of interest of the block in the reference image data and the corresponding pixel of the block in the comparative image data selected in the matching processing. By performing such processing of calculating the disparity value d on the entire region or a specific region of the reference image data, the disparity image data is obtained.
  • a value of each pixel (luminance value) in the block can be used.
  • the correlation value the sum total of absolute values of differences between values of the respective pixels (luminance values) in the block in the reference image data and values of the respective pixels (luminance values) in the block in the comparative image data corresponding to the former pixels can be used, for example. In this case, a block in which the sum total is the smallest is detected as a most correlated block.
  • FIG. 4 is a block diagram illustrating a functional configuration of a principal part of the disparity arithmetic unit 32.
  • the disparity arithmetic unit 32 includes an information processor 440 and an information storage unit 450, which can communicate with each other.
  • the information processor 440 includes a non-similarity calculator 441, an inclination calculator 442, a local minimum value detector 443, a threshold setting unit 444, a flag controller 445, a counter controller 446, and a validity determination unit 447.
  • the information storage unit 450 includes a non-similarity register 451, an inclination register 452, a threshold register 453, a flag register 454, and a local minimum value counter 455.
  • the validity determination unit 447 performs an operation including an invalidation unit.
  • the non-similarity calculator 441 is an example of an evaluation value calculator, calculates a non-similarity as an evaluation value of a correlation between the reference image and the comparative image (an evaluation value of matching) using a zero-mean sum of squared difference (ZSSD) method disclosed in a reference (Japanese Laid-open Patent Publication No. 2013-45278), for example, and writes the non-similarity into the non-similarity register 451.
  • ZSSD zero-mean sum of squared difference
  • a sum of squared difference (SSD) method In place of the zero-mean sum of squared difference (ZSSD) method, a sum of squared difference (SSD) method, a sum of absolute difference (SAD) method, or a zero-mean sum of absolute difference (ZSAD) method may be used.
  • an estimation value is used.
  • an equiangular linear method or a quadratic curve method As a method of estimating the estimation value, for example, an equiangular linear method or a quadratic curve method can be used.
  • an error occurs in the estimated disparity value at the sub-pixel level.
  • an estimation error correction (EEC) method and the like may be used for reducing an estimation error.
  • the inclination calculator 442 calculates an inclination of non-similarity from a difference value of non-similarity at adjacent shift positions in a case in which the comparative image is shifted with respect to the reference image, and writes the inclination into the inclination register 452.
  • the local minimum value detector 443 is an example of an extreme value detector, and detects the local minimum value of non-similarity as an extreme value of the evaluation value of correlation based on the fact that the inclination value calculated by the inclination calculator 442 is changed from negative to positive.
  • the threshold setting unit 444 is an example of an updater. When a value held by the flag register 454 is “0” (when a flag is off), the threshold setting unit 444 generates an upper threshold Uth and a lower threshold Lth as set values for a range of the local minimum value above and below the local minimum value based on the local minimum value detected by the local minimum value detector 443, and writes the upper threshold Uth and the lower threshold Lth into the threshold register 453. At this point, the flag controller 445 writes a value “1” indicating that the upper threshold Uth and the lower threshold Lth are updated into the flag register 454.
  • the counter controller 446 as an example of a counter counts up the value of the local minimum value counter 455. The value of the local minimum value counter 455 represents the number of minimum values of non-similarity within a range of the threshold held by the threshold register 453.
  • the counter controller 446 counts up the value of the local minimum value counter 455.
  • the counter controller 446 includes a resetting unit.
  • the counter controller 446 resets the value of the local minimum value counter 455.
  • the flag controller 445 writes “0” into the flag register 454, and resets the flag.
  • FIG. 5 is a flowchart illustrating processing performed by the disparity arithmetic unit 32 illustrated in Fig. 4.
  • Fig. 6 is a diagram illustrating a specific example of the processing illustrated in Fig. 5.
  • the horizontal axis in Fig. 6 indicates a search range, that is, a shift amount (deviation) of a pixel position in the comparative image with respect to a pixel position in the reference image, and the vertical axis indicates the non-similarity as the evaluation value for matching.
  • the following describes an operation performed by the disparity arithmetic unit 32 with reference to these drawings.
  • the flowchart illustrated in Fig. 5 is performed for each pixel of the reference image.
  • the search range of the comparative image with respect to the pixels in the reference image is 1 to 68 pixels.
  • no data is written into the non-similarity register 451, the inclination register 452, and the threshold register 453. “0” is set to the flag register 454, and an initial value of the local minimum value counter 455 is “0”.
  • a value (flag) held by the flag register 454 is represented by C
  • a count value of the local minimum value counter 455 is represented by cnt.
  • Step S303 the process proceeds in order of Step S301, Step S302, and Step S303, and the inclination calculator 442 calculates an inclination between the data(1) and data(2) (Step S303).
  • the inclination is calculated from a difference between two pieces of data “data(2) - data(1)”.
  • Step S306 the data(2) is written into the non-similarity register 451 to be held (Step S306), whether t is the last value is determined (Step S307), t is incremented to 3 (Step S312) based on a determination result (No at Step S307), and the process proceeds to Step S301.
  • Step S317 When “data(2) - data(1)” is negative and “data(3) - data(2)” is positive, it is determined that the inclination is changed from negative to positive (Yes at Step S313). In this case, held data(t-1), that is, the data(2) is determined to be the local minimum value herein (Step S317).
  • the data(1) to the data(3) in Fig. 6 correspond to the processes described above. That is, the data(2) is determined to be the local minimum value at Step S317, and the upper threshold Uth1 and the lower threshold Lth1 are updated (as initial setting in this case) above and below the local minimum value at Step S320.
  • the upper threshold Uth and the lower threshold Lth are assumed to be “data(2) + predetermined value” and “data(2) - predetermined value”, respectively.
  • the counter controller 446 counts up the value of the local minimum value counter 455 (Step S321).
  • the count value is “1”.
  • the count value represents the number of local minimum values within a range of the threshold (equal to or smaller than the upper threshold Uth1, and equal to or larger than the lower threshold Lth1) set at Step S320.
  • Step S321 the process proceeds in order of Step S305, Step S306, and Step S307, and the reference numeral of inclination (positive in this case) and the matching data (the data(3) in this case) are held, whether t is the last is determined (not the last in this case, so that No at S307), t is incremented to 4 (Step S312), and the process proceeds to Step S301.
  • Step S313 the process proceeds in order of Step S301, Step S302, Step S303, Step S304, and Step S313, and whether the inclination is changed from negative to positive is determined to detect the local minimum value (Step S313).
  • Step S313 the process proceeds in order of Step S301, Step S302, Step S303, Step S304, and Step S313, and it is determined whether the inclination is changed from negative to positive (Step S313).
  • Step S315 it is determined whether the local minimum value has been previously generated and the data(t) (data(5) in this case) becomes lower than the lower threshold. In a case of No at Step S315, that is, when the local minimum value is not previously generated or when the data(t) is not lower than the lower threshold even though the local minimum value is generated, the process proceeds to Step S305.
  • Step S301 proceeds in order of Step S301, Step S302, Step S303, Step S304, and Step S313, and it is determined whether the inclination is changed from negative to positive.
  • Step S301 proceeds in order of Step S301, Step S302, Step S303, Step S304, and Step S313, and it is determined whether the inclination is changed from negative to positive.
  • the upper threshold Uth1 and the lower threshold Lth1 are updated to be an upper threshold Uth2 and a lower threshold Lth2, respectively, as illustrated in Fig. 6.
  • the upper threshold Uth2 and the lower threshold Lth2 are “data(7) + predetermined value” and “data(7) - predetermined value”, respectively.
  • Step S319 it is determined whether data(9) as the local minimum value determined at Step S317 is within a range of the lower threshold (Lth2) and the upper threshold (Uth2). If the data(9) is within the range (Yes at Step S319), the data(9) is counted up (Step S321), and the process proceeds to Step S305. If the data(9) is out of the range (No at Step S319), the process directly proceeds to Step S305.
  • the data(9) is within the range of the lower threshold (Lth2) and the upper threshold (Uth2), so that the data(9) is counted up and the value of the local minimum value counter 455 becomes “2”.
  • the count value “2” means that there are two local minimum values within the range of the latest thresholds (the upper threshold Uth2 and the lower threshold Lth2 in this case).
  • Step S301 the processes are repeated in order of Step S301 ⁇ Step S302 ⁇ Step S303 ⁇ Step S304 ⁇ Step S313 until the last t (68 in this case) of the search range is reached.
  • Step S307 the counter controller 446 outputs the count value of the local minimum value counter 455 (Step S308).
  • the validity determination unit 447 determines whether the count value is equal to or larger than a predetermined value (for example, 2) (Step S309). If the count value is equal to or larger than the predetermined value (Yes at Step S309), the validity determination unit 447 determines that the count value is invalid (Step S310), and sets the flag so that the recognition processor 34 does not use the disparity value of the pixel in the reference image (Step S311).
  • a predetermined value for example, 2
  • Fig. 14 illustrates a graph of an example of a matching processing result.
  • the horizontal axis indicates the search range, that is, the shift amount (deviation) of the pixel position in the comparative image with respect to the pixel position in the reference image
  • the vertical axis indicates the non-similarity as the evaluation value for correlation.
  • the non-similarity is the smallest for the seventh search pixel surrounded with a circle, so that 7 is the most probable disparity value.
  • a negative value on the horizontal axis is of a search range for obtaining a sub-pixel disparity.
  • a process of calculating the disparity of an object having a repetitive pattern on an external appearance such as a building on which windows having the same design are lined, a tile wall on which the same shapes and figures are lined, a fence, a load-carrying platform of a truck vehicle, or a load-carrying platform of a trailer vehicle, as illustrated in Fig. 15, two or more (six in the example of Fig. 15) matched portions may appear in some cases, so that the most probable disparity value may be erroneously output.
  • an erroneous disparity value is actually output (erroneous matching), the erroneous disparity value indicating that the object having the repetitive pattern present at a distant position is positioned nearby.
  • the erroneous disparity value indicating that the object having the repetitive pattern present at a distant position is positioned nearby.
  • the disparity value for the distance of 5 m and the disparity value for the distance of 2 m are mixed to be output. Due to this, in object recognition processing at a rear stage, one wall is recognized as two walls including a wall having a distance of 2 m from the own vehicle and a wall having a distance of 5 m from the own vehicle. Then a brake is operated although the distance between the tile wall and the own vehicle is 5 m, which is called “erroneous braking”.
  • the disparity arithmetic unit 32 searches for neither the number of values of non-similarity close to each other nor the most probable disparity value after calculation of the non-similarity in the search range is finished.
  • the disparity arithmetic unit 32 counts the number of local minimum values of non-similarity and searches for the disparity at the same time.
  • the disparity arithmetic unit 32 updates the predetermined range, and counts the number of local minimum values of non-similarity in the updated range. Due to this, when a repetitive pattern appears, a time until the disparity arithmetic unit 32 determines whether to use the repetitive pattern for the object recognition processing can be shortened without increasing of a processing time.
  • “erroneous braking” can be suppressed.
  • search is performed in an ascending order of t. Search may also be performed in a descending order of t.
  • the upper threshold and the lower threshold are set in accordance with the local minimum value. Alternatively, optional upper threshold and lower threshold may be initially set at the time when the procedure is started.
  • the non-similarity is used as the evaluation value for correlation, the value of the non-similarity being reduced as the correlation is increased.
  • a similarity the value of which increases as the correlation increases, may also be used.
  • the upper threshold Uth1 and the lower threshold Lth1 are “data(2) + predetermined value” and “data(2) - predetermined value”, respectively, and the upper threshold Uth2 and the lower threshold Lth2 are “data(7) + predetermined value” and “data(7) - predetermined value”, respectively. That is, the upper threshold Uth and the lower threshold Lth are calculated to be set using expressions of “newly detected local minimum value + predetermined value” and “newly detected local minimum value - predetermined value”, respectively.
  • the upper threshold and the lower threshold calculated by the above expressions are referred to as a first upper threshold and a first lower threshold, respectively.
  • Step S310 a result of invalidation determination in the processing illustrated in Fig. 5 is true, and a case in which the result is false.
  • the following also describes a second upper threshold and a second lower threshold serving as an upper threshold and a lower threshold by which the occurrence of the false result can be reduced.
  • FIG. 7 is a diagram for explaining a case in which a result of invalidation determination in the processing illustrated in Fig. 5 is true.
  • the horizontal axis and the vertical axis in Fig. 7 and Fig. 8 to Fig. 13 are the same as those in Fig. 6, and indicate the search range and the non-similarity, respectively.
  • Fig. 7 illustrates a matching processing result in a case in which an image in the search range has a repetitive pattern having much texture. Amplitude of non-similarity (for example, ZSSD) is large due to the much texture.
  • Uth (first upper threshold) and Lth (first lower threshold) are set to be “data(ta) + k (predetermined value)” and “data(ta) - k (predetermined value)”, respectively, with respect to data(ta) as the local minimum value, and three local minimum values in the range of threshold are counted. Based on this correct count value, a true determination result (invalid) can be obtained.
  • FIG. 8 is a diagram for explaining a case in which the result of invalidation determination in the processing illustrated in Fig. 5 is false.
  • Fig. 8 illustrates a matching processing result in a case in which the image in the search range has no repetitive pattern and has less texture. The amplitude of non-similarity is small due to the less texture.
  • the minimum value data(tc) is present at one point. Accordingly, although a correct disparity value tc can be obtained, five local minimum values are counted in a range of Uth (first upper threshold) and Lth (first lower threshold) set above and below data(tb) as the local minimum value, not being the minimum value. Then invalidation is determined based on the count value.
  • Fig. 9 and Fig. 10 are examples of diagrams for explaining a second threshold that can prevents a false result of invalidation determination from occurring in the processing illustrated in Fig. 5.
  • Fig. 9 and Fig. 10 illustrate a matching processing result in a case in which the image in the search range is the same as that in Fig. 7 and Fig. 8, respectively.
  • the second upper threshold and the second lower threshold are set to values corresponding to the newly detected local minimum value. That is, in the case of Fig. 9 for example, Uth (second upper threshold) and Lth (second lower threshold) are set to be “data(ta) ⁇ Um” and “data(ta) ⁇ Lm”, respectively, with respect to the data(ta) as the local minimum value.
  • Um and Lm are coefficients representing a ratio. Values of Um and Lm satisfy “Um > 1 > Lm”, and may be any values so long as an updated upper threshold is smaller than the lower threshold before updating. In the case of Fig. 9, similarly to the case of Fig. 7, three local minimum values within the range of threshold are counted.
  • Uth (second upper threshold) and Lth (second lower threshold) are set to be “data(tc) ⁇ Um” and “data(tc) ⁇ Lm”, respectively, with respect to the data(tc) as the smallest local minimum value.
  • the count value of the local minimum value is “1”, so that a correct disparity value tc is employed.
  • the upper threshold and the lower threshold corresponding to the local minimum value are calculated by multiplying the local minimum value by the coefficient.
  • k in Fig. 7 and Fig. 8 may be changed depending on the local minimum value in place of being fixed at a predetermined value.
  • Minimum value processing and exception processing Fig. 11 is a diagram for explaining minimum value processing and exception processing performed by the disparity arithmetic unit 32.
  • disparity value calculation As a basis of disparity value calculation, calculating the disparity value in which the non-similarity such as ZSSD is the minimum value is a prerequisite, so that, in addition to an algorithm for counting the number of local minimum values within the range of the upper and lower thresholds at a minimum level illustrated in Fig. 5, a pure minimum value and a disparity value corresponding thereto need to be successively processed to be searched for.
  • the pure minimum value is successively processed, and when the minimum value is smaller than the lower threshold Lth that is finally updated, the disparity that gives the minimum value is output.
  • invalidation determination is forcibly performed as exception processing.
  • the local minimum value counter 455 is reset to 0 at Step S316 based on data(68) as the minimum value.
  • invalidation determination is forcibly performed.
  • the search range t indicated by the horizontal axis of A in Fig. 11 is -2 to 65, and data(65) on the right end is the minimum value.
  • the search range t indicated by the horizontal axis of B in Fig. 11 is -2 to 65, and data(-2) on the left end is the minimum value.
  • the local minimum value counter 455 is counted up. For example, only the left end is included in the finally determined threshold range, an output count value is counted up by 1. For example, only the right end is included in the finally determined threshold range, the output count value is counted up by 1. For example, both of the left end and the right end are included in the finally determined threshold range, the output count value is counted up by 2.
  • Fig. 12 is a diagram illustrating a first example of an arithmetic result of the disparity arithmetic unit 32
  • Fig. 13 is a diagram illustrating a second example thereof.
  • the horizontal axis indicates the search range
  • the non-similarity indicated by the vertical axis is ZSSD calculated using a block of 7 pixels ⁇ 7 pixels.
  • a negative portion of the search range is used for obtaining the sub-pixel disparity.
  • Fig. 12 is obtained by calculating disparity values of a captured image of a window of a building.
  • the upper threshold and the lower threshold are finally updated values (set in accordance with the local minimum value of the 8th pixel in the search range, in this case).
  • the number of local minimum values in this threshold range is 4, and invalidation is determined by the validity determination unit 447.
  • Fig. 13 is obtained by calculating disparity values of a captured image of a tile wall.
  • the upper threshold and the lower threshold are finally updated values (set in accordance with the local minimum value of the 23rd pixel in the search range, in this case).
  • the number of local minimum values in this threshold range is 2, and invalidation is determined by the validity determination unit 447.
  • the smallest non-similarity is detected from among the first non-similarity, the second non-similarity, and the third non-similarity, and the smallest non-similarity is compared with the fourth and subsequent non-similarities.
  • Detection processing may be performed for each pixel to detect the minimum value of non-similarity so that the minimum value of non-similarity within a predetermined threshold is detected. In this case, a load of arithmetic processing of non-similarity on the FPGA 14 can be reduced.
  • the non-similarity indicating the minimum value may be detected, and the number of non-similarities included within the threshold determined based on the minimum value of non-similarity may be detected to detect the minimum value of non-similarity.
  • the disparity image generator 33 includes an edge validation unit 103, a pair position calculator 104, and an intra-pair disparity validation unit 105.
  • the edge validation unit 103 is an example of a valid pixel determination unit to which the disparity value d (disparity image) calculated by the disparity arithmetic unit 32 and the luminance image generated by the captured image corrector 31 are supplied.
  • the edge validation unit 103 determines, to be an edge pixel, a pixel in which an amount of an edge component is equal to or larger than a predetermined component amount in the luminance image, and validates the disparity value at the pixel position.
  • the amount of edge component in the luminance image is an example of a feature value.
  • the edge pixel is a valid pixel, and the disparity corresponding to the edge pixel on the disparity image is a valid disparity.
  • the pair position calculator 104 is an example of a calculator, assumes two adjacent valid disparities on the same line in the disparity image as a valid disparity pair, and calculates a distance difference in a depth direction in a real space and an interval in a horizontal direction (positional relation) of the disparities. The pair position calculator 104 then determines whether the distance difference is within the predetermined threshold range, and whether the interval in the horizontal direction is within another predetermined threshold range in accordance with the disparity value of the valid disparity pair.
  • the intra-pair disparity validation unit 105 is an example of a validation unit, and validates the intra-pair disparity in the valid disparity pair (disparity between the valid disparity pair) when both of the distance difference and the interval in the horizontal direction determined by the pair position calculator 104 are within the threshold range.
  • An intra-pair disparity to be validated is in the vicinity of two disparity values of the valid disparity pair.
  • Fig. 17 illustrates a more detailed functional block diagram of the disparity image generator 33.
  • a valid disparity determination unit 102 includes the edge validation unit 103, the pair position calculator 104, and the intra-pair disparity validation unit 105.
  • the edge validation unit 103 includes an edge amount calculator 106 and a comparator 107.
  • the pair position calculator 104 includes a valid disparity pair setting unit 108, a pair interval calculator 109, a comparator 110, a pair depth difference calculator 111, a comparator 112, and a parameter memory 113.
  • the intra-pair disparity validation unit 105 includes a validation determination unit 114 and a valid disparity determination unit 115.
  • the valid disparity pair setting unit 108 is an example of a pair setting unit.
  • Each of the pair interval calculator 109 and the pair depth difference calculator 111 is an example of a calculator.
  • the valid disparity determination unit 115 is an example of a validation unit.
  • the edge amount calculator 106 of the edge validation unit 103 calculates an edge amount from the luminance image.
  • a method for calculating the edge amount for example, a Sobel filter or a secondary differential filter can be used. Considering reduction of hardware and characteristics of block matching processing, a difference between pixels on both ends on the same line as the pixel of interest may be used.
  • the comparator 107 of the edge validation unit 103 compares an absolute value of the edge amount calculated by the edge amount calculator 106 with an edge amount threshold determined in advance, and supplies a comparison output thereof as a valid disparity flag to the valid disparity pair setting unit 108 of the pair position calculator 104.
  • the absolute value of the calculated edge amount is larger than the edge amount threshold, the comparison output at high level is supplied to the valid disparity pair setting unit 108 (the valid disparity flag is turned on).
  • the comparison output at low level is supplied to the valid disparity pair setting unit 108 (the valid disparity flag is turned off).
  • the valid disparity flag and the disparity image within the predetermined range described above are supplied to the valid disparity pair setting unit 108 of the pair position calculator 104.
  • the valid disparity pair setting unit 108 sets, as the valid disparity pair, two disparities that are not adjacent to each other at pixel positions closest to each other on the same line for which the valid disparity flag is turned on.
  • Fig. 18 illustrates an example in which a first valid disparity pair, a second valid disparity pair, and a third valid disparity pair are set.
  • the pair interval calculator 109 calculates the interval between the pair in the horizontal direction in the real space from the disparity value of the left pixel of the valid disparity pair and the interval between the pair (pixel unit) on the disparity image.
  • the pair interval calculator 109 calculates depths from the respective two disparities of the valid disparity pair, and calculates an absolute value of a difference between the depths.
  • the comparator 110 compares the interval between the pair in the horizontal direction calculated by the pair interval calculator 109 with a pair interval threshold.
  • the pair interval threshold is determined in advance with reference to an actual width of an object to be detected. For example, to detect a person alone, the pair interval threshold is set to be a width occupied by a person. For example, a width of a large-size vehicle is prescribed to be 2500 mm at the maximum in Japan. Thus, in detecting a vehicle, the pair interval threshold is set to be the maximum width of the vehicle that is legally prescribed.
  • the comparator 110 compares such a pair interval threshold with the interval between the pair in the horizontal direction calculated by the pair interval calculator 109, and supplies a comparison output to the validation determination unit 114 of the intra-pair disparity validation unit 105.
  • the pair depth difference calculator 111 calculates a depth difference in the valid disparity pair described above.
  • a depth difference threshold read from the parameter memory 113 using the pair of disparity values is supplied to the comparator 112.
  • the depth difference threshold read from the parameter memory 113 is determined in accordance with a distance calculated from the disparity value of the left pixel of the valid disparity pair.
  • the depth difference threshold is determined in accordance with the distance because resolution of the disparity obtained from the stereo image of the imaging unit 2 is lowered when the distance to the object to be detected is large, and variance of detection distance becomes large. Accordingly, corresponding to the valid disparity value or a distance calculated therefrom, depth difference thresholds such as 10%, 15%, and 20% of the distance are stored in the parameter memory 113.
  • the comparator 112 compares the depth difference threshold with the depth difference in the valid disparity pair, and supplies a comparison output to the validation determination unit 114 of the intra-pair disparity validation unit 105.
  • the validation determination unit 114 of the intra-pair disparity validation unit 105 performs intra-pair region validation determination. That is, when the comparison outputs supplied from the comparators 110 and 112 respectively indicate that the interval between the pair in the horizontal direction is equal to or smaller than the pair interval threshold and the pair depth difference is equal to or smaller than the depth difference threshold, the validation determination unit 114 determines that an intra-pair region is valid.
  • the disparity (intra-pair disparity) present in the intra-pair region determined to be valid is supplied to the valid disparity determination unit 115.
  • the valid disparity determination unit 115 determines the supplied intra-pair disparity to be the valid disparity, and outputs the intra-pair disparity as the valid disparity.
  • the disparity value range of the pair of disparities means, assuming that two values of the pair of disparities are D1 and D2 (D1 > D2), a range of “D2 - ⁇ , D1 + ⁇ ” with ⁇ as a constant.
  • the constant ⁇ is determined based on a variance of a disparity of a subject obtained from the imaging unit 2 (stereo camera).
  • the recognition processor 34 recognizes, for example, an object, a person, and a guardrail preceding the vehicle using the disparity image generated by the disparity image generator 33 as described above, and outputs recognition data as a recognition result.
  • the equipment control system in calculating the disparity from the stereo image captured by the imaging unit 2, calculates the disparity based on block matching not only for the pixel position having an edge but also for other portions, and calculates many disparities in advance. Thereafter, the equipment control system validates only the disparity of the pixel having an edge, and when a difference between the validated disparity and a nearby validated disparity positioned nearby is equal to or smaller than a predetermined value, validates a disparity having the same value present between the validated disparity and the nearby validated disparity.
  • an appropriate disparity can be generated not only at a boundary of a three-dimensional object but also in the three-dimensional object and other spaces. That is, disparity information of a preceding vehicle can be appropriately generated not only at a vehicle edge but also in the vehicle and other spaces.
  • the disparity image appropriate for recognizing an object can be generated, and the vehicle can be accurately recognized as one object with correct size and distance. This configuration can prevent the preceding vehicle from being coupled with another object to be erroneously detected.
  • two or more matched portions may appear in some cases, so that the most probable disparity value may be erroneously output.
  • an erroneous disparity value is actually output (erroneous matching)
  • the erroneous disparity value indicating that the object having the repetitive pattern present at a distant position is positioned nearby.
  • the recognition processor 34 at a rear stage recognizes one wall as two walls including one wall having a distance of 2 m from the own vehicle and the other wall having a distance of 5 m from the own vehicle. Then a brake is operated although the distance between the wall and the own vehicle is 5 m, which is called “erroneous braking”.
  • the disparity arithmetic unit 32 does not search for the number of values of non-similarity close to each other and the most probable disparity value after calculation of non-similarity in the search range is finished.
  • the disparity arithmetic unit 32 counts the number of local minimum values of non-similarity and searches for the disparity at the same time.
  • the disparity arithmetic unit 32 updates the predetermined range, and counts the number of local minimum values of non-similarity in the updated range.
  • the disparity image generator 33 has functions illustrated in Fig. 19.
  • the second embodiment described below is different from the first embodiment only in the operation of the disparity image generator 33.
  • the following describes only differences, and redundant description will not be repeated.
  • a part in Fig. 19 that operates similarly to that in Fig. 17 is denoted by the same reference numeral, and detailed description thereof will not be repeated.
  • the pair position calculator 104 of the disparity image generator 33 includes a valid disparity setting unit 120, a search range setting unit 121 for a disparity to be paired, a setting unit 122 for a disparity to be paired, a pair depth difference calculator 123, and the parameter memory 113.
  • the intra-pair disparity validation unit 105 includes a comparator 124 and the valid disparity determination unit 115.
  • the search range setting unit 121 for a disparity to be paired is an example of a search range setting unit.
  • the pair depth difference calculator 123 is an example of a difference detector.
  • the valid disparity setting unit 120 of the pair position calculator 104 selects a pixel for which the valid disparity flag is turned on (valid pixel) as a comparison output from the edge validation unit 103.
  • the search range setting unit 121 for a disparity to be paired calculates and sets a range in which a disparity to be paired with the valid disparity is searched for in the right direction of the pixel of the valid disparity on the same line as the selected pixel based on the disparity value (valid disparity) of the selected valid pixel and the maximum value of the interval between the pair.
  • the maximum value of the interval between the pair is an example of pair interval information, and synonymous with the pair interval threshold indicating the actual width of the object to be detected.
  • Fig. 20 is a diagram schematically illustrating an operation of searching for a disparity to be paired performed by the search range setting unit 121 for a disparity to be paired.
  • a black solid pixel represents a pixel SG of the valid disparity.
  • Each of the pixel P1 to pixel P4 represents a pixel of the disparity to be paired in the search range set in accordance with the disparity value of the pixel SG of the valid disparity.
  • the search range setting unit 121 for a disparity to be paired calculates a maximum width (right direction) for searching for a disparity to be paired on the disparity image based on the maximum value of the interval between the pair and the disparity value of the selected pixel.
  • the setting unit 122 for a disparity to be paired detects a disparity closest to the valid disparity in the search range for a disparity to be paired, and causes the detected disparity to be the disparity to be paired.
  • processing subsequent to setting processing for a disparity to be paired is not performed by the setting unit 122 for a disparity to be paired, and the search range for a disparity to be paired and the disparity to be paired are set based on the valid disparity that is subsequently set.
  • the disparity to be paired set by the setting unit 122 for a disparity to be paired is input to the pair depth difference calculator 123 together with the valid disparity as a pair.
  • the pair depth difference calculator 123 calculates an absolute value of a difference in distance based on the input valid disparity and the disparity to be paired.
  • the comparator 124 of the intra-pair disparity validation unit 105 compares the depth difference threshold read from the parameter memory 113 with the depth difference calculated by the pair depth difference calculator 123 based on the valid disparity.
  • the valid disparity determination unit 115 determines that an intra-pair disparity between the valid disparity and the disparity to be paired is the valid disparity to be output.
  • the valid disparity determination unit 115 determines that the disparity within the range of the two disparity values including the valid disparity and the disparity to be paired is the valid disparity to be output.
  • the range of the two disparity values including the valid disparity and the disparity to be paired means, assuming that the two disparity values are D1 and D2 (D1 > D2), a range of “D2 - ⁇ , D1 + ⁇ ” with ⁇ as a constant.
  • the constant ⁇ can be determined based on a variance of a disparity of a predetermined subject obtained from the imaging unit 2.
  • the number of disparity points can be controlled without increasing of disparity noise, and the same effect as that of the first embodiment can be obtained.
  • the disparity image generator 33 has functions illustrated in Fig. 21.
  • the third embodiment described below is different from the first embodiment only in the operation of the disparity image generator 33. Thus, the following describes only differences, and redundant description will not be repeated.
  • a part in Fig. 21 that operates similarly to that in Fig. 17 is denoted by the same reference numeral, and detailed description thereof will not be repeated.
  • the edge validation unit 103 includes the edge amount calculator 106, a comparator 131, and a comparator 132.
  • a first valid disparity flag from the comparator 131 is supplied to the valid disparity pair setting unit 108 of the pair position calculator 104, and a second valid disparity flag from the comparator 132 is supplied to the valid disparity determination unit 115 of the intra-pair disparity validation unit 105.
  • the first valid disparity flag is an example of first valid disparity information.
  • the second valid disparity flag is an example of second valid disparity information.
  • the disparity value of the edge pixel is validated using a plurality of thresholds such as two thresholds (alternatively, three or more thresholds may be used). Specifically, a first edge amount threshold is larger than a second edge amount threshold. The first edge amount threshold is supplied to the comparator 131, and the second edge amount threshold is supplied to the comparator 132.
  • the comparator 131 compares an absolute value of the edge amount calculated by the edge amount calculator 106 with the first edge amount threshold, and supplies the first valid disparity flag for validating a pixel that makes a valid disparity pair to the valid disparity pair setting unit 108 of the pair position calculator 104.
  • the comparator 132 compares the absolute value of the edge amount calculated by the edge amount calculator 106 with the second edge amount threshold, and supplies the second valid disparity flag for finally validating the pixel of the intra-pair disparity to the valid disparity determination unit 115.
  • the number of disparities to be validated among intra-pair disparities can be controlled, a disparity image optimum for object detection processing at a rear stage can be generated, and the same effect as that in the above embodiments can be obtained.
  • Validation processing of the edge pixel using a plurality of thresholds performed by the edge validation unit 103 can be applied to the second embodiment.
  • the valid disparity setting unit 120 and the search range setting unit 121 for a disparity to be paired are assumed to perform processing on the same line of the disparity image.
  • the valid disparity pair may be set within a range of three lines in total including the same line of the disparity image and lines upper and lower than the same line of the disparity image.
  • the equipment control system according to a fourth embodiment With the equipment control system according to the fourth embodiment, one object can be correctly recognized as one object by reducing the number of disparity values of erroneous matching described above using Fig. 14 and Fig. 15, and performing object recognition processing with the disparity image including many valid disparity values. Due to this, a correct support operation can be performed.
  • Fig. 22 is a functional block diagram of the disparity image generator 33 disposed in the equipment control system according to the fourth embodiment. As illustrated in Fig. 22, the disparity image generator 33 includes a matching cost calculator 501, an edge detector 502, a repetitive pattern detector 503, an entire surface disparity image generator 504, and a generator 505.
  • the disparity image generator 33 is implemented when the FPGA 14 executes the object detection program stored in the ROM 16.
  • the matching cost calculator 501 to generator 505 are implemented as software.
  • part or all of the matching cost calculator 501 to generator 505 may be implemented as hardware such as an integrated circuit (IC).
  • the object detection program may be recorded and provided in a computer-readable recording medium such as a compact disc read only memory (CD-ROM) and a flexible disk (FD) as an installable or executable file.
  • the object detection program may also be recorded and provided in a computer-readable recording medium such as a compact disc recordable (CD-R), a DVD, a Blu-ray Disc (registered trademark), and a semiconductor memory.
  • the DVD is an abbreviation for a “digital versatile disc”.
  • the object detection program may be provided to be installed via a network such as the Internet.
  • the object detection program may be embedded and provided in a ROM in a device, for example.
  • the flowchart of Fig. 23 illustrates a procedure of disparity image generation processing performed by the disparity image generator 33.
  • the matching cost calculator 501 calculates a non-similarity (matching cost) of each pixel of a reference image and a comparative image present on the same scanning line among reference images and comparative images captured by the imaging unit 2.
  • the entire surface disparity image generator 504 generates an entire surface disparity image in which all pixels are represented by disparity values based on the calculated non-similarity.
  • the repetitive pattern detector 503 as an example of a discrimination unit and a pattern detector discriminates validity of each pixel of the stereo image based on the number of local minimum values of non-similarity within a range finally updated within the search range as described above.
  • the repetitive pattern detector 503 performs detection processing of a repetitive pattern described in the first embodiment for each pixel. That is, as described in the first embodiment, the repetitive pattern detector 503 counts the number of local minimum values of non-similarity and searches for the disparity at the same time, updates the predetermined range when the local minimum value of non-similarity becomes out of the predetermined range, and performs detection processing of a repetitive pattern for counting the number of local minimum values of non-similarity within the updated range for each pixel. The repetitive pattern detector 503 adds, to a pixel in which no repetition occurs, validation information indicating that there is no repetition (sets a validation flag).
  • the edge detector 502 adds, to a pixel having luminance larger than a predetermined threshold, edge information indicating that the pixel corresponds to an edge of the object (sets an edge flag).
  • the generator 505 as an example of an extractor extracts, as a pixel of valid disparity, a pixel to which both of the validation information and the edge information are added in the entire surface disparity image. That is, the generator 505 extracts the valid disparity based on the pixel for which the validation flag is turned on and the edge flag is turned on in the entire surface disparity image.
  • Fig. 24 is an extraction result obtained by using a conventional method for extracting the valid disparity.
  • a region in which four disparity values of “4” are continuous is a region in which a correct disparity is obtained.
  • a region subsequent thereto in which the disparity values are “10, 10, 22, 22, 22, 22, 22, 22” is a region in which erroneous matching occurs due to an object of repetitive pattern positioned at a long distance.
  • a region subsequent thereto in which seven disparity values of “4” are continuous is a region in which a correct disparity is obtained.
  • erroneous determination occurs such that a pixel is determined to be a valid pixel although erroneous matching occurs and the disparity values are incorrect.
  • the generator 505 in the equipment control system extracts, as a pixel of valid disparity, the pixel for which the validation flag is turned on and the edge flag is turned on as illustrated in Fig. 25. That is, the generator 505 performs, as it were, processing for inputting the validation flag and the edge flag to an AND gate to obtain an output. Accordingly, as illustrated in Fig. 25, the pixel having the disparity value of “4” in which the validation flag and the edge flag are both “1” is determined to be a valid pixel. The generator 505 also determines, to be a valid pixel, a pixel between the pixels having the disparity value of “4” that have been determined to be valid. In contrast, the pixels in the region in which erroneous matching occurs are all determined to be invalid pixels.
  • the generator 505 outputs, to the recognition processor 34 at a rear stage, a disparity image in which the disparity of erroneous matching is reduced (noise is reduced) and many valid disparities are included (Step S205), and ends the processing in the flowchart of Fig. 23.
  • one object can be correctly recognized as one object, object recognition processing can be performed, and correct driving support can be performed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Electromagnetism (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

La présente invention concerne un dispositif de génération d'image de disparité comprenant une unité de détermination de pixel valide configurée pour déterminer un pixel valide sur la base d'une valeur de caractéristique de chaque pixel dans une image capturée; et une unité de validation configurée pour valider une disparité, qui n'est pas une disparité valide, à proximité d'une disparité valide correspondant au pixel valide dans une image de disparité correspondant à l'image capturée.
PCT/JP2016/003129 2015-07-02 2016-06-29 Dispositif de génération d'image de disparité, procédé de génération d'image de disparité, programme de génération d'image de disparité, dispositif de reconnaissance d'objet, et système de commande d'équipement Ceased WO2017002367A1 (fr)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020177037261A KR102038570B1 (ko) 2015-07-02 2016-06-29 시차 이미지 생성 디바이스, 시차 이미지 생성 방법, 시차 이미지 생성 프로그램, 물체 인식 디바이스, 및 기기 제어 시스템
EP16817477.9A EP3317850B1 (fr) 2015-07-02 2016-06-29 Dispositif de génération d'image de disparité, procédé de génération d'image de disparité, programme de génération d'image de disparité, dispositif de reconnaissance d'objet, et système de commande d'équipement
CN201680037648.3A CN107735812B (zh) 2015-07-02 2016-06-29 对象识别设备、方法、装置控制系统及图像生成设备
US15/854,461 US10520309B2 (en) 2015-07-02 2017-12-26 Object recognition device, object recognition method, equipment control system, and distance image generation device

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
JP2015-133967 2015-07-02
JP2015133967 2015-07-02
JP2015-178002 2015-09-09
JP2015178002 2015-09-09
JP2016-088603 2016-04-26
JP2016088603A JP6805534B2 (ja) 2015-07-02 2016-04-26 視差画像生成装置、視差画像生成方法及び視差画像生成プログラム、物体認識装置、機器制御システム

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/854,461 Continuation US10520309B2 (en) 2015-07-02 2017-12-26 Object recognition device, object recognition method, equipment control system, and distance image generation device

Publications (1)

Publication Number Publication Date
WO2017002367A1 true WO2017002367A1 (fr) 2017-01-05

Family

ID=57608049

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/003129 Ceased WO2017002367A1 (fr) 2015-07-02 2016-06-29 Dispositif de génération d'image de disparité, procédé de génération d'image de disparité, programme de génération d'image de disparité, dispositif de reconnaissance d'objet, et système de commande d'équipement

Country Status (1)

Country Link
WO (1) WO2017002367A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3761220A1 (fr) * 2019-07-05 2021-01-06 Everdrone AB Procédé permettant d'améliorer l'interprétation de l'environnement d'un véhicule
US11062613B2 (en) 2018-04-05 2021-07-13 Everdrone Ab Method and system for interpreting the surroundings of a UAV
CN113965697A (zh) * 2021-10-21 2022-01-21 北京的卢深视科技有限公司 基于连续帧信息的视差成像方法、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008065634A (ja) * 2006-09-07 2008-03-21 Fuji Heavy Ind Ltd 物体検出装置および物体検出方法
JP2013164351A (ja) * 2012-02-10 2013-08-22 Toyota Motor Corp ステレオ視差算出装置
JP2013250907A (ja) * 2012-06-04 2013-12-12 Ricoh Co Ltd 視差算出装置、視差算出方法及び視差算出用プログラム
JP2015011619A (ja) * 2013-07-01 2015-01-19 株式会社リコー 情報検出装置、移動体機器制御システム、移動体及び情報検出用プログラム

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008065634A (ja) * 2006-09-07 2008-03-21 Fuji Heavy Ind Ltd 物体検出装置および物体検出方法
JP2013164351A (ja) * 2012-02-10 2013-08-22 Toyota Motor Corp ステレオ視差算出装置
JP2013250907A (ja) * 2012-06-04 2013-12-12 Ricoh Co Ltd 視差算出装置、視差算出方法及び視差算出用プログラム
JP2015011619A (ja) * 2013-07-01 2015-01-19 株式会社リコー 情報検出装置、移動体機器制御システム、移動体及び情報検出用プログラム

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3317850A4 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11062613B2 (en) 2018-04-05 2021-07-13 Everdrone Ab Method and system for interpreting the surroundings of a UAV
EP3761220A1 (fr) * 2019-07-05 2021-01-06 Everdrone AB Procédé permettant d'améliorer l'interprétation de l'environnement d'un véhicule
US11423560B2 (en) 2019-07-05 2022-08-23 Everdrone Ab Method for improving the interpretation of the surroundings of a vehicle
CN113965697A (zh) * 2021-10-21 2022-01-21 北京的卢深视科技有限公司 基于连续帧信息的视差成像方法、电子设备及存储介质

Similar Documents

Publication Publication Date Title
EP3317850B1 (fr) Dispositif de génération d'image de disparité, procédé de génération d'image de disparité, programme de génération d'image de disparité, dispositif de reconnaissance d'objet, et système de commande d'équipement
US10580155B2 (en) Image processing apparatus, imaging device, device control system, frequency distribution image generation method, and recording medium
JP3780922B2 (ja) 道路白線認識装置
US10776946B2 (en) Image processing device, object recognizing device, device control system, moving object, image processing method, and computer-readable medium
US9794543B2 (en) Information processing apparatus, image capturing apparatus, control system applicable to moveable apparatus, information processing method, and storage medium of program of method
EP3545464B1 (fr) Dispositif de traitement d'informations, dispositif d'imagerie, système de commande d'équipement, objet mobile, procédé de traitement d'informations et support d'enregistrement lisible par ordinateur
CN111971682B (zh) 路面检测装置、图像显示装置、障碍物检测装置、路面检测方法、图像显示方法以及障碍物检测方法
KR101609303B1 (ko) 카메라 캘리브레이션 방법 및 그 장치
US20010002936A1 (en) Image recognition system
JP7675339B2 (ja) 物体追跡装置
JP6592991B2 (ja) 物体検出装置、物体検出方法及びプログラム
EP3667612B1 (fr) Dispositif de détection d'objet de bord de route, procédé de détection d'objet de bord de route et système de détection d'objet de bord de route
JPH11351862A (ja) 前方車両検出方法及び装置
WO2017002367A1 (fr) Dispositif de génération d'image de disparité, procédé de génération d'image de disparité, programme de génération d'image de disparité, dispositif de reconnaissance d'objet, et système de commande d'équipement
US11157757B2 (en) Image processing device and image processing method
JP2017027578A (ja) 検出装置、視差値導出装置、物体認識装置、機器制御システム、検出方法、およびプログラム
JP6668922B2 (ja) 情報処理装置、撮像装置、移動体制御システム、情報処理方法およびプログラム
JP3532896B2 (ja) スミア検出方法及びこのスミア検出方法を用いた画像処理装置
JP2000259997A (ja) 先行車の高さおよび車間距離計測装置
JP6569416B2 (ja) 画像処理装置、物体認識装置、機器制御システム、画像処理方法及び画像処理プログラム
JP7064400B2 (ja) 物体検知装置
EP2919191B1 (fr) Dispositif de dérivation d'une valeur de disparité, système de commande d'équipement, appareil mobile, robot et procédé de production de valeur de disparité
WO2018097269A1 (fr) Dispositif de traitement d'informations, dispositif d'imagerie, système de commande d'équipement, objet mobile, procédé de traitement d'informations et support d'enregistrement lisible par ordinateur
JP2020027057A (ja) ステレオカメラ装置
JP2015172846A (ja) 画像処理装置、機器制御システム、および画像処理プログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16817477

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20177037261

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2016817477

Country of ref document: EP