JP3225417B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3225417B2
JP3225417B2 JP00724193A JP724193A JP3225417B2 JP 3225417 B2 JP3225417 B2 JP 3225417B2 JP 00724193 A JP00724193 A JP 00724193A JP 724193 A JP724193 A JP 724193A JP 3225417 B2 JP3225417 B2 JP 3225417B2
Authority
JP
Japan
Prior art keywords
scanning
feature point
address
information
counter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP00724193A
Other languages
Japanese (ja)
Other versions
JPH06215137A (en
Inventor
木 充 義 斉
藤 淳 佐
並 俊 明 柿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisin Corp
Original Assignee
Aisin Seiki Co Ltd
Aisin Corp
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 Aisin Seiki Co Ltd, Aisin Corp filed Critical Aisin Seiki Co Ltd
Priority to JP00724193A priority Critical patent/JP3225417B2/en
Publication of JPH06215137A publication Critical patent/JPH06215137A/en
Application granted granted Critical
Publication of JP3225417B2 publication Critical patent/JP3225417B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Image Processing (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、例えば自動車を運転す
るドライバの視野と一致する範囲の画像を入力し必要な
情報を検出するために利用しうる画像処理装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus which can be used for inputting an image in a range corresponding to a field of view of a driver of a car, for example, and detecting necessary information.

【0002】[0002]

【従来の技術】例えば、自動車を運転するドライバの視
野と一致する範囲の画像情報を処理すれば、路面上の白
線の位置を認識したり、前方を走行する他車の位置を認
識しうるので、その画像処理結果を利用することによ
り、自車を所定の走行レ−ン内に維持するようにステア
リングホイ−ルの角度を制御したり、自車と他車との車
間距離を一定に維持するように車速を調整するなどの自
動操縦が可能になる。
2. Description of the Related Art For example, if image information in a range corresponding to the field of view of a driver of a car is processed, the position of a white line on the road surface or the position of another vehicle traveling ahead can be recognized. By using the image processing result, the angle of the steering wheel is controlled so as to maintain the own vehicle within a predetermined traveling lane, and the distance between the own vehicle and another vehicle is maintained constant. Autopilot such as adjusting the vehicle speed to be able to do so becomes possible.

【0003】この種の画像処理においては、一般に、ま
ず画像の輪郭位置を示す特徴点を検出する必要がある。
特徴点を検出するには、一般に、画像濃度の変化量、即
ち微分値を検出し、次に微分値を所定のしきい値で二値
化する。更に、細線化処理により、二値化された微分値
で示される、ある幅を有する特徴領域の中央部分の位置
を特徴点(輪郭)の位置として検出する。画像濃度の変
化量を求める際には、例えば特開昭61−77965号
公報に示されるような、注目画素を含むn×n画素マト
リクス内の複数画素を参照して注目画素の値(濃度)を
修正する空間フィルタが用いられる。
In this type of image processing, it is generally necessary to first detect a feature point indicating the contour position of an image.
In order to detect a feature point, generally, a change amount of an image density, that is, a differential value is detected, and then the differential value is binarized by a predetermined threshold value. Further, the position of the central portion of the characteristic region having a certain width, which is indicated by the binarized differential value, is detected as the position of the characteristic point (contour) by the thinning process. When calculating the amount of change in the image density, the value (density) of the pixel of interest is referred to by referring to a plurality of pixels in an n × n pixel matrix including the pixel of interest as disclosed in, for example, JP-A-61-77965. Is used.

【0004】[0004]

【発明が解決しようとする課題】この種の画像処理を実
施する場合、一般に入力画像中の全ての画素に対して検
出処理が繰り返し実行される。従って、例えば512×
512画素で構成される画像を処理するためには、各々
の画素に対する処理を約26万回も繰り返さねばなら
ず、長い時間を必要とする。そこで本出願人は、検出が
不要な領域を予め除外した、矩形領域のみを処理の対象
とすることを既に提案した(特願昭63−70372
号)。しかし、処理領域をそのような矩形領域に限定し
たとしても、繰り返し回数はせいぜい1/2程度にしか
低減されず、依然として処理に長い時間を要する。
When this type of image processing is performed, generally, detection processing is repeatedly performed on all pixels in an input image. Therefore, for example, 512 ×
In order to process an image composed of 512 pixels, processing for each pixel must be repeated about 260,000 times, which requires a long time. Therefore, the present applicant has already proposed that only a rectangular area is to be processed by excluding an area that does not need to be detected in advance (Japanese Patent Application No. 63-70372).
issue). However, even if the processing area is limited to such a rectangular area, the number of repetitions is reduced to only about 2 at most, and the processing still requires a long time.

【0005】従って本発明は、画像中の特徴点の情報を
高速で検出しうる画像処理装置を提供することを課題と
する。
Accordingly, it is an object of the present invention to provide an image processing apparatus capable of detecting feature point information in an image at high speed.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するた
め、本発明の画像処理装置は、読出し自在な所定の画像
デ−タを保持する画像メモリ手段(27);周期が一定
のクロック信号を出力するクロック信号生成手段(13
3);少なくとも、複数組の、走査開始座標及び走査終
了座標、もしくは走査開始座標及び走査長の情報を読み
書き自在な、走査テ−ブルメモリ手段(103);走査
テ−ブルメモリ手段上の各走査開始座標に応じて初期値
が決定され、前記クロック信号に同期して変化する走査
アドレス情報を生成し前記画像メモリ手段に印加する走
査アドレス生成手段(125,128,129);走査
テ−ブルメモリ手段上の各走査終了座標もしくは走査長
の情報に基づいて、各走査線の終了位置か否かを識別す
る、走査線終了検出手段(134,135);走査線終
了検出手段が走査線の終了位置を検出する毎に変化する
テ−ブルアドレスを生成し、それを前記走査テ−ブルメ
モリ手段のアドレス端子に印加する、テ−ブルアドレス
発生手段(121);前記クロック信号に同期して前記
画像メモリ手段から読み出される時系列画像デ−タを入
力し、走査位置の画像デ−タが特徴点か否かを識別す
る、特徴点検出手段(150);及び特徴点検出手段が
特徴点を検出した時に、前記走査アドレス生成手段が出
力する走査アドレス情報を記憶する、特徴点記憶手段
(112);を備える。
In order to solve the above problems, an image processing apparatus according to the present invention comprises: an image memory means (27) for holding predetermined image data which can be read; a clock signal having a constant period; Clock signal generating means (13
3); at least a plurality of sets of scan table coordinates and scan end coordinates, or scan table coordinates and scan length information, which are freely readable and writable by scan table memory means (103); each scan start on the scan table memory means; Scanning address generating means (125, 128, 129) for generating scanning address information which changes in synchronization with the clock signal and for applying the scanning address information to the image memory means; Scan line end detection means (134, 135) for identifying whether or not each scan line is at the end position based on the information of each scan end coordinate or scan length. A table address generating means (121) for generating a table address which changes each time it is detected and applying it to an address terminal of said scanning table memory means; A feature point detecting means (150) for inputting time-series image data read from the image memory means in synchronization with the clock signal and identifying whether or not the image data at the scanning position is a feature point; And a feature point storage means (112) for storing scan address information output by the scan address generation means when the feature point detection means detects a feature point.

【0007】また第2番の発明の画像処理装置は、前記
テ−ブルアドレス発生手段が出力するテ−ブルアドレス
の初期値を決定するテ−ブル選択手段(106)を更に
備える。
The image processing apparatus according to a second aspect of the present invention further comprises a table selecting means (106) for determining an initial value of a table address output from the table address generating means.

【0008】また第3番の発明では、前記走査テ−ブル
メモリ手段が、走査方向が縦方向か横方向かを示す走査
方向情報(V/H)を記憶する領域を更に備え、前記走
査アドレス生成手段が、縦方向の走査位置を計数する第
1のカウンタ手段(128),及び横方向の走査位置を
計数する第2のカウンタ手段(129)を備え、前記ク
ロック信号生成手段が、走査中、走査テ−ブルメモリ手
段上の走査方向情報に応じて、第1のカウンタ手段及び
第2のカウンタ手段のいずれか一方にクロック信号を印
加するように構成する。
In a third aspect of the present invention, the scanning table memory means further comprises an area for storing scanning direction information (V / H) indicating whether a scanning direction is a vertical direction or a horizontal direction, and The means comprises first counter means (128) for counting the scanning position in the vertical direction and second counter means (129) for counting the scanning position in the horizontal direction. A clock signal is applied to one of the first counter means and the second counter means according to the scanning direction information on the scanning table memory means.

【0009】なお上記括弧内に示した記号は、後述する
実施例中の対応する要素の符号を参考までに示したもの
であるが、本発明の各構成要素は実施例中の具体的な要
素のみに限定されるものではない。
The symbols shown in the parentheses indicate the reference numerals of the corresponding elements in the embodiments described later for reference, but each component of the present invention is a specific element in the embodiments. It is not limited to only.

【0010】[0010]

【作用】本発明の画像処理装置では、動作を開始する
と、画像メモリ手段に記憶された画像デ−タが、クロッ
ク信号に同期して順次に読み出され、時系列信号として
出力される。画像メモリ手段に印加する走査アドレス情
報は、クロック信号に同期して変化するので、出力され
る時系列信号の画素位置は、例えばX軸方向(又はY軸
方向)に1,2,3,4,・・・と順次に変化する。こ
の時系列画像デ−タは、特徴点検出手段によって処理さ
れ、特徴点検出手段が画像中の特徴点を検出する。
In the image processing apparatus according to the present invention, when the operation is started, the image data stored in the image memory means is sequentially read out in synchronization with the clock signal and output as a time series signal. Since the scan address information applied to the image memory means changes in synchronization with the clock signal, the pixel position of the output time-series signal is, for example, 1, 2, 3, 4 in the X-axis direction (or Y-axis direction). ,... Sequentially. This time-series image data is processed by the feature point detecting means, and the feature point detecting means detects a feature point in the image.

【0011】画像中の走査位置は、走査アドレス生成手
段が生成する。走査アドレス生成手段が出力する走査ア
ドレス情報は、走査テ−ブルメモリ手段上の走査開始座
標によって初期値が決定され、クロック信号に同期して
順次に増/減する。一方、走査線終了検出手段は、走査
テ−ブルメモリ手段上の各走査終了座標もしくは走査長
の情報に基づいて、1つの走査線の終了を検出する。走
査線終了検出手段が1つの走査線の終了を検出すると、
テ−ブルアドレス発生手段が出力するテ−ブルアドレス
情報が更新される。このテ−ブルアドレス情報は、走査
テ−ブルメモリ手段のアドレス端子に印加されるので、
テ−ブルアドレス情報が更新されると、走査テ−ブルメ
モリ手段から読み出されるデ−タ(走査開始座標,走査
終了座標)が次のグル−プに自動的に切換えられる。そ
して、切換えられた新しい走査位置(走査線)につい
て、上記と同様に走査が実施され、特徴点の検出が行な
われる。これらの動作が、走査テ−ブルメモリ手段上の
デ−タ群に基づいて繰り返される。例えば、10組の走
査線に関するデ−タを走査テ−ブルメモリ手段上に書き
込んでおけば、10組のデ−タが示す各々の走査線につ
いて、走査開始座標から走査終了座標までの走査が実施
され、走査中に特徴点の検出が実行される。
The scanning position in the image is generated by the scanning address generation means. The scan address information output by the scan address generation means has an initial value determined by the scan start coordinates on the scan table memory means, and sequentially increases / decreases in synchronization with the clock signal. On the other hand, the scanning line end detecting means detects the end of one scanning line based on information on each scanning end coordinate or scanning length on the scanning table memory means. When the scanning line end detecting means detects the end of one scanning line,
The table address information output from the table address generating means is updated. Since this table address information is applied to the address terminal of the scanning table memory means,
When the table address information is updated, the data (scan start coordinates, scan end coordinates) read from the scan table memory means is automatically switched to the next group. Then, scanning is performed for the switched new scanning position (scanning line) in the same manner as described above, and the feature point is detected. These operations are repeated based on the data group on the scanning table memory means. For example, if data relating to 10 sets of scanning lines is written in the scanning table memory means, scanning from the scanning start coordinates to the scanning end coordinates is performed for each scanning line indicated by the 10 sets of data. Then, detection of a feature point is performed during scanning.

【0012】例えば、図14に示されるような画像にお
いて、進行方向に向かう白線(車線)の輪郭を検出する
場合、白線が存在する領域は、通常はある狭い範囲内に
限定されるので、その狭い範囲の画像デ−タだけを検出
対象として走査し、特徴検出を実施すれば用が足りる。
但しこの場合の検出対象領域は、斜めに傾いた台形のよ
うな複雑な形状になるので、従来の装置ではこのような
走査はできない。
For example, in the case of detecting an outline of a white line (lane) in the traveling direction in an image as shown in FIG. 14, an area where the white line exists is usually limited to a certain narrow range. It is sufficient to scan only image data in a narrow range as a detection target and perform feature detection.
However, since the detection target area in this case has a complicated shape such as a trapezoid that is inclined obliquely, such a scan cannot be performed by the conventional apparatus.

【0013】しかし本発明の場合、走査領域は、走査テ
−ブルメモリ手段上に書き込まれる走査線情報(走査開
始座標,走査終了座標)の組合せによって決定されるの
で、走査領域の形状の制限はなく、必要最小限の領域だ
けを走査して、短時間で検出を完了することができる。
However, in the case of the present invention, the scanning area is determined by a combination of scanning line information (scanning start coordinates and scanning end coordinates) written on the scanning table memory means, and there is no limitation on the shape of the scanning area. By scanning only the necessary minimum area, detection can be completed in a short time.

【0014】また第2番の発明によれば、テ−ブル選択
手段の内容を変更することによって、テ−ブルアドレス
発生手段が出力するテ−ブルアドレスの初期値を変更す
ることができる。従って例えば、走査テ−ブルメモリ手
段上の複数のアドレス領域に、互いに走査形状が異なる
複数種類の走査線情報群を予め書き込んでおけば、テ−
ブル選択手段の内容を変更するだけで、瞬時に、走査時
に読み出される走査線情報群の走査形状を切換えること
ができる。
According to the second invention, the initial value of the table address output from the table address generating means can be changed by changing the contents of the table selecting means. Therefore, for example, if a plurality of types of scanning line information groups having different scanning shapes are written in advance in a plurality of address areas on the scanning table memory means, the table can be obtained.
The scanning shape of the scanning line information group read at the time of scanning can be instantaneously switched only by changing the contents of the cable selection means.

【0015】また第3番の発明によれば、前記走査テ−
ブルメモリ手段上に書き込むデ−タによって、走査方向
が縦方向か横方向かを指定することができる。例えば、
指定する走査領域が横長形状の場合、縦方向の走査の繰
り返しよりも、横方向の走査の繰り返しの方が、繰り返
し回数が少ないので、処理の所要時間が短くなるし、走
査テ−ブルメモリ手段に対するデ−タの書き込みも簡単
になる。つまり、走査形状に適した走査方向を必要に応
じて選択しうる。
According to a third aspect of the present invention, the scanning tape
Whether the scanning direction is the vertical direction or the horizontal direction can be designated by the data to be written on the table memory means. For example,
When the designated scanning area has a horizontally long shape, the repetition of the horizontal scanning has a smaller number of repetitions than the repetition of the vertical scanning, so that the required processing time is shorter, and the scanning table memory means is not required. Writing data is also simplified. That is, a scanning direction suitable for the scanning shape can be selected as needed.

【0016】[0016]

【実施例】一実施例の、装置全体の構成を図1に示す。
この装置は、自動車に搭載され、例えば図14に示され
るように、ドライバの視野に映る像と同様の画像を入力
し、入力した画像を認識して運転に必要な様々な情報を
自動的に検出する。図1を参照して説明する。TVカメ
ラ22は、車室内のドライバの目に近い位置に固定して
配置されており、図14に示されるような前方の被写体
を撮影し、撮影された画像をモノクロの映像信号として
出力する。TVカメラ22が出力する映像信号はアナロ
グ信号であり、A/Dコンバ−タ24によって、濃度情
報が8ビットのデジタル信号に変換される。A/Dコン
バ−タ24が出力するデジタル映像信号は、イメ−ジメ
モリ27に入力されると同時に、CRTドライバ25を
介してTVモニタ26に印加される。従ってTVモニタ
26は、TVカメラ22が入力した映像を、一般のテレ
ビ装置と同様に、二次元画像として表示することができ
る。また、CRTドライバ25には、システムコントロ
−ラ10が出力する信号も印加される。従って、システ
ムコントロ−ラ10が出力する情報を、必要に応じて、
TVカメラ22が入力した映像に重ねて、TVモニタ2
6の画面上に表示することができる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows the configuration of the entire apparatus according to one embodiment.
This device is mounted on a car, for example, as shown in FIG. 14, inputs an image similar to the image reflected in the driver's field of view, recognizes the input image, and automatically generates various information necessary for driving. To detect. This will be described with reference to FIG. The TV camera 22 is fixedly arranged at a position close to the driver's eyes in the vehicle interior, captures a subject in front as shown in FIG. 14, and outputs the captured image as a monochrome video signal. The video signal output from the TV camera 22 is an analog signal, and the A / D converter 24 converts the density information into an 8-bit digital signal. The digital video signal output from the A / D converter 24 is input to an image memory 27 and at the same time is applied to a TV monitor 26 via a CRT driver 25. Therefore, the TV monitor 26 can display the video input by the TV camera 22 as a two-dimensional image, similarly to a general television device. Further, a signal output from the system controller 10 is also applied to the CRT driver 25. Therefore, the information output by the system controller 10 can be
The TV monitor 2 superimposes the image input by the TV camera 22.
6 can be displayed on the screen.

【0017】イメ−ジメモリ27は、1画素あたり8ビ
ットのデ−タを記憶する領域を備え、512×512画
素構成の1組のフレ−ムメモリを構成している。TVカ
メラ22によって入力されたデジタル映像信号をイメ−
ジメモリ27に書込む時には、イメ−ジメモリ27のア
ドレス信号は、TVカメラ22の走査信号に同期して変
化する。即ち、横方向が512に区分され縦方向が51
2に区分されたTVカメラ22の二次元走査位置の、各
々の位置(座標)に対応付けられたイメ−ジメモリ27
のアドレスに、各位置の8ビット画素情報がそれぞれ書
込まれる。図14に示すように、この例では二次元画像
の左上端の座標が(0,0:横,縦)になっており、右
下端の座標が(511,511)になっている。
The image memory 27 has an area for storing data of 8 bits per pixel, and constitutes a set of frame memories of 512 × 512 pixels. The digital video signal input by the TV camera 22 is imaged.
When writing to the memory 27, the address signal of the image memory 27 changes in synchronization with the scanning signal of the TV camera 22. That is, the horizontal direction is divided into 512 and the vertical direction is 51.
Image memory 27 associated with each position (coordinate) of the two-dimensional scanning position of the TV camera 22 divided into two.
, 8-bit pixel information at each position is written. As shown in FIG. 14, in this example, the coordinates of the upper left corner of the two-dimensional image are (0, 0: horizontal and vertical), and the coordinates of the lower right corner are (511, 511).

【0018】イメ−ジメモリ27には、システムコント
ロ−ラ10と高速画像デ−タ処理ユニット100が接続
されており、システムコントロ−ラ10及び高速画像デ
−タ処理ユニット100は、いずれも、イメ−ジメモリ
27に書込まれた画像デ−タを読み出すことができる。
この実施例では、主として、高速画像デ−タ処理ユニッ
ト100がイメ−ジメモリ27に書込まれた画像デ−タ
を読み出し、画像中の特徴点の情報を検出する。高速画
像デ−タ処理ユニット100が検出した情報は、高速画
像デ−タ処理ユニット100内のメモリに保持され、シ
ステムコントロ−ラ10によって読み出され、画像認識
の基礎デ−タとして利用される。
The system controller 10 and the high-speed image data processing unit 100 are connected to the image memory 27. Both the system controller 10 and the high-speed image data processing unit 100 Image data written in the memory 27 can be read out.
In this embodiment, mainly, the high-speed image data processing unit 100 reads out the image data written in the image memory 27 and detects the information of the characteristic points in the image. Information detected by the high-speed image data processing unit 100 is held in a memory in the high-speed image data processing unit 100, read out by the system controller 10, and used as basic data for image recognition. .

【0019】システムコントロ−ラ10は、CPU(マ
イクロプロセッサ)11,ROM12,RAM13,及
びインタ−フェ−ス14を備えている。操作ボ−ド23
は、多数のキ−スイッチと表示装置を備えており、ドラ
イバのキ−操作によりシステムコントロ−ラ10に対し
て様々な指示を発したり、システムコントロ−ラ10が
出力する様々な情報を表示することができる。
The system controller 10 has a CPU (microprocessor) 11, a ROM 12, a RAM 13, and an interface 14. Operation board 23
Is provided with a number of key switches and a display device, and issues various instructions to the system controller 10 by a key operation of a driver and displays various information output from the system controller 10. be able to.

【0020】図1に示された高速画像デ−タ処理ユニッ
ト100の構成の概略を図2に示す。図2を参照する
と、高速画像デ−タ処理ユニット100には、スタ−ト
レジスタ101,ストップレジスタ102,走査テ−ブ
ルメモリ103,演算式切換座標レジスタ104,特徴
点数制限値レジスタ105,走査テ−ブル位置レジスタ
106,ステ−タスレジスタ107,特徴点格納数メモ
リ111,特徴点メモリ112,インタ−フェ−ス11
3,内部制御回路120,及び特徴点検出回路150が
備わっている。システムコントロ−ラ10は、スタ−ト
レジスタ101,ストップレジスタ102,走査テ−ブ
ルメモリ103,演算式切換座標レジスタ104,特徴
点数制限値レジスタ105,及び走査テ−ブル位置レジ
スタ106にデ−タを書込むことができ、ステ−タスレ
ジスタ107,特徴点格納数メモリ111,及び特徴点
メモリ112の内容を読取ることができる。また、シス
テムコントロ−ラ10は、特徴点検出回路150に設け
られた各種レジスタ(後述する)にデ−タを書込むこと
ができる。イメ−ジメモリ27の画像デ−タは、インタ
−フェ−ス113を介して、特徴点検出回路150に印
加される。イメ−ジメモリ27の画像デ−タを読出すた
めのアドレス信号やコントロ−ル信号は、内部制御回路
120が生成し、インタ−フェ−ス113を介してイメ
−ジメモリ27に印加される。
FIG. 2 schematically shows the structure of the high-speed image data processing unit 100 shown in FIG. Referring to FIG. 2, the high-speed image data processing unit 100 includes a start register 101, a stop register 102, a scan table memory 103, an arithmetic expression switching coordinate register 104, a feature point number limit value register 105, a scan table. Position register 106, status register 107, feature point storage number memory 111, feature point memory 112, interface 11
3, an internal control circuit 120 and a feature point detection circuit 150 are provided. The system controller 10 writes data to a start register 101, a stop register 102, a scan table memory 103, an arithmetic expression switching coordinate register 104, a feature point number limit value register 105, and a scan table position register 106. The contents of the status register 107, the feature point storage number memory 111, and the feature point memory 112 can be read. Further, the system controller 10 can write data into various registers (described later) provided in the feature point detection circuit 150. The image data of the image memory 27 is applied to the feature point detection circuit 150 via the interface 113. An address signal and a control signal for reading out image data from the image memory 27 are generated by the internal control circuit 120 and applied to the image memory 27 via the interface 113.

【0021】図2に示す各構成要素の機能について簡単
に説明する。スタ−トレジスタ101は、この高速画像
デ−タ処理ユニット100の特徴点検出動作の開始を指
示する信号が書込まれるレジスタであり、ストップレジ
スタ102は、動作中に特徴点検出動作のキャンセルを
指示する信号が書込まれるレジスタである。走査テ−ブ
ルメモリ103は、特徴点検出動作の対象となる画像の
領域や動作条件などの情報(走査パタ−ン)が保持され
るメモリであり、多数の様々な走査パタ−ンを記憶でき
る容量を備えている。演算式切換座標レジスタ104
は、特徴点検出回路150における特徴点検出のための
演算式の内容を切換える走査位置を保持するレジスタで
ある。特徴点数制限値レジスタ105は、1走査線上で
検出される特徴点の数を制限する値を保持するレジスタ
である。走査テ−ブル位置レジスタ106は、特徴点検
出動作において最初に参照される、走査テ−ブルメモリ
103のアドレス値(図16参照)を保持するレジスタ
である。ステ−タスレジスタ107は、内部制御回路1
20における状態信号が保持されるレジスタであり、こ
の状態信号を読むことによって、特徴点検出処理の動作
中か否か、及び正常終了か異常終了かを知ることができ
る。また、特徴点検出処理の動作が終了すると、自動的
に、割込信号がシステムコントロ−ラ10に送られる。
特徴点格納数メモリ111は、走査線毎の検出された特
徴点数を保持するメモリである。特徴点メモリ112
は、検出された各々の特徴点の座標とステ−タス情報を
保持するメモリである。
The function of each component shown in FIG. 2 will be briefly described. The start register 101 is a register in which a signal for instructing the start of the feature point detection operation of the high-speed image data processing unit 100 is written. The stop register 102 instructs the cancellation of the feature point detection operation during operation. Is a register in which a signal to be written is written. The scanning table memory 103 is a memory for storing information (scanning pattern) such as an image area and an operation condition to be subjected to a feature point detection operation, and has a capacity capable of storing a large number of various scanning patterns. It has. Operation expression switching coordinate register 104
Is a register for holding a scanning position at which the content of an arithmetic expression for detecting a feature point in the feature point detection circuit 150 is switched. The feature point number limit value register 105 is a register that holds a value that limits the number of feature points detected on one scanning line. The scan table position register 106 is a register for holding an address value (see FIG. 16) of the scan table memory 103, which is first referred to in the feature point detection operation. The status register 107 is used for the internal control circuit 1
A register holding the status signal at 20. By reading this status signal, it is possible to know whether or not the feature point detection process is in operation and whether the process is completed normally or abnormally. When the operation of the feature point detection processing is completed, an interrupt signal is automatically sent to the system controller 10.
The feature point storage number memory 111 is a memory that holds the number of feature points detected for each scanning line. Feature point memory 112
Is a memory for storing the coordinates of each detected feature point and status information.

【0022】図2に示す高速画像デ−タ処理ユニット1
00の具体的な構成を図3,図4及び図5に示す。な
お、図2に示した以外の符号で示される全ての要素が、
図2の内部制御回路120に相当する。また各図におい
ては、回路の動作を分かり易くするため、各種メモリ,
レジスタ,カウンタ等に対する読み出し及び書き込みの
ためのストロ−ブ信号やクロック信号などは、特に重要
な部分を除き記載が省略されている。
High-speed image data processing unit 1 shown in FIG.
3, 4, 5 and 5 show a specific configuration of 00. All the elements indicated by reference numerals other than those shown in FIG.
This corresponds to the internal control circuit 120 in FIG. In each figure, various memories,
Descriptions of strobe signals and clock signals for reading and writing to registers, counters and the like are omitted except for particularly important parts.

【0023】まず図3を参照して説明する。走査テ−ブ
ルメモリ103のアドレス端子には、セレクタ122を
介して、アドレスバスとカウンタ121の出力端子が接
続されている。セレクタ122は、システムコントロ−
ラ10が走査テ−ブルメモリ103をアクセスする時に
は、アドレスバスの内容を走査テ−ブルメモリ103の
アドレス端子に印加し、それ以外の時にはカウンタ12
1の出力値を走査テ−ブルメモリ103のアドレス端子
に印加する。カウンタ121には、動作を開始する時
に、走査テ−ブル位置レジスタ106が保持する値がプ
リセットされ、この値が後述する信号CHLが印加され
る毎にカウントアップする。一方、走査テ−ブルメモリ
103のデ−タ端子には、双方向バッファ126を介し
て、デ−タバスが接続されている。従って、システムコ
ントロ−ラ10は走査テ−ブルメモリ103に対するデ
−タの書込み及び読み出しが可能になっている。
First, a description will be given with reference to FIG. An address bus and an output terminal of the counter 121 are connected to an address terminal of the scanning table memory 103 via a selector 122. The selector 122 is connected to the system control.
When the scanner 10 accesses the scanning table memory 103, the contents of the address bus are applied to the address terminals of the scanning table memory 103.
The output value of 1 is applied to the address terminal of the scan table memory 103. When the operation is started, a value held in the scan table position register 106 is preset in the counter 121, and this value is counted up every time a signal CHL described later is applied. On the other hand, a data bus is connected to a data terminal of the scanning table memory 103 via a bidirectional buffer 126. Therefore, the system controller 10 can write and read data to and from the scanning table memory 103.

【0024】走査テ−ブルメモリ103は、それぞれ3
2ビット構成のデ−タを多数登録可能な記憶容量を備え
ている。32ビットの各々のデ−タは、9ビットが割当
てられた縦方向の走査開始座標値Vs,9ビットが割当
てられた横方向の走査開始座標値Hs,9ビットが割当
てられた走査終了座標値L,未使用の1ビット,及び4
ビットの制御情報(MT,D/U,V/H,TE)で構
成されている。
Each of the scan table memories 103 has 3
It has a storage capacity capable of registering a large number of 2-bit data. Each of the 32 bits has a vertical scanning start coordinate value Vs to which 9 bits are allocated, a horizontal scanning start coordinate value Hs to which 9 bits are allocated, and a scanning end coordinate value to which 9 bits are allocated. L, unused 1 bit, and 4
It is composed of bit control information (MT, D / U, V / H, TE).

【0025】制御情報の各ビットの機能は、それぞれ次
のように定義されている。
The function of each bit of the control information is defined as follows.

【0026】 MT:最初に選択する演算式を決定する情報 MT=0なら演算式A(1×5マトリクス) MT=1なら演算式B(1×7マトリクス) D/U:走査方向(ダウン/アップ)を指定する情報 D/U=0 及び V/H=0なら→方向に走査 D/U=0 及び V/H=1なら↓方向に走査 D/U=1 及び V/H=0なら←方向に走査 D/U=1 及び V/H=1なら↑方向に走査 V/H:縦横の走査方向を指定する情報 V/H=0なら横方向走査 V/H=1なら縦方向走査 TE:参照する最終走査線か否かを示す情報 TE=0なら続く走査線を参照 TE=1なら走査を終了 また、走査終了座標値Lには、V/H=0の時には横方
向走査の座標値が登録され、V/H=1の時には縦方向
走査の座標値が登録される。
MT: information for determining an arithmetic expression to be selected first. If MT = 0, arithmetic expression A (1 × 5 matrix). If MT = 1, arithmetic expression B (1 × 7 matrix). D / U: scanning direction (down / Up) If D / U = 0 and V / H = 0, scan in the direction → If D / U = 0 and V / H = 1, scan in the direction ↓ If D / U = 1 and V / H = 0 Scan in the direction of ← If D / U = 1 and V / H = 1, scan in the direction of ↑ V / H: Information specifying the vertical and horizontal scanning directions V / H = 0, horizontal scanning V / H = 1, vertical scanning TE: information indicating whether or not the last scanning line to be referred to. If TE = 0, refer to the following scanning line. If TE = 1, end scanning. Also, the scanning end coordinate value L includes horizontal scanning when V / H = 0. The coordinate values are registered. When V / H = 1, the coordinate values of the vertical scanning are registered.

【0027】スタ−トレジスタ101へのデ−タ書込み
によって特徴検出動作が開始されると、走査テ−ブル位
置レジスタ106に保持された開始アドレスから、走査
テ−ブルメモリ103に登録された32ビット並列デ−
タが読み出され、信号CHLが現われる毎に、アドレス
が更新され、次の32ビット並列デ−タが読み出され、
この動作が繰り返される。この繰り返し動作が終了する
のは、制御情報TEに1がセットされたデ−タを読み出
した時である。
When the feature detection operation is started by writing data to the start register 101, the 32-bit parallel data registered in the scan table memory 103 is read from the start address held in the scan table position register 106. Date
Each time the data is read out and the signal CHL appears, the address is updated and the next 32-bit parallel data is read out.
This operation is repeated. This repetition operation ends when data in which the control information TE is set to 1 is read.

【0028】走査テ−ブルメモリ103から読み出され
る32ビット並列デ−タのうち、9ビットの縦方向走査
開始座標Vsはセレクタ127及びカウンタ128に印
加され、9ビットの横方向走査開始座標Hsはセレクタ
127及びカウンタ129に印加され、9ビットの走査
終了座標値Lはカウンタ130に印加され、4ビットの
制御情報はコントロ−ルビットレジスタ132に印加さ
れる。また、4ビットの制御情報はコントロ−ルビット
レジスタ132にラッチされ、制御信号発生回路133
に印加される。制御信号発生回路133は、入力される
制御情報に従って、様々な制御信号を発生する。その制
御信号によって、カウンタ128,129及び130に
は、それぞれVs,Hs及びLの値がプリセットされ
る。また、V/H=0の時にはHsが、V/H=1の時
にはVsが、それぞれセレクタ127を介してカウンタ
125に印加され、カウンタ125にプリセットされ
る。
Of the 32-bit parallel data read from the scan table memory 103, the 9-bit vertical scanning start coordinate Vs is applied to the selector 127 and the counter 128, and the 9-bit horizontal scanning start coordinate Hs is selected by the selector. The 9-bit scanning end coordinate value L is applied to the counter 130, and the 4-bit control information is applied to the control bit register 132. Also, the 4-bit control information is latched in the control bit register 132, and the control signal generation circuit 133
Is applied to The control signal generation circuit 133 generates various control signals according to the input control information. By the control signal, the values of Vs, Hs and L are preset in the counters 128, 129 and 130, respectively. Further, when V / H = 0, Hs is applied, and when V / H = 1, Vs is applied to the counter 125 via the selector 127, and is preset in the counter 125.

【0029】カウンタ128はイメ−ジメモリ27の縦
方向の座標値PVを生成し、カウンタ129はイメ−ジ
メモリ27の横方向の座標値PHを生成し、カウンタ1
30は横又は縦方向の走査終了座標値L0を生成する。
またカウンタ125は、特徴点検出処理中の縦又は横方
向の走査位置CHPを生成する。
A counter 128 generates a vertical coordinate value PV of the image memory 27, a counter 129 generates a horizontal coordinate value PH of the image memory 27, and
Numeral 30 generates a horizontal or vertical scanning end coordinate value L0.
Further, the counter 125 generates a vertical or horizontal scanning position CHP during the feature point detection processing.

【0030】ところで、この実施例においては、複数の
画素デ−タを同一のタイミングで出力するための遅延,
各種演算に要する遅延,複数の演算結果のタイミングを
合わせるための遅延などが存在するため、イメ−ジメモ
リ27から読み出される画像デ−タと、特徴検出の対象
になっている画像デ−タとの間には時間差、即ち走査位
置ずれが存在する。従って、検出された特徴点の座標
(CHP)は、その時のイメ−ジメモリ27の読出アド
レス(PV,PH)とは一致しない。そこでこの実施例
では、イメ−ジメモリ27の読出アドレスを生成するカ
ウンタ(128,129)と特徴点検出座標を生成する
カウンタ(125)を独立に設けてある。最初にカウン
タ125にプリセットされる値Vs(又はHs)とカウ
ンタ128にプリセットされる値Vs(又はカウンタ1
29にプリセットされる値Hs)は同一であるが、制御
信号発生回路133が出力する補正信号によって、各々
のカウンタの値は修正される。各々の修正量は次の通り
である。
By the way, in this embodiment, a delay for outputting a plurality of pixel data at the same timing,
Since there are delays required for various operations, delays for adjusting the timing of a plurality of operation results, and the like, the difference between the image data read from the image memory 27 and the image data targeted for feature detection is obtained. There is a time difference between them, that is, a scanning position shift. Therefore, the coordinates (CHP) of the detected feature point do not match the read address (PV, PH) of the image memory 27 at that time. Therefore, in this embodiment, a counter (128, 129) for generating a read address of the image memory 27 and a counter (125) for generating feature point detection coordinates are provided independently. First, the value Vs (or Hs) preset in the counter 125 and the value Vs (or counter 1) preset in the counter 128 are set.
Although the value Hs) preset in 29 is the same, the value of each counter is corrected by the correction signal output from the control signal generation circuit 133. The respective correction amounts are as follows.

