JP2638003B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2638003B2
JP2638003B2 JP62288760A JP28876087A JP2638003B2 JP 2638003 B2 JP2638003 B2 JP 2638003B2 JP 62288760 A JP62288760 A JP 62288760A JP 28876087 A JP28876087 A JP 28876087A JP 2638003 B2 JP2638003 B2 JP 2638003B2
Authority
JP
Japan
Prior art keywords
run
line
memory
address
image processing
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
JP62288760A
Other languages
Japanese (ja)
Other versions
JPH01130284A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP62288760A priority Critical patent/JP2638003B2/en
Publication of JPH01130284A publication Critical patent/JPH01130284A/en
Application granted granted Critical
Publication of JP2638003B2 publication Critical patent/JP2638003B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、カメラから得られるビデオ信号の画像処理
を行う画像処理装置に関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus that performs image processing on a video signal obtained from a camera.

従来の技術 従来の画像処理装置は、第3図のような構造になって
いた。
2. Description of the Related Art A conventional image processing apparatus has a structure as shown in FIG.

すなわち、カメラ17から入力されたビデオ信号は、カ
メラ制御手段18によって2値化され、信号反転検出手段
20に入力される。また、カメラ制御手段18は、同期信号
を発生し、アドレス発生手段19に送る。アドレス発生手
段19は、同期信号に同期して2値化されたビデオ信号の
位置情報を、始点・終点アドレス検出手段21,終了コー
ド発生手段22,メモリ書き込みタイミング制御手段23,ア
ドレスバス制御手段25に送る。信号反転検出手段20は、
入力されたビデオ信号の反転を検出し、その情報を始点
・終点アドレス検出手段21に送る。始点・終点アドレス
検出手段21は、入力された情報より、ビデオ信号が反転
した位置を検出し、反転が始まった位置を始点アドレ
ス、もとに戻った位置を終点アドレスとして、データバ
ス制御手段24を介してメモリ26に、位置情報を格納す
る。終了コード発生手段22は、アドレス発生手段19より
得られた情報より、ラインの終了を検知し、ライン上の
データの終りを意味する終了コードを、データバス制御
手段24を介してメモリに格納する。
That is, the video signal input from the camera 17 is binarized by the camera control means 18 and is converted into a signal inversion detection means.
Entered in 20. Further, the camera control means 18 generates a synchronization signal and sends it to the address generation means 19. The address generation means 19 converts the position information of the video signal binarized in synchronization with the synchronization signal into start / end address detection means 21, end code generation means 22, memory write timing control means 23, address bus control means 25. Send to The signal inversion detecting means 20
It detects the inversion of the input video signal and sends the information to the start point / end point address detection means 21. The start point / end point address detection means 21 detects a position where the video signal is inverted from the input information, and sets the position where the inversion has started as a start point address and the position where the video signal is returned as an end point address as a data bus control means 24. , The position information is stored in the memory 26. The end code generating means 22 detects the end of the line from the information obtained from the address generating means 19, and stores an end code indicating the end of the data on the line in the memory via the data bus control means 24. .

発明が解決しようとする問題 しかしながら前記のような構成では、対象パターンの
位置を簡単に探し出す為に、水平線上の特定長のランを
抽出するには、第4図に示すように、従来の画像処理装
置を用いた画像圧縮処理27を行った後、その結果を用い
て特定長のランを抽出する特徴抽出処理28を行っていた
ので、処理がシリアルに行われ、処理時間が長いという
問題点を有していた。
However, in the above-described configuration, in order to easily find the position of the target pattern, a run of a specific length on a horizontal line is extracted as shown in FIG. After performing the image compression process 27 using the processing device, the feature extraction process 28 that extracts runs of a specific length using the result is performed, so that the process is performed serially and the processing time is long. Had.

問題点を解決するための手段 前記問題点を解決するために、本発明の画像処理装置
は、予め指定された長さ範囲のランの始点と終点のみを
検出し、その位置をメモリに格納する手段と、ライン上
の予め指定された長さ範囲のラン数をカウントし、ライ
ンの終了を検知して、ラインの終了情報として、前記ラ
ン数をメモリの特定アドレスに格納する手段とを備えた
ものである。
Means for Solving the Problems In order to solve the above problems, the image processing apparatus of the present invention detects only the start point and the end point of a run in a predetermined length range, and stores the positions in a memory. Means for counting the number of runs in a predetermined length range on the line, detecting the end of the line, and storing the number of runs as a line end information at a specific address of a memory. Things.

作用 本発明は前記の構成によって、画像圧縮処理と、特定
長のランを抽出する特徴抽出処理とが並列して同時に行
われることとなる。
According to the present invention, the image compression processing and the feature extraction processing for extracting a run of a specific length are performed simultaneously in parallel.

実 施 例 以下本発明の一実施例の画像処理装置について、図面
を参照しながら説明する。
Embodiment Hereinafter, an image processing apparatus according to an embodiment of the present invention will be described with reference to the drawings.

第1図は、本発明の一実施例の画像処理装置のブロッ
ク図である。第1図において、カメラ1から入力された
ビデオ信号は、カメラ制御手段2によって2値化され、
信号反転検出手段3に入力される。また、カメラ制御手
段2は、同期信号を発生し、アドレス発生手段4に送
る。アドレス発生手段4は、同期信号に同期して2値化
されたビデオ信号の位置情報を、対策範囲判定手段6,始
点・終点アドレス検出手段8,メモリ書き込みタイミング
制御手段10,アドレスバス制御手段12に送る。信号反転
検出手段3は、入力されたビデオ信号の反転を検出し、
その情報を有効ラン長判定手段5に送る。有効ラン長判
定手段5は、入力された情報より、ランの長さが予め指
定された範囲内にあるかを判定し、その結果を有効ラン
データ取り込み信号発生手段7に送る。また、検索範囲
判定手段6は、入力された位置情報より、検出されたラ
ンが、画面内の検索したい領域内にあるかどうかを判定
し、その結果を有効ランデータ取り込み信号発生手段7
に送る。有効ランデータ取り込み信号発生手段7は、入
力された情報より、ランが予め指定された長さを満足
し、しかも画面内の検索したい領域内にある時のみ、始
点・終点アドレス検出手段8,ラン数検出手段9に検出信
号を送る。始点・終点アドレス検出手段8は、入力され
た検出信号より、ランの始点と終点の位置を検出し、デ
ータバス制御手段11を介してメモリ13に位置情報を格納
する。ラン数検出手段9は、入力された検出信号より、
ライン上のラン数をカウントし、データバス制御手段1
1,アドレス制御手段12を介して、ラインの終了を検知し
て、メモリ13の特定アドレスへ、ライン上のラン数を格
納する。
FIG. 1 is a block diagram of an image processing apparatus according to one embodiment of the present invention. In FIG. 1, a video signal input from a camera 1 is binarized by a camera control means 2,
The signal is input to the signal inversion detecting means 3. Further, the camera control means 2 generates a synchronization signal and sends it to the address generation means 4. The address generation means 4 converts the position information of the video signal binarized in synchronization with the synchronization signal into the countermeasure range determination means 6, the start / end address detection means 8, the memory write timing control means 10, the address bus control means 12, Send to The signal inversion detection means 3 detects the inversion of the input video signal,
The information is sent to the effective run length determination means 5. The effective run length determining means 5 determines whether or not the run length is within a predetermined range based on the input information, and sends the result to the effective run data acquisition signal generating means 7. The search range determining means 6 determines from the input position information whether the detected run is within an area to be searched on the screen, and uses the result as a valid run data capture signal generating means 7.
Send to Only when the run satisfies the length specified in advance from the input information and is within the area to be searched on the screen, the valid run data fetch signal generation means 7 executes the start / end address detection means 8 A detection signal is sent to the number detecting means 9. The start point / end point address detecting means 8 detects the positions of the start point and the end point of the run from the input detection signal, and stores the position information in the memory 13 via the data bus control means 11. The run number detection means 9 calculates
The number of runs on the line is counted, and data bus control means 1
1. The end of the line is detected via the address control means 12, and the number of runs on the line is stored at a specific address in the memory 13.

以上のように構成された画像処理装置について、以下
第5図,第6図及び第7図を用いて、その作用を説明す
る。
The operation of the image processing apparatus configured as described above will be described below with reference to FIGS. 5, 6, and 7.

第5図は、2値化された画像信号例、第6図は従来の
画像処理装置によって作成される画像圧縮データ、第7
図は、本実施例によって作成される画像圧縮データであ
る。
FIG. 5 is an example of a binarized image signal, FIG. 6 is image compression data created by a conventional image processing apparatus, FIG.
The figure shows the compressed image data created by the present embodiment.

従来の画像処理装置では、第5図に示されるような画
像が入力された場合、第6図に示すように各水平ライン
に対応して、ランの始点アドレス・終点アドレスが交互
に格納され、ランがライン上になくなると、となりあう
アドレスに、ライン上にランがないことを示す終了コー
ドが格納される。これに対し、本実施例によれば、第5
図に示されるような画像が入力された場合、第7図に示
すように、予め指定された長さの範囲により、ラン長が
長いパターンやラン長が短いパターンは、圧縮されたデ
ータからは削除され、予め指定されたラン長を満足する
ランの始点アドレス・終点アドレスのみが交互に格納さ
れると同時に、ラン数格納メモリ領域に、ライン上のデ
ータの終了情報として、指定された長さのラン数を格納
することができる。
In the conventional image processing apparatus, when an image as shown in FIG. 5 is input, a start point address and an end point address of a run are alternately stored for each horizontal line as shown in FIG. When the run is no longer on the line, an end code indicating that there is no run on the line is stored in the adjacent address. On the other hand, according to the present embodiment, the fifth
When an image as shown in the figure is input, as shown in FIG. 7, a pattern with a long run length or a pattern with a short run length depends on the range of the length specified in advance from the compressed data. At the same time, only the start and end addresses of the runs satisfying the previously specified run length are stored alternately, and at the same time, the run length storage memory area stores the specified length as the end information of the data on the line. Can be stored.

従って、対象パターンの位置を探し出すために、特定
長のランを抽出する場合に、第2図に示すように、画像
信号をランの位置情報に圧縮する画像圧縮処理14と、特
定長のランを抽出する特徴抽出処理15を並行して行うこ
とになり、シリアルにはその後判別処理16を行うだけで
よく、処理時間が短くなる。
Therefore, when a run of a specific length is extracted in order to find the position of the target pattern, as shown in FIG. 2, an image compression process 14 for compressing an image signal into run position information and a run of a specific length The feature extraction processing 15 to be extracted is performed in parallel, and only the determination processing 16 needs to be performed subsequently for serial processing, and the processing time is shortened.

発明の効果 以上のように本発明は、予め指定された長さ範囲のラ
ンの始点と終点のみを検出し、その位置をメモリに格納
する手段と、ライン上の予め指定された長さ範囲のラン
数をカウントし、ラインの終了を検知して、ラインの終
了情報として、前記ラン数をメモリの特定アドレスに格
納する手段とを備えることにより、画像信号をランの位
置情報に圧縮する画像圧縮処理と、特定長のランを抽出
する特徴抽出処理を並行して行うことができ、対象パタ
ーンの位置を探し出す全体の処理時間を短縮することが
できる。
Effect of the Invention As described above, the present invention detects a start point and an end point of only a run of a predetermined length range, stores the positions in a memory, and stores the position in a line of a predetermined length range on a line. Means for counting the number of runs, detecting the end of the line, and storing the number of runs at a specific address in a memory as end information of the line, thereby compressing the image signal into position information of the run. The process and the feature extraction process for extracting a run of a specific length can be performed in parallel, and the entire processing time for searching for the position of the target pattern can be reduced.

また、終了情報として、ライン上のラン数を格納する
ことにより圧縮されたデータ内に含まれる情報量をふや
すことができると共に、特定アドレスにラン数を書き込
むことにより、プログラムによる検索時間を短縮するこ
とができる。
Also, by storing the number of runs on a line as the end information, the amount of information included in the compressed data can be increased, and the search time by the program can be reduced by writing the number of runs to a specific address. be able to.

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

第1図は本発明の一実施例の画像処理装置のブロック
図、第2図は本発明を用いた位置認識の処理フロー図、
第3図は従来の画像処理装置のブロック図、第4図は従
来の画像処理装置を用いた位置認識の処理フロー図、第
5図は本発明の効果を示す2値化された画像信号例を示
す図、第6図は従来の画像処理装置によって作成される
画像圧縮データ例を示す図、第7図は本発明の一実施例
によって作成される画像圧縮データ例を示す図である。 1……カメラ、2……カメラ制御手段、3……信号反転
検出手段、4……アドレス発生手段、5……有効ラン長
判定手段、6……検索範囲判定手段、7……有効ランデ
ータ取り込み信号発生手段、8……始点・終点アドレス
検出手段、9……ラン数検出手段、10……メモリ書き込
みタイミング制御手段、11……データバス制御手段、12
……アドレスバス制御手段、13……メモリ。
FIG. 1 is a block diagram of an image processing apparatus according to one embodiment of the present invention, FIG. 2 is a processing flowchart of position recognition using the present invention,
FIG. 3 is a block diagram of a conventional image processing apparatus, FIG. 4 is a processing flowchart of position recognition using the conventional image processing apparatus, and FIG. 5 is an example of a binarized image signal showing the effect of the present invention. FIG. 6 is a diagram showing an example of compressed image data created by a conventional image processing apparatus, and FIG. 7 is a diagram showing an example of compressed image data created by an embodiment of the present invention. DESCRIPTION OF SYMBOLS 1 ... Camera 2 ... Camera control means 3 ... Signal inversion detection means 4 ... Address generation means 5 ... Effective run length determination means 6 ... Search range determination means 7 ... Effective run data Acquisition signal generation means, 8 ... Start point / end point address detection means, 9 ... Run number detection means, 10 ... Memory write timing control means, 11 ... Data bus control means, 12
... address bus control means, 13 ... memory.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】2値化されたビデオ信号より、信号の反転
を検出する手段と、反転した位置より、ランの始点と終
点の位置を検出したメモリに格納する手段と、ラインの
終了を検知して、ライン上のデータの終りを意味する終
了コードをメモリに格納する手段とからなる画像処理装
置において、予め指定された長さ範囲のランの始点と終
点のみを検出し、その位置をメモリに格納する手段と、
ライン上の予め指定された長さ範囲のラン数をカウント
し、ラインの終了を検知して、ラインの終了情報とし
て、前記ラン数をメモリの特定アドレスに格納する手段
とを備えたことを特徴とする画像処理装置。
1. A means for detecting inversion of a signal from a binarized video signal, a means for storing a start point and an end point of a run from a reversed position in a memory for detecting a start point and an end point of a run, and detecting an end of a line. Means for storing an end code indicating the end of the data on the line in a memory, detecting only a start point and an end point of a run of a predetermined length range, and storing the position in a memory. Means for storing in
Means for counting the number of runs of a predetermined length range on the line, detecting the end of the line, and storing the number of runs as a line end information at a specific address in a memory. Image processing apparatus.
JP62288760A 1987-11-16 1987-11-16 Image processing device Expired - Fee Related JP2638003B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62288760A JP2638003B2 (en) 1987-11-16 1987-11-16 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62288760A JP2638003B2 (en) 1987-11-16 1987-11-16 Image processing device

Publications (2)

Publication Number Publication Date
JPH01130284A JPH01130284A (en) 1989-05-23
JP2638003B2 true JP2638003B2 (en) 1997-08-06

Family

ID=17734353

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62288760A Expired - Fee Related JP2638003B2 (en) 1987-11-16 1987-11-16 Image processing device

Country Status (1)

Country Link
JP (1) JP2638003B2 (en)

Also Published As

Publication number Publication date
JPH01130284A (en) 1989-05-23

Similar Documents

Publication Publication Date Title
CN109635772B (en) Dictation content correcting method and electronic equipment
JP2865210B2 (en) Character recognition device
JPS5975375A (en) Character recognizer
JPS6140684A (en) Contour tracking device
US5386482A (en) Address block location method and apparatus
JPH0644292B2 (en) Two-dimensional visual recognition device
US4190820A (en) Signal train verification system using landmarks
JP2638003B2 (en) Image processing device
CN114697764B (en) Method and device for generating video abstract and readable storage medium
JP3632287B2 (en) Vehicle number reading device
CN108133214B (en) Information search method based on picture correction and mobile terminal
JPH067343B2 (en) Pattern identification device
JP2503208B2 (en) Business card image processing method
JP2801602B2 (en) Word recognition device
JP2982287B2 (en) Character string detection method, character string detection device, character string reading method, and character string reading device
JPH07272189A (en) Method for identifying vehicle and method for reading vehicle number
JP2684818B2 (en) Distance value calculation / extraction circuit in character recognition device
JPS638513B2 (en)
JPS55123777A (en) Intersection extraction system
JPS61231674A (en) Picture processor
JP3159770B2 (en) Elevator data collection device
JPH1015150A (en) Recognition device for pieces on japanese chess board
JPS62195805U (en)
JPH0225553B2 (en)
CN110675529A (en) Driving recording method and device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees