JPS6297078A - Positioning system for picture pattern - Google Patents

Positioning system for picture pattern

Info

Publication number
JPS6297078A
JPS6297078A JP60238212A JP23821285A JPS6297078A JP S6297078 A JPS6297078 A JP S6297078A JP 60238212 A JP60238212 A JP 60238212A JP 23821285 A JP23821285 A JP 23821285A JP S6297078 A JPS6297078 A JP S6297078A
Authority
JP
Japan
Prior art keywords
address
data
addresses
image memory
pattern
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.)
Pending
Application number
JP60238212A
Other languages
Japanese (ja)
Inventor
Seiichiro Yamaguchi
誠一郎 山口
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60238212A priority Critical patent/JPS6297078A/en
Publication of JPS6297078A publication Critical patent/JPS6297078A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain character positioning by reading out two addresses at a time to recognize the character positions and therefore reading the picture data out of a picture memory quickly and in simple constitution. CONSTITUTION:An address AN is supplied to an input terminal 41 of an address control part 4 and an adder circuit 44 gives +1 to the address AN to obtain an address (AN + 1). A multiplexer 45 delivers the address (AN + 1) when a positioning mode signal is supplied to the part 4 and then selects the address AN in a normal mode. Therefore, the addresses AN and (AN + 1) are delivered to the output terminals 42 and 43 of the part 4 respectively in a positioning mode. The terminal 42 indicates the addresses AN of the even-bit RAMs 10, 12, 14 and 16 of a picture memory 1 and delivers their data DO, D2, D4 and D6 respectively. While the terminal 43 indicates the addresses (AN + 1) of the odd-bit RAMs 11, 13, 15 and 17 and delivers their data D1, D3, D5 and D7 respectively.

Description

【発明の詳細な説明】 〔概要〕 画像メモリに格納された画像データを読み出して、その
画像メモリに書き込まれた文字、図形等のパターンを画
像メモリ上でその位置を決める方式であって、隣接する
2個のアドレスに格納されたデータをそれぞれ奇数番目
のビット、偶数番目   ′のビットを同時に読み出し
て、コードのビット数を変更することなく、パターンの
位置探索とその位置決定を迅速に行うことができる。
[Detailed Description of the Invention] [Summary] This is a method of reading image data stored in an image memory and determining the position of patterns such as characters and figures written in the image memory on the image memory. To quickly search and determine the position of a pattern without changing the number of bits in the code by simultaneously reading out the odd-numbered bit and the even-numbered bit of data stored in two addresses. I can do it.

〔産業上の利用分野〕[Industrial application field]

本発明は、画像メモリに格納された画像データを読み出
して、画像パターン位置を決定する方式%式% 文字あるいは図形認識装置等においては、通常、文字あ
るいは図形(以下パターンと称する)が記録された記録
媒体を光学的に走査して、画像メモリにディジタルデー
タとして格納し、その画像のデータから所要のパターン
を切り取って、例えば文字あるいは図形の認識処理を行
う。
The present invention is a method for reading out image data stored in an image memory and determining the position of an image pattern. A recording medium is optically scanned and stored as digital data in an image memory, and a required pattern is cut out from the image data to perform recognition processing for, for example, characters or figures.

即ち、認識装置が行う処理は画像データからパターンの
データの始点を読み出して、画像メモリ上の位置を決め
ることから始めることになる。
That is, the processing performed by the recognition device begins with reading out the starting point of pattern data from the image data and determining the position on the image memory.

従って、文字の始点を見つけることが認識装置の処理時
間、即ち装置性能を左右することになるため、できるだ
け迅速に文字の始点を見つける必要があり、特に画像デ
ータを迅速に読み出す手段が要望されている。
Therefore, since finding the starting point of a character affects the processing time of the recognition device, that is, the performance of the device, it is necessary to find the starting point of the character as quickly as possible, and there is a particular need for a means to quickly read out image data. There is.

〔従来の技術〕[Conventional technology]

画像メモリ上でパターンの位置を決めるためには、第4
図のように、画像メモリ1から全てのデータを始めのア
ドレスから逐−読み出し、バス2を介してパターン位置
検出部3に送出される。
In order to determine the position of the pattern on the image memory, the fourth
As shown in the figure, all data is sequentially read out from the image memory 1 from the first address and sent to the pattern position detection section 3 via the bus 2.