【0031】 D/U=0,V/H=0の場合(→方向走査): カウンタ128: 0 (PV=Vs) カウンタ129: −6 (PH=Hs−6) カウンタ130:+14 (L0=L+14) カウンタ125:−20 (CHP=Hs−20) D/U=0,V/H=1の場合(↓方向走査): カウンタ128: +6 (PV=Vs+6) カウンタ129: 0 (PH=Hs) カウンタ130:+14 (L0=L+14) カウンタ125:−20 (CHP=Vs−20) D/U=1,V/H=0の場合(←方向走査): カウンタ128: 0 (PV=Vs) カウンタ129: +6 (PH=Hs+6) カウンタ130:−14 (L0=L−14) カウンタ125:+20 (CHP=Hs+20) D/U=1,V/H=1の場合(↑方向走査): カウンタ128: −6 (PV=Vs−6) カウンタ129: 0 (PH=Hs) カウンタ130:−14 (L0=L−14) カウンタ125:+20 (CHP=Vs+20) 上記修正量に応じて、制御信号発生回路133が制御信
号を出力する。実際には、カウンタ125には修正量の
符号(+/−)に応じたアップ/ダウン切換信号UDC
を印加した後、修正量に対応するパルス数のクロックパ
ルスを信号CLKとして印加し、カウンタ128には修
正量の符号(+/−)に応じたアップ/ダウン切換信号
UDVを印加した後、修正量に対応するパルス数のクロ
ックパルスを信号CKVとして印加し、カウンタ129
には修正量の符号(+/−)に応じたアップ/ダウン切
換信号UDHを印加した後、修正量に対応するパルス数
のクロックパルスを信号CKHとして印加し、カウンタ
130には修正量の符号(+/−)に応じたアップ/ダ
ウン切換信号UDLを印加した後、修正量に対応するパ
ルス数のクロックパルスを信号CKLとして印加する。
カウンタ125,128,129及び130は全てアッ
プ/ダウンカウンタであり、各々、印加される信号に応
じて、プリセットされた値を増減する。
When D / U = 0 and V / H = 0 (→ direction scanning): Counter 128: 0 (PV = Vs) Counter 129: −6 (PH = Hs−6) Counter 130: +14 (L0 = L + 14) Counter 125: -20 (CHP = Hs-20) When D / U = 0 and V / H = 1 (downward scanning): Counter 128: +6 (PV = Vs + 6) Counter 129: 0 (PH = Hs) ) Counter 130: +14 (L0 = L + 14) Counter 125: -20 (CHP = Vs-20) When D / U = 1, V / H = 0 (← direction scanning): Counter 128: 0 (PV = Vs) Counter 129: +6 (PH = Hs + 6) Counter 130: -14 (L0 = L-14) Counter 125: +20 (CHP = Hs + 20) When D / U = 1, V / H = 1 (↑ direction running) Inspection): Counter 128: -6 (PV = Vs-6) Counter 129: 0 (PH = Hs) Counter 130: -14 (L0 = L-14) Counter 125: +20 (CHP = Vs + 20) According to the above correction amount Thus, the control signal generation circuit 133 outputs a control signal. Actually, the counter 125 has an up / down switching signal UDC corresponding to the sign (+/-) of the correction amount.
Is applied, a clock pulse of the number of pulses corresponding to the correction amount is applied as a signal CLK, and an up / down switching signal UDV corresponding to the sign (+/-) of the correction amount is applied to the counter 128, and then the correction is performed. A clock pulse of the pulse number corresponding to the amount is applied as the signal CKV, and the counter 129
After applying an up / down switching signal UDH corresponding to the sign (+/-) of the correction amount, a clock pulse of the number of pulses corresponding to the correction amount is applied as a signal CKH. After the application of the up / down switching signal UDL according to (+/-), the number of clock pulses corresponding to the correction amount is applied as the signal CKL.
The counters 125, 128, 129 and 130 are all up / down counters, each of which increases or decreases a preset value according to an applied signal.

