TW201433774A - Vehicle specifications measurement processing device, vehicle specifications measuring method, and recording medium - Google Patents

Vehicle specifications measurement processing device, vehicle specifications measuring method, and recording medium Download PDF

Info

Publication number
TW201433774A
TW201433774A TW102139628A TW102139628A TW201433774A TW 201433774 A TW201433774 A TW 201433774A TW 102139628 A TW102139628 A TW 102139628A TW 102139628 A TW102139628 A TW 102139628A TW 201433774 A TW201433774 A TW 201433774A
Authority
TW
Taiwan
Prior art keywords
feature point
vehicle
measurement
feature
rectangular parallelepiped
Prior art date
Application number
TW102139628A
Other languages
Chinese (zh)
Other versions
TWI504858B (en
Inventor
Yohei Kojima
Masato IEHARA
Kenta Nakao
Takuma Okazaki
Original Assignee
Mitsubishi Heavy Ind Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Heavy Ind Ltd filed Critical Mitsubishi Heavy Ind Ltd
Publication of TW201433774A publication Critical patent/TW201433774A/en
Application granted granted Critical
Publication of TWI504858B publication Critical patent/TWI504858B/en

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/04Detecting movement of traffic to be counted or controlled using optical or ultrasonic detectors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/015Detecting movement of traffic to be counted or controlled with provision for distinguishing between two or more types of vehicles, e.g. between motor-cars and cycles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/30236Traffic on road, railway or crossing

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Traffic Control Systems (AREA)

Abstract

An image processing apparatus detects dimension-measurement feature points ♯1, ♯2, which are positioned on side faces of a vehicle, and a dimension measurement feature point ♯3, which is positioned on an under face of the vehicle and calculating the width of the vehicle by performing motion stereo processing on the dimension measurement feature points ♯1, ♯2 and ♯3. The dimension measurement feature points ♯1, ♯2 and ♯3, which are detected by the image processing apparatus, are detected so that the positions thereof have degrees of freedom on the side faces or the under face of the vehicle.

Description

車輛規格測量處理裝置、車輛規格測量方法及記錄媒體 Vehicle specification measurement processing device, vehicle specification measurement method, and recording medium

本發明係關於一種車輛規格測量處理裝置、車輛規格測量方法及記錄媒體,尤其關於一種車輛規格測量處理裝置、車輛規格測量方法及記錄媒體,且尤其關於一種用以測量車輛之規格(寬度、長度、高度)之裝置及方法。 The present invention relates to a vehicle specification measurement processing device, a vehicle specification measurement method, and a recording medium, and more particularly to a vehicle specification measurement processing device, a vehicle specification measurement method, and a recording medium, and more particularly to a specification for measuring a vehicle (width, length) , height) devices and methods.

於高速道路、收費道路等之收費站,有時設置用以判別通過之車輛之車種之車種判別裝置。車種判別中使用各種方法,但近年來,一直在研究拍攝車輛之圖像,並使用所拍攝之圖像進行車種判別。由於可自車輛之圖像獲得有關車輛之各種資訊,故而,使用車輛圖像之車種判別對提高車種判別之精度較為有用。 In a toll station such as a highway or a toll road, a vehicle type discriminating device for discriminating a vehicle type of the passing vehicle may be provided. Various methods have been used for vehicle type discrimination, but in recent years, an image of a vehicle has been studied, and the image to be captured is used for vehicle type discrimination. Since various information about the vehicle can be obtained from the image of the vehicle, the vehicle type discrimination using the vehicle image is useful for improving the accuracy of the vehicle type discrimination.

於使用車輛之圖像之車種判別中,有時自車輛之圖像提取特徵點,並基於所提取之特徵點進行車種之判別。例如,非專利文獻1(J Prokai,G Medioni,"3-D model based vehicle recognition," Applications of Computer Vision(WACV),2009)揭示有如下技術,即,事先準備登錄有藉由利用CG(computer graphic,電腦圖形)對每一車輛之車種學習特徵點而建立之模板之資料庫,利用自圖像提取之特徵點與資料庫之模板之匹配處理而推定車種。然而,於該方法中,必須對每一車輛之車種準備模板。 In the vehicle type discrimination using the image of the vehicle, the feature points are sometimes extracted from the image of the vehicle, and the vehicle type is determined based on the extracted feature points. For example, Non-Patent Document 1 (J Prokai, G Medioni, "3-D model based vehicle recognition," Applications of Computer Vision (WACV), 2009) discloses a technique in which registration is prepared in advance by using CG (computer Graphic, computer graphics) A database of templates created for each vehicle's vehicle learning feature points, using the matching of feature points from the image extraction and the template of the database to estimate the vehicle type. However, in this method, it is necessary to prepare a template for each vehicle type.

作為使用車輛之圖像之車種判別之其他方法,已知有如下技術,即,藉由圖像處理而算出車輛之規格(例如寬度、長度、高度), 並將所算出之車輛之規格用作用於車種判別之資訊。例如,專利文獻1(日本專利特開平11-86185號公報)揭示有如下技術,即,藉由對所拍攝到之車輛之圖像進行修正而產生車輛之正面及側面之幾何修正圖像,且根據正面及側面之幾何修正圖像推定車輛之大小。更具體而言,專利文獻1中揭示之技術係檢測輪胎與路面之接地位置,且根據該接地位置及拍攝裝置之設置條件,計算車輛之三維空間中之位置及進入角度。基於所計算之車輛之三維空間中之位置及進入角度,對拍攝車輛所得之圖像進行修正,藉此,產生車輛之正面及側面之幾何修正圖像,且根據所產生之幾何修正圖像推定車輛之大小。 As another method of determining the vehicle type of the image of the vehicle, there is known a technique of calculating the specification (for example, width, length, and height) of the vehicle by image processing. The calculated vehicle specifications are used as information for vehicle type discrimination. For example, Patent Document 1 (Japanese Laid-Open Patent Publication No. Hei 11-86185) discloses a technique of generating a geometric correction image of a front side and a side surface of a vehicle by correcting an image of the captured vehicle, and The size of the vehicle is estimated based on the geometric correction image of the front and side. More specifically, the technique disclosed in Patent Document 1 detects the grounding position of the tire and the road surface, and calculates the position and the entering angle in the three-dimensional space of the vehicle based on the grounding position and the setting conditions of the imaging device. Correcting an image obtained by photographing the vehicle based on the calculated position and the angle of entry in the three-dimensional space of the vehicle, thereby generating a geometrically corrected image of the front and side of the vehicle, and correcting the image based on the generated geometric correction image The size of the vehicle.

又,非專利文獻2(A.Lai,G.Fung and N.Yung,"Vehicle type classification from visual-based dimension estimation" IEEE,Intelligent Transportation Systems,pages 201-206,2001)揭示有根據圖像中之車輛之外觀之大小推定車輛之規格之技術。具體而言,非專利文獻2所揭示之技術係提取圖像中之與車輛之外形對應之區域作為六角形之區域。算出該六角形之頂點中之位於路面附近位置之3個頂點之座標,根據該座標算出車輛之寬度、長度,進而,根據實際空間中與高度方向對應之該六角形之邊之長度算出車輛之高度。 Further, Non-Patent Document 2 (A. Lai, G. Fung and N. Yung, "Vehicle type classification from visual-based dimension estimation" IEEE, Intelligent Transportation Systems, pages 201-206, 2001) discloses that there are The technique of estimating the size of the vehicle by the size of the appearance of the vehicle. Specifically, the technique disclosed in Non-Patent Document 2 extracts an area corresponding to the shape of the vehicle in the image as a hexagonal area. Calculating the coordinates of the three vertices at the position near the road surface among the vertices of the hexagon, calculating the width and length of the vehicle based on the coordinates, and further calculating the vehicle according to the length of the hexagonal side corresponding to the height direction in the real space. height.

於藉由圖像處理而算出車輛之規格之方法中,較理想為可藉由如不要求特徵點提取之確實性之圖像處理、即對於特徵點之檢測強韌之圖像處理算出車輛之規格。於無法算出特定之特徵點之情形時,無法算出車輛之規格、或精度下降之類的方法則較為欠佳。例如,於非專利文獻2所揭示之技術中,若無法探測與車輛之外形對應之六角形之頂點中之與路面附近對應之3個頂點作為特徵點,則無法算出車輛之規格。所檢測之特徵點之制約較強將導致使車輛之規格之利用圖像處理之測量變得不確實。 In the method of calculating the specification of the vehicle by image processing, it is preferable to calculate the vehicle by image processing that does not require the reliability of feature point extraction, that is, image processing that is robust to the detection of feature points. specification. When the specific feature points cannot be calculated, it is not preferable to calculate the specifications of the vehicle or the method of reducing the accuracy. For example, in the technique disclosed in Non-Patent Document 2, if it is impossible to detect three vertices corresponding to the vicinity of the road surface among the vertices of the hexagonal shape corresponding to the shape of the vehicle as the feature points, the specification of the vehicle cannot be calculated. A strong constraint on the detected feature points will result in an inaccurate measurement of the image processing using the specifications of the vehicle.

根據此種背景,要求提供一種可藉由對於特徵點之檢測強韌之 圖像處理而算出車輛之規格(例如寬度、長度、高度)之技術。 According to this background, it is required to provide a kind of robustness by detecting a feature point. A technique for calculating the specifications (for example, width, length, and height) of a vehicle by image processing.

[先前技術文獻] [Previous Technical Literature] [專利文獻] [Patent Literature]

[專利文獻1]日本專利特開平11-86185號公報 [Patent Document 1] Japanese Patent Laid-Open No. Hei 11-86185

[非專利文獻] [Non-patent literature]

[非專利文獻1]J Prokai, G Medioni, "3-D model based vehicle recognition," Applications of Computer Vision (WACV), 2009 [Non-Patent Document 1] J Prokai, G Medioni, "3-D model based vehicle recognition," Applications of Computer Vision (WACV), 2009

[非專利文獻2]A. Lai, G. Fung and N. Yung, "Vehicle type classification from visual-based dimension estimation" IEEE, Intelligent Transportation Systems, pages 201-206, 2001 [Non-Patent Document 2] A. Lai, G. Fung and N. Yung, "Vehicle type classification from visual-based dimension estimation" IEEE, Intelligent Transportation Systems, pages 201-206, 2001

因此,本發明之目的在於提供一種可藉由對於特徵點之檢測強韌之圖像處理而算出車輛之規格(例如寬度、長度、高度)之技術。 Accordingly, it is an object of the present invention to provide a technique for calculating a specification (e.g., width, length, and height) of a vehicle by image processing that is robust to detection of feature points.

於本發明之一觀點中,車輛規格測量裝置包括逐次拍攝車輛而取得車輛之框架圖像之拍攝裝置、及基於框架圖像算出車輛之寬度之圖像處理裝置。圖像處理裝置包括:特徵點檢測機構,其對於框架圖像中之至少一個,檢測位於近似車輛之形狀之長方體之第1面之特徵點即第1規格測量用特徵點、位於長方體之第2面之特徵點即第2規格測量用特徵點、及位於長方體之第3面之特徵點即第3規格測量用特徵點;及車輛規格算出機構,其基於第1規格測量用特徵點、第2規格測量用特徵點及第3規格測量用特徵點,算出車輛之寬度。此處,第1面係與車輛之第1側面對應之長方體之面,第2面係與車輛之第2側面對應之長方體之面,第3面係與車輛之底面對應之長方體之面。車輛規格算出機構係根據第3規格測量用特徵點之移動量,算出車輛之移動量,並使用車輛之移動量,對第1規格測量用特徵點及第2規格測量用特徵點進行移動立體視覺處理,藉此算出第1規格測量用特徵點及第2 規格測量用特徵點之三維座標,並根據算出之第1規格測量用特徵點及第2規格測量用特徵點之三維座標,算出車輛之寬度。由特徵點檢測機構所檢測之第1規格測量用特徵點之位置係於第1面之面內具有自由度,且由特徵點檢測機構所檢測之第2規格測量用特徵點之位置係於第2面之面內具有自由度。進而,由特徵點檢測機構所檢測之第3規格測量用特徵點之位置係於第3面之面內具有自由度。 In one aspect of the invention, the vehicle specification measuring device includes an imaging device that sequentially captures a vehicle to acquire a frame image of the vehicle, and an image processing device that calculates a width of the vehicle based on the frame image. The image processing device includes a feature point detecting unit that detects a feature point of the first specification measurement, which is a feature point of the first surface of the rectangular parallelepiped that approximates the shape of the vehicle, and is located at the second of the rectangular parallelepiped in at least one of the frame images. The characteristic point of the surface is the feature point for measuring the second specification, and the feature point for measuring the third specification which is the feature point of the third surface of the rectangular parallelepiped; and the vehicle specification calculation means based on the feature point for the first specification measurement and the second The feature points for the measurement and the feature points for the third measurement are used to calculate the width of the vehicle. Here, the first surface is a rectangular parallelepiped surface corresponding to the first side surface of the vehicle, the second surface is a rectangular parallelepiped surface corresponding to the second side surface of the vehicle, and the third surface is a rectangular parallelepiped surface corresponding to the bottom surface of the vehicle. The vehicle specification calculation means calculates the amount of movement of the vehicle based on the movement amount of the characteristic point for measurement of the third specification, and uses the amount of movement of the vehicle to move the stereoscopic vision to the feature point for measurement of the first specification and the feature point for measurement of the second specification. Processing to calculate the feature points for the first specification measurement and the second The three-dimensional coordinates of the feature points for the measurement are measured, and the width of the vehicle is calculated based on the calculated three-dimensional coordinates of the first-order measurement feature point and the second-standard measurement feature point. The position of the first specification measurement feature point detected by the feature point detecting means has a degree of freedom in the plane of the first surface, and the position of the second specification measurement feature point detected by the feature point detecting means is based on There is freedom in the face of the 2 faces. Further, the position of the third-species measurement feature point detected by the feature point detecting means has a degree of freedom in the plane of the third surface.

於一實施形態中,特徵點檢測機構亦可構成為自框架圖像提取與車輛對應之移動區域,且對於移動區域,提取與於實際空間中與車輛相切之線對應之框架圖像內之線即切線,而將所提取之切線之交點中位於第1面之交點決定作為第1規格測量用特徵點。此時,可將特徵點檢測機構構成為將所提取之切線之交點中位於第2面之交點決定作為第2規格測量用特徵點,亦可構成為將所提取之切線之交點中位於第3面之交點決定作為第3規格測量用特徵點。 In one embodiment, the feature point detecting mechanism may be configured to extract a moving area corresponding to the vehicle from the frame image, and extract a frame image corresponding to the line tangent to the vehicle in the real space for the moving area. The line is a tangent line, and the intersection point of the intersection of the extracted tangent points on the first surface is determined as the feature point for the first specification measurement. In this case, the feature point detecting means may be configured to determine the intersection point of the intersection of the extracted tangent points on the second surface as the feature point for the second specification measurement, or may be configured to be the third point in the intersection of the extracted tangent lines. The intersection point of the surface is determined as the feature point for the measurement of the third specification.

於一實施形態中,特徵點檢測機構亦可構成為自框架圖像提取與車輛對應之移動區域,且對於移動區域,提取與在實際空間中與車輛相切之線對應之框架圖像內之線即切線,沿著含所提取之切線中之位於第1面之部分而構成之第1搜索路徑搜索特徵點,藉此決定第1規格測量用特徵點。此時,特徵點檢測機構可構成為沿著含所提取之切線中之位於第2面之部分而構成之第2搜索路徑搜索特徵點,藉此決定第2規格測量用特徵點,且特徵點檢測機構亦可構成為沿著含所提取之切線中之位於第3面之部分而構成之第3搜索路徑搜索特徵點,藉此決定第3規格測量用特徵點。 In one embodiment, the feature point detecting mechanism may be configured to extract a moving area corresponding to the vehicle from the frame image, and extract the frame image corresponding to the line tangent to the vehicle in the real space for the moving area. The line is a tangent line, and the feature point for the first specification measurement is determined by searching for the feature point along the first search path including the portion of the extracted tangent that is located on the first surface. In this case, the feature point detecting means may be configured to search the feature points along the second search path including the portion of the extracted tangent that is located on the second surface, thereby determining the feature points for the second specification measurement, and the feature points The detecting means may be configured to search for feature points along the third search path including the portion of the extracted tangent that is located on the third surface, thereby determining the feature points for the third specification measurement.

於一實施形態中,特徵點檢測機構亦可具有第1模板資料庫,該第1模板資料庫包含假定存在於車輛之第1側面之零件之第1模板、及表示第1模板中之特徵點之位置之第1特徵點位置資料。於此情形時,特徵點檢測機構亦可構成為對於框架圖像,藉由與第1模板資料庫之 模板之模板匹配而求出最匹配之第1模板之位置即第1匹配位置,且就於根據第1匹配位置及第1特徵點位置資料而決定之位置存在第1規格測量用特徵點,而檢測第1規格測量用特徵點。 In one embodiment, the feature point detecting means may further include a first template database including a first template that is assumed to be present on the first side of the vehicle, and a feature point indicating the first template The first feature point position data of the position. In this case, the feature point detecting mechanism may also be configured as a frame image by using the first template database. When the template of the template is matched, the first matching position, which is the position of the first matching template, is obtained, and the feature point for the first specification measurement is present at the position determined based on the first matching position and the first feature point position data, and The feature points for the measurement of the first specification are detected.

又,特徵點檢測機構亦可具有第2模板資料庫,該第2模板資料庫包含假定存在於車輛之第2側面之零件之第2模板、及表示第2模板中之特徵點之位置之第2特徵點位置資料。於此情形時,特徵點檢測機構亦可構成為對於框架圖像,藉由與第2模板資料庫之第2模板之模板匹配而求出最匹配之第2模板之位置即第2匹配位置,且就於根據第2匹配位置及第2特徵點位置資料而決定之位置存在第2規格測量用特徵點,而檢測第2規格測量用特徵點。 Further, the feature point detecting means may further include a second template database including a second template which is assumed to be present on the second side surface of the vehicle, and a position indicating a position of the feature point in the second template 2 feature point location data. In this case, the feature point detecting means may be configured to obtain, by matching with the template of the second template of the second template database, the second matching position, which is the position of the most matching second template, for the frame image. The second specification measurement feature point is present at the position determined based on the second matching position and the second feature point position data, and the second specification measurement feature point is detected.

進而,特徵點檢測機構亦可具有第3模板資料庫,該第3模板資料庫包含假定存在於車輛之底面之零件之第3模板、及表示第3模板中之特徵點之位置之第3特徵點位置資料。於此情形時,特徵點檢測機構亦可構成為對於框架圖像,藉由與第3模板資料庫之第3模板之模板匹配而求出最匹配之第3模板之位置即第3匹配位置,且以於根據第3匹配位置及第3特徵點位置資料而決定之位置存在第3規格測量用特徵點而檢測第3規格測量用特徵點。 Furthermore, the feature point detecting means may further include a third template database including a third template which is assumed to be present on the bottom surface of the vehicle, and a third feature indicating the position of the feature point in the third template. Point location data. In this case, the feature point detecting means may be configured to obtain a third matching position, which is the position of the most matching third template, by matching the template of the third template of the third template database with respect to the frame image. The third specification measurement feature point is detected by the third specification measurement feature point at the position determined based on the third matching position and the third feature point position data.