パターン位置検出部3で読み出したデータの、例えば文
字の黒点の有無をチェックして、画像メモリ1上のその
文字位置を決定する。
The data read out by the pattern position detection section 3 is checked for the presence or absence of, for example, a black dot on a character, and the position of the character on the image memory 1 is determined.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

この従来の方式では、画像メモリにアドレスを指示して
逐一データを読み出す必要がある。
In this conventional method, it is necessary to read out data one by one by specifying an address to the image memory.

画像メモリは、例えば記録媒体の0.1 Xo、1平方
ミリメートルあたり1個のビットで構成され、極めて膨
大なデータであって、通常複数ビットでデータが構成さ
れ、データ毎に読み出されるものの、記録パターンの正
確な位置を見つけるのに長い時間を必要とした。
Image memory is composed of, for example, 0.1 Xo of the recording medium, one bit per square millimeter, and is an extremely large amount of data. Although the data is usually composed of multiple bits and is read out for each piece of data, it is difficult to record it. It took a long time to find the exact location of the pattern.

本発明はこのような点に鑑みて創作されたものであって
、簡易な構成で迅速に画像メモリから画像データを読み
出して文字の位置決めを行う方式を提供することを目的
としている。
The present invention was created in view of these points, and an object of the present invention is to provide a method for quickly reading image data from an image memory and positioning characters with a simple configuration.

〔問題点を解決するための手段〕[Means for solving problems]

第1図の本発明の画像パターン位置決め方式の原理ブロ
ック図を示す。
FIG. 2 shows a principle block diagram of the image pattern positioning method of the present invention in FIG. 1.

4はアドレス制御部であって、41はアドレス入力端子
、42.43はアドレス出力端子で、入力した1個のア
ドレスがアドレス制御部4で隣接するアドレスとともに
、2個のアドレスとなって画像メモリ2のそれぞれのデ
ータの奇数と偶数ビットを読み出し、読み出された画像
データはデータバス2に接続される。
4 is an address control unit, 41 is an address input terminal, and 42 and 43 are address output terminals.One input address is converted into two addresses in the address control unit 4 along with an adjacent address, and is output to the image memory. 2, and the read image data is connected to the data bus 2.

〔作用〕[Effect]

アドレス制御部4の入力端子41にアドレスANが指示
されると、アドレス制御部4は、アドレスA、とアドレ
スAHに隣接するアドレスAM+1の2個のアドレスを
出力端子42.43から出力する。
When address AN is specified to input terminal 41 of address control section 4, address control section 4 outputs two addresses, address A and address AM+1 adjacent to address AH, from output terminals 42 and 43.

アドレスAMは画像メモリ1の例えば偶数ビットのRA
Ml0,12.、、、、のアドレスを指示し、アドレス
As+1は奇数ビットのRAMIL13.、、、、のア
ドレスを↑レボし、それぞれのRAMからのデータが同
時にデルタバスに読み出す。
Address AM is an even bit RA of image memory 1, for example.
Ml0,12. , , , , and the address As+1 is the odd bit RAMIL 13 . The addresses of , , , are revved up and the data from each RAM is simultaneously read out to the delta bus.

即ち、データバスには通常の読み出しビット数で1つ置
きのビットデータではあるが、2個のアドレスのデータ
が読み出されることになる。
That is, although the normal number of read bits is every other bit data, data of two addresses are read out from the data bus.

〔実施例〕〔Example〕

以下、図面を参照して本発明の画像パターン位置決め方
式を詳細に説明する。
Hereinafter, the image pattern positioning method of the present invention will be explained in detail with reference to the drawings.

第2図は本発明の画像パターン位置決め方式の一実施例
のブロック図を示す。
FIG. 2 shows a block diagram of one embodiment of the image pattern positioning method of the present invention.