【0032】以上の準備動作が完了すると、制御信号発
生回路は、方向信号(D/U及びV/H)に応じて、カ
ウンタ125,128及び129に所定の信号を印加
し、走査を開始する。各カウンタの計数の内容は次の通
りである。
When the above preparation operation is completed, the control signal generation circuit applies predetermined signals to the counters 125, 128 and 129 according to the direction signals (D / U and V / H) to start scanning. . The contents of the count of each counter are as follows.

【0033】 D/U=0,V/H=0の場合(→方向走査): カウンタ128: 停止 カウンタ129: インクリメント (PH←PH+
1) カウンタ125: インクリメント (CHP←CHP
+1) D/U=0,V/H=1の場合(↓方向走査): カウンタ128: インクリメント (PV←PV+
1) カウンタ129: 停止 カウンタ125: インクリメント (CHP←CHP
+1) D/U=1,V/H=0の場合(←方向走査): カウンタ128: 停止 カウンタ129: デクリメント (PH←PH−1) カウンタ125: デクリメント (CHP←CHP−
1) D/U=1,V/H=1の場合(↑方向走査): カウンタ128: デクリメント (PV←PV−1) カウンタ129: 停止 カウンタ125: デクリメント (CHP←CHP−
1) 実際には、信号UDV,UDH及びUDCを制御して、
各カウンタのインクリメント/デクリメントをセットし
た後、計数するカウンタに対しては、内部で生成した連
続的なクロックパルスを、信号線CKV,CKH及びC
LKに印加する。従ってカウンタ128及び129の一
方とカウンタ125が、クロックパルスに同期してカウ
ントアップもしくはカウントダウンし、座標値PV又は
PHとCHPが連続的に変化する。このため、イメ−ジ
メモリ27からは、走査テ−ブルメモリ103に書込ま
れた走査開始座標(Vs,Hs)の位置の画素から順番
に、指定した方向に連続する画素群のデ−タが順次に読
み出される。
When D / U = 0 and V / H = 0 (→ direction scanning): Counter 128: Stop Counter 129: Increment (PH ← PH +
1) Counter 125: Increment (CHP ← CHP)
+1) When D / U = 0, V / H = 1 (downward scanning): Counter 128: Increment (PV ← PV +
1) Counter 129: Stop Counter 125: Increment (CHP ← CHP)
+1) When D / U = 1, V / H = 0 (← direction scanning): Counter 128: Stop Counter 129: Decrement (PH ← PH-1) Counter 125: Decrement (CHP ← CHP−)
1) When D / U = 1 and V / H = 1 (↑ scanning): Counter 128: Decrement (PV ← PV-1) Counter 129: Stop Counter 125: Decrement (CHP ← CHP−)
1) In practice, controlling the signals UDV, UDH and UDC,
After setting the increment / decrement of each counter, for the counter that counts, the internally generated continuous clock pulse is applied to the signal lines CKV, CKH and C
Apply to LK. Therefore, one of the counters 128 and 129 and the counter 125 count up or down in synchronization with the clock pulse, and the coordinate values PV or PH and CHP change continuously. Therefore, from the image memory 27, data of a pixel group continuous in the designated direction is sequentially read from the pixel at the position of the scanning start coordinates (Vs, Hs) written in the scanning table memory 103. Is read out.

【0034】一方、比較器134はカウンタ129が出
力する座標値PHとカウンタ130が出力する走査終了
座標値L0とを比較し、両者が一致すると一致信号EQ
Hを出力する。また比較器135はカウンタ128が出
力する座標値PVとカウンタ130が出力する走査終了
座標値L0とを比較し、両者が一致すると一致信号EQ
Vを出力する。これらの一致信号EQH又はEQVによ
って、1本の走査線の走査終了を検出することができ
る。1本の走査線の走査が終了すると、信号CHLが現
われ、カウンタ121の値がインクリメントされ、走査
テ−ブルメモリ103の読出アドレスが変わるので、次
の走査線の情報が走査テ−ブルメモリ103から読み出
され、上記の動作が繰り返される。次に図4を参照して
説明する。イメ−ジメモリ27から読み出される画像デ
−タは、クロックパルスACLKに同期して、画素毎
に、バッファ146を介して特徴点検出回路150に入
力され、画素毎に、それが特徴点か否かが瞬時に、即ち
リアルタイムで識別される。特徴点検出回路150は、
特徴点か否かを示す信号CHと、ステ−タス信号を出力
する。特徴点信号CHは、カウンタ144及び149の
各計数入力端子に印加される。カウンタ144の計数出
力は、バッファ141を介して、特徴点メモリ112の
アドレス端子に印加される。特徴点メモリ112のデ−
タ端子には、座標情報DV及びDHと、特徴点検出回路
150が出力するステ−タス信号が、ラッチ136を介
して印加され、これらの情報は、特徴点信号CHの発生
に同期して、特徴点メモリ112に書込まれる。図3に
示すように、座標情報DVは、PV又はCHPであり、
方向信号V/Hに応じてセレクタ123がいずれかを選
択する。また座標情報DHは、PH又はCHPであり、
方向信号V/Hに応じてセレクタ123がいずれかを選
択する。
On the other hand, the comparator 134 compares the coordinate value PH output from the counter 129 with the scan end coordinate value L0 output from the counter 130, and when they match, a match signal EQ is output.
H is output. The comparator 135 compares the coordinate value PV output from the counter 128 with the scan end coordinate value L0 output from the counter 130, and when they match, a match signal EQ.
Output V. The end of scanning of one scanning line can be detected by these coincidence signals EQH or EQV. When the scanning of one scanning line is completed, a signal CHL appears, the value of the counter 121 is incremented, and the read address of the scanning table memory 103 changes, so that the information of the next scanning line is read from the scanning table memory 103. And the above operation is repeated. Next, a description will be given with reference to FIG. The image data read from the image memory 27 is input to the feature point detection circuit 150 via the buffer 146 for each pixel in synchronization with the clock pulse ACLK, and for each pixel, whether or not it is a feature point is determined. Are identified instantaneously, ie in real time. The feature point detection circuit 150
It outputs a signal CH indicating whether or not it is a feature point and a status signal. The feature point signal CH is applied to the respective count input terminals of the counters 144 and 149. The count output of the counter 144 is applied to the address terminal of the feature point memory 112 via the buffer 141. The data of the feature point memory 112
The coordinate information DV and DH and the status signal output from the feature point detection circuit 150 are applied to the data terminal via the latch 136. These information are synchronized with the generation of the feature point signal CH. The data is written to the feature point memory 112. As shown in FIG. 3, the coordinate information DV is PV or CHP,
The selector 123 selects one according to the direction signal V / H. The coordinate information DH is PH or CHP,
The selector 123 selects one according to the direction signal V / H.

【0035】一方、カウンタ149は、特徴点信号CH
を計数し、各走査線の特徴点の数を計数する。比較器1
48は、カウンタ149が検出した特徴点数と、特徴点
数制限値レジスタ105の値とを比較し、両者が一致す
ると一致信号EQMを出力する。オアゲ−ト147は、
一致信号EQMと方向信号V/Hに応じて選択されたE
QHもしくはEQVのいずれかが現われると、走査線終
了信号CHLを出力する。カウンタ145は、走査線終
了信号CHLを計数する。カウンタ145の出力値(走
査線番号)は、バッファ143を介して、特徴点格納数
メモリ111のアドレス端子に印加される。また、特徴
点格納数メモリ111のデ−タ端子には、カウンタ14
4の出力値(各走査線で検出された特徴点数)が、バッ
ファ142を介して印加される。つまり、特徴点格納数
メモリ111には、各々の走査線で検出された特徴点数
が、それぞれ独立したアドレスに記憶される。
On the other hand, the counter 149 outputs the characteristic point signal CH
And the number of feature points of each scanning line is counted. Comparator 1
Reference numeral 48 compares the number of feature points detected by the counter 149 with the value of the feature point number limit value register 105, and outputs a match signal EQM when they match. Or gate 147
E selected according to the coincidence signal EQM and the direction signal V / H
When either QH or EQV appears, it outputs a scan line end signal CHL. The counter 145 counts the scanning line end signal CHL. The output value (scanning line number) of the counter 145 is applied to the address terminal of the feature point storage number memory 111 via the buffer 143. The data terminal of the feature point storage number memory 111 has a counter 14
The output value of 4 (the number of feature points detected in each scanning line) is applied via the buffer 142. That is, the feature point storage number memory 111 stores the number of feature points detected in each scanning line at independent addresses.

【0036】特徴点メモリ112のアドレス端子はバッ
ファ138を介してアドレスバスと接続され、デ−タ端
子は双方向バッファ137を介してデ−タバスと接続さ
れている。また、特徴点格納数メモリ111のアドレス
端子はバッファ140を介してアドレスバスと接続さ
れ、デ−タ端子は双方向バッファ139を介してデ−タ
バスと接続されている。従って、システムコントロ−ラ
10は、特徴点検出動作が完了した後で、特徴点メモリ
112に保持されている全ての特徴点の情報を読取るこ
とができ、また特徴点格納数メモリ111に保持されて
いる全ての走査線の各特徴点数を読取ることができる。
The address terminal of the feature point memory 112 is connected to an address bus via a buffer 138, and the data terminal is connected to a data bus via a bidirectional buffer 137. An address terminal of the feature point storage number memory 111 is connected to an address bus via a buffer 140, and a data terminal is connected to a data bus via a bidirectional buffer 139. Therefore, the system controller 10 can read information of all the feature points held in the feature point memory 112 after the feature point detection operation is completed, and can be held in the feature point storage number memory 111. The number of feature points of all the scanning lines can be read.

【0037】図4の特徴点検出回路150の構成を図5
に示す。図5を参照すると、入力される画像デ−タは、
シフトレジスタ153を通って、2種類の演算部154
及び155にそれぞれ印加される。判定部156は、演
算部154及び155から出力される情報のいずれか一
方に基づいて、特徴点信号CHとステ−タス信号を生成
する。2組の情報のいずれを採用するかは、サイズ切換
回路158が出力する信号によって決定される。一方の
演算部154は、走査方向に連続する5画素領域を参照
して演算を実施し、他方の演算部155は、走査方向に
連続する7画素領域を参照して演算を実施する。演算部
154は比較的濃度勾配が大きい領域の特徴点を検出す
るのに適し、演算部155は比較的濃度勾配が小さい領
域の特徴点を検出するのに適する。特徴点検出回路15
0には、デ−タバスと接続されたしきい値レジスタ群1
51,157,モ−ドレジスタ152,及び演算式切換
座標レジスタ104が備わっている。これらのレジスタ
には、システムコントロ−ラ10が必要な値をそれぞれ
ストアする。
FIG. 5 shows the configuration of the feature point detection circuit 150 shown in FIG.
Shown in Referring to FIG. 5, input image data is
Through the shift register 153, two types of operation units 154
And 155 respectively. The determination unit 156 generates a feature point signal CH and a status signal based on one of the information output from the calculation units 154 and 155. Which of the two sets of information is adopted is determined by a signal output from the size switching circuit 158. One arithmetic unit 154 performs an arithmetic operation by referring to five consecutive pixel regions in the scanning direction, and the other arithmetic unit 155 performs an arithmetic operation by referring to seven continuous pixel regions in the scanning direction. The calculation unit 154 is suitable for detecting a feature point in a region where the density gradient is relatively large, and the calculation unit 155 is suitable for detecting a feature point in a region where the density gradient is relatively small. Feature point detection circuit 15
0 indicates a threshold register group 1 connected to the data bus.
51, 157, a mode register 152, and an arithmetic expression switching coordinate register 104. These registers store values required by the system controller 10, respectively.

【0038】図5に示すシフトレジスタ153と演算部
154の具体的な構成を図6に示し、演算部155の具
体的な構成を図7に示す。まず、図6を参照して説明す
る。各画素が8ビット構成の入力画像デ−タは、クロッ
クパルス(ACLK)に同期して、シフトレジスタ15
3に順次に印加される。この例では、シフトレジスタ1
53は10段のフリップフロップ(F/Fで示す)で構
成されており、各々のフリップフロップから信号を取り
出すことができる。つまり、シフトレジスタ153の入
力には、画素毎に順番に入力されるシリアル画像デ−タ
が印加されるが、シフトレジスタ153からは、連続す
る10画素の画像デ−タを同一のタイミングで並列デ−
タとして出力することができる。
FIG. 6 shows a specific configuration of the shift register 153 and the arithmetic unit 154 shown in FIG. 5, and FIG. 7 shows a specific configuration of the arithmetic unit 155. First, a description will be given with reference to FIG. The input image data in which each pixel is composed of 8 bits is supplied to the shift register 15 in synchronization with the clock pulse (ACLK).
3 are sequentially applied. In this example, shift register 1
Reference numeral 53 denotes a 10-stage flip-flop (indicated by F / F), from which signals can be extracted. That is, serial image data sequentially input for each pixel is applied to the input of the shift register 153, but image data of consecutive 10 pixels is output from the shift register 153 in parallel at the same timing. Date
Can be output as data.

【0039】図6に示す演算部154は、シフトレジス
タ153から出力される画像デ−タのうち、G−2,G
−1,G+1,G+2,G+3,G+4,G+5及びG
+6の8組をそれぞれ入力して利用している。図6にお
いて、演算部154の各構成要素(153以外の全て)
は、時間的な遅延及び処理のタイミングと一致するよう
に、クロックタイミングに合わせた大きさ及び位置で記
載されている。例えば、加算器211は信号の入力から
出力までに2クロックの時間を要し、減算器232は信
号の入力から出力までに3クロックの時間を要する。ま
た、加算器211の出力信号と加算器212の出力信号
とは同一のタイミングで現われる。従って、図6から分
かるように、演算部154が出力する多数の信号AJR
U,AJRL,AJTL,AJTE,AJHL,AJH
E,ADI9,AJDN,AJDP,AJSU,AJS
L,AJWU及びAJWLは、走査中の1つの注目画素
に対して全て同時に現われる。
The operation unit 154 shown in FIG. 6 is configured to output G-2 and G of the image data output from the shift register 153.
-1, G + 1, G + 2, G + 3, G + 4, G + 5 and G
Eight sets of +6 are input and used. In FIG. 6, each component of the arithmetic unit 154 (all except 153)
Are described in a size and a position corresponding to the clock timing so as to coincide with the time delay and the processing timing. For example, the adder 211 requires two clocks from the input to the output of the signal, and the subtractor 232 requires three clocks from the input to the output of the signal. The output signal of the adder 211 and the output signal of the adder 212 appear at the same timing. Accordingly, as can be seen from FIG. 6, a large number of signals AJR output from the arithmetic unit 154 are output.
U, AJRL, AJTL, AJTE, AJHL, AJH
E, ADI9, AJDN, AJDP, AJSU, AJS
L, AJWU and AJWL all appear simultaneously for one pixel of interest during scanning.

【0040】また図6において、各比較器に印加される
しきい値ARGU,ARGL,ASGU,ASGL,A
WGU,AWGL,ADIN及びADIPは、各々、し
きい値レジスタ群151に含まれる各レジスタの保持す
る値である。
In FIG. 6, threshold values ARGU, ARGL, ASGU, ASGL, A are applied to each comparator.
WGU, AWGL, ADIN, and ADIP are values held by each register included in the threshold register group 151, respectively.

【0041】この実施例では、図14に示されるような
画像から、路面に映る自動車の影や白線を認識する必要
がある。このため演算部154では、基本的に、連続す
る5画素の濃度デ−タを参照して、濃度変化(濃度微分
値)を検出する回路と、その領域の濃度を検出する回路
と、5画素領域の手前の走査位置における濃度を検出す
る回路を備えている。
In this embodiment, it is necessary to recognize the shadow or white line of the automobile reflected on the road from the image as shown in FIG. Therefore, the arithmetic unit 154 basically includes a circuit for detecting a change in density (density differential value) with reference to density data of five consecutive pixels, a circuit for detecting the density of the area, and a circuit for detecting five pixels. A circuit is provided for detecting the density at the scanning position before the area.

【0042】実際には、G+2,G+1,G,G−1及
びG−2の連続する5画素のデ−タのうち、G+2とG
+1を加算器213で加算し、G−1とG−2を加算器
214で加算し、減算器232で加算器214の出力か
ら加算器213の出力を減算し、濃度微分値(DIFF
=((G−1)+(G−2))−((G+2)+(G+1)))を検
出している。また、加算器214の出力値を参照して5
画素領域の濃度を識別している。更に、5画素領域の手
前のG+6,G+5,G+4及びG+3の4画素の値を
加算器211,212及び231で加算し、注目点Gの
手前の濃度を検出している。
Actually, of the data of five consecutive pixels G + 2, G + 1, G, G-1, and G-2, G + 2 and G
+1 is added by the adder 213, G−1 and G−2 are added by the adder 214, and the output of the adder 213 is subtracted from the output of the adder 214 by the subtractor 232, and the density differential value (DIFF
= ((G-1) + (G-2))-((G + 2) + (G + 1))). Also, referring to the output value of the adder 214, 5
The density of the pixel area is identified. Further, the values of four pixels G + 6, G + 5, G + 4 and G + 3 before the five-pixel area are added by the adders 211, 212 and 231 to detect the density before the point of interest G.

【0043】比較器233及び234は、5画素領域の
濃度が自動車の影部分とみなしうる濃度範囲内であるか
否かを識別するために設けられており、比較器235及
び236は、5画素領域の濃度が路面上の白線部分とみ
なしうる濃度範囲内であるか否かを識別するために設け
られており、比較器251及び252は、5画素領域の
手前の領域の濃度が路面部分とみなしうる濃度範囲内で
あるか否かを識別するために設けられている。ASGU
及びASGLは、それぞれ、影部分の濃度範囲の上限値
及び下限値であり、AWGU及びAWGLは、それぞ
れ、白線部分の濃度範囲の上限値及び下限値であり、A
RGU及びARGLは、それぞれ、路面部分の濃度範囲
の上限値及び下限値である。
The comparators 233 and 234 are provided to determine whether or not the density of the five-pixel area is within a density range that can be regarded as a shadow portion of the vehicle. The comparators 235 and 236 have five pixels. The comparators 251 and 252 are provided to identify whether the density of the area is within a density range that can be regarded as a white line portion on the road surface. It is provided to identify whether or not the concentration is within the recognizable concentration range. ASGU
And ASGL are the upper and lower limits of the density range of the shadow portion, respectively, and AWGU and AWGL are the upper and lower limits of the density range of the white line portion, respectively.
RGU and ARGL are the upper limit value and the lower limit value of the density range of the road surface portion, respectively.

【0044】このように濃度微分値だけでなく、注目領
域の濃度をも参照するのは、特徴点検出の誤りの発生を
防止するためである。例えば、図14に示すような画像
の中央付近を下から上に向かって走査した場合、通常、
最初に自動車下側の影の部分で大きな濃度微分値が得ら
れる。しかし例えば、自車と前方の車輌との間の路面上
に車間距離を示すマ−クが表示されていると、最初に車
間距離マ−クの部分で大きな濃度微分値が得られるの
で、濃度微分値だけを参照すると、路面上のマ−クと影
などとの区別ができない。濃度が所定範囲に入っている
か否かを調べることにより、路面,白線,影などの区別
を誤りなく実施しうる。
The reason for referring to not only the density differential value but also the density of the attention area is to prevent occurrence of an error in feature point detection. For example, when scanning the vicinity of the center of the image as shown in FIG.
First, a large density differential value is obtained in the shadow area below the vehicle. However, for example, if a mark indicating the inter-vehicle distance is displayed on the road surface between the own vehicle and the vehicle in front, a large density differential value is obtained at the inter-vehicle distance mark first. If only the differential value is referred to, it is not possible to distinguish between a mark on the road surface and a shadow. By checking whether or not the density is within a predetermined range, the road surface, the white line, the shadow, and the like can be distinguished without error.

【0045】比較器261及び262は、減算器232
が出力する濃度微分値DIFFをそれぞれしきい値AD
IN及びADIPと比較して、濃度変化の方向と、変化
量が充分に大きいか否かを識別する。即ち、比較器26
2は、濃度が暗から明の方向に変化した場合の濃度変化
量(微分値)が、プラス側のしきい値ADIPより大き
いか否かを識別し、比較器261は、濃度が明から暗の
方向に変化した場合の濃度変化量が、マイナス側のしき
い値ADINより大きい(絶対値で)か否かを識別す
る。
The comparators 261 and 262 are provided with a subtractor 232
Output the density differential value DIFF output by the threshold AD
As compared with IN and ADIP, the direction of the density change and whether or not the change amount is sufficiently large is identified. That is, the comparator 26
No. 2 discriminates whether or not the density change (differential value) when the density changes from dark to light is larger than the positive threshold ADIP. The comparator 261 determines whether the density is light to dark. It is determined whether or not the amount of density change in the case of the change in the direction is larger than the threshold value ADIN on the negative side (in absolute value).

【0046】ところで、画像を走査して得られる濃度微
分値を比較器によって二値化した場合、例えば図13に
示すように、特徴が検出される部分はある程度の幅(長
さ)を持つことになる。例えば図21は、図14に似た
画像を入力し、下から上に向かって走査しながら、濃度
微分値を検出し、濃度微分値を二値化した結果を二次元
画面上に示したものであるが、この二次元画面上には、
線の集合として特徴情報が出力されている。従って、実
際の特徴点、即ち輪郭の位置を検出するためには、二値
化された特徴情報に対して細線化処理を施す必要があ
る。しかし、ソフトウェア処理による細線化には、通
常、非常に長い時間がかかるので、この実施例では、次
に説明するように、細線化を不要にする処理を特徴点検
出回路150の内部で実行している。
When a density differential value obtained by scanning an image is binarized by a comparator, for example, as shown in FIG. 13, a portion where a feature is detected has a certain width (length). become. For example, FIG. 21 shows an image obtained by inputting an image similar to that shown in FIG. 14, scanning the density upward from the bottom, detecting the density differential value, and binarizing the density differential value on a two-dimensional screen. However, on this two-dimensional screen,
The feature information is output as a set of lines. Therefore, in order to detect the actual feature point, that is, the position of the contour, it is necessary to perform a thinning process on the binarized feature information. However, since thinning by software processing usually takes a very long time, in this embodiment, processing to make thinning unnecessary is executed inside the feature point detection circuit 150 as described below. ing.

【0047】演算部154には、減算器232が出力す
る濃度微分値DIFFを1クロック遅らせて出力するフ
リップフロップ253と、それが出力する信号(Z)を
更に1クロック遅らせて出力するフリップフロップ26
3が設けてあり、走査方向に連続して現われる3画素の
各位置(Z+1,Z,Z−1)での濃度微分値が同じタ
イミングで得られる。そして、比較器271がZ+1の
画素位置の濃度微分値とZの画素位置の濃度微分値とを
比較して2つの信号AJTL及びAJTEを生成し、比
較器272がZの画素位置の濃度微分値とZ−1の画素
位置の濃度微分値とを比較して2つの信号AJHL及び
AJHEを生成する。即ち図12に示す実施例では、A
JTL,AJTEA,JHL及びAJHEに基づいて、
濃度微分値DIFFの変化形状を調べ、DIFFに現わ
れる変化の山の頂部と谷の底部をそれぞれ輪郭位置とし
て検出している。なお、残りの多数のフリップフロップ
201は、多数の信号を出力するタイミングを互いに一
致させるために設けた遅延要素である。
The arithmetic unit 154 includes a flip-flop 253 that outputs the density differential value DIFF output from the subtractor 232 with a delay of one clock, and a flip-flop 26 that outputs the signal (Z) output from the subtracter 232 with a further delay.
3 are provided, and the density differential value at each position (Z + 1, Z, Z-1) of three pixels appearing continuously in the scanning direction is obtained at the same timing. Then, the comparator 271 compares the density differential value at the pixel position Z + 1 with the density differential value at the pixel position Z to generate two signals AJTL and AJTE, and the comparator 272 generates the density differential value at the pixel position Z. And the density differential value at the pixel position of Z-1 are compared to generate two signals AJHL and AJHE. That is, in the embodiment shown in FIG.
Based on JTL, AJTEA, JHL and AJHE,
The change shape of the density differential value DIFF is examined, and the top of the peak and the bottom of the valley of the change appearing in DIFF are detected as contour positions. Note that the remaining many flip-flops 201 are delay elements provided to make the timings at which many signals are output coincide with each other.

【0048】図7を参照して演算部155を説明する。
演算部155では、シフトレジスタ153から出力され
る画像デ−タのうち、G−3,G−2,G+2,G+
3,G+4,G+5及びG+6の7組を入力して利用し
ている。また図6と同様に、図7に示す演算部155の
各構成要素は、時間的な遅延及び処理のタイミングと一
致するように、クロックタイミングに合わせた大きさ及
び位置で記載されている。従って、図7から分かるよう
に、演算部155が出力する多数の信号BJRU,BJ
RL,BJTL,BJTE,BJHL,BJHE,BD
I9,BJDN,BJDP,BJSU,BJSL,BJ
WU及びBJWLは、走査中の1つの注目画素に対して
全て同時に現われる。また図7において、各比較器に印
加されるしきい値BRGU,BRGL,BSGU,BS
GL,BWGU,BWGL,BDIN及びBDIPは、
各々、しきい値レジスタ群157に含まれる各レジスタ
の保持する値である。
The operation section 155 will be described with reference to FIG.
In the arithmetic unit 155, of the image data output from the shift register 153, G-3, G-2, G + 2, G +
Seven sets of 3, G + 4, G + 5 and G + 6 are input and used. Also, as in FIG. 6, each component of the arithmetic unit 155 illustrated in FIG. 7 is described in a size and a position corresponding to a clock timing so as to coincide with a time delay and processing timing. Accordingly, as can be seen from FIG. 7, a large number of signals BJRU, BJ
RL, BJTL, BJTE, BJHL, BJHE, BD
I9, BJDN, BJDP, BJSU, BJSL, BJ
WU and BJWL all appear simultaneously for one pixel of interest during scanning. In FIG. 7, threshold values BRGU, BRGL, BSGU, BS applied to each comparator are shown.
GL, BWGU, BWGL, BDIN and BDIP
Each is a value held by each register included in the threshold register group 157.

【0049】演算部155では、基本的に、連続する7
画素の濃度デ−タを参照して、濃度変化(濃度微分値)
を検出する回路と、その領域の濃度を検出する回路と、
7画素領域の手前の走査位置における濃度を検出する回
路を備えている。
The arithmetic unit 155 basically has seven consecutive
Density change (density differential value) with reference to pixel density data
And a circuit for detecting the density of the area,
A circuit is provided for detecting the density at the scanning position before the seven pixel area.

【0050】実際には、G+3,G+2,G+1,G,
G−1,G−2及びG−3の連続する7画素のデ−タの
うち、G+2とG+3を加算器217で加算し、G−2
とG−3を加算器218で加算し、減算器238で加算
器218の出力から加算器217の出力を減算し、濃度
微分値(DIFF=((G−3)+(G−2))−((G+2)
+(G+3)))を検出している。また、加算器218の
出力値を参照して7画素領域の濃度を識別している。更
に、7画素領域の手前のG+6,G+5,G+4及びG
+3の4画素の値を加算器215,216及び237で
加算し、注目点Gの手前の濃度を検出している。
In practice, G + 3, G + 2, G + 1, G,
G + 2 and G + 3 of the data of seven consecutive pixels G-1, G-2 and G-3 are added by the adder 217, and G-2
And G-3 are added by the adder 218, and the output of the adder 217 is subtracted from the output of the adder 218 by the subtractor 238, and the density differential value (DIFF = ((G-3) + (G-2)) − ((G + 2)
+ (G + 3))). Further, the density of the seven-pixel area is identified with reference to the output value of the adder 218. Further, G + 6, G + 5, G + 4, and G before the 7-pixel area
The values of the four pixels of +3 are added by the adders 215, 216 and 237 to detect the density before the point of interest G.

【0051】比較器221及び222は、7画素領域の
濃度が自動車の影部分とみなしうる濃度範囲内であるか
否かを識別するために設けられており、比較器223及
び224は、7画素領域の濃度が路面上の白線部分とみ
なしうる濃度範囲内であるか否かを識別するために設け
られており、比較器254及び255は、7画素領域の
手前の領域の濃度が路面部分とみなしうる濃度範囲内で
あるか否かを識別するために設けられている。BSGU
及びBSGLは、それぞれ、影部分の濃度範囲の上限値
及び下限値であり、BWGU及びBWGLは、それぞ
れ、白線部分の濃度範囲の上限値及び下限値であり、B
RGU及びBRGLは、それぞれ、路面部分の濃度範囲
の上限値及び下限値である。残りの回路部分の構成及び
動作は、既に説明した演算部154と同様である。
The comparators 221 and 222 are provided for identifying whether or not the density of the seven-pixel area is within a density range that can be regarded as a shadow portion of the vehicle. The comparators 223 and 224 are provided with seven pixels. The comparators 254 and 255 are provided to identify whether or not the density of the area is within a density range that can be regarded as a white line portion on the road surface. It is provided to identify whether or not the concentration is within the recognizable concentration range. BSGU
And BSGL are the upper and lower limits of the density range of the shadow portion, respectively, and BWGU and BWGL are the upper and lower limits of the density range of the white line portion, respectively.
RGU and BRGL are the upper limit value and the lower limit value of the density range of the road surface portion, respectively. The configuration and operation of the remaining circuit are the same as those of the arithmetic unit 154 described above.

【0052】図5の判定部156の具体的な構成を、図
8,図9及び図10に示す。まず図8を参照すると、こ
の回路の上側の部分では、演算部154から出力される
信号AJDP,AJDN,AJRU,AJRL,AJS
L,AJSU,ADI9,AJWL及びAJWUと、モ
−ド信号G,P及びNに基づいて、信号AJGが生成さ
れ、下側の半分では、演算部155から出力される信号
BJDP,BJDN,BJRU,BJRL,BJSL,
BJSU,BDI9,BJWL及びBJWUと、モ−ド
信号G,P及びNに基づいて、信号BJGが生成され
る。
The specific configuration of the determination unit 156 in FIG. 5 is shown in FIGS. 8, 9 and 10. First, referring to FIG. 8, in the upper part of the circuit, the signals AJDP, AJDN, AJRU, AJRL, AJS output from the arithmetic unit 154 are provided.
A signal AJG is generated based on L, AJSU, ADI9, AJWL, and AJWU and the mode signals G, P, and N. In the lower half, signals BJDP, BJDN, BJRU, BJRL, BJSL,
A signal BJG is generated based on BJSU, BDI 9, BJWL and BJWU and mode signals G, P and N.

【0053】モ−ド信号G,P及びNは、図5に示すモ
−ドレジスタ152から出力される信号であり、特徴点
の検出条件を決定する。モ−ドレジスタ152にセット
する値(モ−ド値)と検出条件との関係は次の通りにな
っている。
The mode signals G, P and N are signals output from the mode register 152 shown in FIG. 5, and determine the feature point detection conditions. The relationship between the value (mode value) set in the mode register 152 and the detection condition is as follows.

【0054】モ−ド値0001(2進表示)の場合:暗
から明の方向への濃度変化(微分値)を検出 濃度値は考慮しない モ−ド値0010の場合:明から暗の方向への濃度変化
(微分値)を検出 濃度値は考慮しない モ−ド値0011の場合:暗から明の方向と明から暗方
向への両方の濃度変化を検出 濃度値は考慮しない モ−ド値0101の場合:暗から明の方向への濃度変化
(微分値)を検出 濃度値を考慮して判定 モ−ド値0110の場合:明から暗の方向への濃度変化
(微分値)を検出 濃度値を考慮して判定 モ−ド値0111の場合:暗から明の方向と明から暗方
向への両方の濃度変化を検出 濃度値を考慮して判定 なおこの実施例では、上記6種類のモ−ド切換えのみが
可能になっているが、例えば演算部154が出力する多
数の信号AJRU,AJRL,AJTL,AJTE,A
JHL,AJHE,ADI9,AJDN,AJDP,A
JSU,AJSL,AJWU及びAJWLと、演算部1
55が出力する多数の信号BJRU,BJRL,BJT
L,BJTE,BJHL,BJHE,BDI9,BJD
N,BJDP,BJSU,BJSL,BJWU及びBJ
WLの各々について、それを無視するか否かをそれぞれ
個別にモ−ドレジスタ152の出力信号で決定できるよ
うに構成を変更すれば、更に様々な種類の条件下で特徴
を検出しうる。
Mode value 0001 (binary display): Detects density change (differential value) from dark to light direction Density value is not considered Mode value 0010: light to dark direction Mode value 0011: Detects both density changes in the direction from dark to bright and in the direction from light to dark. Density value is not considered. Mode value 0101 In case of: Detect density change (differential value) from dark to light direction Judgment taking into account density value In case of mode value 0110: Detect density change from light to dark direction (differential value) In the case of mode value 0111: detection of both density changes in the direction from dark to light and in the direction from light to dark Judgment in consideration of density values In this embodiment, the above six types of modes are used. Although only the mode switching is possible, for example, a large number of No. AJRU, AJRL, AJTL, AJTE, A
JHL, AJHE, ADI9, AJDN, AJDP, A
JSU, AJSL, AJWU and AJWL, and arithmetic unit 1
Numerous signals BJRU, BJRL, BJT output by 55
L, BJTE, BJHL, BJHE, BDI9, BJD
N, BJDP, BJSU, BJSL, BJWU and BJ
If the configuration is changed so that whether to ignore each WL can be individually determined by the output signal of the mode register 152, characteristics can be detected under various kinds of conditions.

【0055】図9を参照して説明する。この回路は、演
算部154が出力する信号AJTL,AJTE,AJH
L,AJHE及びADI9と、演算部155が出力する
信号BJTL,BJTE,BJHL,BJHE及びBD
I9と、図8の回路から出力される信号AJG及びBJ
Gと、制御信号FMTに基づいて、特徴点判定信号CH
を生成する。
A description will be given with reference to FIG. This circuit includes signals AJTL, AJTE, AJH output from the arithmetic unit 154.
L, AJHE, and ADI9, and signals BJTL, BJTE, BJHL, BJHE, and BD output by the arithmetic unit 155.
I9 and signals AJG and BJ output from the circuit of FIG.
G and the control signal FMT, the characteristic point determination signal CH
Generate

【0056】制御信号FMTは、図5のサイズ切換回路
158から出力される信号である。図9に示す回路で
は、制御信号FMTが0か1かに応じて、特徴点検出に
使用する演算式を切換える。具体的には、制御信号FM
Tが0の時には、演算部154が出力する信号群を利用
して特徴点の判定を実施し、制御信号FMTが1の時に
は、演算部155が出力する信号群を利用して特徴点の
判定を実施する。つまり、特徴点を検出するために参照
する画素領域のサイズが、制御信号FMTが0の時には
1×5画素になり、制御信号FMTが1の時には1×7
画素になる。
The control signal FMT is a signal output from the size switching circuit 158 in FIG. In the circuit shown in FIG. 9, the arithmetic expression used for detecting the feature point is switched according to whether the control signal FMT is 0 or 1. Specifically, the control signal FM
When T is 0, determination of a feature point is performed using a signal group output from the arithmetic unit 154, and when TMT is 1, determination of a feature point is performed using a signal group output from the arithmetic unit 155. Is carried out. That is, when the control signal FMT is 0, the size of the pixel region referred to for detecting the feature point is 1 × 5 pixels, and when the control signal FMT is 1, the size is 1 × 7 pixels.
Pixel.

【0057】例えば図14に示されるように、特徴点検
出の対象となる画像中には、距離が近い被写体から遠い
被写体まで様々なものが存在し、図14の画像において
は、画像中の下側の領域では距離の近い被写体が映し出
され、上側の領域では距離の遠い被写体が映し出される
傾向にある。また、距離の近い被写体は、距離の遠い被
写体に比べて画像中の大きい領域を占める。従って例え
ば、前方を走行する車輌の地面に映る影を検出するため
に、画像を下から上に向かって走査する場合、影の領域
は、車輌の距離が近い場合には大きい画像領域で検出さ
れ、距離が遠い場合には小さい画像領域で検出される。
また濃度勾配(単位位置変化に対する濃度変化)は、車
輌の距離が近い場合には比較的小さく、距離が遠い場合
には大きくなる傾向がある。
For example, as shown in FIG. 14, there are various objects from a short-distance subject to a far-distance subject in an image for feature point detection, and in the image of FIG. In the area on the side, a subject at a short distance tends to be displayed, and in the area on the upper side, a subject at a long distance tends to be displayed. In addition, a subject at a short distance occupies a larger area in an image than a subject at a long distance. Thus, for example, when scanning an image from bottom to top to detect a shadow reflected on the ground of a vehicle traveling ahead, a shadow area is detected in a large image area when the distance of the vehicle is short. If the distance is long, it is detected in a small image area.
The density gradient (density change with respect to the unit position change) tends to be relatively small when the distance of the vehicle is short and large when the distance is long.

【0058】このため、特徴点検出のために参照する画
素領域のサイズが比較的小さい場合、濃度勾配の小さい
近距離の被写体は特徴点として検出されない可能性があ
り、逆に参照する画素領域のサイズが比較的大きいと、
領域の小さい遠距離の被写体は、欠落し特徴点として検
出されない可能性がある。
Therefore, if the size of the pixel area to be referred to for detecting a feature point is relatively small, a subject at a short distance with a small density gradient may not be detected as a feature point. If the size is relatively large,
A subject at a long distance with a small area may be missing and not detected as a feature point.

【0059】図15は、図14に示すような画像であっ
て、前方を走行する車輌との距離が近い場合と遠い場合
の2種類の画像情報を入力し、画像の中央付近を縦方向
に走査した時の、各々の濃度分布を示している。図15
を参照すると、前方車輌の下端に映るそれの影の部分の
領域は、前方車輌との距離が近い場合には大きく、前方
車輌との距離が遠い場合には小さくなるのが分かる。従
って、前方車輌の下端に映るそれの影を確実に認識する
ためには、小さい画素領域の特徴と大きい画素領域の特
徴をいずれも検出可能でなければならない。このような
検出対象領域の画像中の大きさの変化に対応するため
に、制御信号FMTによって、参照する画素領域のサイ
ズを切換えている。
FIG. 15 shows an image as shown in FIG. 14, in which two types of image information of a case where the distance to a vehicle traveling ahead is short and a case where the distance is long are inputted. Each density distribution at the time of scanning is shown. FIG.
It can be seen from FIG. 7 that the shadow area reflected on the lower end of the front vehicle is large when the distance to the front vehicle is short, and is small when the distance to the front vehicle is long. Therefore, in order to reliably recognize the shadow of the lower vehicle, the characteristics of the small pixel area and the characteristics of the large pixel area must be detectable. In order to cope with such a change in the size of the detection target region in the image, the size of the reference pixel region is switched by the control signal FMT.

【0060】制御信号FMTを生成するサイズ切換回路
158の構成を図11に示す。図11を参照すると、制
御信号FMTはフリップフロップFF1から出力され
る。フリップフロップFF1の状態は、最初は信号MT
によってセットされ、その後、比較器CP1が出力する
信号CNGによって切換えられる。即ち、走査テ−ブル
メモリ103上の各走査線の情報に含まれる制御情報M
Tの値が、走査テ−ブルメモリ103から読み出され、
コントロ−ルビットレジスタ132を介してサイズ切換
回路158に印加され、フリップフロップFF1のプリ
セット及びクリアの各端子を制御する信号を生成してF
F1の初期状態をセットする。信号OEsは、走査テ−
ブルメモリ出力イネ−ブル信号であり、MTとともにサ
イズ切換回路158に印加される。例えば、図14に示
す画像を下から上に向かって走査する時には、制御情報
MTに1がセットされ、FF1がプリセットされるの
で、制御信号FMTは1になり、1×7の画素領域サイ
ズが選択される。比較器CP1は、カウンタ125が出
力する走査位置情報CHPを、演算式切換座標レジスタ
104が保持する値と比較し、両者が一致すると信号C
NGを出力する。信号CNGが現われると、フリップフ
ロップFF1の状態は反転され、制御信号FMTが反転
する。つまり、走査位置が指定した位置(レジスタ15
9の値)になると、MTが1の時にはFMTが1から0
に反転し、MTが0の時にはFMTが0から1に反転す
る。
FIG. 11 shows the configuration of size switching circuit 158 for generating control signal FMT. Referring to FIG. 11, the control signal FMT is output from the flip-flop FF1. The state of the flip-flop FF1 is initially the signal MT
, And then switched by the signal CNG output from the comparator CP1. That is, the control information M included in the information of each scanning line on the scanning table memory 103
The value of T is read from the scan table memory 103,
A signal which is applied to the size switching circuit 158 via the control bit register 132 to control the preset and clear terminals of the flip-flop FF1 is generated, and
The initial state of F1 is set. The signal OEs is a scanning
This is an enable signal for a bull memory output, and is applied to the size switching circuit 158 together with the MT. For example, when scanning the image shown in FIG. 14 from bottom to top, 1 is set in the control information MT and FF1 is preset, so that the control signal FMT becomes 1 and the pixel area size of 1 × 7 is Selected. The comparator CP1 compares the scanning position information CHP output by the counter 125 with the value held by the arithmetic expression switching coordinate register 104, and when they match, a signal C
NG is output. When the signal CNG appears, the state of the flip-flop FF1 is inverted, and the control signal FMT is inverted. That is, the scanning position is designated (register 15
9), when MT is 1, FMT changes from 1 to 0.
When MT is 0, FMT is inverted from 0 to 1.