於本發明之另一觀點中,車輛規格測量裝置包括逐次拍攝車輛而取得車輛之框架圖像之拍攝裝置、及基於框架圖像算出車輛之長度之圖像處理裝置。圖像處理裝置包括:特徵點檢測機構,其對於框架圖像中之至少一個,檢測位於近似車輛之形狀之長方體之第3面之特徵點即第3規格測量用特徵點、位於長方體之第4面之特徵點即第4規格測量用特徵點、及位於長方體之第5面之特徵點即第5規格測量用特徵點;及車輛規格算出機構,其基於第3規格測量用特徵點、第4規格測量用特徵點及第5規格測量用特徵點,算出車輛之長度。此處,第3面係與車輛之底面對應之長方體之面,第4面係與車輛之正面對應之 長方體之面,第5面係與車輛之背面對應之長方體之面。車輛規格算出機構係根據第3規格測量用特徵點之移動量算出車輛之移動量,並使用車輛之移動量,對第4規格測量用特徵點及第5規格測量用特徵點進行移動立體視覺(motion stereo)處理,藉此算出第4規格測量用特徵點及第5規格測量用特徵點之三維座標,並根據算出之第4規格測量用特徵點及第5規格測量用特徵點之三維座標,算出車輛之長度。由特徵點檢測機構所檢測之第3規格測量用特徵點之位置係於第3面之面內具有自由度。由特徵點檢測機構所檢測之第4規格測量用特徵點之位置係於第4面之面內具有自由度,由特徵點檢測機構所檢測之第5規格測量用特徵點之位置係於第5面之面內具有自由度。 In another aspect of the present invention, the vehicle specification measuring device includes an imaging device that sequentially captures a vehicle to acquire a frame image of the vehicle, and an image processing device that calculates a length of the vehicle based on the frame image. The image processing device includes a feature point detecting unit that detects a feature point of the third specification measurement, which is a feature point of the third surface of the rectangular parallelepiped that approximates the shape of the vehicle, and is located at the fourth of the rectangular parallelepiped for at least one of the frame images. The characteristic point of the surface is the characteristic point for measuring the fourth specification, and the characteristic point for measuring the fifth specification which is the characteristic point of the fifth surface of the rectangular parallelepiped; and the vehicle specification calculation means based on the third characteristic measurement feature point and the fourth The feature points for the measurement and the feature points for the fifth measurement are used to calculate the length of the vehicle. Here, the third surface is the surface of the rectangular parallelepiped corresponding to the bottom surface of the vehicle, and the fourth surface corresponds to the front surface of the vehicle. On the face of the cuboid, the fifth face is the face of the cuboid corresponding to the back of the vehicle. The vehicle specification calculation means calculates the amount of movement of the vehicle based on the amount of movement of the characteristic point for measurement of the third specification, and uses the amount of movement of the vehicle to perform moving stereoscopic vision on the fourth specification measurement feature point and the fifth specification measurement feature point ( The motion stereo) is used to calculate the three-dimensional coordinates of the fourth-element measurement feature point and the fifth-element measurement feature point, and based on the calculated third-dimensional measurement feature point and the fifth-dimensional measurement feature point three-dimensional coordinate, Calculate the length of the vehicle. The position of the third-species measurement feature point detected by the feature point detecting means has a degree of freedom in the plane of the third surface. The position of the fourth-element measurement feature point detected by the feature point detecting means has a degree of freedom in the plane of the fourth surface, and the position of the fifth-species measurement feature point detected by the feature point detecting means is based on the fifth There is freedom in the face of the face.

於本發明之又一觀點中,車輛規格測量裝置包括逐次拍攝車輛而取得車輛之框架圖像之拍攝裝置、及基於框架圖像算出車輛之高度的圖像處理裝置。圖像處理裝置包括:特徵點檢測機構,其對於框架圖像中之至少一個,檢測位於近似車輛之形狀之長方體之第3面之特徵點即第3規格測量用特徵點、及位於長方體之第6面之特徵點即第6規格測量用特徵點;及車輛規格算出機構,其基於第3規格測量用特徵點及第6規格測量用特徵點,算出車輛之高度。此處,第3面係與車輛之底面對應之長方體之面,第6面係與車輛之頂面對應之長方體之面。車輛規格算出機構係根據第3規格測量用特徵點之移動量算出車輛之移動量,並使用車輛之移動量,對第3規格測量用特徵點及第6規格測量用特徵點進行移動立體視覺處理,藉此算出第3規格測量用特徵點及第6規格測量用特徵點之三維座標,並根據算出之第3規格測量用特徵點及第6規格測量用特徵點之三維座標,算出車輛之高度。由特徵點檢測機構所檢測之第3規格測量用特徵點之位置係於第3面之面內具有自由度,由特徵點檢測機構所檢測之第6規格測量用特徵點之位置係於第6面之面內具有自由度。 In still another aspect of the present invention, a vehicle specification measuring device includes an imaging device that sequentially captures a vehicle to acquire a frame image of the vehicle, and an image processing device that calculates a height of the vehicle based on the frame image. The image processing device includes: a feature point detecting unit that detects a feature point of the third specification measurement, which is a feature point of the third surface of the rectangular parallelepiped that approximates the shape of the vehicle, and is located at the cuboid in at least one of the frame images The characteristic point of the sixth surface is the characteristic point for measurement of the sixth specification; and the vehicle specification calculation means calculates the height of the vehicle based on the feature points for measurement of the third specification and the feature points for measurement of the sixth specification. Here, the third surface is a rectangular parallelepiped surface corresponding to the bottom surface of the vehicle, and the sixth surface is a rectangular parallelepiped surface corresponding to the top surface of the vehicle. The vehicle specification calculation means calculates the amount of movement of the vehicle based on the amount of movement of the feature points for the third measurement, and uses the amount of movement of the vehicle to perform stereoscopic stereoscopic processing on the feature points for measurement of the third specification and the feature points for measurement of the sixth specification. By calculating the three-dimensional coordinates of the third-element measurement feature point and the sixth-element measurement feature point, and calculating the height of the vehicle based on the calculated three-dimensional measurement feature point and the three-dimensional coordinate of the sixth-spec measurement feature point. . The position of the third-species measurement feature point detected by the feature point detecting means has a degree of freedom in the plane of the third surface, and the position of the sixth-species measurement feature point detected by the feature point detecting means is based on the sixth There is freedom in the face of the face.

於本發明之又一觀點中,車輛規格測量方法包括如下步驟:逐次拍攝車輛而取得車輛之框架圖像;針對框架圖像,檢測位於近似車輛之形狀之長方體之第1面之特徵點即第1規格測量用特徵點、位於長方體之第2面之特徵點即第2規格測量用特徵點、及位於長方體之第3面之特徵點即第3規格測量用特徵點;及基於第1規格測量用特徵點、第2規格測量用特徵點及第3規格測量用特徵點,算出車輛之寬度。此處,第1面係與車輛之第1側面對應之長方體之面,第2面係與車輛之第2側面對應之長方體之面,第3面係與車輛之底面對應之長方體之面。算出車輛之寬度之步驟包括如下步驟:根據第3規格測量用特徵點之移動量,算出車輛之移動量;藉由使用車輛之移動量,對第1規格測量用特徵點及第2規格測量用特徵點進行移動立體視覺處理而算出第1規格測量用特徵點及第2規格測量用特徵點之三維座標;及根據算出之第1規格測量用特徵點及第2規格測量用特徵點之三維座標,算出車輛之寬度。該檢測步驟中所檢測之第1規格測量用特徵點之位置係於第1面之面內具有自由度,該檢測步驟中所檢測之第2規格測量用特徵點之位置係於第2面之面內具有自由度。又,該檢測步驟中所檢測之第3規格測量用特徵點之位置係於第3面之面內具有自由度。 In still another aspect of the present invention, the vehicle specification measuring method includes the steps of: acquiring a frame image of the vehicle by sequentially photographing the vehicle; and detecting, for the frame image, a feature point of the first surface of the rectangular parallelepiped that approximates the shape of the vehicle. 1st feature point for measurement measurement, a feature point for measurement of the second dimension on the second surface of the rectangular parallelepiped, and a feature point for measurement of the third specification which is a feature point on the third surface of the rectangular parallelepiped; and measurement based on the first specification The feature point, the second specification measurement feature point, and the third specification measurement feature point are used to calculate the width of the vehicle. Here, the first surface is a rectangular parallelepiped surface corresponding to the first side surface of the vehicle, the second surface is a rectangular parallelepiped surface corresponding to the second side surface of the vehicle, and the third surface is a rectangular parallelepiped surface corresponding to the bottom surface of the vehicle. The step of calculating the width of the vehicle includes the following steps: calculating the amount of movement of the vehicle based on the amount of movement of the characteristic point for measurement in the third specification; and measuring the characteristic point and the second specification for the first specification by using the amount of movement of the vehicle. The feature point is subjected to the moving stereoscopic processing to calculate the three-dimensional coordinates of the first-species measurement feature point and the second-element measurement feature point; and the three-dimensional coordinates of the first feature measurement feature point and the second specification measurement feature point. , calculate the width of the vehicle. The position of the first specification measurement feature point detected in the detection step has a degree of freedom in the plane of the first surface, and the position of the second specification measurement feature point detected in the detection step is based on the second surface. There is freedom in the plane. Further, the position of the third-species measurement feature point detected in the detection step has a degree of freedom in the plane of the third surface.

於本發明之又一觀點中,車輛規格測量方法包括如下步驟:逐次拍攝車輛而取得車輛之框架圖像;針對框架圖像中之至少一個,檢測位於近似車輛之形狀之長方體之第3面之特徵點即第3規格測量用特徵點、位於長方體之第4面之特徵點即第4規格測量用特徵點、及位於長方體之第5面之特徵點即第 5規格測量用特徵點;及基於第3規格測量用特徵點、第4規格測量用特徵點及第5規格測量用特徵點,算出車輛之長度。此處,第3面係與車輛之底面對應之長方體之面,第4面係與車輛之正面對應之長方體之面,第5面係與車輛之背面對應之長方體之面。算出車輛之長度之步驟包括如下步驟:根據第3規格測量用特徵點之移動量,算出車輛之移動量;藉由使用車輛之移動量,對第4規格測量用特徵點及第5規格測量用特徵點進行移動立體視覺處理,而算出第4規格測量用特徵點及第5規格測量用特徵點之三維座標;及根據算出之第4規格測量用特徵點及第5規格測量用特徵點之三維座標,算出車輛之長度。該檢測步驟中所檢測之第3規格測量用特徵點之位置係於第3面之面內具有自由度。又,該檢測步驟所中檢測之第4規格測量用特徵點之位置係於第4面之面內具有自由度,該檢測步驟中所檢測之第5規格測量用特徵點之位置係於第5面之面內具有自由度。 In still another aspect of the present invention, a vehicle specification measuring method includes the steps of: acquiring a frame image of a vehicle by sequentially photographing a vehicle; and detecting a third surface of a rectangular parallelepiped that is approximate to a shape of the vehicle for at least one of the frame images; The feature point is the feature point for measuring the third specification, the feature point for the fourth dimension of the rectangular parallelepiped, and the feature point for the fourth dimension of the rectangular parallelepiped, that is, the feature point of the fifth surface of the rectangular parallelepiped 5 The characteristic point for measurement; and the length of the vehicle is calculated based on the third specification measurement feature point, the fourth specification measurement feature point, and the fifth specification measurement feature point. Here, the third surface is a rectangular parallelepiped surface corresponding to the bottom surface of the vehicle, the fourth surface is a rectangular parallelepiped surface corresponding to the front surface of the vehicle, and the fifth surface is a rectangular parallelepiped surface corresponding to the back surface of the vehicle. The step of calculating the length of the vehicle includes the following steps: calculating the amount of movement of the vehicle based on the amount of movement of the characteristic point for measurement of the third specification; and measuring the characteristic point and the fifth specification for the fourth specification by using the amount of movement of the vehicle. The feature point is subjected to the moving stereoscopic processing, and the three-dimensional coordinates of the fourth-species measurement feature point and the fifth-species measurement feature point are calculated; and the third-dimensional measurement feature point and the fifth-specific measurement feature point are calculated based on the fourth feature. The coordinates are used to calculate the length of the vehicle. The position of the third-species measurement feature point detected in the detection step has a degree of freedom in the plane of the third surface. Further, the position of the fourth-species measurement feature point detected in the detection step has a degree of freedom in the plane of the fourth surface, and the position of the fifth-species measurement feature point detected in the detection step is based on the fifth There is freedom in the face of the face.

於本發明之又一觀點中,車輛規格測量方法包括如下步驟:逐次拍攝車輛而取得車輛之框架圖像;針對框架圖像中之至少一個,檢測位於近似車輛之形狀之長方體之第3面之特徵點即第3規格測量用特徵點、及位於長方體之第6面之特徵點即第6規格測量用特徵點;及基於第3規格測量用特徵點及第6規格測量用特徵點,算出車輛之高度。此處,第3面係與車輛之底面對應之長方體之面,第6面係與車輛之頂面對應之長方體之面。算出車輛之高度之步驟包括如下步驟:根據第3規格測量用特徵點之移動量,算出車輛之移動量;藉由使用車輛之移動量,對第3規格測量用特徵點及第6規格測 量用特徵點進行移動立體視覺處理,而算出第3規格測量用特徵點及第6規格測量用特徵點之三維座標;及根據算出之第3規格測量用特徵點及第6規格測量用特徵點之三維座標,算出車輛之高度。檢測步驟中所檢測之第3規格測量用特徵點之位置係於第3面之面內具有自由度,檢測步驟中所檢測之第6規格測量用特徵點之位置係於第6面之面內具有自由度。 In still another aspect of the present invention, a vehicle specification measuring method includes the steps of: acquiring a frame image of a vehicle by sequentially photographing a vehicle; and detecting a third surface of a rectangular parallelepiped that is approximate to a shape of the vehicle for at least one of the frame images; The feature point is the feature point for the third measurement, and the feature point for the sixth measurement, which is the feature point on the sixth surface of the rectangular parallelepiped; and the feature point for the third measurement and the feature point for the sixth measurement, and the vehicle is calculated. The height. Here, the third surface is a rectangular parallelepiped surface corresponding to the bottom surface of the vehicle, and the sixth surface is a rectangular parallelepiped surface corresponding to the top surface of the vehicle. The step of calculating the height of the vehicle includes the following steps: calculating the amount of movement of the vehicle based on the amount of movement of the characteristic point for measurement in the third specification; and measuring the characteristic point and the sixth specification for the third specification by using the amount of movement of the vehicle The third-dimensional measurement feature point and the third-dimensional measurement feature point three-dimensional coordinates are calculated by using the feature point to perform the moving stereoscopic processing, and the third feature measurement feature point and the sixth specification measurement feature point are calculated. The three-dimensional coordinates are used to calculate the height of the vehicle. The position of the third-species measurement feature point detected in the detection step has a degree of freedom in the plane of the third surface, and the position of the sixth-species measurement feature point detected in the detection step is in the plane of the sixth surface. Have degrees of freedom.

上述車輛規格測量方法亦可藉由運算裝置執行程式而實施。於此情形時,該程式亦可使用記錄有該程式之記錄媒體而安裝於運算裝置。 The above vehicle specification measuring method can also be implemented by executing an program by an arithmetic device. In this case, the program can also be installed in the arithmetic unit using the recording medium on which the program is recorded.

根據本發明,可提供一種可藉由對特徵點之檢測強韌之圖像處理而算出車輛之規格(例如寬度、長度、高度)之技術。 According to the present invention, it is possible to provide a technique for calculating the specifications (e.g., width, length, and height) of a vehicle by image processing which is robust to the detection of feature points.

1‧‧‧相機 1‧‧‧ camera

2‧‧‧圖像處理裝置 2‧‧‧Image processing device

3‧‧‧圖像處理IC 3‧‧‧Image Processing IC

4‧‧‧外部介面 4‧‧‧ External interface

5‧‧‧外部記憶裝置 5‧‧‧External memory device

6‧‧‧記憶體 6‧‧‧ memory

7‧‧‧ROM 7‧‧‧ROM

7a‧‧‧車輛規格測量處理程式 7a‧‧‧Vehicle specification measurement processing program

10‧‧‧車輛規格測量處理裝置 10‧‧‧Vehicle specification measuring and processing device

11‧‧‧運算模組 11‧‧‧ Computing Module

12‧‧‧圖像輸入介面 12‧‧‧Image input interface

13‧‧‧資料輸入輸出介面 13‧‧‧Data input and output interface

14‧‧‧記憶體控制器 14‧‧‧ memory controller

15‧‧‧ROM控制器 15‧‧‧ROM controller

16‧‧‧內部匯流排 16‧‧‧Internal busbar

21‧‧‧圖像資料 21‧‧‧Image data

22‧‧‧車輛規格資料 22‧‧‧Vehicle specifications

23‧‧‧移動體探測用特徵點清單 23‧‧‧ List of feature points for moving body detection

24‧‧‧規格測量用特徵點清單 24‧‧‧ List of feature points for specification measurement

31、32‧‧‧側面 31, 32‧‧‧ side

33‧‧‧底面 33‧‧‧ bottom

34‧‧‧正面 34‧‧‧ positive

35‧‧‧背面 35‧‧‧Back

36‧‧‧頂面 36‧‧‧Top

41‧‧‧特徵點 41‧‧‧Feature points

42a、42b、42c、42d、42e、42f‧‧‧特徵點 42a, 42b, 42c, 42d, 42e, 42f‧‧‧ feature points

43‧‧‧消失點 43‧‧‧ vanishing point

44‧‧‧處理區域 44‧‧‧Processing area

51‧‧‧切線61與切線63之交點 51‧‧‧ intersection of tangent line 61 and tangent line 63

52‧‧‧切線62、64之交點 52‧‧‧ intersection of tangent lines 62 and 64

53‧‧‧切線61與切線65之交點 53‧‧‧ intersection of tangent line 61 and tangent 65

54‧‧‧切線64與切線65之交點 54‧‧‧ intersection of tangent line 64 and tangent 65

55‧‧‧切線63與切線66之交點 55‧‧‧ intersection of tangent line 63 and tangent 66

56‧‧‧切線62與切線66之交點 56‧‧‧ intersection of tangent line 62 and tangent 66

57‧‧‧切線67、68之交點 57‧‧‧ tangent point 67, 68

61‧‧‧切線 61‧‧‧tangential

62‧‧‧切線 62‧‧‧tangential

63‧‧‧切線 63‧‧‧ Tangential

64‧‧‧切線 64‧‧‧tangential

65‧‧‧切線 65‧‧‧tangential

66‧‧‧切線 66‧‧‧tangential

67‧‧‧切線 67‧‧‧ Tangential

68‧‧‧切線 68‧‧‧tangential

69‧‧‧切線 69‧‧‧tangential

71‧‧‧模板資料庫 71‧‧‧Template database

72‧‧‧模板資料庫 72‧‧‧Template database

73‧‧‧模板資料庫 73‧‧‧Template database

74‧‧‧模板資料庫 74‧‧‧Template database

75‧‧‧模板資料庫 75‧‧‧Template database

76‧‧‧模板資料庫 76‧‧‧Template database

DM‧‧‧距離 D M ‧‧‧Distance

θ‧‧‧角度 Θ‧‧‧ angle

圖1A係表示本發明之一實施形態中用於車輛寬度之測量之規格測量用特徵點之位置的概念圖。 Fig. 1A is a conceptual diagram showing the position of a feature point for specification measurement for measuring the width of a vehicle in an embodiment of the present invention.

圖1B係表示本實施形態中用於車輛長度之測量之規格測量用特徵點之位置的概念圖。 Fig. 1B is a conceptual diagram showing the position of a feature point for specification measurement for measuring the length of a vehicle in the present embodiment.

圖1C係表示本實施形態中用於車輛高度之測量之規格測量用特徵點之位置的概念圖。 Fig. 1C is a conceptual diagram showing the position of a feature point for specification measurement for measuring the height of a vehicle in the present embodiment.

圖2係表示一實施形態中之車輛規格測量處理裝置之硬體構成之例的方塊圖。 Fig. 2 is a block diagram showing an example of a hardware configuration of a vehicle specification measurement processing device in an embodiment.

圖3A係表示本實施形態中之用以算出車輛之規格之圖像處理的流程圖。 Fig. 3A is a flow chart showing image processing for calculating the specifications of the vehicle in the embodiment.

圖3B係表示本實施形態中之用以算出車輛之規格之圖像處理的流程圖。 Fig. 3B is a flow chart showing image processing for calculating the specifications of the vehicle in the embodiment.

圖4係概念性表示本實施形態中之移動特徵點之檢測的圖。 Fig. 4 is a view conceptually showing the detection of the moving feature points in the embodiment.

圖5係概念性表示本實施形態中之移動特徵點之分群的圖。 Fig. 5 is a view conceptually showing a grouping of moving feature points in the embodiment.

圖6係概念性表示本實施形態中之移動區域之檢測的圖。 Fig. 6 is a view conceptually showing the detection of the moving region in the embodiment.

圖7A係表示於本實施形態中,對各移動區域求出切線及交點之順序的圖。 Fig. 7A is a view showing a procedure for obtaining a tangent line and an intersection point for each moving region in the present embodiment.

圖7B係表示於本實施形態中,對各移動區域求出切線及交點之順序的圖。 Fig. 7B is a view showing a procedure for obtaining a tangent line and an intersection point for each moving region in the present embodiment.

圖8A係表示於本實施形態中,根據對各移動區域求出之切線及交點,檢測位於車輛之側面、底面之規格測量用特徵點之順序的圖。 FIG. 8A is a view showing a procedure of detecting characteristic points for measurement of the side surface and the bottom surface of the vehicle based on the tangent and the intersection obtained for each of the moving regions.

圖8B係表示於本實施形態中,根據對各移動區域求出之切線及交點,檢測位於車輛之正面、背面之規格測量用特徵點之順序的圖。 FIG. 8B is a view showing a procedure for detecting feature points for specification measurement on the front and back sides of the vehicle based on the tangent and the intersection obtained for each of the moving regions.

圖8C係表示於本實施形態中,根據對各移動區域求出之切線及交點,檢測位於車輛之頂面之規格測量用特徵點之順序的圖。 Fig. 8C is a view showing the procedure of detecting the feature points for specification measurement on the top surface of the vehicle based on the tangent and the intersection obtained for each of the moving regions in the present embodiment.

圖9A係表示於本實施形態中,藉由沿著由對各移動區域求出之切線及交點決定之搜索路徑搜索特徵點,而檢測位於車輛之側面、底面之規格測量用特徵點之順序的圖。 In the present embodiment, the feature points of the specification measurement feature points located on the side surface and the bottom surface of the vehicle are searched for by searching the feature points along the search route determined by the tangent and the intersection obtained for each of the movement regions. Figure.

圖9B係表示於本實施形態中,藉由沿著由對各移動區域求出之切線及交點決定之搜索路徑搜索特徵點,而檢測位於車輛之正面、背面之規格測量用特徵點之順序的圖。 In the present embodiment, the feature points are searched for along the search path determined by the tangent and the intersection obtained for each of the moving regions, and the order of the feature points for the specification measurement on the front and back sides of the vehicle is detected. Figure.

圖9C係表示於本實施形態中,藉由沿著由對各移動區域求出之切線及交點決定之搜索路徑搜索特徵點,而檢測位於車輛之頂面之規格測量用特徵點之順序的圖。 FIG. 9C is a view showing a sequence of detecting feature points on the top surface of the vehicle by searching for feature points along the search route determined by the tangent and the intersection obtained for each moving region in the present embodiment. .

圖10係表示本實施形態中用以檢測位於車輛之各面之規格測量用特徵點之模板資料庫之內容的概念圖。 Fig. 10 is a conceptual diagram showing the contents of a template database for detecting feature points for specification measurement on each surface of the vehicle in the embodiment.

圖11係概念性表示於本實施形態中,藉由模板匹配而檢測位於車輛之各面之規格測量用特徵點之方法的圖。 Fig. 11 is a view conceptually showing a method of detecting feature points for specification measurement on each surface of a vehicle by template matching in the present embodiment.

圖12係概念性表示本實施形態中之車輛朝向處理區域之進入及退出之檢測的圖。 Fig. 12 is a view conceptually showing the detection of entry and exit of the vehicle toward the processing area in the embodiment.

圖13A係概念性說明於本實施形態中進行之移動立體視覺處理之圖。 Fig. 13A is a view conceptually illustrating a moving stereoscopic vision process performed in the present embodiment.

圖13B係概念性說明於本實施形態中進行之移動立體視覺處理之圖。 Fig. 13B is a diagram conceptually illustrating a moving stereoscopic vision process performed in the present embodiment.

首先,對本發明之一實施形態之車輛規格測量方法之概略進行說明。本實施形態xi逐次拍攝行駛之車輛之圖像(即,於不同之時刻拍攝車輛之圖像),且對該複數個圖像進行特徵點之探測及跟蹤(tracking)。進而,對特徵點實施移動立體視覺(motion stereo)處理。所謂移動立體視覺處理係如下技術,即,於不同之時刻對移動之物體拍攝圖像,並且藉由某種方法而算出該物體之移動距離(亦可根據所拍攝之圖像本身算出),且根據所拍攝之圖像與該物體之移動距離,計算與物體一同移動之三維座標中之物體之三維座標。即便為自同一場所拍攝之圖像,亦可根據物體之位置僅該移動距離不同之類之資訊,藉由與普通之立體處理類似之方法,而計算物體之三維座標。本發明係藉由移動立體視覺處理而計算特徵點之三維座標(嚴格而言,與車輛一同移動之三維座標中之三維座標),且根據該三維座標,算出車輛之規格。 First, an outline of a vehicle specification measuring method according to an embodiment of the present invention will be described. In the present embodiment, xi images of the traveling vehicle are imaged sequentially (that is, images of the vehicle are captured at different times), and feature points are detected and tracked for the plurality of images. Further, a motion stereo processing is performed on the feature points. The mobile stereoscopic vision processing is a technique of capturing an image of a moving object at different times, and calculating a moving distance of the object by a method (which can also be calculated according to the captured image itself), and The three-dimensional coordinates of the object in the three-dimensional coordinate moving together with the object are calculated according to the moving distance of the captured image and the object. Even for images taken from the same place, the three-dimensional coordinates of the object can be calculated by a method similar to ordinary three-dimensional processing according to the position of the object only with different moving distances. In the present invention, the three-dimensional coordinates of the feature points (strictly speaking, the three-dimensional coordinates in the three-dimensional coordinates moving together with the vehicle) are calculated by the moving stereo vision processing, and the specifications of the vehicle are calculated based on the three-dimensional coordinates.

本實施形態中之車輛之規格之測量處理之一特徵在於用於車輛之寬度、長度、高度之算出之特徵點之提取之方法。圖1A~圖1C分別係表示用於車輛之寬度、長度、高度之測量之特徵點之圖。本發明係定義近似車輛之外形之長方體30,且將位於沿著該長方體30之特定面之位置之特徵點用作用於車輛之寬度、長度、高度之測量之特徵點。再者,長方體30終究為虛擬地決定者。於圖1A~圖1C中,記號v1~v8表示長方體30之頂點。再者,以下將用於車輛之寬度、長度、高度之測量之特徵點(為了與如下所述用以自圖像探測移動體之特徵 點(移動體檢測用特徵點)作區別)稱為規格測量用特徵點。 One of the measurement processes of the specifications of the vehicle in the present embodiment is a method for extracting feature points for calculation of the width, length, and height of the vehicle. 1A to 1C are views showing feature points for measurement of the width, length, and height of the vehicle, respectively. The present invention defines a rectangular parallelepiped 30 that approximates the shape of the vehicle, and uses a feature point located at a position along a specific face of the rectangular parallelepiped 30 as a feature point for measurement of the width, length, and height of the vehicle. Furthermore, the cuboid 30 is ultimately a virtual determiner. In FIGS. 1A to 1C, the symbols v 1 to v 8 represent the vertices of the rectangular parallelepiped 30. In addition, the following will be used for the measurement of the width, length, and height of the vehicle (in order to distinguish the feature point (the feature point for moving body detection) from the image detecting body as described below) Measuring feature points.

詳細而言,如圖1A所圖示,於車輛之寬度之算出中,使用以下3種規格測量用特徵點:規格測量用特徵點#1:位於車輛之側面31之特徵點(嚴格而言,位於沿著與車輛之側面31對應之長方體30之面之位置之特徵點) Specifically, as shown in FIG. 1A, in the calculation of the width of the vehicle, the following three types of feature points for measurement are used: feature point #1 for specification measurement: feature points located on the side 31 of the vehicle (strictly speaking, a feature point located at a position along a plane of the rectangular parallelepiped 30 corresponding to the side 31 of the vehicle)

規格測量用特徵點#2:位於車輛之側面32之特徵點(嚴格而言,位於沿著與車輛之側面32對應之長方體30之面之位置之特徵點 Feature measurement feature point #2: a feature point located on the side 32 of the vehicle (strictly speaking, a feature point located at a position along the plane of the rectangular parallelepiped 30 corresponding to the side 32 of the vehicle

規格測量用特徵點#3:位於車輛之底面33之特徵點(嚴格而言,位於沿著與車輛之底面33對應之長方體30之面之位置之特徵點) Feature measurement point #3: a feature point located on the bottom surface 33 of the vehicle (strictly speaking, a feature point located at a position along the surface of the rectangular parallelepiped 30 corresponding to the bottom surface 33 of the vehicle)

此處,側面31係車輛之2個側面中、與測量行駛之車輛之相機對向之側面,側面32係另一側面。與側面31對應之長方體30之面具有頂點v1~v4,且與側面32對應之長方體30之面具有頂點v5~v6Here, the side surface 31 is the side surface of the two side surfaces of the vehicle opposite to the camera that measures the traveling vehicle, and the side surface 32 is the other side surface. The face of the rectangular parallelepiped 30 corresponding to the side face 31 has vertices v 1 to v 4 , and the face of the rectangular parallelepiped 30 corresponding to the side face 32 has vertices v 5 to v 6 .

於本實施形態中,若規格測量用特徵點#1、#2、#3分別滿足位於側面31、32、底面33之條件,則容許自任意之位置提取。例如,對於與相機對向之側面31,容許將位於側面31之任意之位置之特徵點用作規格測量用特徵點#1。 In the present embodiment, if the feature measurement feature points #1, #2, and #3 satisfy the conditions of the side faces 31, 32, and the bottom face 33, respectively, it is allowed to extract from an arbitrary position. For example, for the side surface 31 opposed to the camera, a feature point located at an arbitrary position on the side surface 31 is allowed to be used as the feature measuring feature point #1.

同樣地,對於與相機為相反側之側面32,亦容許將位於側面32之任意之位置之特徵點用作規格測量用特徵點#2。惟側面32實際上隱藏於車輛,故實際上,將自沿著邊v5v6及邊v6v7之車輛之輪廓之任意之位置提取之特徵點用作側面32上之特徵點。 Similarly, for the side surface 32 on the opposite side to the camera, the feature point located at any position on the side surface 32 is also allowed to be used as the feature point #2 for specification measurement. However, the side 32 is actually hidden from the vehicle, so in fact, the feature points extracted from any position of the contour of the vehicle along the side v 5 v 6 and the side v 6 v 7 are used as feature points on the side 32.

進而,對於底面33,亦容許將位於底面33之任意之位置之特徵點用作規格測量用特徵點#3。惟底面33實際上隱藏於車輛,因此,實際上,將自沿著邊v3v7及邊v3v4之車輛之輪廓之任意之位置提取之特徵點用作底面33上之特徵點。 Further, with respect to the bottom surface 33, a feature point located at an arbitrary position on the bottom surface 33 is also allowed to be used as the feature measurement feature point #3. However, the bottom surface 33 is actually hidden from the vehicle, and therefore, in fact, feature points extracted from arbitrary positions of the contour of the vehicle along the side v 3 v 7 and the side v 3 v 4 are used as feature points on the bottom surface 33.

如下所述,所提取之規格測量用特徵點#1~#3中、位於底面33之規格測量用特徵點#3係用於算出車輛之移動距離。進而,使用 所算出之移動距離,對規格測量用特徵點#1、#2進行移動立體視覺處理,算出與車輛一同移動之三維座標系中之規格測量用特徵點#1、#2之三維座標(例如,對於規格測量用特徵點#3之相對座標),且根據所算出之規格測量用特徵點#1、#2之三維座標,算出車輛之寬度。 As described below, among the extracted feature measurement feature points #1 to #3, the specification measurement feature point #3 located on the bottom surface 33 is used to calculate the moving distance of the vehicle. Further, use The calculated moving distance is subjected to moving stereoscopic processing for the feature measurement feature points #1 and #2, and the three-dimensional coordinates of the specification measurement feature points #1 and #2 in the three-dimensional coordinate system moving together with the vehicle are calculated (for example, For the relative coordinates of the feature measurement feature point #3, the width of the vehicle is calculated based on the calculated three-dimensional coordinates of the feature measurement points #1 and #2.

另一方面,如圖1B所圖示,於車輛長度之算出中,使用以下3種規格測量用特徵點:規格測量用特徵點#3:位於車輛之底面33之特徵點 On the other hand, as illustrated in FIG. 1B, in the calculation of the vehicle length, the following three types of feature points for measurement are used: feature point for measurement measurement #3: feature point at the bottom surface 33 of the vehicle

規格測量用特徵點#4:位於車輛之正面34之特徵點(嚴格而言,位於沿著與車輛之正面34對應之長方體30之面之位置之特徵點) Feature measurement point #4: a feature point located on the front side 34 of the vehicle (strictly speaking, a feature point located at a position along the plane of the rectangular parallelepiped 30 corresponding to the front surface 34 of the vehicle)

規格測量用特徵點#5:位於車輛之背面35之特徵點(嚴格而言,位於沿著與車輛之背面35對應之長方體30之面之位置之特徵點) Feature measurement point #5: a feature point located on the back side 35 of the vehicle (strictly speaking, a feature point located at a position along the plane of the rectangular parallelepiped 30 corresponding to the back surface 35 of the vehicle)

規格測量用特徵點#4、#5亦與規格測量用特徵點#1~#3相同,若滿足位於正面34、背面35之條件,則容許自任意之位置提取。惟實際上所提取之特徵點之位置因相機之配置而不同。於相機以自後方拍攝行駛之車輛之方式配置之情形時,背面35變得與相機對向。於此情形時,對於背面35,容許將位於背面35之任意之位置之特徵點用作規格測量用特徵點#5,另一方面,對於實際上隱藏於車輛之正面34,將自沿著邊v1v5及邊v1v4之車輛之輪廓之任意之位置提取之特徵點用作正面34上之規格測量用特徵點#4。於圖1B圖示有此種相機之配置之情形。另一方面,於相機以自前方拍攝行駛之車輛之方式配置之情形時,正面34變得與相機對向。於此情形時,對於正面34,容許將位於正面34之任意之位置之特徵點用作規格測量用特徵點#4,另一方面,對於實際上隱藏於車輛之背面35,將自沿著可自相機拍攝之邊之車輛之輪廓之任意之位置提取之特徵點用作背面35上之規格測量用特徵點#5。 The feature measurement feature points #4 and #5 are also the same as the feature measurement feature points #1 to #3, and are allowed to be extracted from an arbitrary position if the conditions on the front surface 34 and the back surface 35 are satisfied. However, the position of the feature points extracted is actually different depending on the configuration of the camera. When the camera is configured to photograph a traveling vehicle from the rear, the back surface 35 becomes opposed to the camera. In this case, with respect to the back surface 35, the feature point located at any position on the back surface 35 is allowed to be used as the feature point #5 for specification measurement, and on the other hand, it is hidden from the front side of the vehicle 34. The feature point extracted at any position of the contour of the vehicle of v 1 v 5 and side v 1 v 4 is used as the feature point #4 for specification measurement on the front surface 34. The configuration of such a camera is illustrated in Figure 1B. On the other hand, when the camera is arranged in such a manner as to photograph the traveling vehicle from the front, the front surface 34 becomes opposed to the camera. In this case, for the front surface 34, the feature point located at any position on the front surface 34 is allowed to be used as the feature point #4 for specification measurement, and on the other hand, for the back surface 35 actually hidden on the vehicle, the self-slope can be The feature point extracted from any position of the outline of the vehicle on the side of the camera photograph is used as the feature point #5 for specification measurement on the back surface 35.

於車輛之長度之算出中,使用基於位於底面33之規格測量用特徵點#3所算出之車輛之移動距離,對規格測量用特徵點#4、#5進行移動立體視覺處理。藉此,算出與車輛一同移動之三維座標系中之規格測量用特徵點#4、#5之三維座標(例如,對於規格測量用特徵點#3之相對座標),且根據所算出之規格測量用特徵點#4、#5之三維座標,算出車輛之長度。 In the calculation of the length of the vehicle, the moving distance of the vehicle calculated based on the specification measurement feature point #3 located on the bottom surface 33 is used to perform the moving stereoscopic processing on the specification measurement feature points #4 and #5. Thereby, the three-dimensional coordinates of the feature measurement feature points #4 and #5 in the three-dimensional coordinate system moving together with the vehicle (for example, the relative coordinates of the feature measurement feature point #3) in the three-dimensional coordinate system are calculated, and are measured based on the calculated specifications. The length of the vehicle is calculated using the three-dimensional coordinates of feature points #4 and #5.

進而,如圖1C所圖示,於車輛之高度之算出中使用以下2種規格測量用特徵點:規格測量用特徵點#3:位於車輛之底面33之特徵點(嚴格而言,位於沿著與車輛之底面33對應之長方體30之面之位置之特徵點) Further, as shown in FIG. 1C, the following two types of feature points for measurement are used for calculation of the height of the vehicle: feature point #3 for specification measurement: feature points located on the bottom surface 33 of the vehicle (strictly speaking, located along The feature point of the position of the face of the rectangular parallelepiped 30 corresponding to the bottom surface 33 of the vehicle)

規格測量用特徵點#6:位於車輛之頂面36之特徵點(嚴格而言,位於沿著與車輛之頂面36對應之長方體30之面之位置之特徵點) Feature measurement feature point #6: a feature point located on the top surface 36 of the vehicle (strictly speaking, a feature point located at a position along the plane of the rectangular parallelepiped 30 corresponding to the top surface 36 of the vehicle)

與規格測量用特徵點#1~#5同樣,規格測量用特徵點#6若亦滿足位於頂面36之條件,則容許自任意之位置提取。應注意於拍攝在道路上行駛之車輛之情形時,通常將相機設置於車輛之上方(例如,設置於設於道路之桁架),故而,車輛之頂面36通常被拍攝到其整體。 Similarly to the feature measurement points #1 to #5, the specification measurement feature point #6 is allowed to be extracted from an arbitrary position if it satisfies the condition of the top surface 36. It should be noted that when photographing a vehicle traveling on a road, the camera is usually placed above the vehicle (for example, on a truss provided on a road), so that the top surface 36 of the vehicle is usually photographed as a whole.

於車輛之高度之算出中,使用基於位於底面33之規格測量用特徵點#3所算出之車輛之移動距離,對規格測量用特徵點#6進行移動立體視覺處理。藉此,算出與車輛一同移動之三維座標系中之規格測量用特徵點#3、#6之三維座標(例如,對於規格測量用特徵點#3之相對座標),且根據所算出之規格測量用特徵點#3、#6之三維座標,算出車輛之高度。 In the calculation of the height of the vehicle, the moving distance of the vehicle calculated based on the specification measuring feature point #3 located on the bottom surface 33 is used to perform the moving stereoscopic processing on the specification measuring feature point #6. Thereby, the three-dimensional coordinates of the feature measurement feature points #3 and #6 in the three-dimensional coordinate system moving together with the vehicle (for example, the relative coordinates of the feature measurement feature point #3) in the three-dimensional coordinate system are calculated, and the measurement is performed based on the calculated specifications. The height of the vehicle is calculated using the three-dimensional coordinates of feature points #3 and #6.

繼而,對本發明之一實施形態中之車輛規格測量處理裝置及車輛規格測量方法詳細地進行說明。 Next, a vehicle specification measurement processing device and a vehicle specification measurement method according to an embodiment of the present invention will be described in detail.

圖2係表示本實施形態之車輛規格測量處理裝置10之構成例之方 塊圖。車輛規格測量處理裝置10包括相機1、及圖像處理裝置2。相機1係拍攝道路上行駛之車輛之攝像裝置。相機1產生車輛之圖像(框架圖像)之圖像資料21,並將所產生之圖像資料21供給至圖像處理裝置2。圖像處理裝置2對自相機1接收之圖像資料21進行圖像處理,測量圖像資料21之圖像中所拍攝到之車輛之規格、更具體而言車輛之寬度、長度、高度,從而產生表示車輛之寬度、長度、高度之車輛規格資料22。 Fig. 2 is a view showing a configuration example of the vehicle specification measurement processing device 10 of the present embodiment. Block diagram. The vehicle specification measurement processing device 10 includes a camera 1 and an image processing device 2. The camera 1 is a camera that captures a vehicle traveling on a road. The camera 1 generates image data 21 of an image (frame image) of the vehicle, and supplies the generated image data 21 to the image processing device 2. The image processing device 2 performs image processing on the image data 21 received from the camera 1 and measures the size of the vehicle captured in the image of the image data 21, more specifically, the width, length, and height of the vehicle. A vehicle specification data 22 indicating the width, length, and height of the vehicle is generated.

圖像處理裝置2具備圖像處理IC(integrated circuit,積體電路)3、外部介面4、外部記憶裝置5、記憶體6、及ROM(read only memory,唯讀記憶體)7。外部介面4係連接於相機1,且將自相機1接收之圖像資料21供給至圖像處理IC3。外部記憶裝置5係保存圖像處理裝置2中之圖像處理中所產生之資料。保存於外部記憶裝置5之資料包含車輛規格資料22。記憶體6係用作圖像處理IC3之運算處理之工作區。ROM7係保存藉由圖像處理IC3而執行之程式。記憶於ROM7之程式包含用以執行測量車輛規格之圖像處理之程式即車輛規格測量處理程式7a。 The image processing device 2 includes an image processing IC (integrated circuit) 3, an external interface 4, an external memory device 5, a memory 6, and a ROM (read only memory) 7. The external interface 4 is connected to the camera 1 and supplies the image data 21 received from the camera 1 to the image processing IC 3. The external memory device 5 stores data generated in image processing in the image processing device 2. The data stored in the external memory device 5 contains the vehicle specification data 22. The memory 6 is used as a work area for arithmetic processing of the image processing IC 3. The ROM 7 stores programs executed by the image processing IC 3. The program stored in the ROM 7 includes a vehicle specification measurement processing program 7a for executing image processing for measuring vehicle specifications.

再者,以上說明了用以根據圖像資料21算出車輛規格之圖像處理裝置2之構成,但亦可於圖像處理裝置2,進行利用車輛規格資料22之車種判別。於此情形時,車種判別所需之程式亦可安裝於ROM7。 Further, although the configuration of the image processing device 2 for calculating the vehicle standard from the image data 21 has been described above, the image processing device 2 may perform the vehicle type discrimination using the vehicle specification data 22. In this case, the program required for the vehicle type discrimination can also be installed in the ROM 7.

此時,亦可使用(例如類似快閃記憶體之)可重寫之非揮發性記憶體作為ROM7。於此情形時,車輛規格測量處理程式7a(及視需要,用於車種判別之程式)亦可自外部安裝於ROM7。於車輛規格測量處理程式7a對ROM7之安裝中,亦可使用記憶車輛規格測量處理程式7a之記錄媒體。於此情形時,用以對該記錄媒體進行存取之裝置係設置於圖像處理裝置2。又,亦可代替ROM7而使用適當之記憶裝置(例如,硬碟驅動器(Hard Disk Drive、HDD)、固態驅動器)。 At this time, a rewritable non-volatile memory (for example, like a flash memory) can also be used as the ROM 7. In this case, the vehicle specification measurement processing program 7a (and, if necessary, the program for determining the vehicle type) may be externally mounted in the ROM 7. In the installation of the ROM 7 by the vehicle specification measurement processing program 7a, a recording medium that memorizes the vehicle specification measurement processing program 7a can also be used. In this case, a device for accessing the recording medium is provided in the image processing device 2. Further, an appropriate memory device (for example, a hard disk drive (HDD), a solid state drive) may be used instead of the ROM 7.

圖像處理IC3包括運算模組11、圖像輸入介面12、資料輸入輸出介面13、記憶體控制器14、及ROM控制器15。運算模組11、圖像輸入介面12、資料輸入輸出介面13、記憶體控制器14、及ROM控制器15係藉由內部匯流排16而連接。運算模組11係一面將記憶體6用作工作區,一面執行車輛規格測量處理程式7a,進行用以根據圖像資料21算出車輛規格之圖像處理。圖像輸入介面12係自相機1接收圖像資料21之介面。資料輸入輸出介面13係用以進行對外部記憶裝置5之存取之介面。記憶體控制器14係用以進行對記憶體6之存取之介面。又,ROM控制器15係用以進行對ROM7之存取之介面。 The image processing IC 3 includes a computing module 11, an image input interface 12, a data input/output interface 13, a memory controller 14, and a ROM controller 15. The arithmetic module 11, the image input interface 12, the data input/output interface 13, the memory controller 14, and the ROM controller 15 are connected by an internal bus bar 16. The calculation module 11 executes the vehicle specification measurement processing program 7a while using the memory 6 as a work area, and performs image processing for calculating the vehicle specification based on the image data 21. The image input interface 12 is an interface for receiving image data 21 from the camera 1. The data input/output interface 13 is an interface for accessing the external memory device 5. The memory controller 14 is an interface for performing access to the memory 6. Further, the ROM controller 15 is an interface for performing access to the ROM 7.

以下所述之用以算出車輛規格之圖像處理係使用圖2所示之硬體而實行。以下,對用以算出車輛規格之圖像處理詳細地進行說明。 The image processing system for calculating the vehicle specifications described below is carried out using the hardware shown in FIG. 2. Hereinafter, image processing for calculating the vehicle specifications will be described in detail.

圖3A、圖3B係表示本發明之一實施形態中之用以算出車輛規格之圖像處理之流程圖。上述車輛規格測量處理程式7a係用以執行該圖像處理之程式編碼群。用以算出車輛規格之圖像處理係主要劃分為下述3個階段: 3A and 3B are flowcharts showing image processing for calculating a vehicle specification in an embodiment of the present invention. The vehicle specification measurement processing program 7a is a program encoding group for executing the image processing. The image processing system used to calculate the vehicle specifications is mainly divided into the following three stages:

1.移動體探測用特徵點之探測及跟蹤(圖3A之步驟S01~S04) 1. Detection and tracking of feature points for moving body detection (steps S01~S04 of Figure 3A)

2.移動體之探測、分離、及規格測量用特徵點之探測及跟蹤(圖3A之步驟S05~S07) 2. Detection and tracking of feature points for detection, separation, and specification measurement of moving objects (steps S05~S07 of Figure 3A)

3.基於規格測量用特徵點之車輛規格之算出(圖3B之步驟S08~S12) 3. Calculation of vehicle specifications based on feature points for specification measurement (steps S08 to S12 of Fig. 3B)

以下,對各個階段詳細地進行說明。 Hereinafter, each stage will be described in detail.

1.移動體探測用特徵點之探測及跟蹤 1. Detection and tracking of feature points for moving body detection

參照圖3A,首先,實施圖像處理裝置2之初始化之後(步驟S01),逐次取入拍攝車輛所得之框架圖像之圖像資料21(步驟S02)。進而,探測圖像資料21中所示之框架圖像中所含之特徵點,進而,跟蹤各特徵點(步驟S03)。但,於步驟S03被探測跟蹤之特徵點未必與上述規格 測量用特徵點一致。因此,為了與規格測量用特徵點進行區別,而將步驟S03中探測、跟蹤之特徵點以下稱為移動體探測用特徵點。於步驟S03,產生列舉被探測、跟蹤之移動體探測用特徵點之清單即移動體探測用特徵點清單23。若於移動體(多數情況下為車輛)所進入之區域,重新探測到移動體探測用特徵點,則將該移動體探測用特徵點追加至移動體探測用特徵點清單23。又,將消失於圖像之外之移動體探測用特徵點或跟蹤失敗之移動體探測用特徵點自移動體探測用特徵點清單23中去除。 Referring to Fig. 3A, first, after the initialization of the image processing apparatus 2 is carried out (step S01), the image data 21 of the frame image obtained by the vehicle is taken in order (step S02). Further, the feature points included in the frame image shown in the image data 21 are detected, and each feature point is further tracked (step S03). However, the feature points that are detected and tracked in step S03 are not necessarily related to the above specifications. The measurement features are consistent. Therefore, in order to distinguish from the feature points for specification measurement, the feature points detected and tracked in step S03 are hereinafter referred to as feature points for moving body detection. In step S03, a list of feature points for moving body detection, which is a list of feature points for detecting the moving body to be detected and tracked, is generated. When the moving object detecting feature point is re-detected in the region where the moving body (in most cases, the vehicle) enters, the moving body detecting feature point is added to the moving body detecting feature point list 23. In addition, the moving object detecting feature point or the tracking failure moving feature detecting point that has disappeared outside the image is removed from the moving body detecting feature point list 23.

圖像資料21之取入(步驟S02)、及移動體探測用特徵點之探測及跟蹤(步驟S03)係逐次進行直至對圖像處理裝置2賦予結束信號為止。若對圖像處理裝置2賦予結束信號(步驟S04),則圖像處理裝置2中之圖像處理結束。 The acquisition of the image data 21 (step S02) and the detection and tracking of the feature points for detecting the moving body (step S03) are sequentially performed until the end signal is given to the image processing apparatus 2. When an end signal is given to the image processing apparatus 2 (step S04), the image processing in the image processing apparatus 2 ends.

2.移動體之探測、分離、及規格測量用特徵點之探測及跟蹤 2. Detection and tracking of feature points for detection, separation, and specification measurement of moving objects

於該階段,自移動體探測用特徵點清單23中所列舉之移動體探測用特徵點、即,當前正在跟蹤之移動體探測用特徵點之中檢測與各車輛對應之特徵點。詳細而言,首先,檢測移動體探測用特徵點清單23中所列舉之移動體探測用特徵點中之與車輛對應之特徵點(即,將除了不與車輛對應之特徵點以外之特徵點)作為移動特徵點(步驟S05)。更具體而言,將移動體探測用特徵點清單23中所列舉之移動體探測用特徵點中之靜止之特徵點、及雖正在移動但正進行與車輛之移動不同之移動之特徵點去除。由於道路上行駛之車輛大致在道路之方向上移動,故而,可判別不進行此種移動之特徵點為不與車輛對應之特徵點。 At this stage, the feature points corresponding to the respective vehicles are detected from the feature points for moving body detection listed in the feature point list 23 for moving body detection, that is, the feature points for detecting the moving body currently being tracked. Specifically, first, feature points corresponding to the vehicle among the feature points for detecting a moving body listed in the moving object detecting feature point list 23 (that is, feature points other than the feature points not corresponding to the vehicle) are detected. As a moving feature point (step S05). More specifically, the feature points of the moving object detecting feature points listed in the moving object detecting feature point list 23 and the feature points that are moving but moving differently from the vehicle are removed. Since the vehicle traveling on the road moves substantially in the direction of the road, it can be determined that the feature point that does not perform such movement is a feature point that does not correspond to the vehicle.

圖4係表示步驟S05中之移動特徵點之檢測例之圖。如圖4之左圖所示,於步驟S03,於一系列之圖像中探測特徵點41,進而,對移動中之特徵點41進行跟蹤。於圖4之左圖,正受到跟蹤之特徵點41相互 由線段連結而圖示。將被判斷為靜止之特徵點自移動體探測用特徵點清單23中去除。 Fig. 4 is a view showing an example of detection of a moving feature point in step S05. As shown in the left diagram of FIG. 4, in step S03, the feature points 41 are detected in a series of images, and further, the moving feature points 41 are tracked. In the left diagram of Figure 4, the feature points 41 being tracked are mutually The figure is connected by a line segment. The feature points judged to be stationary are removed from the moving object detection feature point list 23.

進而,檢測所跟蹤之特徵點中之滿足下述條件(1)~(3)之特徵點作為與車輛對應之移動特徵點: Further, the feature points satisfying the following conditions (1) to (3) among the tracked feature points are detected as the moving feature points corresponding to the vehicle:

(1)必須遍及特定數NSTD以上之連續之框架圖像,出現跟蹤(特定數NSTD係作為參數被賦予)。 (1) Tracking must occur throughout a continuous frame image of a specific number N STD or more (a specific number N STD is given as a parameter).

(2)將開始點(於圖像上開始對該特徵點進行跟蹤之位置)與當前點(即,該特徵點之圖像上之最新之位置)連結所得之向量的大小必須為μ×NTRC以上。此處,μ為特定之參數值(就技術而言係指每一單位時間之移動量之閾值),NTRC為對該特徵點進行跟蹤之框架圖像之個數。 (2) The vector obtained by concatenating the starting point (the position at which the feature point is tracked on the image) and the current point (ie, the latest position on the image of the feature point) must be μ×N. Above TRC . Here, μ is a specific parameter value (in terms of technology, a threshold value of the amount of movement per unit time), and N TRC is the number of frame images for tracking the feature points.

(3)自開始點朝向當前點之向量與自開始點朝向圖像之消失點之向量所成之角度必須為特定之閾值角度以下。此處所謂之圖像之消失點係指於使車輛之圖像近似於透視圖之情形時,該透視圖中所規定之消失點。於圖4之右圖圖示有消失點43。 (3) The angle between the vector from the starting point toward the current point and the vector from the starting point toward the vanishing point of the image must be below a certain threshold angle. The vanishing point of the image referred to herein refers to the vanishing point defined in the perspective view when the image of the vehicle is approximated to the perspective view. The vanishing point 43 is illustrated in the right diagram of FIG.

圖4之右圖係表示於步驟S05中被檢測之移動特徵點之例。於圖4之右圖圖示有遍及特定數以上連續之框架圖像所跟蹤之特徵點42a、42b、42c。此處,符號42a-1表示特徵點42a之開始點,符號42a-3表示特徵點42a之當前點。符號42a-2表示對應於開始點之框架圖像與對應於當前點之框架圖像之間之框架圖像中之特徵點42a之位置。同樣地,符號42b-1表示特徵點42b之開始點,符號42b-3表示特徵點42b之當前點。符號42b-2表示對應於開始點之框架圖像與對應於當前點之框架圖像之間之框架圖像中之特徵點42b之位置。進而,符號42c-1表示特徵點42c之開始點,符號42c-3表示特徵點42c之當前點。符號42c-2表示對應於開始點之框架圖像與對應於當前點之框架圖像之間之框架圖像中之特徵點42c之位置。 The right diagram of Fig. 4 shows an example of the moving feature points detected in step S05. The right diagram of Fig. 4 illustrates feature points 42a, 42b, 42c tracked over a particular number of consecutive frame images. Here, the symbol 42a-1 indicates the start point of the feature point 42a, and the symbol 42a-3 indicates the current point of the feature point 42a. The symbol 42a-2 indicates the position of the feature point 42a in the frame image between the frame image corresponding to the start point and the frame image corresponding to the current point. Similarly, the symbol 42b-1 indicates the start point of the feature point 42b, and the symbol 42b-3 indicates the current point of the feature point 42b. Symbol 42b-2 indicates the position of the feature point 42b in the frame image between the frame image corresponding to the start point and the frame image corresponding to the current point. Further, the symbol 42c-1 indicates the start point of the feature point 42c, and the symbol 42c-3 indicates the current point of the feature point 42c. Symbol 42c-2 indicates the position of the feature point 42c in the frame image between the frame image corresponding to the start point and the frame image corresponding to the current point.

對於特徵點42a,進行連結開始點42a-1與當前點42a-3之向量之 大小是否為μ×NTR以上之判斷、及自開始點42a-1朝向當前點42a-3之向量與自開始點42a-1朝向消失點43之向量之間之角度是否為特定之閾值θTH1以下之判斷。基於該等判斷,判斷是否提取特徵點42a作為移動特徵點。 For the feature point 42a, it is judged whether or not the size of the vector of the connection start point 42a-1 and the current point 42a-3 is μ×N TR or more, and the vector from the start point 42a-1 toward the current point 42a-3 and the start point. Whether the angle between the points 42a-1 toward the vanishing point 43 is equal to or lower than the specific threshold value θ TH1 . Based on the judgments, it is judged whether or not the feature point 42a is extracted as the moving feature point.

對於特徵點42b、42c亦進行同樣之判斷。以下,對於步驟S05中,檢測出特徵點42a、42b、42c作為移動特徵點進行說明。 The same judgment is made for the feature points 42b and 42c. Hereinafter, in step S05, feature points 42a, 42b, and 42c are detected as moving feature points.

如圖3A所示,於移動特徵點之檢測(步驟S05)之後,進行所檢測之移動特徵點之分群。(步驟S06)。參照圖5,該分群係基於各特徵點至消失點43之距離、及自開始點朝向當前點之向量之朝向而進行。再者,作為特徵點至消失點43之距離,既可使用自當前點至消失點43之距離(圖5中以距離DM進行圖示),亦可使用自開始點至消失點43之距離,又,亦可使用特徵點之跟蹤期間之平均距離。藉由該分群,而將對應於1台車輛之一群特徵點分類為同一群集。 As shown in FIG. 3A, after the detection of the moving feature points (step S05), the grouping of the detected moving feature points is performed. (Step S06). Referring to Fig. 5, the grouping is performed based on the distance from each feature point to the vanishing point 43 and the direction of the vector from the starting point toward the current point. Furthermore, as the distance from the feature point to the vanishing point 43, the distance from the current point to the vanishing point 43 (illustrated by the distance D M in FIG. 5) may be used, and the distance from the starting point to the vanishing point 43 may be used. Moreover, the average distance during the tracking period of the feature points can also be used. By this grouping, the feature points corresponding to one group of one vehicle are classified into the same cluster.

圖5表示步驟S06中之分群之例。參照圖5,設為於步驟S05中提取了6個特徵點:特徵點42a、42b、42c、42d、42e、42f。於此情形時,對於特徵點42a、42b、42c、42d、42e、42f之各者,算出至消失點43之距離、及自開始點朝向當前點之向量之朝向。於圖5中,將各特徵點至消失點43之距離定義為自當前點至消失點43之距離DM,又,將自開始點朝向當前點之向量之朝向定義為圖像之與水平方向所成之角度。 Fig. 5 shows an example of the grouping in step S06. Referring to Fig. 5, six feature points are extracted in step S05: feature points 42a, 42b, 42c, 42d, 42e, and 42f. In this case, for each of the feature points 42a, 42b, 42c, 42d, 42e, and 42f, the distance to the vanishing point 43 and the direction of the vector from the starting point toward the current point are calculated. In FIG. 5, the distance from each feature point to the vanishing point 43 is defined as the distance D M from the current point to the vanishing point 43, and the direction of the vector from the starting point toward the current point is defined as the horizontal and horizontal directions of the image. The angle of formation.

例如,對於特徵點42a,算出自當前點42a-3至消失點43之距離、及自開始點42a-1朝向當前點42a-3之向量與畫面之與水平方向之角度θ。對於其他特徵點42b、42c、42d、42e、42f,亦同樣地算出自當前點至消失點43之距離、及自開始點朝向當前點之向量之朝向。基於所算出之自當前點至消失點43之距離及自開始點朝向當前點之向量之朝向,進行特徵點42a、42b、42c、42d、42e、42f之分群。於圖5之例 中,分群之結果,將特徵點42a、42b、42c分類為對應於第1車輛之群集,且將特徵點42d、42e、42f分類為對應於第2車輛之群集。 For example, for the feature point 42a, the distance from the current point 42a-3 to the vanishing point 43 and the angle θ from the start point 42a-1 toward the current point 42a-3 and the horizontal direction of the screen are calculated. Similarly to the other feature points 42b, 42c, 42d, 42e, and 42f, the distance from the current point to the vanishing point 43 and the direction from the start point to the current point vector are calculated. The grouping of the feature points 42a, 42b, 42c, 42d, 42e, 42f is performed based on the calculated distance from the current point to the vanishing point 43 and the direction of the vector from the starting point toward the current point. In the example of Figure 5 As a result of the grouping, the feature points 42a, 42b, and 42c are classified into clusters corresponding to the first vehicle, and the feature points 42d, 42e, and 42f are classified into clusters corresponding to the second vehicle.

如圖3A所示,於移動特徵點之分群之後,自圖像提取對應於各車輛之移動區域,進而,對各移動區域進行規格測量用特徵點之檢測及跟蹤(步驟S07)。 As shown in FIG. 3A, after the grouping of the moving feature points, the moving regions corresponding to the respective vehicles are extracted from the image, and the feature points for the specification measurement are detected and tracked for each of the moving regions (step S07).

首先,如圖6所示,自各群集之移動特徵點,提取於各圖像中拍攝有該車輛之區域即移動區域。移動區域係針對各群集進行提取。移動區域係作為圖像中之對應於車輛輪廓之多邊形之形狀之區域被提取。此時,以各群集之移動特徵點成為該多邊形之頂點之方式提取移動區域。 First, as shown in FIG. 6, from the moving feature points of the respective clusters, the moving region in which the vehicle is photographed in each image is extracted. The mobile area is extracted for each cluster. The moving area is extracted as an area of the image corresponding to the shape of the polygon of the vehicle outline. At this time, the moving area is extracted such that the moving feature points of the respective clusters become the vertices of the polygon.

進而,對與各車輛對應之移動區域,進行檢測上述規格測量用特徵點之處理、及跟蹤上述規格測量用特徵點之處理。此處,如參照圖1A所說明,規格測量用特徵點#1、#2係分別位於車輛之側面31、32之特徵點,規格測量用特徵點#3係位於車輛之底面33之特徵點。又,規格測量用特徵點#4係位於車輛之正面34之特徵點,規格測量用特徵點#5係位於車輛之背面35之特徵點。進而,規格測量用特徵點#6係位於車輛之頂面36之特徵點。請注意,被提取之規格測量用特徵點#1之個數未必限定為一個,亦可提取複數個規格測量用特徵點#1。對於其他規格測量用特徵點#2~#6而言,亦為相同情況。 Further, for the moving area corresponding to each vehicle, a process of detecting the feature points for the specification measurement and a process of tracking the feature points for the specification measurement are performed. Here, as described with reference to FIG. 1A, the feature measurement feature points #1 and #2 are respectively located at the feature points of the side faces 31 and 32 of the vehicle, and the specification measurement feature point #3 is located at the feature point of the bottom surface 33 of the vehicle. Further, the feature measurement feature point #4 is located at the feature point of the front surface 34 of the vehicle, and the specification measurement feature point #5 is located at the feature point of the rear surface 35 of the vehicle. Further, the feature measurement feature point #6 is located at a feature point of the top surface 36 of the vehicle. Note that the number of feature points #1 for the measurement of the extracted specifications is not necessarily limited to one, and a plurality of feature points #1 for specification measurement may be extracted. The same applies to the feature points #2 to #6 for other specifications.

此處,規格測量用特徵點之跟蹤亦可藉由如下方法進行,即,對各框架圖像進行規格測量用特徵點之檢測,於框架圖像之間將規格測量用特徵點建立對應。又,規格測量用特徵點之跟蹤亦可藉由如下方法進行,即,對最初出現移動區域之框架圖像(初期框架圖像)檢測規格測量用特徵點,且於後續之框架圖像中,對該規格測量用特徵點實施動態跟蹤(Dynamic Tracking)。 Here, the tracking of the feature points for the specification measurement may be performed by detecting the feature points for the specification measurement for each frame image, and associating the feature points for the specification measurement between the frame images. Further, the tracking of the feature points for the specification measurement can be performed by detecting the feature points for the specification measurement on the frame image (initial frame image) in which the moving region is initially present, and in the subsequent frame image, Dynamic tracking is performed on the feature points for the specification measurement.

對於任一情形,均進行至少對初期框架檢測規格測量用特徵點之處理,因此,以下,首先,對檢測規格測量用特徵點之處理進行說明。檢測規格測量用特徵點之處理係利用下述方法(1)~(3)之至少一方法進行。此處,請注意,被提取之規格測量用特徵點#1之個數未必限定於一個,亦可提取複數個規格測量用特徵點#1。因此,亦可利用下述方法(1)~(3)之複數個,提取複數個規格測量用特徵點#1。對於其他規格測量用特徵點#2~#6而言,亦為相同情況。 In either case, at least the processing of the feature points for the initial frame detection specification measurement is performed. Therefore, first, the processing of the feature points for the measurement specification measurement will be described. The processing for detecting characteristic points for measurement measurement is performed by at least one of the following methods (1) to (3). Here, please note that the number of feature points #1 for the specification measurement that is extracted is not necessarily limited to one, and a plurality of feature points #1 for specification measurement may be extracted. Therefore, a plurality of feature points #1 for specification measurement can be extracted by a plurality of methods (1) to (3) below. The same applies to the feature points #2 to #6 for other specifications.

方法(1): method 1):

檢測規格測量用特徵點之方法(1)係提取與各車輛相切之切線,並且求出該切線相交之交點。規格測量用特徵點係自求出之交點之中進行選擇並決定。此處所謂「切線」係指對應於實際空間中與車輛相切之切線之圖像內之線。圖7A、圖7B表示求出與車輛相切之切線及其等之交點之處理例。亦存在該切線係亦於圖像內與移動區域相切之切線之情形(符號61~66所示之切線),但未必限定於此(例如,符號67~69所示之切線)。 The method of detecting the feature points for measurement measurement (1) extracts a tangent tangent to each vehicle, and finds the intersection of the tangent intersections. The feature points for specification measurement are selected and determined from among the intersections obtained. The term "tangent line" as used herein refers to a line corresponding to an image of a tangent to a vehicle that is tangent to the vehicle in real space. 7A and 7B show an example of processing for finding the intersection of the tangent line and the like which are tangent to the vehicle. There is also a case where the tangent line is tangent to the moving area in the image (the tangent shown by the symbols 61 to 66), but is not necessarily limited thereto (for example, the tangent shown by the symbols 67 to 69).

如圖7A、圖7B之(1)欄所圖示,於方法(1)中,首先,提取與如於實際空間中位於路面上且平行於車線之線對應之切線61、62。於實際空間中,位於路面上且平行於車線之線於圖像中以何種角度被拍攝係由相機1之空間性配置而決定,故為預先已知之資訊。利用該事實,提取與位於路面上且平行於車線之線對應之切線。此處,切線61係被提取之與平行於車線之線對應之切線中之(自相機1觀察時)位於車輛之近前側之切線,切線62係位於車輛之遠端側之切線。 As shown in the column (1) of FIGS. 7A and 7B, in the method (1), first, the tangent lines 61, 62 corresponding to the lines on the road surface and parallel to the lanes in the actual space are extracted. In the actual space, the angle at which the line on the road surface parallel to the lane is photographed in the image is determined by the spatial configuration of the camera 1 and is known in advance. Using this fact, a tangent corresponding to the line on the road surface and parallel to the lane is extracted. Here, the tangent 61 is a tangent to the near side of the vehicle (taken from the camera 1) which is extracted from a line parallel to the line of the lane, and the tangent 62 is located at a tangent to the distal side of the vehicle.

進而,如圖7A、圖7B之(2)欄所圖示,提取與如於實際空間中位於路面上且垂直於車線之線對應之切線。與於實際空間中平行於車線之線同樣地,於實際空間中垂直於車線之線於圖像中以何種角度被拍攝,係由相機1之空間配置而決定,故為預先已知之資訊。利用該事 實,提取與於實際空間中垂直於車線之線對應之切線。於圖7A、圖7B之(2)欄中,切線63係被提取之與垂直於車線之線對應之切線中、(自相機1觀察時)位於車輛之近前側之切線,切線64係位於車輛之遠端側之切線。 Further, as shown in the column (2) of FIGS. 7A and 7B, a tangent line corresponding to a line on the road surface and perpendicular to the lane line in the actual space is extracted. Similarly to the line parallel to the lane in the actual space, at what angle the image is perpendicular to the line of the vehicle in the actual space, which is determined by the spatial arrangement of the camera 1, is known in advance. Use the matter Really, extract the tangent corresponding to the line perpendicular to the lane in the actual space. In the column (2) of FIG. 7A and FIG. 7B, the tangent line 63 is a tangent line which is extracted from the line corresponding to the line perpendicular to the lane, and is located at the front side of the vehicle (when viewed from the camera 1), and the tangent line 64 is located in the vehicle. The tangent to the distal side.

除此以外,求出切線61與切線63之交點51,且求出切線62、64之交點52。 In addition to this, the intersection 51 between the tangent line 61 and the tangent line 63 is obtained, and the intersection 52 of the tangent lines 62 and 64 is obtained.

進而,如圖7A、圖7B之(3)欄所圖示,提取與如於實際空間中垂直於路面之線對應之切線。於實際空間中垂直於路面之線於圖像中以何種角度被拍攝係預先已知之資訊,因此,可利用該事實,提取與於實際空間中垂直於車線之線對應之移動區域之切線。於圖7A、圖7B之(3)欄中,被提取之與如垂直於路面之線對應之切線中、位於車輛之遠端側之切線係以符號65表示,位於車輛之近前側之切線係以符號66、67表示。此處,切線67係作為如通過位於車輛近前側之切線61、63之交點51之線被提取。 Further, as shown in the column (3) of FIG. 7A and FIG. 7B, a tangent corresponding to a line perpendicular to the road surface in the actual space is extracted. At what angle in the image the line perpendicular to the road surface in the actual space is photographed in advance, so that the tangent to the moving area corresponding to the line perpendicular to the lane in the actual space can be extracted. In the column (3) of FIG. 7A and FIG. 7B, the tangent line on the distal end side of the vehicle which is extracted from the line corresponding to the line perpendicular to the road surface is indicated by the symbol 65, and is located at the tangent line on the near side of the vehicle. It is represented by symbols 66 and 67. Here, the tangent 67 is extracted as a line passing through the intersection 51 of the tangent lines 61, 63 located on the near side of the vehicle.

除此以外,如(3)欄所圖示,求出切線61與切線65之交點53、切線64與切線65之交點54、切線63與切線66之交點55、及切線62與切線66之交點56。 In addition, as shown in the column (3), the intersection point of the tangent 61 and the tangent 65, the intersection 54 of the tangent 64 and the tangent 65, the intersection 55 of the tangent 63 and the tangent 66, and the intersection of the tangent 62 and the tangent 66 are obtained. 56.

進而,如圖7A、圖7B之(3)欄所圖示,提取與於實際空間中位於遠離路面之上方、處於與路面平行之平面內且垂直或平行於車線之線對應的切線68、69。此處,切線68係與垂直於車線之線對應之切線,切線69係與平行於車線之線對應之切線。切線68作為如通過交點56之線被提取。除此以外,求出切線67、68之交點57,且切線69作為如通過交點57之線被提取。 Further, as shown in the column (3) of FIG. 7A and FIG. 7B, a tangent 68, 69 corresponding to a line which is located farther from the road surface in the actual space and which is in a plane parallel to the road surface and which is perpendicular or parallel to the lane line is extracted. . Here, the tangent 68 is a tangent corresponding to the line perpendicular to the lane, and the tangent 69 is a tangent corresponding to the line parallel to the lane. Tangent 68 is extracted as a line through intersection 56. In addition to this, the intersection 57 of the tangent lines 67, 68 is obtained, and the tangent line 69 is extracted as a line passing through the intersection point 57.

圖8A~圖8C係表示自所求出之交點之中決定各規格測量用特徵點之方法之圖。詳細而言,圖8A係表示位於車輛之側面31、32之規格測量用特徵點#1、#2、及位於車輛之底面33之規格測量用特徵點 #3之決定方法之圖。又,圖8B係表示位於車輛之正面34之規格測量用特徵點#4、位於車輛之背面35之規格測量用特徵點#5之決定方法之圖。圖8C係表示位於車輛之頂面36之規格測量用特徵點#6之決定方法之圖。再者,位於車輛之底面33之規格測量用特徵點#3之決定方法不僅圖示於圖8A,而且亦圖示於圖8B、圖8C。 8A to 8C are views showing a method of determining feature points for measurement of each specification from among the obtained intersection points. Specifically, FIG. 8A shows the feature measuring points #1 and #2 located on the side faces 31 and 32 of the vehicle, and the feature measuring feature points located on the bottom surface 33 of the vehicle. Diagram of #3's decision method. In addition, FIG. 8B is a view showing a method of determining the feature measuring point #5 located on the front surface 34 of the vehicle and the specification measuring feature point #5 located on the back surface 35 of the vehicle. Fig. 8C is a view showing a method of determining the feature point #6 for specification measurement on the top surface 36 of the vehicle. Further, the method of determining the feature measurement feature point #3 located on the bottom surface 33 of the vehicle is not only shown in FIG. 8A but also shown in FIGS. 8B and 8C.

參照圖8A,自以上述方式求出之交點中位於車輛之側面31之交點(即,交點51、53、54、57)選擇規格測量用特徵點#1。此處,可將交點51、53、54、57全部決定為規格測量用特徵點#1,又,亦可將自交點51、53、54、57之中適當選擇之一個或複數個交點決定為規格測量用特徵點#1。 Referring to Fig. 8A, feature point #1 for specification measurement is selected from the intersections of the side faces 31 of the vehicle (i.e., intersections 51, 53, 54, 57) at the intersections obtained as described above. Here, all of the intersection points 51, 53, 54, and 57 can be determined as the feature measurement feature point #1, and one or a plurality of intersection points of the self-intersection points 51, 53, 54, and 57 can be appropriately determined as Feature point #1 for specification measurement.

進而,自位於車輛之側面32之交點(即,交點52、55、56)之中選擇規格測量用特徵點#2。此處,可將交點52、55、56全部決定為規格測量用特徵點#2,又,亦可將自交點52、55、56之中適當選擇之一個或複數個交點決定為規格測量用特徵點#2。 Further, the feature measurement feature point #2 is selected from the intersections of the side faces 32 of the vehicle (that is, the intersection points 52, 55, 56). Here, all of the intersection points 52, 55, and 56 can be determined as the feature measurement feature point #2, and one or more of the intersection points 52, 55, and 56 can be appropriately determined as the specification measurement feature. Point #2.

又,自位於車輛之底面33之交點(即,交點51、53、55)之中選擇規格測量用特徵點#3。此處,可將交點51、53、55全部決定為規格測量用特徵點#3,又,亦可將自交點51、53、55之中適當選擇之一個或複數個交點決定為規格測量用特徵點#3。 Further, the feature measurement feature point #3 is selected from the intersections of the bottom faces 33 of the vehicle (that is, the intersection points 51, 53, 55). Here, all of the intersection points 51, 53, and 55 can be determined as the feature measurement feature point #3, and one or a plurality of intersection points which are appropriately selected from the self-intersection points 51, 53, and 55 can be determined as the feature measurement characteristics. Point #3.

進而,如圖8B所圖示,自位於車輛之正面34之交點(即,交點52、53、54)之中選擇規格測量用特徵點#4。此處,可將交點52、53、54全部決定為規格測量用特徵點#4,又,亦可將自交點52、53、54之中適當選擇之一個或複數個交點決定為規格測量用特徵點#4。 Further, as illustrated in FIG. 8B, the feature measurement feature point #4 is selected from among the intersections of the front faces 34 of the vehicle (that is, the intersection points 52, 53, 54). Here, all of the intersection points 52, 53, and 54 can be determined as the feature measurement feature point #4, and one or more of the intersection points 52, 53, 54 can be appropriately determined as the specification measurement feature. Point #4.

又,自位於車輛之背面35之交點(即,交點51、55、56、57)之中選擇規格測量用特徵點#5。此處,可將交點51、55、56、57全部決定為規格測量用特徵點#5,又,亦可將自交點51、55、56、57之中 適當選擇之一個或複數個交點決定為規格測量用特徵點#5。 Further, the feature measurement feature point #5 is selected from the intersections of the back faces 35 of the vehicle (that is, the intersection points 51, 55, 56, 57). Here, all of the intersection points 51, 55, 56, and 57 can be determined as the feature measurement feature point #5, and the self-intersection points 51, 55, 56, and 57 can also be included. One or more of the appropriate selection points is determined as the feature point #5 for specification measurement.

進而,如圖8C所圖示,自位於車輛之頂面36之交點(即,交點52、56、57)之中選擇規格測量用特徵點#6。此處,可將交點52、56、57全部決定為規格測量用特徵點#6,又,亦可將自交點52、56、57之中適當選擇之一個或複數個交點決定為規格測量用特徵點#6。 Further, as illustrated in FIG. 8C, the feature measurement feature point #6 is selected from among the intersections (ie, intersections 52, 56, 57) located at the top surface 36 of the vehicle. Here, all of the intersection points 52, 56, and 57 can be determined as the feature measurement feature point #6, and one or more of the intersection points 52, 56, and 57 can be appropriately determined as the specification measurement feature. Point #6.

方法(2): Method (2):

檢測規格測量用特徵點之方法(2)係與方法(1)同樣地求出切線、交點之後,沿著由所求出之切線及交點決定之搜索路徑搜索特徵點,藉此,對各面搜索更容易跟蹤之特徵點。將藉由該搜索而求出之特徵點決定為規格測量用特徵點。圖9A~圖9C係表示於方法(2)中決定各規格測量用特徵點之方法之圖。 The method (2) for detecting the feature points for measurement measurement is obtained by searching for feature points along the search path determined by the obtained tangent and intersection points, and then searching for feature points in the same manner as the method (1). Search for feature points that are easier to track. The feature points obtained by the search are determined as feature points for specification measurement. 9A to 9C are views showing a method of determining feature points for measurement of each specification in the method (2).

參照圖9A,於位於側面31之規格測量用特徵點#1之決定中,將包含以上述方式求出之切線中之位於側面31之部分的路徑決定為搜索路徑,對該搜索路徑之周邊進行特徵點之搜索。此時,交點係用於當決定該搜索路徑時,獲得切線中之位於側面31之部分。更具體而言,對包含切線65中之連結交點54與交點53之部分、切線62中之連結交點53與交點51之部分、及切線67中之連結交點51與交點57之部分的搜索路徑之周邊進行特徵點之搜索。將藉由該搜索而獲得之特徵點決定為規格測量用特徵點#1。所決定之規格測量用特徵點#1之個數可為1個亦可為複數個。 Referring to Fig. 9A, in the determination of the feature measurement feature point #1 located on the side surface 31, the path including the portion located on the side surface 31 among the tangent lines obtained as described above is determined as the search path, and the periphery of the search path is performed. Search for feature points. At this time, the intersection point is used to obtain a portion of the tangent located on the side 31 when determining the search path. More specifically, the search path including the portion connecting the intersection 54 and the intersection 53 in the tangent 65, the portion of the intersection 53 and the intersection 51 in the tangent 62, and the portion of the tangent 67 connecting the intersection 51 and the intersection 57 Search for feature points around. The feature point obtained by the search is determined as the feature measurement feature point #1. The number of feature points #1 for specification measurement may be one or plural.

於位於側面32之規格測量用特徵點#2之決定中,將包含所求出之切線中之位於側面32之部分之路徑決定為搜索路徑,對該搜索路徑之周邊進行特徵點之搜索。更具體而言,對包含切線66中之連結交點55與交點56之部分、及切線62中之連結交點56與交點52之部分的搜索路徑之周邊進行特徵點之搜索。將藉由該搜索而獲得之特徵點決定為 規格測量用特徵點#2。所決定之規格測量用特徵點#2之個數可為1個,亦可為複數個。 In the determination of the feature measurement point #2 located on the side surface 32, a path including a portion of the obtained tangent located on the side surface 32 is determined as a search path, and a feature point is searched for the periphery of the search path. More specifically, the feature points are searched for the periphery of the search path including the portion of the tangent 66 and the intersection 56 and the portion of the tangent 62 and the intersection 52. The feature points obtained by the search are determined as Feature point #2 for specification measurement. The number of feature points #2 for specification measurement may be one or plural.

進而,於位於底面33之規格測量用特徵點#3之決定中,將包含所求出之切線中之位於底面33之部分的路徑決定為搜索路徑,並對該搜索路徑之周邊進行特徵點之搜索。更具體而言,對包含切線61中之連結交點53與交點51之部分、及切線63中之連結交點51與交點55之部分的搜索路徑之周邊進行特徵點之搜索。將藉由該搜索而獲得之特徵點決定為規格測量用特徵點#2。所決定之規格測量用特徵點#2之個數可為1個,亦可為複數個。 Further, in the determination of the feature measurement point #3 located on the bottom surface 33, a path including a portion of the obtained tangent located on the bottom surface 33 is determined as a search path, and feature points are formed around the search path. search for. More specifically, the feature points are searched for the periphery of the search path including the portion of the tangent 61 and the intersection 51 and the portion of the tangent 63 connecting the intersection 51 and the intersection 55. The feature point obtained by the search is determined as the feature measurement feature point #2. The number of feature points #2 for specification measurement may be one or plural.

進而,參照圖9B,於位於正面34之規格測量用特徵點#4之決定中,將包含以上述方式求出之切線中之位於正面34之部分的路徑決定為搜索路徑,對該搜索路徑之周邊進行特徵點之搜索。更具體而言,對包含切線65中之連結交點53與交點54之部分、及切線64中之連結交點54與交點52之部分之搜索路徑之周邊進行特徵點之搜索。將藉由該搜索而獲得之特徵點決定為規格測量用特徵點#4。所決定之規格測量用特徵點#4之個數可為l個亦可為複數個。 Further, referring to FIG. 9B, in the determination of the feature measurement feature point #4 located on the front surface 34, the path including the portion located on the front surface 34 among the tangent lines obtained as described above is determined as the search path, and the search path is determined. Search for feature points around. More specifically, the feature points are searched for the periphery of the search path including the portion of the tangent 65 connecting the intersection point 53 and the intersection 54 and the portion of the tangent 64 connecting the intersection 54 and the intersection 52. The feature point obtained by the search is determined as the feature measurement feature point #4. The number of feature points #4 for specification measurement may be one or plural.

又,於位於背面35之規格測量用特徵點#5之決定中,將包含所求出之切線中之位於背面35之部分之路徑決定為搜索路徑,對該搜索路徑之周邊進行特徵點之搜索。更具體而言,對包含切線66中之連結交點55與交點56之部分、切線68中之連結交點56與交點57之部分、切線67中之連結交點57與交點51之部分、及切線63中之連結交點51與交點55之部分的搜索路徑之周邊進行特徵點之搜索。將藉由該搜索而獲得之特徵點決定為規格測量用特徵點#5。所決定之規格測量用特徵點#5之個數可為1個,亦可為複數個。 Further, in the determination of the feature measurement point #5 located on the back surface 35, a path including a portion of the obtained tangent located on the back surface 35 is determined as a search path, and feature points are searched for the periphery of the search path. . More specifically, the portion including the intersection 55 and the intersection 56 in the tangent 66, the portion of the intersection 56 and the intersection 57 in the tangent 68, the portion of the intersection 57 and the intersection 51 in the tangent 67, and the tangent 63 are included. The feature points are searched for around the search path of the portion of the intersection 51 and the intersection 55. The feature point obtained by the search is determined as the feature measurement feature point #5. The number of feature points #5 for specification measurement may be one or plural.

進而,參照圖9C,於位於頂面36之規格測量用特徵點#6之決定中,將包含所求出之切線中之位於頂面36之部分的路徑決定為搜索路 徑,對該搜索路徑之周邊進行特徵點之搜索。更具體而言,對包含切線68中之連結交點57與交點56之部分、及切線62中之連結交點56與交點52之部分的搜索路徑之周邊進行特徵點之搜索。將藉由該搜索而獲得之特徵點決定為規格測量用特徵點#6。所決定之規格測量用特徵點#6之個數可為1個亦可為複數個。 Further, referring to FIG. 9C, in the determination of the feature measurement feature point #6 located on the top surface 36, the path including the portion of the obtained tangent located on the top surface 36 is determined as the search path. The path searches for feature points around the search path. More specifically, the feature points are searched for the periphery of the search path including the portion of the tangent 68 and the intersection 56 and the portion of the tangent 62 and the intersection 52. The feature point obtained by the search is determined as the feature measurement feature point #6. The number of feature points #6 for specification measurement may be one or plural.

方法(3): Method (3):

檢測規格測量用特徵點之方法(3)係對車輛之各面直接地(即,不參照藉由上述方法(1)而求出之切線、交點)進行特徵點之搜索。將藉由該搜索而求出之特徵點決定為規格測量用特徵點。圖10~圖11係表示於方法(3)中決定規格測量用特徵點之方法的圖。 The method (3) for detecting the feature points for measurement measurement performs a feature point search for each surface of the vehicle directly (that is, without referring to the tangent and the intersection obtained by the above method (1)). The feature points obtained by the search are determined as feature points for specification measurement. 10 to 11 are views showing a method of determining feature points for specification measurement in the method (3).

於採用檢測規格測量用特徵點之方法(3)之情形時,準備假定存在於車輛之各面之零件之模板之資料庫,進行使用該模板之模板匹配。圖10係概念性表示所準備之模板之資料庫之內容例的圖。所準備之模板之資料庫包含下述6個資料庫: In the case of the method (3) of detecting the feature points for measuring the specification, a library of templates constituting the parts existing on each side of the vehicle is prepared, and template matching using the template is performed. Fig. 10 is a view conceptually showing an example of contents of a database of prepared templates. The database of prepared templates contains the following six databases:

‧包含位於相機側之側面31之零件之模板之模板資料庫71 ‧ Template database 71 containing templates for the parts on the side 31 of the camera side

‧包含位於與相機為相反側之側面32之零件之模板之模板資料庫72 ‧ Template library 72 containing templates for parts located on the side 32 opposite the camera

‧包含位於底面33之零件之模板之模板資料庫73 ‧ Template database 73 containing templates for the parts on the bottom surface 33

‧包含位於正面34之零件之模板之模板資料庫74 ‧ Template database 74 containing templates for the parts on the front side 34

‧包含位於背面35之零件之模板之模板資料庫75 ‧Template database 75 containing templates for the parts on the back 35

‧包含位於頂面36之零件之模板之模板資料庫76 ‧ Template database 76 containing templates for parts on top surface 36

於模板資料庫71~76之各者中,對各零件之模板附加表示該模板中之特徵點之位置之特徵點位置資料。 In each of the template databases 71 to 76, feature point position data indicating the position of the feature points in the template is attached to the template of each part.

例如,對於模板資料庫71,登錄由假定位於側面31之零件(例如輪胎、車窗、後視鏡、車燈)之圖像建立之模板,進而,對各模板指定特徵點之位置。圖10之黑點表示對各模板指定之特徵點。為了對應 複數種車種,而於模板資料庫71中,對各零件準備複數個模板。對於其他模板資料庫72~76亦同樣地登錄由假定位於各面之零件之圖像建立之模板,並對各模板指定特徵點。模板資料庫71~76係記憶於適當之記憶機構、例如圖2所圖示之外部記憶裝置5。 For example, for the template database 71, a template created by an image of a part (such as a tire, a window, a rear view mirror, and a vehicle lamp) assumed to be located on the side surface 31 is registered, and the position of the feature point is designated for each template. The black dots in Fig. 10 indicate the feature points assigned to the respective templates. In order to correspond A plurality of types of vehicles are provided, and in the template database 71, a plurality of templates are prepared for each part. Similarly to the other template databases 72 to 76, templates created by images assumed to be located on the respective faces are registered, and feature points are assigned to the respective templates. The template databases 71-76 are stored in an appropriate memory mechanism, such as the external memory device 5 illustrated in FIG.

圖11係概念性說明模板匹配對規格測量用特徵點之檢測的圖。再者,圖11係圖示使用登錄於模板資料庫75之模板的位於背面35之規格測量用特徵點#5之檢測。位於背面35之規格測量用特徵點#5係對於處理對象之框架圖像之整體進行與模板資料庫75中所含之模板(即,位於背面35之零件之模板)之匹配處理。就各框架圖像之各位置而言,對各模板求出相似度,且對各零件算出最匹配之模板、及該模板之位置(匹配位置)。進而,根據最匹配之模板之位置、及對於該模板由特徵點位置資料所指定之特徵點之位置,決定規格測量用特徵點之位置。藉由此種順序來檢測規格測量用特徵點。 Figure 11 is a diagram conceptually illustrating the detection of template matching feature points for specification measurement. In addition, FIG. 11 illustrates the detection of the feature measurement feature point #5 located on the back surface 35 using the template registered in the template database 75. The feature measurement feature point #5 located on the back surface 35 performs matching processing with the template included in the template database 75 (i.e., the template of the part located on the back surface 35) for the entire frame image of the processing target. For each position of each frame image, the similarity is obtained for each template, and the template that best matches the position of the template and the position (matching position) of the template are calculated for each part. Further, the position of the feature point for specification measurement is determined based on the position of the template to be matched most and the position of the feature point specified by the feature point position data for the template. The feature points for specification measurement are detected by this sequence.

以上,對位於背面35之規格測量用特徵點#5之檢測進行了說明,但對於其他面(側面31、32、底面33、正面34、頂面36)亦以同樣之方式進行模板匹配對規格測量用特徵點之檢測。 Although the detection of the feature point #5 for the specification measurement on the back surface 35 has been described above, the template matching is performed in the same manner for the other surfaces (the side surface 31, 32, the bottom surface 33, the front surface 34, and the top surface 36). Detection of feature points for measurement.

上述方法(1)~(3)之規格測量用特徵點之檢測亦可對各框架圖像進行。於此情形時,規格測量用特徵點之跟蹤亦藉由於框架圖像之間將規格測量用特徵點建立對應之方法而進行。 The detection of the feature points for the specification measurement of the above methods (1) to (3) can also be performed for each frame image. In this case, the tracking of the feature points for the specification measurement is also performed by the method of associating the feature points for the specification measurement between the frame images.

上述方法(1)~(3)之規格測量用特徵點之檢測亦可對最初出現移動區域之框架圖像(初期框架圖像)進行。於此情形時,對於後續之框架圖像,進行對經檢測之規格測量用特徵點使用適當之演算法之動體跟蹤。步驟S07中之規格測量用特徵點之檢測及跟蹤係以以上方式進行。 The detection of the feature points for the specification measurement of the above methods (1) to (3) can also be performed on the frame image (initial frame image) in which the moving region first appears. In this case, for the subsequent frame image, the dynamic tracking using the appropriate algorithm for the detected feature points for the specification measurement is performed. The detection and tracking of the feature points for the specification measurement in step S07 are performed in the above manner.

若再次參照圖3A,進行步驟S07中之規格測量用特徵點之檢測及跟蹤,則將規格測量用特徵點之檢測及跟蹤之履歷資料、即表示各時 刻中之框架圖像中之規格測量用特徵點之位置之資料記錄於規格測量用特徵點清單24。規格測量用特徵點清單24係記錄於適當之記憶機構(例如圖2之外部記憶裝置5)。規格測量用特徵點清單24係每當圖像中出現移動區域時針對各移動區域產生。 Referring again to FIG. 3A, the detection and tracking of the feature points for the specification measurement in step S07 are performed, and the history data of the feature points for the measurement of the specification and the tracking are displayed. The data of the position of the feature measurement feature points in the frame image inscribed is recorded in the specification measurement feature point list 24. The specification measurement feature point list 24 is recorded in an appropriate memory mechanism (for example, the external memory device 5 of FIG. 2). The specification measurement feature point list 24 is generated for each movement area whenever a moving area appears in the image.

3.基於規格測量用特徵點之車輛之規格之算出 3. Calculation of the specifications of the vehicle based on the feature points for measurement

於進行規格測量用特徵點之檢測及跟蹤處理之後,使用該規格測量用特徵點算出車輛之規格。更具體而言,如圖3B所示,首先,檢測各車輛整體進入各框架圖像中所規定之特定之處理區域之時間點(步驟S08),進而,檢測該車輛整體自該處理區域退出之時間點(步驟S09)。圖12係對車輛對於處理區域之進入及退出之檢測概念性進行表示之圖。規定各框架圖像之特定之區域(例如於框架圖像之下部規定之區域)作為處理區域44,且檢測與各車輛對應之移動區域整體進入至處理區域44之時間點、及自處理區域44退出之時間點。 After the detection and tracking processing of the feature points for the specification measurement, the specification of the vehicle is calculated using the feature points for the measurement. More specifically, as shown in FIG. 3B, first, a time point at which each vehicle as a whole enters a specific processing area specified in each frame image is detected (step S08), and further, the vehicle is detected to be withdrawn from the processing area. Time point (step S09). Figure 12 is a conceptual representation of the detection of vehicle entry and exit of a processing area. A specific region of each frame image (for example, a region defined by a lower portion of the frame image) is defined as the processing region 44, and a time point at which the entire moving region corresponding to each vehicle enters the processing region 44 is detected, and the self-processing region 44 is specified. The point in time for the exit.

進而,使用記錄於規格測量用特徵點清單24中之各移動區域(即,各車輛)之規格測量用特徵點之履歷資料中之與各車輛整體進入至處理區域44之時間點及自處理區域44退出之時間點之間之時間相關的履歷資料,算出表示車輛之規格之車輛規格資料22(步驟S13)。車輛規格資料22之算出係藉由對各車輛整體進入至處理區域44之時間點與自處理區域44退出之時間點之間之時間之各時刻中之框架圖像中之規格測量用特徵點之位置之資料進行移動立體視覺處理而進行。藉由移動立體視覺處理而計算各時刻中之規格測量用特徵點之三維座標(嚴格而言,與車輛一同移動之三維座標中之三維座標),並根據該三維座標獲得車輛之規格。 Further, in the history data of the feature measurement feature points of each of the moving regions (that is, each vehicle) recorded in the specification measurement feature point list 24, the time point and the self-processing area in which the entire vehicle enters the processing region 44 as a whole The time history-related history data between the time points of the exits is 44, and the vehicle specification data 22 indicating the specifications of the vehicle is calculated (step S13). The vehicle specification data 22 is calculated by the specification measurement feature point in the frame image at each time between the time point when each vehicle enters the processing area 44 and the time point when the vehicle is exited from the processing area 44. The location data is processed by moving stereoscopic processing. The three-dimensional coordinates of the feature points for specification measurement at each time (strictly speaking, the three-dimensional coordinates in the three-dimensional coordinates moving together with the vehicle) are calculated by moving the stereoscopic vision processing, and the specifications of the vehicle are obtained based on the three-dimensional coordinates.

圖13A、圖13B係說明本實施形態中之用以求出各規格測量用特徵點之三維座標之移動立體視覺處理之概念圖。參照圖13A,於本實施形態之移動立體視覺處理中,根據位於車輛之底面33之規格測量用 特徵點#3之框架圖像中之移動量,算出實際空間內之車輛之移動量dC。位於實際空間路面上之點之框架圖像中之移動量與該點之實際空間中之移動量之對應關係可基於相機1之空間性配置而事先獲得。可利用該事實,根據位於車輛之底面33之規格測量用特徵點#3(其係於實際空間中可近似於位於路面上之點)之框架圖像中之移動量,算出規格測量用特徵點#3之實際空間中之移動量dCFigs. 13A and 13B are conceptual views for explaining the moving stereoscopic vision processing for obtaining the three-dimensional coordinates of the feature points for measurement of each specification in the present embodiment. Referring to Fig. 13A, in the moving stereoscopic vision processing of the present embodiment, the amount of movement d C of the vehicle in the actual space is calculated based on the amount of movement in the frame image of the feature measuring feature point #3 located on the bottom surface 33 of the vehicle. The correspondence between the amount of movement in the frame image of the point on the actual space road surface and the amount of movement in the actual space of the point can be obtained in advance based on the spatial configuration of the camera 1. By using this fact, the feature point for specification measurement can be calculated from the amount of movement in the frame image of the feature measurement point #3 (which is approximated to the point on the road surface in the actual space) of the bottom surface 33 of the vehicle. The amount of movement d C in the actual space of #3.

如圖13B所圖示,移動立體視覺處理係基於規格測量用特徵點#1、~#6以算出之移動量dC移動之前提而進行。即,規格測量用特徵點#1~#6之三維座標係藉由以規格測量用特徵點#1~#6以移動量dC移動所進行之移動立體視覺處理而算出。 As shown in FIG. 13B, the moving stereoscopic vision processing is performed based on the specification measurement feature points #1, ~#6 before the calculated movement amount d C is moved. In other words, the three-dimensional coordinates of the feature measurement feature points #1 to #6 are calculated by the moving stereoscopic processing performed by the specification measurement feature points #1 to #6 by the movement amount d C movement.

若算出各規格測量用特徵點之三維座標,則使用該三維座標,算出車輛之規格即車輛之寬度、長度、高度。車輛之寬度係如圖1A所示根據位於側面31、32之規格測量用特徵點#1、#2之三維座標算出。又,如圖1B所示,車輛之長度係根據位於正面34及背面35之規格測量用特徵點#4、#5之三維座標算出。進而,如圖1C所示,車輛之高度係根據位於底面33及頂面36之規格測量用特徵點#3、#6之三維座標算出。 When the three-dimensional coordinates of the feature points for measurement of each specification are calculated, the three-dimensional coordinates are used to calculate the width, length, and height of the vehicle, which is the specification of the vehicle. The width of the vehicle is calculated based on the three-dimensional coordinates of the feature measuring points #1 and #2 located on the side faces 31 and 32 as shown in FIG. 1A. Further, as shown in FIG. 1B, the length of the vehicle is calculated based on the three-dimensional coordinates of the feature measuring points #4 and #5 located on the front surface 34 and the back surface 35. Further, as shown in FIG. 1C, the height of the vehicle is calculated based on the three-dimensional coordinates of the feature measuring points #3 and #6 located on the bottom surface 33 and the top surface 36.

進而,如圖3B所示,產生表示所算出之車輛之規格之車輛規格資料22。車輛規格資料22係記憶於外部記憶裝置5。其後,使用適當之輸出裝置(例如顯示裝置)輸出所算出之車輛之規格(步驟S11),且將與規格被算出之車輛對應之規格測量用特徵點清單24刪除(步驟S12)。以上,用以算出車輛之規格之處理結束。 Further, as shown in FIG. 3B, vehicle specification data 22 indicating the specifications of the calculated vehicle is generated. The vehicle specification data 22 is stored in the external memory device 5. Thereafter, the calculated specification of the vehicle is outputted using an appropriate output device (for example, a display device) (step S11), and the specification measurement feature point list 24 corresponding to the vehicle whose specification is calculated is deleted (step S12). As described above, the process for calculating the specifications of the vehicle is completed.

如以上所說明,於本實施形態中,對車輛之各面提取規格測量用特徵點,並對該規格測量用特徵點進行移動立體視覺處理,藉此,算出各規格測量用特徵點之三維座標。根據所算出之各規格測量用特徵點之三維座標,算出車輛之規格(寬度、長度、高度)。此處,本實 施形態中之車輛規格之測量處理係對於在車輛之各面提取之規格測量用特徵點之位置具有一定自由度,藉此,可藉由強韌之圖像處理來檢測規格測量用特徵點。如此般,根據本實施形態中之車輛規格之測量處理,可藉由強韌之圖像處理而算出車輛之規格(例如寬度、長度、高度)。 As described above, in the present embodiment, feature points for measurement measurement are extracted for each surface of the vehicle, and the feature point for measurement measurement is subjected to moving stereoscopic processing, thereby calculating the three-dimensional coordinates of the feature points for measurement of each specification. . The specifications (width, length, and height) of the vehicle are calculated based on the calculated three-dimensional coordinates of the feature points for each measurement. Here, this is The measurement processing of the vehicle specification in the embodiment has a certain degree of freedom for the position of the feature measurement feature points extracted on each side of the vehicle, whereby the feature points for specification measurement can be detected by the image processing of the toughness. As described above, according to the measurement processing of the vehicle standard in the present embodiment, the specifications (for example, the width, the length, and the height) of the vehicle can be calculated by the tough image processing.

以上,具體地記述了本發明之實施形態,但本發明並不限定於上述實施形態。業者應自知本發明可與各種變更一同實施。例如,上文記述有車輛之寬度、長度、高度全部被算出之實施形態,但亦可不將車輛之寬度、長度、高度之全部算出。本發明可應用於算出車輛之寬度、長度、高度中之至少一個之情形。於此情形時,可僅檢測規格測量用特徵點#1~#6中之必需者。 Although the embodiments of the present invention have been specifically described above, the present invention is not limited to the above embodiments. The Applicant is aware that the invention can be implemented with various modifications. For example, although the embodiment in which the width, the length, and the height of the vehicle are all calculated is described above, the entire width, length, and height of the vehicle may not be calculated. The present invention is applicable to the case of calculating at least one of the width, the length, and the height of the vehicle. In this case, only the necessary ones of the specification measurement feature points #1 to #6 can be detected.

1‧‧‧相機 1‧‧‧ camera

2‧‧‧圖像處理裝置 2‧‧‧Image processing device

3‧‧‧圖像處理IC 3‧‧‧Image Processing IC

4‧‧‧外部介面 4‧‧‧ External interface

5‧‧‧外部記憶裝置 5‧‧‧External memory device

6‧‧‧記憶體 6‧‧‧ memory

7‧‧‧ROM 7‧‧‧ROM

7a‧‧‧車輛規格測量處理程式 7a‧‧‧Vehicle specification measurement processing program

10‧‧‧車輛規格測量處理裝置 10‧‧‧Vehicle specification measuring and processing device

11‧‧‧運算模組 11‧‧‧ Computing Module

12‧‧‧圖像輸入介面 12‧‧‧Image input interface

13‧‧‧資料輸入輸出介面 13‧‧‧Data input and output interface

14‧‧‧記憶體控制器 14‧‧‧ memory controller

15‧‧‧ROM控制器 15‧‧‧ROM controller

16‧‧‧內部匯流排 16‧‧‧Internal busbar

21‧‧‧圖像資料 21‧‧‧Image data

22‧‧‧車輛規格資料 22‧‧‧Vehicle specifications

Claims (20)

一種車輛規格測量裝置,其包括:拍攝裝置,其逐次拍攝車輛而取得上述車輛之框架圖像;及圖像處理裝置,其基於上述框架圖像,算出上述車輛之寬度;上述圖像處理裝置包括:特徵點檢測機構,其對於上述框架圖像中之至少一個,檢測位於近似上述車輛之形狀之長方體之第1面之特徵點即第1規格測量用特徵點、位於上述長方體之第2面之特徵點即第2規格測量用特徵點、及位於上述長方體之第3面之特徵點即第3規格測量用特徵點;及車輛規格算出機構,其基於上述第1規格測量用特徵點、上述第2規格測量用特徵點及上述第3規格測量用特徵點,算出上述車輛之寬度;上述第1面係與上述車輛之第1側面對應之上述長方體之面,上述第2面係與上述車輛之第2側面對應之上述長方體之面,上述第3面係與上述車輛之底面對應之上述長方體之面,上述車輛規格算出機構係根據上述第3規格測量用特徵點之移動量,算出上述車輛之移動量,且使用上述車輛之移動量,對上述第1規格測量用特徵點及上述第2規格測量用特徵點進行移動立體視覺處理,藉此算出上述第1規格測量用特徵點及上述第2規格測量用特徵點之三維座標,並根據算出之上述第1規格測量用特徵點及上述第2規格測量用特徵點之三維座標,算出上述車輛之寬度;由上述特徵點檢測機構所檢測之上述第1規格測量用特徵點之 位置係於上述第1面之面內具有自由度,由上述特徵點檢測機構所檢測之上述第2規格測量用特徵點之位置係於上述第2面之面內具有自由度,由上述特徵點檢測機構所檢測之上述第3規格測量用特徵點之位置係於上述第3面之面內具有自由度。 A vehicle specification measuring device comprising: an imaging device that sequentially captures a vehicle to obtain a frame image of the vehicle; and an image processing device that calculates a width of the vehicle based on the frame image; the image processing device includes The feature point detecting means detects a feature point of the first specification measurement which is a feature point of the first surface of the rectangular parallelepiped which approximates the shape of the vehicle, and is located at the second surface of the rectangular parallelepiped in at least one of the frame images. The feature point of the second specification measurement, and the feature point of the third specification measurement which is the feature point of the third surface of the rectangular parallelepiped; and the vehicle specification calculation means based on the first specification measurement feature point and the above (2) the width of the vehicle is calculated by the feature point for measurement of the specification and the feature point for measurement of the third specification; the first surface is a surface of the rectangular parallelepiped corresponding to the first side surface of the vehicle, and the second surface is the vehicle of the vehicle a surface of the rectangular parallelepiped corresponding to the second side surface, wherein the third surface is a surface of the rectangular parallelepiped corresponding to a bottom surface of the vehicle, and the vehicle specification The exiting mechanism calculates the amount of movement of the vehicle based on the amount of movement of the feature point for the measurement of the third specification, and performs the feature point for the first specification measurement and the feature point for the second specification measurement using the amount of movement of the vehicle. By moving the stereoscopic vision processing, the three-dimensional coordinates of the feature point for the first specification measurement and the feature point for the second specification measurement are calculated, and the first feature measurement feature point and the second specification measurement feature point are calculated based on the calculated Calculating the width of the vehicle based on the three-dimensional coordinates; and the feature points for measuring the first specification detected by the feature point detecting means The position has a degree of freedom in the surface of the first surface, and the position of the second specification measurement feature point detected by the feature point detecting means has a degree of freedom in the surface of the second surface, and the feature point is The position of the third-species measurement feature point detected by the detecting means has a degree of freedom in the surface of the third surface. 如請求項1之車輛規格測量裝置,其中上述特徵點檢測機構係構成為自上述框架圖像提取與上述車輛對應之移動區域,且對於上述移動區域,提取與於實際空間中與上述車輛相切之線對應之上述框架圖像內之線即切線,而將所提取之上述切線之交點中位於上述第1面之交點決定作為上述第1規格測量用特徵點。 The vehicle specification measuring device according to claim 1, wherein the feature point detecting mechanism is configured to extract a moving region corresponding to the vehicle from the frame image, and extract the tangent to the vehicle in the actual space. The line corresponding to the line in the frame image is a tangent line, and the intersection of the extracted intersections of the tangent lines at the first surface is determined as the feature point for the first specification measurement. 如請求項2之車輛規格測量裝置,其中上述特徵點檢測機構係構成為將上述提取之上述切線之交點中位於上述第2面之交點決定作為上述第2規格測量用特徵點。 The vehicle specification measuring device according to claim 2, wherein the feature point detecting means is configured to determine, as the second specification measuring feature point, an intersection point of the intersection of the extracted tangent lines at the second surface. 如請求項2或3之車輛規格測量裝置,其中上述特徵點檢測機構係構成為將所提取之上述切線之交點中位於上述第3面之交點決定作為上述第3規格測量用特徵點。 The vehicle specification measuring device according to claim 2 or 3, wherein the feature point detecting means is configured to determine, as the third specification measuring feature point, an intersection point of the intersection of the extracted tangent lines at the third surface. 如請求項1之車輛規格測量裝置,其中上述特徵點檢測機構係構成為自上述框架圖像提取與上述車輛對應之移動區域,且對於上述移動區域,提取與在實際空間中與上述車輛相切之線對應之上述框架圖像內之線即切線,沿著含所提取之上述切線中位於上述第1面之部分而構成之第1搜索路徑搜索特徵點,藉此決定上述第1規格測量用特徵點。 The vehicle specification measuring device according to claim 1, wherein the feature point detecting mechanism is configured to extract a moving area corresponding to the vehicle from the frame image, and extract the tangent to the vehicle in the actual space for the moving area The line corresponding to the line in the frame image, that is, the tangent line, searches for the feature point along the first search path including the portion of the extracted tangent that is located on the first surface, thereby determining the first measurement. Feature points. 如請求項5之車輛規格測量裝置,其中上述特徵點檢測機構係構成為沿著含所提取之上述切線中位於上述第2面之部分而構成之第2搜索路徑搜索特徵點,藉此決 定上述第2規格測量用特徵點。 The vehicle specification measuring device according to claim 5, wherein the feature point detecting means is configured to search for a feature point along a second search path including a portion of the extracted tangent that is located on the second surface, thereby The feature points for the measurement of the second specification described above are determined. 如請求項5或6之車輛規格測量裝置,其中上述特徵點檢測機構係構成為沿著含所提取之上述切線中位於上述第3面之部分而構成之第3搜索路徑搜索特徵點,藉此決定上述第3規格測量用特徵點。 The vehicle specification measuring device according to claim 5 or 6, wherein the feature point detecting means is configured to search for a feature point along a third search path including a portion of the extracted tangent that is located on the third surface, thereby The feature points for the measurement of the third specification described above are determined. 如請求項1之車輛規格測量裝置,其中上述特徵點檢測機構具有第1模板資料庫,該第1模板資料庫包含假定存在於上述車輛之第1側面之零件之第1模板、及表示上述第1模板中之特徵點之位置之第1特徵點位置資料,且上述特徵點檢測機構係構成為對於上述框架圖像,藉由與上述第1模板資料庫之上述模板之模板匹配而求出最匹配之上述第1模板之位置即第1匹配位置,且就於根據上述第1匹配位置及上述第1特徵點位置資料而決定之位置存在上述第1規格測量用特徵點,而檢測上述第1規格測量用特徵點。 The vehicle specification measuring device according to claim 1, wherein the feature point detecting means includes a first template database including a first template which is assumed to be present on a first side surface of the vehicle, and the first template a first feature point position data of a position of a feature point in the template, wherein the feature point detecting means is configured to obtain a maximum for the frame image by matching with a template of the template of the first template database The first matching position, which is the position of the first template, is matched, and the first characteristic measuring point is present at the position determined based on the first matching position and the first feature point position data, and the first feature is detected. Feature points for specification measurement. 如請求項1或8之車輛規格測量裝置,其中上述特徵點檢測機構具有第2模板資料庫,該第2模板資料庫包含假定存在於上述車輛之第2側面之零件之第2模板、及表示上述第2模板中之特徵點之位置之第2特徵點位置資料,且上述特徵點檢測機構係構成為對於上述框架圖像,藉由與上述第2模板資料庫之上述第2模板之模板匹配而求出最匹配之上述第2模板之位置即第2匹配位置,且就於根據上述第2匹配位置及上述第2特徵點位置資料而決定之位置存在上述第2規格測量用特徵點,而檢測上述第2規格測量用特徵點。 The vehicle specification measuring device according to claim 1 or 8, wherein the feature point detecting means includes a second template database including a second template of a part assumed to exist on a second side surface of the vehicle, and a representation The second feature point position data of the position of the feature point in the second template, wherein the feature point detecting mechanism is configured to match the template of the second template of the second template database with respect to the frame image The second matching position, which is the position of the second template that matches the most matching, is obtained, and the second characteristic measuring feature point exists in the position determined based on the second matching position and the second feature point position data. The feature points for measuring the second specification described above are detected. 如請求項8或9之車輛規格測量裝置,其中上述特徵點檢測機構具有第3模板資料庫,該第3模板資料庫包含假定存在於上述車輛之底面之零件之第3模板、及表示上述 第3模板中之特徵點之位置之第3特徵點位置資料,且上述特徵點檢測機構係構成為對於上述框架圖像,藉由與上述第3模板資料庫之上述第3模板之模板匹配而求出最匹配之上述第3模板之位置即第3匹配位置,且就於根據上述第3匹配位置及上述第3特徵點位置資料而決定之位置存在上述第3規格測量用特徵點,而檢測上述第3規格測量用特徵點。 The vehicle specification measuring device according to claim 8 or 9, wherein the feature point detecting means has a third template database including a third template of a part assumed to exist on a bottom surface of the vehicle, and indicating the above The third feature point position data of the position of the feature point in the third template, wherein the feature point detecting mechanism is configured to match the template of the third template of the third template database with the template of the third template database The third matching position, which is the position of the most matching third template, is obtained, and the third characteristic measuring feature point exists in the position determined based on the third matching position and the third feature point position data, and is detected. The feature points for the measurement of the third specification described above. 如請求項1之車輛規格測量裝置,其中上述特徵點檢測機構係對於上述框架圖像,檢測位於上述長方體之第4面之特徵點即第4規格測量用特徵點、及位於上述長方體之第5面之特徵點即第5規格測量用特徵點,上述第4面係與上述車輛之正面對應之上述長方體之面,上述第5面係與上述車輛之背面對應之上述長方體之面,上述車輛規格算出機構係使用上述車輛之移動量,對上述第4規格測量用特徵點及上述第5規格測量用特徵點進行移動立體視覺處理,藉此算出上述第4規格測量用特徵點及上述第5規格測量用特徵點之三維座標,並根據所算出之上述第4規格測量用特徵點及上述第5規格測量用特徵點之三維座標,算出上述車輛之長度;由上述特徵點檢測機構所檢測之上述第4規格測量用特徵點之位置係於上述第4面之面內具有自由度,由上述特徵點檢測機構所檢測之上述第5規格測量用特徵點之位置係於上述第5面之面內具有自由度。 The vehicle specification measuring device according to claim 1, wherein the feature point detecting means detects, for the frame image, a feature point for measuring the fourth dimension located on the fourth surface of the rectangular parallelepiped, and a fifth feature measuring point located in the rectangular parallelepiped The feature point of the surface is the characteristic point for measuring the fifth gauge, the fourth surface is a surface of the rectangular parallelepiped corresponding to the front surface of the vehicle, and the fifth surface is a surface of the rectangular parallelepiped corresponding to the back surface of the vehicle, and the vehicle specification The calculation means performs the moving stereoscopic processing on the fourth specification measurement feature point and the fifth specification measurement feature point by using the movement amount of the vehicle, and calculates the fourth specification measurement feature point and the fifth specification. Calculating the three-dimensional coordinates of the feature points for measurement, and calculating the length of the vehicle based on the calculated fourth-dimensional measurement feature points and the three-dimensional coordinates of the fifth-species measurement feature points; and the above-described detection by the feature point detecting means The position of the feature point for the fourth specification measurement has a degree of freedom in the plane of the fourth surface, and is detected by the feature point detecting mechanism 5 position of the first system specification of measuring points wherein a degree of freedom in the plane of the first surface 5. 如請求項1或11之車輛規格測量裝置,其中上述特徵點檢測機構係針對上述框架圖像,檢測位於上述長方體之第6面之特徵點即第6規格測量用特徵點,上述第6面係與上述車輛之頂面對應之上述長方體之面, 上述車輛規格算出機構使用上述車輛之移動量,對上述第3規格測量用特徵點及上述第6規格測量用特徵點進行移動立體視覺處理,藉此算出上述第3規格測量用特徵點及上述第6規格測量用特徵點之三維座標,並根據所算出之上述第3規格測量用特徵點及上述第6規格測量用特徵點之三維座標,算出上述車輛之高度;由上述特徵點檢測機構所檢測之上述第6規格測量用特徵點之位置係於上述第6面之面內具有自由度。 The vehicle specification measuring device according to claim 1 or 11, wherein the feature point detecting means detects a feature point of the sixth specification that is a feature point located on the sixth surface of the rectangular parallelepiped for the frame image, and the sixth surface system The face of the rectangular parallelepiped corresponding to the top surface of the vehicle, The vehicle specification calculation means performs a moving stereoscopic process on the third specification measurement feature point and the sixth specification measurement feature point using the movement amount of the vehicle, thereby calculating the third specification measurement feature point and the 6 three-dimensional coordinates of feature points for measurement, and calculating the height of the vehicle based on the calculated third-dimensional measurement feature points and the three-dimensional coordinates of the sixth-species measurement feature points; detected by the feature point detecting mechanism The position of the feature point for measuring the sixth specification is a degree of freedom in the surface of the sixth surface. 一種車輛規格測量裝置,其包括:拍攝裝置,其逐次拍攝車輛而取得上述車輛之框架圖像;及圖像處理裝置,其基於上述框架圖像,算出上述車輛之長度;上述圖像處理裝置包括:特徵點檢測機構,其對於上述框架圖像中之至少一個,檢測位於近似上述車輛形狀之長方體之第3面之特徵點即第3規格測量用特徵點、位於上述長方體之第4面之特徵點即第4規格測量用特徵點、及位於上述長方體之第5面之特徵點即第5規格測量用特徵點;及車輛規格算出機構,其基於上述第3規格測量用特徵點、上述第4規格測量用特徵點及上述第5規格測量用特徵點,算出上述車輛之長度;上述第3面係與上述車輛之底面對應之上述長方體之面,上述第4面係與上述車輛之正面對應之上述長方體之面,上述第5面係與上述車輛之背面對應之上述長方體之面,上述車輛規格算出機構係根據上述第3規格測量用特徵點之移動量算出上述車輛之移動量,並使用上述車輛之移動量,對上 述第4規格測量用特徵點及上述第5規格測量用特徵點進行移動立體視覺處理,藉此算出上述第4規格測量用特徵點及上述第5規格測量用特徵點之三維座標,並根據所算出之上述第4規格測量用特徵點及上述第5規格測量用特徵點之三維座標,算出上述車輛之長度;由上述特徵點檢測機構所檢測之上述第3規格測量用特徵點之位置係於上述第3面之面內具有自由度,由上述特徵點檢測機構所檢測之上述第4規格測量用特徵點之位置係於上述第4面之面內具有自由度,由上述特徵點檢測機構所檢測之上述第5規格測量用特徵點之位置係於上述第5面之面內具有自由度。 A vehicle specification measuring device comprising: an imaging device that sequentially captures a vehicle to obtain a frame image of the vehicle; and an image processing device that calculates a length of the vehicle based on the frame image; the image processing device includes The characteristic point detecting means detects, for at least one of the frame images, a characteristic point of the third specification measurement which is a feature point of the third surface of the rectangular parallelepiped which is approximately the shape of the vehicle, and a feature of the fourth surface of the rectangular parallelepiped The feature point for measuring the fourth specification and the feature point for measuring the fifth specification which is the feature point of the fifth surface of the rectangular parallelepiped; and the vehicle specification calculation means based on the feature point for measuring the third specification and the fourth The characteristic measuring point and the fifth characteristic measuring feature point are used to calculate the length of the vehicle; the third surface is a surface of the rectangular parallelepiped corresponding to the bottom surface of the vehicle, and the fourth surface corresponds to the front surface of the vehicle. a surface of the rectangular parallelepiped, wherein the fifth surface is a surface of the rectangular parallelepiped corresponding to a back surface of the vehicle, and the vehicle specification calculation mechanism The displacement of the vehicle of the first 3 Specification Measurement calculating an amount of movement of the feature point according to, and the amount of movement of the vehicle, on the upper The fourth-standard measurement feature point and the fifth-element measurement feature point are subjected to a moving stereoscopic vision process, thereby calculating the three-dimensional coordinate of the fourth-species measurement feature point and the fifth-element measurement feature point, and Calculating the length of the vehicle by calculating the three-dimensional coordinates of the fourth characteristic measurement feature point and the fifth specification measurement feature point; and the position of the third specification measurement feature point detected by the feature point detection means is The surface of the third surface has a degree of freedom, and the position of the fourth-element measurement feature point detected by the feature point detecting means has a degree of freedom in the surface of the fourth surface, and the feature point detecting means The position of the characteristic point for measuring the fifth specification described above is determined to have a degree of freedom in the surface of the fifth surface. 一種車輛規格測量裝置,其包括:拍攝裝置,其逐次拍攝車輛,取得上述車輛之框架圖像;及圖像處理裝置,其基於上述框架圖像,算出上述車輛之高度;上述圖像處理裝置包括:特徵點檢測機構,其針對上述框架圖像中之至少一個,檢測位於近似上述車輛形狀之長方體之第3面之特徵點即第3規格測量用特徵點、及位於上述長方體之第6面之特徵點即第6規格測量用特徵點;及車輛規格算出機構,其基於上述第3規格測量用特徵點及上述第6規格測量用特徵點,算出上述車輛之高度;且上述第3面係與上述車輛之底面對應之上述長方體之面,上述第6面係與上述車輛之頂面對應之上述長方體之面,上述車輛規格算出機構係根據上述第3規格測量用特徵點之移動量算出上述車輛之移動量,使用上述車輛之移動量,對上述 第3規格測量用特徵點及上述第6規格測量用特徵點進行移動立體視覺處理,藉此算出上述第3規格測量用特徵點及上述第6規格測量用特徵點之三維座標,且根據所算出之上述第3規格測量用特徵點及上述第6規格測量用特徵點之三維座標,算出上述車輛之高度;由上述特徵點檢測機構所檢測之上述第3規格測量用特徵點之位置係於上述第3面之面內具有自由度,由上述特徵點檢測機構所檢測之上述第6規格測量用特徵點之位置係於上述第6面之面內具有自由度。 A vehicle specification measuring device comprising: an imaging device that sequentially captures a vehicle to obtain a frame image of the vehicle; and an image processing device that calculates a height of the vehicle based on the frame image; the image processing device includes The feature point detecting means detects, for at least one of the frame images, a feature point of the third specification measurement which is a feature point of the third surface of the rectangular parallelepiped which is approximately the shape of the vehicle, and a sixth surface of the rectangular parallelepiped The feature point is a feature point for measuring the sixth specification; and the vehicle specification calculation means calculates the height of the vehicle based on the third specification measurement feature point and the sixth specification measurement feature point; and the third surface is The surface of the rectangular parallelepiped corresponding to the bottom surface of the vehicle, wherein the sixth surface is the surface of the rectangular parallelepiped corresponding to the top surface of the vehicle, and the vehicle specification calculation means calculates the vehicle based on the movement amount of the characteristic measurement point of the third specification. The amount of movement, using the amount of movement of the above vehicle, for the above The third dimension measurement feature point and the sixth specification measurement feature point are subjected to a moving stereoscopic vision process, thereby calculating the three-dimensional coordinates of the third specification measurement feature point and the sixth specification measurement feature point, and calculating the three-dimensional coordinates based on the calculated Calculating the height of the vehicle by the feature point of the third specification measurement and the three-dimensional coordinates of the feature point for measuring the sixth specification, and the position of the third specification measurement feature point detected by the feature point detection means is The plane of the third surface has a degree of freedom, and the position of the characteristic point for measuring the sixth specification detected by the feature point detecting means has a degree of freedom in the plane of the sixth surface. 一種車輛規格測量方法,其包括以下步驟:逐次拍攝車輛而取得上述車輛之框架圖像;針對上述框架圖像,檢測位於近似上述車輛之形狀之長方體之第1面之特徵點即第1規格測量用特徵點、位於上述長方體之第2面之特徵點即第2規格測量用特徵點、及位於上述長方體之第3面之特徵點即第3規格測量用特徵點;及基於上述第1規格測量用特徵點、上述第2規格測量用特徵點及上述第3規格測量用特徵點,算出上述車輛之寬度;上述第1面係與上述車輛之第1側面對應之上述長方體之面,上述第2面係與上述車輛之第2側面對應之上述長方體之面,上述第3面係與上述車輛之底面對應之上述長方體之面,算出上述車輛之寬度之步驟包括以下步驟:根據上述第3規格測量用特徵點之移動量,算出上述車輛之移動量;使用上述車輛之移動量,對上述第1規格測量用特徵點及上述第2規格測量用特徵點進行移動立體視覺處理,藉此算出上述第1規格測量用特徵點及上述第2規格測量用特徵點之三維座標;及 根據所算出之上述第1規格測量用特徵點及上述第2規格測量用特徵點之三維座標,算出上述車輛之寬度;上述檢測步驟中所檢測之上述第1規格測量用特徵點之位置係於上述第1面之面內具有自由度,上述檢測步驟中所檢測之上述第2規格測量用特徵點之位置係於上述第2面之面內具有自由度,上述檢測步驟中所檢測之上述第3規格測量用特徵點之位置係於上述第3面之面內具有自由度。 A vehicle specification measuring method includes the steps of: acquiring a frame image of the vehicle by sequentially capturing a vehicle; and detecting, by the frame image, a feature point of a first surface of a rectangular parallelepiped that approximates a shape of the vehicle, that is, a first specification measurement a characteristic point, a feature point for measuring the second specification that is a feature point of the second surface of the rectangular parallelepiped, and a feature point for measuring the third specification that is a feature point of the third surface of the rectangular parallelepiped; and the measurement based on the first specification Calculating the width of the vehicle using the feature point, the second characteristic measurement feature point, and the third specification measurement feature point; the first surface is a surface of the rectangular parallelepiped corresponding to the first side surface of the vehicle, and the second surface The surface of the rectangular parallelepiped corresponding to the second side surface of the vehicle, the third surface of the rectangular parallelepiped surface corresponding to the bottom surface of the vehicle, and the step of calculating the width of the vehicle includes the following steps: measuring according to the third specification Calculating the amount of movement of the vehicle by using the amount of movement of the feature point; and using the amount of movement of the vehicle, the feature points for measuring the first specification and The second specification measurement feature point is subjected to a moving stereoscopic vision process to calculate a three-dimensional coordinate of the first specification measurement feature point and the second specification measurement feature point; Calculating the width of the vehicle based on the calculated first-order measurement feature point and the third-dimensional measurement feature point three-dimensional coordinates; and the position of the first-standard measurement feature point detected in the detection step is The surface of the first surface has a degree of freedom, and the position of the second specification measurement feature point detected in the detecting step has a degree of freedom in the surface of the second surface, and the first detected in the detecting step 3 The position of the feature point for measurement of the specification has a degree of freedom in the plane of the third surface. 一種車輛規格測量方法,其包括以下步驟:逐次拍攝車輛而取得上述車輛之框架圖像;針對上述框架圖像中之至少一個,檢測位於近似上述車輛之形狀之長方體之第3面之特徵點即第3規格測量用特徵點、位於上述長方體之第4面之特徵點即第4規格測量用特徵點、及位於上述長方體之第5面之特徵點即第5規格測量用特徵點;及基於上述第3規格測量用特徵點、上述第4規格測量用特徵點及上述第5規格測量用特徵點,算出上述車輛之長度;上述第3面係與上述車輛之底面對應之上述長方體之面,上述第4面係與上述車輛之正面對應之上述長方體之面,上述第5面係與上述車輛之背面對應之上述長方體之面,算出上述車輛之長度之步驟包括如下步驟:根據上述第3規格測量用特徵點之移動量,算出上述車輛之移動量;使用上述車輛之移動量,對上述第4規格測量用特徵點及上述第5規格測量用特徵點進行移動立體視覺處理,藉此算出上述第4規格測量用特徵點及上述第5規格測量用特徵點之三維座標;及根據所算出之上述第4規格測量用特徵點及上述第5規格測量 用特徵點之三維座標,算出上述車輛之長度;上述檢測步驟中所檢測之上述第3規格測量用特徵點之位置係於上述第3面之面內具有自由度,上述檢測步驟中所檢測之上述第4規格測量用特徵點之位置係於上述第4面之面內具有自由度,上述檢測步驟中所檢測之上述第5規格測量用特徵點之位置係於上述第5面之面內具有自由度。 A vehicle specification measuring method includes the steps of: acquiring a frame image of the vehicle by sequentially capturing a vehicle; and detecting, at least one of the frame images, a feature point of a third surface of a rectangular parallelepiped that approximates a shape of the vehicle The feature point for the third measurement, the feature point for the fourth specification measurement, which is the feature point of the fourth surface of the rectangular parallelepiped, and the feature point for the fifth specification measurement which is the feature point of the fifth surface of the rectangular parallelepiped; The third gauge measurement feature point, the fourth specification measurement feature point, and the fifth specification measurement feature point are used to calculate the length of the vehicle; the third surface is a surface of the rectangular parallelepiped corresponding to the bottom surface of the vehicle, The fourth surface is a surface of the rectangular parallelepiped corresponding to the front surface of the vehicle, and the step of calculating the length of the vehicle on the surface of the rectangular parallelepiped corresponding to the back surface of the vehicle on the fifth surface includes the following step: measuring according to the third specification Calculating the amount of movement of the vehicle by the amount of movement of the feature point; and measuring the fourth specification using the amount of movement of the vehicle Performing a moving stereoscopic process on the feature point of the fifth specification measurement, and calculating the three-dimensional coordinates of the fourth-spec measurement feature point and the fifth-spec measurement feature point; and the calculated fourth specification Measurement feature points and the above-mentioned fifth specification measurement Calculating the length of the vehicle by using the three-dimensional coordinates of the feature points; the position of the third-species measurement feature point detected in the detecting step has a degree of freedom in the surface of the third surface, and is detected in the detecting step. The position of the characteristic point for measuring the fourth specification has a degree of freedom in the surface of the fourth surface, and the position of the characteristic point for measuring the fifth specification detected in the detecting step is in the plane of the fifth surface. Degree of freedom. 一種車輛規格測量方法,其包括以下步驟:逐次拍攝車輛而取得上述車輛之框架圖像;針對上述框架圖像中之至少一個,檢測位於近似上述車輛之形狀之長方體之第3面之特徵點即第3規格測量用特徵點、位於上述長方體之第6面之特徵點即第6規格測量用特徵點;及基於上述第3規格測量用特徵點及上述第6規格測量用特徵點,算出上述車輛之高度;上述第3面係與上述車輛之底面對應之上述長方體之面,上述第6面係與上述車輛之頂面對應之上述長方體之面,且算出上述車輛之高度之步驟包括如下步驟:根據上述第3規格測量用特徵點之移動量,算出上述車輛之移動量;使用上述車輛之移動量,對上述第3規格測量用特徵點及上述第6規格測量用特徵點進行移動立體視覺處理,藉此算出上述第3規格測量用特徵點及上述第6規格測量用特徵點之三維座標;及根據所算出之上述第3規格測量用特徵點及上述第6規格測量用特徵點之三維座標,算出上述車輛之高度;上述檢測步驟中所檢測之上述第3規格測量用特徵點之位置係於上述第3面之面內具有自由度, 上述檢測步驟中所檢測之上述第6規格測量用特徵點之位置係於上述第6面之面內具有自由度。 A vehicle specification measuring method includes the steps of: acquiring a frame image of the vehicle by sequentially capturing a vehicle; and detecting, at least one of the frame images, a feature point of a third surface of a rectangular parallelepiped that approximates a shape of the vehicle The feature point for the third measurement, the feature point for the sixth measurement that is the feature point of the sixth surface of the rectangular parallelepiped; and the feature point for the measurement of the third specification and the feature point for the measurement of the sixth specification, the vehicle is calculated. The height of the third surface is the surface of the rectangular parallelepiped corresponding to the bottom surface of the vehicle, and the sixth surface is the surface of the rectangular parallelepiped corresponding to the top surface of the vehicle, and the step of calculating the height of the vehicle includes the following steps: The amount of movement of the vehicle is calculated based on the amount of movement of the feature point for the measurement of the third specification, and the third feature measurement feature point and the sixth specification measurement feature point are subjected to moving stereoscopic processing using the movement amount of the vehicle. And calculating the three-dimensional coordinates of the third feature measurement feature point and the sixth specification measurement feature point; Calculating the height of the vehicle by calculating the three-dimensional coordinate of the third feature measurement feature point and the sixth specification measurement feature point; and the position of the third specification measurement feature point detected in the detection step is There is freedom in the face of the third face, The position of the characteristic point for measuring the sixth specification detected in the detecting step is a degree of freedom in the plane of the sixth surface. 一種記錄媒體,其係儲存有程式者,且於執行上述程式時,上述程式使運算裝置執行下述步驟:對於藉由逐次拍攝車輛而得之上述車輛之框架圖像,檢測位於近似上述車輛之形狀之長方體之第1面之特徵點即第1規格測量用特徵點、位於上述長方體之第2面之特徵點即第2規格測量用特徵點、及位於上述長方體之第3面之特徵點即第3規格測量用特徵點;及基於上述第1規格測量用特徵點、上述第2規格測量用特徵點及上述第3規格測量用特徵點,算出上述車輛之寬度;上述第1面係與上述車輛之第1側面對應之上述長方體之面,上述第2面係與上述車輛之第2側面對應之上述長方體之面,上述第3面係與上述車輛之底面對應之上述長方體之面;算出上述車輛之寬度之步驟包括如下步驟:根據上述第3規格測量用特徵點之移動量,算出上述車輛之移動量;使用上述車輛之移動量,對上述第1規格測量用特徵點及上述第2規格測量用特徵點進行移動立體視覺處理,藉此算出上述第1規格測量用特徵點及上述第2規格測量用特徵點之三維座標;及根據所算出之上述第1規格測量用特徵點及上述第2規格測量用特徵點之三維座標,算出上述車輛之寬度;上述檢測步驟中所檢測之上述第1規格測量用特徵點之位置係於上述第1面之面內具有自由度,上述檢測步驟中所檢測之上述第2規格測量用特徵點之位置係於上述第2面之面內具有自由度, 上述檢測步驟中所檢測之上述第3規格測量用特徵點之位置係於上述第3面之面內具有自由度。 A recording medium storing a program, and when executing the program, the program causes the computing device to perform the following steps: detecting a frame image of the vehicle obtained by sequentially photographing the vehicle, and detecting the vehicle located in the approximate vehicle The feature point of the first surface of the rectangular parallelepiped, that is, the feature point for the first specification measurement, the feature point for the second specification measurement, which is the feature point of the second surface of the rectangular parallelepiped, and the feature point of the third surface of the rectangular parallelepiped The feature point for the measurement of the third specification; and the feature point of the first specification measurement, the feature point for the second measurement, and the feature point for the measurement of the third specification, the width of the vehicle is calculated; the first surface is a surface of the rectangular parallelepiped corresponding to the first side surface of the vehicle, wherein the second surface is a surface of the rectangular parallelepiped corresponding to the second side surface of the vehicle, and the third surface is a surface of the rectangular parallelepiped corresponding to a bottom surface of the vehicle; The step of width of the vehicle includes the following steps: calculating the amount of movement of the vehicle according to the amount of movement of the feature points for measuring the third specification; using the vehicle The moving amount is subjected to a moving stereoscopic process for the feature point for measurement of the first specification and the feature point for measurement of the second specification, thereby calculating the three-dimensional coordinates of the feature point for the first specification measurement and the feature point for the second specification measurement And calculating the width of the vehicle based on the calculated first-order measurement feature point and the third-dimensional measurement feature point three-dimensional coordinates; and detecting the position of the first-standard measurement feature point detected in the detecting step a degree of freedom in a surface of the first surface, and a position of the second characteristic measurement feature point detected in the detecting step is a degree of freedom in a surface of the second surface. The position of the third-species measurement feature point detected in the above-described detection step has a degree of freedom in the surface of the third surface. 一種記錄媒體,其係儲存有程式者,且於執行上述程式時,上述程式使運算裝置執行下述步驟:逐次拍攝車輛而取得上述車輛之框架圖像;針對上述框架圖像中之至少一個,檢測位於近似上述車輛之形狀之長方體之第3面之特徵點即第3規格測量用特徵點、位於上述長方體之第4面之特徵點即第4規格測量用特徵點、及位於上述長方體之第5面之特徵點即第5規格測量用特徵點;及基於上述第3規格測量用特徵點、上述第4規格測量用特徵點及上述第5規格測量用特徵點,算出上述車輛之長度;上述第3面係與上述車輛之底面對應之上述長方體之面,上述第4面係與上述車輛之正面對應之上述長方體之面,上述第5面係與上述車輛之背面對應之上述長方體之面,算出上述車輛之長度之步驟包括如下步驟:根據上述第3規格測量用特徵點之移動量,算出上述車輛之移動量;使用上述車輛之移動量,對上述第4規格測量用特徵點及上述第5規格測量用特徵點進行移動立體視覺處理,藉此算出上述第4規格測量用特徵點及上述第5規格測量用特徵點之三維座標;及根據所算出之上述第4規格測量用特徵點及上述第5規格測量用特徵點之三維座標,算出上述車輛之長度;上述檢測步驟中所檢測之上述第3規格測量用特徵點之位置係於上述第3面之面內具有自由度,上述檢測步驟中所檢測之上述第4規格測量用特徵點之位置係於上述第4面之面內具有自由度, 上述檢測步驟中所檢測之上述第5規格測量用特徵點之位置係於上述第5面之面內具有自由度。 A recording medium storing a program, and when executing the program, the program causes the computing device to perform the steps of: sequentially capturing a vehicle to obtain a frame image of the vehicle; and for at least one of the frame images, The feature point for measuring the third dimension, which is the feature point of the third surface of the rectangular parallelepiped which is approximately the shape of the vehicle, and the feature point for measuring the fourth specification, which is the feature point of the fourth surface of the rectangular parallelepiped, and the first feature of the rectangular parallelepiped The feature point of the fifth dimension is the fifth feature measurement feature point; and the length of the vehicle is calculated based on the third feature measurement feature point, the fourth specification measurement feature point, and the fifth specification measurement feature point; The third surface is a surface of the rectangular parallelepiped corresponding to a bottom surface of the vehicle, the fourth surface is a surface of the rectangular parallelepiped corresponding to a front surface of the vehicle, and the fifth surface is a surface of the rectangular parallelepiped corresponding to a back surface of the vehicle. The step of calculating the length of the vehicle includes the step of calculating the movement of the vehicle based on the amount of movement of the feature points for measuring the third specification The fourth specification measurement feature point and the fifth specification measurement point are calculated by performing a moving stereoscopic process on the fourth specification measurement feature point and the fifth specification measurement feature point using the movement amount of the vehicle. Using the three-dimensional coordinates of the feature points; and calculating the length of the vehicle based on the calculated fourth-dimensional measurement feature points and the three-dimensional coordinates of the fifth-species measurement feature points; and the third specification detected in the detecting step The position of the measurement feature point has a degree of freedom in the surface of the third surface, and the position of the fourth specification measurement feature point detected in the detection step has a degree of freedom in the surface of the fourth surface. The position of the fifth-species measurement feature point detected in the above-described detection step has a degree of freedom in the surface of the fifth surface. 一種記錄媒體,其係儲存有程式者,且於執行上述程式時,上述程式使運算裝置執行下述步驟:逐次拍攝車輛而取得上述車輛之框架圖像;針對上述框架圖像中之至少一個,檢測位於近似上述車輛之形狀之長方體之第3面之特徵點即第3規格測量用特徵點、及位於上述長方體之第6面之特徵點即第6規格測量用特徵點;及基於上述第3規格測量用特徵點及上述第6規格測量用特徵點,算出上述車輛之高度;上述第3面係與上述車輛之底面對應之上述長方體之面,上述第6面係與上述車輛之頂面對應之上述長方體之面,算出上述車輛之長度之步驟包括如下步驟:根據上述第3規格測量用特徵點之移動量,算出上述車輛之移動量;使用上述車輛之移動量,對上述第3規格測量用特徵點及上述第6規格測量用特徵點進行移動立體視覺處理,藉此算出上述第3規格測量用特徵點及上述第6規格測量用特徵點之三維座標;及根據所算出之上述第3規格測量用特徵點及上述第6規格測量用特徵點之三維座標,算出上述車輛之高度;上述檢測步驟中所檢測之上述第3規格測量用特徵點之位置係於上述第3面之面內具有自由度,上述檢測步驟中所檢測之上述第6規格測量用特徵點之位置係於上述第6面之面內具有自由度。 A recording medium storing a program, and when executing the program, the program causes the computing device to perform the steps of: sequentially capturing a vehicle to obtain a frame image of the vehicle; and for at least one of the frame images, The feature point for measuring the third dimension that is the third surface of the rectangular parallelepiped that is approximately the shape of the vehicle, and the feature point for the sixth specification that is the feature point of the sixth surface of the rectangular parallelepiped; Calculating a height of the vehicle by a feature point for measurement measurement and a feature point for measurement of the sixth specification; the third surface is a surface of the rectangular parallelepiped corresponding to a bottom surface of the vehicle, and the sixth surface corresponds to a top surface of the vehicle The step of calculating the length of the vehicle on the surface of the rectangular parallelepiped includes the step of calculating the amount of movement of the vehicle based on the amount of movement of the characteristic point for measuring the third gauge, and measuring the third gauge using the amount of movement of the vehicle. The third stereoscopic measurement is calculated by performing the moving stereoscopic processing using the feature points and the feature points for measuring the sixth specification. Point and the three-dimensional coordinate of the feature point for measuring the sixth specification; and calculating the height of the vehicle based on the calculated third-dimensional measurement feature point and the three-dimensional coordinate of the sixth-spec measurement feature point; The position of the third feature measuring feature point detected has a degree of freedom in the surface of the third surface, and the position of the sixth specification measuring feature point detected in the detecting step is the sixth surface. There is freedom in the plane.
TW102139628A 2013-02-26 2013-10-31 A vehicle specification measuring and processing device, a vehicle specification measuring method, and a recording medium TWI504858B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013036122A JP6021689B2 (en) 2013-02-26 2013-02-26 Vehicle specification measurement processing apparatus, vehicle specification measurement method, and program

Publications (2)

Publication Number Publication Date
TW201433774A true TW201433774A (en) 2014-09-01
TWI504858B TWI504858B (en) 2015-10-21

Family

ID=51427781

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102139628A TWI504858B (en) 2013-02-26 2013-10-31 A vehicle specification measuring and processing device, a vehicle specification measuring method, and a recording medium

Country Status (5)

Country Link
JP (1) JP6021689B2 (en)
MY (1) MY180963A (en)
SG (1) SG11201506621YA (en)
TW (1) TWI504858B (en)
WO (1) WO2014132490A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111127541A (en) * 2018-10-12 2020-05-08 杭州海康威视数字技术股份有限公司 Vehicle size determination method and device and storage medium
CN111383325A (en) * 2018-12-29 2020-07-07 顺丰科技有限公司 Carriage three-dimensional image generation method and device

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025642B (en) * 2016-01-27 2018-06-22 百度在线网络技术(北京)有限公司 Vehicle's contour detection method and device based on point cloud data
CN105956539B (en) * 2016-04-27 2019-06-25 武汉大学 A kind of Human Height measurement method of application background modeling and Binocular Vision Principle
CN106352855A (en) * 2016-09-26 2017-01-25 北京建筑大学 Photographing measurement method and device
JP6678552B2 (en) * 2016-09-30 2020-04-08 株式会社東芝 Vehicle type identification device and vehicle type identification method
JP6472504B1 (en) * 2017-12-14 2019-02-20 株式会社 ディー・エヌ・エー Information processing apparatus, information processing program, and information processing method
JP7173779B2 (en) * 2018-08-06 2022-11-16 三井住友建設株式会社 Structure measurement method and measurement system
CN112013784B (en) * 2019-05-28 2021-09-28 深圳中科飞测科技股份有限公司 Detection method and detection system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3019901B2 (en) * 1993-02-22 2000-03-15 松下電器産業株式会社 Vehicle specification automatic measurement device
JP2000048298A (en) * 1998-07-31 2000-02-18 Matsushita Electric Ind Co Ltd Vehicle detector
JP3948381B2 (en) * 2002-09-30 2007-07-25 石川島播磨重工業株式会社 Cuboid measurement method and cuboid measurement apparatus
JP2007163173A (en) * 2005-12-09 2007-06-28 Nagoya Electric Works Co Ltd Apparatus, method, and program for measuring vehicle
JP5228145B2 (en) * 2006-06-27 2013-07-03 東日本旅客鉄道株式会社 Method and system for measuring the dimensions of a railway vehicle, and a system for inspecting the dimensions of a railway vehicle including the measurement system
KR101125488B1 (en) * 2006-12-28 2012-03-22 가부시키가이샤 도요다 지도숏키 Parking assistance device, component for parking assistance device, parking assistance method, computer readable medium for recording parking assistance program, method and computer readable medium for recording program for calculating vehicle travel parameter, device for calculating vehicle travel parameter, and component for device for calculating vehicle travel parameter
JP5487648B2 (en) * 2009-03-05 2014-05-07 日本電気株式会社 Moving object measuring system, moving object measuring apparatus, moving object measuring method and program
TW201123097A (en) * 2009-12-23 2011-07-01 Gorilla Technology Inc Automatic traffic violation detection system and method of the same
US8842163B2 (en) * 2011-06-07 2014-09-23 International Business Machines Corporation Estimation of object properties in 3D world
JP5740241B2 (en) * 2011-08-03 2015-06-24 株式会社東芝 Vehicle detection device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111127541A (en) * 2018-10-12 2020-05-08 杭州海康威视数字技术股份有限公司 Vehicle size determination method and device and storage medium
CN111127541B (en) * 2018-10-12 2024-02-27 杭州海康威视数字技术股份有限公司 Method and device for determining vehicle size and storage medium
CN111383325A (en) * 2018-12-29 2020-07-07 顺丰科技有限公司 Carriage three-dimensional image generation method and device
CN111383325B (en) * 2018-12-29 2023-06-30 深圳市丰驰顺行信息技术有限公司 Carriage three-dimensional image generation method and device

Also Published As

Publication number Publication date
TWI504858B (en) 2015-10-21
SG11201506621YA (en) 2015-09-29
MY180963A (en) 2020-12-14
JP2014164601A (en) 2014-09-08
JP6021689B2 (en) 2016-11-09
WO2014132490A1 (en) 2014-09-04

Similar Documents

Publication Publication Date Title
TWI504858B (en) A vehicle specification measuring and processing device, a vehicle specification measuring method, and a recording medium
JP6670071B2 (en) Vehicle image recognition system and corresponding method
US9877012B2 (en) Image processing apparatus for estimating three-dimensional position of object and method therefor
JP4328692B2 (en) Object detection device
US20180018528A1 (en) Detecting method and device of obstacles based on disparity map and automobile driving assistance system
US10331961B2 (en) Detecting device, detecting method, and program
JP4943034B2 (en) Stereo image processing device
CN110543807B (en) Method for verifying obstacle candidates
JP4793324B2 (en) Vehicle monitoring apparatus and vehicle monitoring method
CN107750213B (en) Front vehicle collision warning device and warning method
US10013618B2 (en) Method and apparatus for detecting side of object using ground boundary information of obstacle
JP2000357233A (en) Body recognition device
US10789727B2 (en) Information processing apparatus and non-transitory recording medium storing thereon a computer program
Romdhane et al. A generic obstacle detection method for collision avoidance
JP5981284B2 (en) Object detection device and object detection method
JP4270386B2 (en) Moving body moving amount calculation device
JPH10187974A (en) Physical distribution measuring instrument
JP2012122923A (en) Object detection device and method
Corneliu et al. Real-time pedestrian classification exploiting 2D and 3D information
WO2024004325A1 (en) External world recognition device and external world recognition method
JP2013142668A (en) Position estimation device and position estimation method
US20230237812A1 (en) Traffic sign recognition device and traffic sign recognition method
JP5614100B2 (en) Image processing apparatus and moving body position estimation method
CN117781911A (en) Monocular camera-based lateral lane distance measuring and calculating method and system
JP2017146309A (en) Stereo camera