本発明の理解を容易にするために、デ〜りは8ビツトコ
ードで運用されるものとし、画像メモリ1のRAMは2
0ビツトのアドレスデータによってIビットのデータ、
即ち、rlJ、rOJ、例えば黒、白の画素を表すデー
タが格納されているとする。
To facilitate understanding of the present invention, it is assumed that the data is operated in 8-bit code, and that the RAM of the image memory 1 is 2.
I bit data by 0 bit address data,
That is, it is assumed that rlJ, rOJ, data representing black and white pixels, for example, are stored.

アドレス制御部4の入力端子41にアドレス八〇r a
 19+  218+  a +q、、、、、、、、 
a o jが入力するとする。
The address 80r a is input to the input terminal 41 of the address control unit 4.
19+ 218+ a +q, ,,,,,,,
Suppose that a o j is input.

アドレス加算回路44はアドレスANに+1を加算し、
即ち「ao」に1を加算し、アドレスA8+1とする。
The address addition circuit 44 adds +1 to the address AN,
That is, 1 is added to "ao" to obtain address A8+1.

マルチプレクサ45は1つの入力をAM、他の人力をA
M+1とし、位置決めモード信号がアドレス制御部4に
入力している位置決めモードの時には、AN−11を出
力し、位置決めモード信号が入力していない通常モード
の時にはA9を選択する。
Multiplexer 45 outputs one input as AM and the other input as A.
M+1, and in the positioning mode where the positioning mode signal is input to the address control section 4, AN-11 is output, and in the normal mode where the positioning mode signal is not input, A9 is selected.

位置決めモードの時にはアドレス制御部4の出力端子4
2にはアドレスAN、43にはアドレス八、+1が出力
する。
In the positioning mode, the output terminal 4 of the address control section 4
The address AN is output to 2, and the address 8, +1 is output to 43.

アドレス制御部4の出力端子42は、画像メモリ2の偶
数ビットのRA M 10.12.14.16のアドレ
スA、を指示し、それらのデータDo、D2.D4.D
6が送出され、出力端子13は奇数ビットのRAMII
、13゜15.17のアドレスA、4+1を指示し、そ
れらのデータDi、D3.D5.D7が送出される。
The output terminal 42 of the address control unit 4 instructs the address A of RAM 10.12.14.16 of even bits of the image memory 2, and outputs the data Do, D2 . D4. D
6 is sent out, and the output terminal 13 is an odd bit RAMII
, 13°15.17 addresses A, 4+1, and their data Di, D3 . D5. D7 is sent.

画像メモリ1からはメモリデータアクセス信号によって
、データバス2に同時に送出される。
Images are simultaneously sent from the image memory 1 to the data bus 2 by memory data access signals.

従って、位置決めモードの時には第3(a)図のように
、2個のアドレスA。(!:AN+1のデータが1つ置
きのビットの8ビツトで読み出される。
Therefore, in the positioning mode, two addresses A are used as shown in FIG. 3(a). (!: The data of AN+1 is read out in 8 bits, every other bit.

通常モードの時には第3(b)図のように、アドレスA
Hの8ビツトが読み出される。
In normal mode, as shown in Figure 3(b), address A
8 bits of H are read.

このように、アドレス2個のデータが同時に読の出され
、パターン位置検出部3でパターンデータの検出、即ち
「1」のビットが検出された時パターン位置が認識され
、通常モードに切り換えられて、正規のパターンデータ
が読み出される。
In this way, data from two addresses are read out at the same time, and when the pattern position detection unit 3 detects pattern data, that is, a bit of "1", the pattern position is recognized and the mode is switched to the normal mode. , regular pattern data is read out.

パターンの位置を示す黒点ビットは、通常複数個で群を
形成しているので、本発明の方式のように1つ置きにビ
ット抽出したデータで十分位置検出が可能である。
Since a plurality of black dot bits indicating the position of a pattern usually form a group, the position can be detected sufficiently using data obtained by extracting every other bit as in the method of the present invention.

また、画像メモリ1の行方向に一列置きに本発明の2個
のアドレス同時読み出しすることも可能であり、更に、
隣接複数アドレスのデータを各アドレス毎に位相をずら
せたビット順に抽出して、同時読み出しデータを構成し
ても、パターンによってはその位置検出の目的を可能と
するのは云うまでもない。
Furthermore, it is also possible to simultaneously read two addresses of the present invention in every other column in the row direction of the image memory 1, and further,
It goes without saying that even if data of a plurality of adjacent addresses is extracted in bit order with a phase shift for each address to form simultaneous read data, the purpose of position detection can be achieved depending on the pattern.

〔発明の効果〕〔Effect of the invention〕

以上述べてきたように、本発明によれば、2個のアドレ
スを同時に読み出して文字の位置認識をするため迅速に
その位置決めを行うことができ、実用的には極めて有用
である。
As described above, according to the present invention, since two addresses are read out simultaneously to recognize the position of a character, the position can be quickly determined, which is extremely useful in practice.

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

第1図は本発明の画像パターン位置決め方式の原理ブロ
ック図、 第2図は実施例の主要ブロック図、 第3図はアドレス読み出しモード説明図、第4図は従来
例のブロック図である。 図において、 ■は画像メモリ、 2はデータバス、 3はパターン位置検出部、 4はアドレス制御部である。 (01イfL1シ大3ht−ド 了ド゛レズ杏そみEしモ、−ド°言tF44図第3図 程し扛11ゴの7−ロー77図 第4図
FIG. 1 is a principle block diagram of the image pattern positioning method of the present invention, FIG. 2 is a main block diagram of an embodiment, FIG. 3 is an explanatory diagram of an address read mode, and FIG. 4 is a block diagram of a conventional example. In the figure, 2 is an image memory, 2 is a data bus, 3 is a pattern position detection section, and 4 is an address control section. (01 fL1 large 3h-doredorezuansomo E-do-word tF44Fig.3

Claims (1)

【特許請求の範囲】 画像メモリ(1)に格納された画像データから該画像メ
モリ(1)に読み込まれたパターンの位置決めを行う装
置において、 前記画像メモリ(1)の1つのアドレスを指定すること
によって、 該アドレスと該アドレスに隣接するアドレスのデータか
ら、互いに奇偶相反する順位置にある該データ構成ビッ
トを、同時に読み出す手段(4)を設けたことを特徴と
する画像パターン位置決め方式。
[Claims] In an apparatus for positioning a pattern read into an image memory (1) from image data stored in the image memory (1), specifying one address of the image memory (1). An image pattern positioning method characterized by comprising means (4) for simultaneously reading out the data constituent bits located in odd and even opposite sequential positions from the data of the address and the address adjacent to the address.
JP60238212A 1985-10-23 1985-10-23 Positioning system for picture pattern Pending JPS6297078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60238212A JPS6297078A (en) 1985-10-23 1985-10-23 Positioning system for picture pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60238212A JPS6297078A (en) 1985-10-23 1985-10-23 Positioning system for picture pattern

Publications (1)

Publication Number Publication Date
JPS6297078A true JPS6297078A (en) 1987-05-06

Family

ID=17026812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60238212A Pending JPS6297078A (en) 1985-10-23 1985-10-23 Positioning system for picture pattern

Country Status (1)

Country Link
JP (1) JPS6297078A (en)

Similar Documents

Publication Publication Date Title
JPH04115144A (en) Image processor and automatic optical inspection apparatus using same
US4712134A (en) Image reader with plural pickup elements reading overlapping image regions of an original image
JPS60123161A (en) Original reader
JPS6297078A (en) Positioning system for picture pattern
JPS5855549B2 (en) I'm not sure what to do.
EP0660584B1 (en) Image processing method and apparatus
JP2570815B2 (en) Optical character recognition device
JPS61188671A (en) Image processor
JPH05284335A (en) Picture information reduction method
JPS63254578A (en) Pattern recognition device
SU1140090A1 (en) Scaling device
JPS6228883A (en) Character reader
JP2910295B2 (en) Contour information extraction device
JP3004697B2 (en) Motion vector detection circuit
JPH0146912B2 (en)
JPH0343880A (en) Optical character recognizing device
JPH0750504B2 (en) Pattern recognition device
JPS61273675A (en) 3-dimensional address generating circuit
JPH0371326A (en) Scanning adding device
JPS6280779A (en) Character reader
JPS61251275A (en) Processing circuit for picture signal
JPS6319575A (en) Target tracking device
JPS5887648A (en) Picture processor
JPS6254374A (en) Picture processor
JPH05189553A (en) Image processing system