【0061】判定部156の図10に示す回路部分で
は、演算部154が出力する多数の信号AJRU,AJ
RL,ADI9,AJDN,AJDP,AJSU,AJ
SL,AJWU及びAJWLと、演算部155が出力す
る多数の信号BJRU,BJRL,BDI9,BJD
N,BJDP,BJSU,BJSL,BJWU及びBJ
WLと制御信号FMTに基づいて、様々なステ−タス信
号を生成する。これらのステ−タス信号は、座標情報と
ともに、特徴点の情報として、特徴点メモリ112に書
込まれる。ステ−タス信号の各々が示す情報の内容は次
の通りである。
In the circuit portion shown in FIG. 10 of the judgment section 156, a large number of signals AJRU, AJ
RL, ADI9, AJDN, AJDP, AJSU, AJ
SL, AJWU and AJWL, and a large number of signals BJRU, BJRL, BDI9, BJD output from the arithmetic unit 155
N, BJDP, BJSU, BJSL, BJWU and BJ
Various status signals are generated based on the WL and the control signal FMT. These status signals are written into the feature point memory 112 as feature point information together with coordinate information. The contents of the information indicated by each status signal are as follows.

【0062】N: 濃度微分値DIFFと微分しきい値
(ADIN,BDIN)との比較結果 P: 濃度微分値DIFFと微分しきい値(ADIP,
BDIP)との比較結果 Rw:注目点より手前の走査位置の濃度と路面濃度上限
しきい値(ARGU,BRGU)との比較結果 Rb:注目点より手前の走査位置の濃度と路面濃度下限
しきい値(ARGL,BRGL)との比較結果 Sw:注目領域の濃度と影領域上限しきい値(ASG
U,BSGU)との比較結果 Sb:注目領域の濃度と影領域下限しきい値(ASG
L,BSGL)との比較結果 Ww:注目領域の濃度と白線領域上限しきい値(AWG
U,BWGU)との比較結果 Wb:注目領域の濃度と白線領域下限しきい値(AWG
L,BWGL)との比較結果 Ds:濃度微分値DIFFの符号 既に説明したように、高速画像デ−タ処理ユニット10
0は、走査テ−ブルメモリ103に書き込まれたデ−タ
に従って走査を実施し、特徴点の検出を実施する。走査
する領域(ウインドゥ)は、各々走査開始座標,走査終
了座標,及び走査方向の情報を含む走査線情報の集合に
よって決定される。従って、例えば図19に示すよう
な、特殊形状の範囲内のみに限定して特徴点の検出を実
施することができる。このような走査を実施すると、処
理対象のデ−タ量が大幅に低減されるので、特徴点検出
の所要時間が短縮される。
N: Result of comparison between density differential value DIFF and differential threshold value (ADIN, BDIN) P: Density differential value DIFF and differential threshold value (ADIP,
Rb: Density of the scanning position before the point of interest and the road surface upper limit threshold value (ARGU, BRGU) Rb: Density of the scanning position before the point of interest and the road surface lower limit threshold Results of comparison with values (ARGL, BRGL) Sw: Density of target area and shadow area upper threshold (ASG)
U, BSGU) Sb: Density of attention area and shadow area lower threshold (ASG)
Lw, BSGL) Ww: Density of attention area and white line area upper threshold (AWG)
(U, BWGU) Wb: Density of attention area and white line area lower threshold (AWG)
L, BWGL) Ds: sign of density differential value DIFF As described above, high-speed image data processing unit 10
In the case of 0, scanning is performed in accordance with the data written in the scanning table memory 103, and detection of a feature point is performed. The scanning area (window) is determined by a set of scanning line information including scanning start coordinates, scanning end coordinates, and scanning direction information. Therefore, the feature points can be detected only within the range of the special shape as shown in FIG. When such scanning is performed, the amount of data to be processed is greatly reduced, and the time required for feature point detection is reduced.

【0063】また、走査する領域(ウインドゥ)は、走
査テ−ブル位置レジスタ106によって指定されるアド
レスからテ−ブルエンドマ−ク(TE=1)が存在する
位置までの走査線情報によって決定されるので、走査テ
−ブルメモリ103には、位置や形状の異なる様々な走
査パタ−ンの複数組のデ−タを、予め登録しておくこと
ができ、走査テ−ブル位置レジスタ106の内容の書き
換えだけで、瞬時に走査パタ−ンを切換えることができ
る。
The area to be scanned (window) is determined by the scanning line information from the address specified by the scanning table position register 106 to the position where the table end mark (TE = 1) exists. In the scan table memory 103, a plurality of sets of data of various scan patterns having different positions and shapes can be registered in advance, and only the contents of the scan table position register 106 are rewritten. Thus, the scanning pattern can be instantaneously switched.

【0064】例えば図14に示すような画像から白線部
分の特徴点を検出する場合、道路状況や自動車の運転状
況に応じて、白線の画面上での方向及び位置が変化する
ので、特定の狭い範囲だけを走査ウインドゥとして定め
ると、その範囲が実際の白線の位置と正確に一致してい
ない限り、白線が検出できない。
For example, when detecting a characteristic point of a white line portion from an image as shown in FIG. 14, the direction and the position of the white line on the screen change according to the road condition and the driving condition of the automobile. If only the range is defined as the scanning window, the white line cannot be detected unless the range exactly matches the actual position of the white line.

【0065】そこでこの実施例においては、白線の特徴
点を検出する時には、図18に示すように位置及び/又
は傾きが互いに異なる9種類のウインドゥのデ−タを、
予め走査テ−ブルメモリ103に登録しておき、前回の
認識処理で検出された白線の情報に基づき、図17に示
す処理によって適切な1つのウインドゥを選択し、選択
したウインドゥのデ−タの先頭アドレスを走査テ−ブル
位置レジスタ106にセットしている。
Therefore, in this embodiment, when detecting a characteristic point of a white line, data of nine types of windows whose positions and / or inclinations are different from each other as shown in FIG.
An appropriate window is previously registered in the scanning table memory 103, and an appropriate window is selected by the processing shown in FIG. 17 based on the white line information detected in the previous recognition processing, and the head of the data of the selected window is selected. The address is set in the scan table position register 106.

【0066】図18を参照すると、ウインドゥ1〜9
は、各々、図19に示すような平行四辺形状であり、ウ
インドゥ1,2及び3はその右辺が画面の中心位置x0
と一致するように定めてある。ウインドゥ4,5及び6
は、それぞれウインドゥ1,2及び3を少し左側に移動
ものと一致し、ウインドゥ7,8及び9は、それぞれウ
インドゥ1,2及び3を少し右側に移動ものと一致す
る。また、ウインドゥ1,2及び3は、互いに傾きが異
なっている。ウインドゥ4,5及び6とウインドゥ7,
8及び9も同様である。従って、ウインドゥ1〜9を切
換えることで、画面上での白線の向きの変化や位置の変
化に対応しうる。
Referring to FIG. 18, windows 1 to 9
Have a parallelogram shape as shown in FIG. 19, and the windows 1, 2, and 3 have their right sides at the center position x0 of the screen.
It is determined to match. Windows 4, 5 and 6
Respectively correspond to those moving windows 1, 2, and 3 slightly to the left, and windows 7, 8, and 9 correspond to moving windows 1, 2, and 3, respectively, slightly to the right. The windows 1, 2 and 3 have different inclinations. Windows 4, 5 and 6 and window 7,
8 and 9 are similar. Therefore, by switching the windows 1 to 9, it is possible to cope with a change in the direction or position of the white line on the screen.

【0067】また図18において、yU1,yU2,y
U3,yU4,yU5,yU6,yU7,yU8及びy
U9が、それぞれウインドゥ1,2,3,4,5,6,
7,8及び9の左辺上側のy座標、yL1,yL2,y
L3,yL4,yL5,yL6,yL7,yL8及びy
L9が、それぞれウインドゥ1,2,3,4,5,6,
7,8及び9の左辺下側のy座標、xL1,xL4及び
xL7が、それぞれウインドゥ1,4及び7の左辺のx
座標、xR1,xR4及びxR7が、それぞれウインド
ゥ1,4及び7の右辺のx座標である。またxVは、前
回の認識処理で検出した左側の白線と右側の白線との交
点のx座標であり、yLWは、前回の認識処理で検出し
た左側の白線と、ウインドゥの右辺との交点のy座標で
ある。
In FIG. 18, yU1, yU2, y
U3, yU4, yU5, yU6, yU7, yU8 and y
U9 has windows 1, 2, 3, 4, 5, 6, respectively
Y coordinate of upper left side of 7, 8, and 9, yL1, yL2, y
L3, yL4, yL5, yL6, yL7, yL8 and y
L9 is window 1, 2, 3, 4, 5, 6, respectively
The y-coordinates xL1, xL4, and xL7 on the lower left side of 7, 8, and 9 are x values on the left side of windows 1, 4, and 7, respectively.
The coordinates xR1, xR4 and xR7 are the x coordinates of the right side of windows 1, 4 and 7, respectively. Further, xV is the x coordinate of the intersection of the left white line and the right white line detected in the previous recognition process, and yLW is the y coordinate of the intersection between the left white line detected in the previous recognition process and the right side of the window. Coordinates.

【0068】図17の処理では、まず、xV<(xR1
+xR4)/2か否かを識別し、yesであればレジス
タNUに1をストアし、noであれば、更にxV>(x
R1+xR7)/2か否かを識別し、yesであればレ
ジスタNUに2をストアし、noであればNUに0をス
トアする。続いて、yLW<(yL1+yU2)/2か
否かを識別し、yesであればレジスタNLに1をスト
アし、noであれば、更にyLW>(yL2+yU3)
/2か否かを識別し、yesであればNLに3をストア
し、noであればNLに2をストアする。そして、NU
×3+NLの計算の結果を、レジスタNoにストアす
る。Noの値が、選択すべきウインドゥの番号である。
In the processing of FIG. 17, first, xV <(xR1
+ XR4) / 2, and if yes, 1 is stored in the register NU; if no, xV> (x
R1 + xR7) / 2 is identified, and if yes, 2 is stored in the register NU, and if no, 0 is stored in NU. Subsequently, it is determined whether or not yLW <(yL1 + yU2) / 2. If yes, 1 is stored in the register NL. If no, yLW> (yL2 + yU3).
/ 2, and if yes, stores 3 in NL; if no, stores 2 in NL. And NU
The result of the calculation of × 3 + NL is stored in the register No. The value of No is the window number to be selected.

【0069】[0069]

【発明の効果】以上のとおり本発明によれば、走査領域
は、走査テ−ブルメモリ手段上に書き込まれる走査線情
報(走査開始座標,走査終了座標)の組合せによって決
定されるので、走査領域の形状の制限はなく、必要最小
限の領域だけを走査して、短時間で検出を完了すること
ができる。
As described above, according to the present invention, the scanning area is determined by a combination of scanning line information (scanning start coordinates and scanning end coordinates) written on the scanning table memory means. There is no limitation on the shape, and the detection can be completed in a short time by scanning only the necessary minimum area.

【0070】また第2番の発明によれば、テ−ブル選択
手段の内容を変更することによって、テ−ブルアドレス
発生手段が出力するテ−ブルアドレスの初期値を変更す
ることができる。従って例えば、走査テ−ブルメモリ手
段上の複数のアドレス領域に、互いに走査形状が異なる
複数種類の走査線情報群を予め書き込んでおけば、テ−
ブル選択手段の内容を変更するだけで、瞬時に、走査時
に読み出される走査線情報群の走査形状を切換えること
ができる。
According to the second aspect, the initial value of the table address output from the table address generating means can be changed by changing the contents of the table selecting means. Therefore, for example, if a plurality of types of scanning line information groups having different scanning shapes are written in advance in a plurality of address areas on the scanning table memory means, the table can be obtained.
The scanning shape of the scanning line information group read at the time of scanning can be instantaneously switched only by changing the contents of the cable selection means.

【0071】また第3番の発明によれば、前記走査テ−
ブルメモリ手段上に書き込むデ−タによって、走査方向
が縦方向か横方向かを指定することができる。例えば、
指定する走査領域が横長形状の場合、縦方向の走査の繰
り返しよりも、横方向の走査の繰り返しの方が、繰り返
し回数が少ないので、処理の所要時間が短くなるし、走
査テ−ブルメモリ手段に対するデ−タの書き込みも簡単
になる。つまり、走査形状に適した走査方向を必要に応
じて選択しうる。
According to the third aspect of the present invention, the scanning tape
Whether the scanning direction is the vertical direction or the horizontal direction can be designated by the data to be written on the table memory means. For example,
When the designated scanning area has a horizontally long shape, the repetition of the horizontal scanning has a smaller number of repetitions than the repetition of the vertical scanning, so that the required processing time is shorter, and the scanning table memory means is not required. Writing data is also simplified. That is, a scanning direction suitable for the scanning shape can be selected as needed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 一実施例の装置全体の構成を示すブロック図
である。
FIG. 1 is a block diagram illustrating a configuration of an entire apparatus according to an embodiment.

【図2】 図1の高速画像デ−タ処理ユニット100の
構成の概略を示すブロック図である。
FIG. 2 is a block diagram schematically showing a configuration of a high-speed image data processing unit 100 of FIG.

【図3】 高速画像デ−タ処理ユニット100の一部分
の構成を詳細に示すブロック図である。
FIG. 3 is a block diagram showing the configuration of a part of the high-speed image data processing unit 100 in detail.

【図4】 高速画像デ−タ処理ユニット100の残りの
部分の構成を詳細に示すブロック図である。
FIG. 4 is a block diagram showing the configuration of the remaining portion of the high-speed image data processing unit 100 in detail.

【図5】 図4の特徴点検出回路150の構成を示すブ
ロック図である。
FIG. 5 is a block diagram showing a configuration of a feature point detection circuit 150 of FIG.

【図6】 図5の演算部154の構成を示すブロック図
である。
FIG. 6 is a block diagram illustrating a configuration of a calculation unit 154 of FIG.

【図7】 図5の演算部155の構成を示すブロック図
である。
FIG. 7 is a block diagram illustrating a configuration of a calculation unit 155 of FIG.

【図8】 図5の判定部156の一部分の構成を示すブ
ロック図である。
8 is a block diagram showing a configuration of a part of a determination unit 156 of FIG.

【図9】 図5の判定部156の一部分の構成を示すブ
ロック図である。
FIG. 9 is a block diagram illustrating a configuration of a part of a determination unit 156 of FIG. 5;

【図10】 図5の判定部156の残りの部分の構成を
示すブロック図である。
FIG. 10 is a block diagram showing a configuration of a remaining part of the determination unit 156 of FIG.

【図11】 図5のサイズ切換回路158の構成を示す
ブロック図である。
FIG. 11 is a block diagram showing a configuration of a size switching circuit 158 of FIG.

【図12】 APEAKとADIPの検出条件を示すグ
ラフである。
FIG. 12 is a graph showing detection conditions for APEAK and ADIP.

【図13】 従来の特徴検出処理の内容を示す波形図で
ある。
FIG. 13 is a waveform diagram showing the contents of a conventional feature detection process.

【図14】 特徴検出対象となる二次元画像の一例を示
す平面図である。
FIG. 14 is a plan view illustrating an example of a two-dimensional image to be a feature detection target.

【図15】 2種類の画像における縦方向の濃度分布を
示すグラフである。
FIG. 15 is a graph showing the density distribution in the vertical direction in two types of images.

【図16】 走査テ−ブルメモリの内容の一例を示すマ
ップである。
FIG. 16 is a map showing an example of the contents of a scanning table memory.

【図17】 走査ウインドゥ選択処理を示すフロ−チャ
−トである。
FIG. 17 is a flowchart showing a scan window selection process.

【図18】 白線検出に利用する9種類のウインドゥの
形状及び位置を示す平面図である。
FIG. 18 is a plan view showing shapes and positions of nine types of windows used for white line detection.

【図19】 走査パタ−ンの一例を示す平面図である。FIG. 19 is a plan view showing an example of a scanning pattern.

【図20】 濃度微分値を検出するフィルタの注目画素
領域と計算の内容を示す平面図である。
FIG. 20 is a plan view showing a pixel region of interest of a filter for detecting a density differential value and the contents of calculation.

【図21】 画像デ−タの濃度微分値を所定のしきい値
で二値化した結果を二次元画面上に表わした平面図であ
る。
FIG. 21 is a plan view showing, on a two-dimensional screen, the result of binarizing the density differential value of image data with a predetermined threshold value.

【符号の説明】[Explanation of symbols]

10:システムコントロ−ラ 11:CPU 12:ROM 13:RAM 14:インタ−フェ−ス 22:TVカメラ 23:操作ボ−ド 24:A/Dコンバ−
タ 25:CRTドライバ 26:TVモニタ 27:イメ−ジメモリ 100:高速画像デ−タ処理ユニット 101:スタ−トレジスタ 102:ストップレジ
スタ 103:走査テ−ブルメモリ 104:演算式切換座
標レジスタ 105:特徴点数制限値レジスタ 106:走査テ−ブル位置レジスタ 107:ステ−タスレジスタ 111:特徴点格納数
メモリ 112:特徴点メモリ 113:インタ−フェ
−ス 120:内部制御回路 121,125,128,129,130:カウンタ 122,123,124,127:セレクタ 126:双方向バッファ 132:コントロ−ルビットレジスタ 133:制御信号発生回路 134,135:比較
器 136:ラッチ 141,146:バッ
ファ 144,145,149:カウンタ 148:比較器 147:CHL発生回
路 150:特徴点検出回路 151,157:しきい値レジスタ群 152:モ−ドレジスタ 153:シフトレジス
タ 154,155:演算部 156:判定部 158:サイズ切換回路 201,253,263:フリップフロップ 211,212,213,214,215,216,2
17,218,231,237:加算器 232:減算器 221,222,223,224,233,234,2
35,236,251,252,254,255,26
1,262,271,272:比較器
10: System controller 11: CPU 12: ROM 13: RAM 14: Interface 22: TV camera 23: Operation board 24: A / D converter
Table 25: CRT driver 26: TV monitor 27: Image memory 100: High-speed image data processing unit 101: Start register 102: Stop register 103: Scanning table memory 104: Arithmetic expression switching coordinate register 105: Limit of the number of feature points Value register 106: Scan table position register 107: Status register 111: Feature point storage number memory 112: Feature point memory 113: Interface 120: Internal control circuit 121, 125, 128, 129, 130: Counters 122, 123, 124, 127: selector 126: bidirectional buffer 132: control bit register 133: control signal generation circuit 134, 135: comparator 136: latch 141, 146: buffer 144, 145, 149: counter 148 : Comparator 47: CHL generation circuit 150: feature point detection circuit 151, 157: threshold register group 152: mode register 153: shift register 154, 155: arithmetic unit 156: determination unit 158: size switching circuit 201, 253, 263: Flip-flops 211, 212, 213, 214, 215, 216, 2
17, 218, 231, 237: adder 232: subtractor 221, 222, 223, 224, 233, 234, 2
35,236,251,252,254,255,26
1,262,271,272: Comparator

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭62−139057(JP,A) 特開 平2−112075(JP,A) 特開 昭58−189763(JP,A) 特開 昭58−189780(JP,A) 特開 平3−280172(JP,A) 特開 平1−233673(JP,A) 特開 平3−99594(JP,A) 特開 昭61−118888(JP,A) 特開 平3−95689(JP,A) 特開 昭61−150080(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06T 1/20 G06T 1/60 450 G06T 3/00 400 G06T 7/00 250 G06T 7/60 200 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-62-139057 (JP, A) JP-A-2-112075 (JP, A) JP-A-58-189763 (JP, A) JP-A-58-18976 189780 (JP, A) JP-A-3-280172 (JP, A) JP-A-1-33673 (JP, A) JP-A-3-99594 (JP, A) JP-A-61-118888 (JP, A) JP-A-3-95689 (JP, A) JP-A-61-150080 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06T 1/20 G06T 1/60 450 G06T 3 / 00 400 G06T 7/00 250 G06T 7/60 200

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 読出し自在な所定の画像デ−タを保持す
る画像メモリ手段;周期が一定のクロック信号を出力す
るクロック信号生成手段;少なくとも、複数組の、走査
開始座標及び走査終了座標、もしくは走査開始座標及び
走査長の情報を読み書き自在な、走査テ−ブルメモリ手
段;走査テ−ブルメモリ手段上の各走査開始座標に応じ
て初期値が決定され、前記クロック信号に同期して変化
する走査アドレス情報を生成し前記画像メモリ手段に印
加する走査アドレス生成手段;走査テ−ブルメモリ手段
上の各走査終了座標もしくは走査長の情報に基づいて、
各走査線の終了位置か否かを識別する、走査線終了検出
手段;走査線終了検出手段が走査線の終了位置を検出す
る毎に変化するテ−ブルアドレスを生成し、それを前記
走査テ−ブルメモリ手段のアドレス端子に印加する、テ
−ブルアドレス発生手段;前記クロック信号に同期して
前記画像メモリ手段から読み出される時系列画像デ−タ
を入力し、走査位置の画像デ−タが特徴点か否かを識別
する、特徴点検出手段;及び特徴点検出手段が特徴点を
検出した時に、前記走査アドレス生成手段が出力する走
査アドレス情報を記憶する、特徴点記憶手段;を備える
画像処理装置。
1. An image memory means for holding predetermined readable image data; a clock signal generating means for outputting a clock signal having a constant period; at least a plurality of sets of scanning start coordinates and scanning end coordinates, or Scanning table memory means capable of freely reading and writing information on scanning start coordinates and scanning length; an initial value is determined according to each scanning start coordinate on the scanning table memory means, and a scanning address which changes in synchronization with the clock signal Scanning address generating means for generating information and applying the information to the image memory means; based on information on each scanning end coordinate or scanning length on the scanning table memory means;
Scanning line end detecting means for identifying whether or not each scanning line is at the end position; generating a table address which changes each time the scanning line end detecting means detects the end position of the scanning line; Table address generating means for applying to an address terminal of the table memory means; input of time-series image data read from the image memory means in synchronization with the clock signal; Image processing comprising: feature point detecting means for identifying whether a point is a point; and feature point storing means for storing scanning address information output by the scanning address generating means when the feature point detecting means detects a feature point. apparatus.
【請求項2】 前記テ−ブルアドレス発生手段が出力す
るテ−ブルアドレスの初期値を決定するテ−ブル選択手
段を更に備える、前記請求項1記載の画像処理装置。
2. The image processing apparatus according to claim 1, further comprising table selection means for deciding an initial value of a table address output from said table address generation means.
【請求項3】 前記走査テ−ブルメモリ手段は、走査方
向が縦方向か横方向かを示す走査方向情報を記憶する領
域を更に含み、前記走査アドレス生成手段は、縦方向の
走査位置を計数する第1のカウンタ手段,及び横方向の
走査位置を計数する第2のカウンタ手段を含み、前記ク
ロック信号生成手段は、走査中、走査テ−ブルメモリ手
段上の走査方向情報に応じて、第1のカウンタ手段及び
第2のカウンタ手段のいずれか一方にクロック信号を印
加する、前記請求項1記載の画像処理装置。
3. The scanning table memory means further includes an area for storing scanning direction information indicating whether a scanning direction is a vertical direction or a horizontal direction, and the scanning address generating means counts a scanning position in the vertical direction. A first counter for counting the scanning position in the horizontal direction; a second counter for counting the horizontal scanning position, wherein the clock signal generating means performs the first scanning in accordance with the scanning direction information on the scanning table memory during the scanning. The image processing apparatus according to claim 1, wherein a clock signal is applied to one of the counter unit and the second counter unit.
JP00724193A 1993-01-20 1993-01-20 Image processing device Expired - Fee Related JP3225417B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00724193A JP3225417B2 (en) 1993-01-20 1993-01-20 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00724193A JP3225417B2 (en) 1993-01-20 1993-01-20 Image processing device

Publications (2)

Publication Number Publication Date
JPH06215137A JPH06215137A (en) 1994-08-05
JP3225417B2 true JP3225417B2 (en) 2001-11-05

Family

ID=11660513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00724193A Expired - Fee Related JP3225417B2 (en) 1993-01-20 1993-01-20 Image processing device

Country Status (1)

Country Link
JP (1) JP3225417B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3993259B2 (en) 1996-07-31 2007-10-17 アイシン精機株式会社 Image processing device
US5991427A (en) * 1996-07-31 1999-11-23 Aisin Seiki Kabushiki Kaisha Method and apparatus for detecting a lane on a road

Also Published As

Publication number Publication date
JPH06215137A (en) 1994-08-05

Similar Documents

Publication Publication Date Title
US7280121B2 (en) Image processing apparatus and method of same
EP0441359B1 (en) Method of and apparatus for extracting image contour data
US5535144A (en) Distance detection method and system using a stereoscopical imaging apparatus
JPS61249175A (en) Graphic processor
US5559950A (en) Graphics processor enhancement unit
CN100399358C (en) Image processing apparatus and method of same
US5739826A (en) Polygon display based on x coordinates of edges on scan line
US5341468A (en) Image processor
JP3993259B2 (en) Image processing device
US5058181A (en) Hardware and software image processing system
KR100281949B1 (en) Video drawing device
JP3225417B2 (en) Image processing device
JP3225416B2 (en) Image processing device
US6052131A (en) Apparatus and method for generating antialiased polygons
JP3223393B2 (en) Image processing device
JPH06215107A (en) Picture processor
US4393453A (en) Region information processing system
EP0454065A2 (en) Cursor generating apparatus
US5831634A (en) Three-dimensional graphic controller
JPH1047922A (en) Method and device for detecting lane on road surface
JP2773127B2 (en) Image editing method
JP3139805B2 (en) Image processing method and apparatus
JPH01242916A (en) On-vehicle distance detector
JP3119613B2 (en) Image processing apparatus and image processing method
KR100272128B1 (en) Method for filling image area within continuous contour

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070831

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080831

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090831

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090831

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100831

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100831

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110831

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120831

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees