JPH0418349B2 - - Google Patents

Info

Publication number
JPH0418349B2
JPH0418349B2 JP57133702A JP13370282A JPH0418349B2 JP H0418349 B2 JPH0418349 B2 JP H0418349B2 JP 57133702 A JP57133702 A JP 57133702A JP 13370282 A JP13370282 A JP 13370282A JP H0418349 B2 JPH0418349 B2 JP H0418349B2
Authority
JP
Japan
Prior art keywords
pattern
input
data
cutting
rotation
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 - Lifetime
Application number
JP57133702A
Other languages
Japanese (ja)
Other versions
JPS5924386A (en
Inventor
Minoru Yoshida
Masao Michino
Mitsuru Kubo
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP57133702A priority Critical patent/JPS5924386A/en
Publication of JPS5924386A publication Critical patent/JPS5924386A/en
Publication of JPH0418349B2 publication Critical patent/JPH0418349B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/24Aligning, centring, orientation detection or correction of the image

Description

【発明の詳細な説明】 発明の対象 本発明は、光学的なパターンの入力装置に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION Object of the Invention The present invention relates to an optical pattern input device.

従来技術 従来の光学的パターン入力装置としては、入力
用媒体面上でのパターン走査方向が一定でありそ
の媒体内の入力領域向きが走査方向で一意に決ま
るもの、あるいは媒体面上のパターン走査方向自
身を可変として入力領域の向きを変化させるもの
がある。
Prior Art Conventional optical pattern input devices include those in which the pattern scanning direction on the surface of an input medium is constant and the orientation of the input area within the medium is uniquely determined by the scanning direction, or those in which the pattern scanning direction on the medium surface is determined uniquely by the scanning direction. There are some that change the direction of the input area by making themselves variable.

しかし前者は、入力領域の向きが混在するもの
の入力装置に適さないという欠点、後者は走査の
方向制御機構、回路方式が複雑という欠点を有し
ていた。
However, the former has the disadvantage that it is not suitable as an input device even though the orientation of the input area is mixed, and the latter has the disadvantage that the scanning direction control mechanism and circuit system are complicated.

発明の目的 本発明の目的は、走査方向一定の入力情報に対
し、文字の配列方向が異なる複数の入力領域ごと
の向きの定義に従い、入力領域に必要な回転を与
え方向補正を施した領域入力データを作成する自
由度の大きいパターン入力装置を提供することに
ある。
Purpose of the Invention It is an object of the present invention to input area input information in which the scanning direction is constant and direction correction is performed by giving necessary rotation to the input area according to the orientation definition for each of a plurality of input areas in which characters are arranged in different directions. An object of the present invention is to provide a pattern input device with a high degree of freedom in creating data.

発明の実施例 以下本発明の一実施例を図面によつて説明す
る。第1図において、1は入力用記録媒体、3,
4,5,6,7は媒体上の入力必要領域を示し、
2の同一方向走査が行なわれるが、領域3,4の
パターン配列向きに対し、領域5は左に90°、領
域6は右に90°、領域7は180°領域向きが回転し
て光電変換される事を示す。第2図8の光電変換
装置により、第1図で示した如き同一方向走査で
11のパターンメモリに取込まれたパターンは、
12の入力領域制御装置からの制御信号20によ
り、入力必要な1領域の範囲情報から、9の入力
領域切出し装置により1領域分のデータとして切
出される。次にこの1領域のデータに対し、12
の入力領域制御装置から出る回転指示信号21に
より、10のデータ回転装置が指示された方向へ
の回転を行ない、1領域分の入力データ13とす
る。
Embodiment of the Invention An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, 1 is an input recording medium, 3,
4, 5, 6, 7 indicate the required input areas on the medium,
2 are scanned in the same direction, but with respect to the pattern arrangement orientation of regions 3 and 4, region 5 is rotated 90 degrees to the left, region 6 is rotated 90 degrees to the right, and region 7 is rotated 180 degrees to perform photoelectric conversion. Indicates what will be done. The patterns taken into the 11 pattern memories by the photoelectric conversion device shown in FIG. 2 and 8 in the same direction as shown in FIG.
Based on the control signal 20 from the input area control device No. 12, data for one area is extracted by the input area cutting device No. 9 from the range information of one area that needs to be input. Next, for this one area of data, 12
In response to the rotation instruction signal 21 output from the input area control device, the ten data rotation devices rotate in the instructed direction, thereby producing input data 13 for one area.

第3図にデータ回転の更に具体的な例を示す。
入力1領域切出しデータとして2値化白黒のビツ
トパターン30を考える。本領域の回転制御信号
として回転方向が右90°、領域高Hi、領域巾Wiが
与えられ31の回転ビツトパターンを与える事に
なる。この回転制御信号の回転パラメータは各領
域ごとに、例えば第4図に示すパラメータ表のよ
うに登録されている。回転パラメータは、切出さ
れたそれぞれの入力領域に応じた回転方向に与
え、例えば無回転、右90°、左90°、180°などを設
定する。第4図に示すパラメータは、回転パラメ
ータ、及び領域高、領域巾を持つ。
FIG. 3 shows a more specific example of data rotation.
Consider a binary black and white bit pattern 30 as input one-area cutout data. As a rotation control signal for this area, a rotation direction of 90 degrees to the right, an area height Hi, and an area width Wi are given, and 31 rotation bit patterns are given. The rotation parameters of this rotation control signal are registered for each region, for example, as in the parameter table shown in FIG. 4. The rotation parameter is given to the rotation direction according to each cut out input region, and is set to, for example, no rotation, 90° to the right, 90° to the left, 180°, etc. The parameters shown in FIG. 4 include rotation parameters, area height, and area width.

第5図にデータ回転装置の具体的な例を示す。
この例においては説明を簡単にする為に入力領域
切出しデータ30としての2値化白黒ビツトパタ
ーンを考えるが、この他にランレングス符号化デ
ータ等への適用が可能である事は言うもでもな
い。
FIG. 5 shows a specific example of the data rotation device.
In this example, to simplify the explanation, we will consider a binary black and white bit pattern as the input area cutout data 30, but it goes without saying that it is also possible to apply it to run-length encoded data, etc. .

信号21より指定される回転パラメータより、
55の回転制御論理部では、回転方向、領域高、
領域巾により読出し制御信号101、読出し行、
列アドレス104、データ逆転信号102、書込
み制御信号103、書込み行、列アドレス105
を発生する。50のデータ読出し回路は、第6図
に示す如く信号101と104で指定される1行
又は、1列のデータを、行読出しバツフア60又
は、列読出しバツフア61に読出し201に出力
する。51のデータ逆転回路は、第7図に示す如
く、62のシフトレジスタに入力したデータを、
逆転信号102に従つて逆転又は、そのまま読出
しデータバツフア63を通し202に出力する。
52のデータ書込み回路は、第8図に示す如く、
信号103により書込みを行単位とするか、列単
位とするかの選択を行ない、105の書込みアド
レスに書込む。本回路構成により、領域回転パラ
メータが右90°回転指定の場合、101の列単位、
104を第1列からの読出し、102を逆転、1
03を行単位、105を第1行からの書込みと
し、領域巾分の列データを出力31に転送する事
で実現し、左90°回転指定の場合、101を列単
位、104を最終列からの読出し、102を非逆
転、103を行単位、105を第1行からの書込
みとする事で実現し、180°回転指定の場合、10
1を列単位、104を最終列からの読出し、10
2を逆転、103を列単位、105を第1列から
の書込みとし領域巾分の列データを出力31に転
送し実現、また、無回転の場合、101の列単
位、104を第1列からの読出し、102を非逆
転、103を列単位、105を第1列からの書込
みとする事で実現出来る。本構成より、101,
102,103,104の選択の別の組合せで、
同じ回転機能を達成する事も容易である。
From the rotation parameters specified by signal 21,
In the rotation control logic section 55, the rotation direction, area height,
Depending on the area width, the read control signal 101, read line,
Column address 104, data inversion signal 102, write control signal 103, write row, column address 105
occurs. The data reading circuit 50 outputs one row or one column of data designated by signals 101 and 104 to a row reading buffer 60 or a column reading buffer 61 and outputting it to a reading 201, as shown in FIG. As shown in FIG. 7, the data inversion circuit 51 converts the data input to the shift register 62 into
The data is reversed in accordance with the reverse signal 102 or is output as is through the read data buffer 63 to 202 .
The data write circuit No. 52 is as shown in FIG.
A signal 103 selects whether to write in row units or column units, and writes to a write address 105. With this circuit configuration, when the area rotation parameter specifies 90° clockwise rotation, 101 column units,
104 is read from the first column, 102 is reversed, 1
This is achieved by writing 03 in row units, 105 in writing from the first row, and transferring the column data of the width of the area to output 31. When specifying 90° counterclockwise rotation, 101 in column units and 104 in writing from the last column. This is achieved by setting 102 to non-reversal, 103 to line by line, and 105 to writing from the first line.If 180° rotation is specified, 10
1 for each column, 104 for reading from the last column, 10
2 is reversed, 103 is column-by-column, 105 is writing from the first column, and the column data of the width of the area is transferred to the output 31, and in the case of no rotation, 101 is column-by-column, 104 is written from the first column. This can be realized by setting 102 to non-inversion, 103 to column units, and 105 to writing from the first column. From this configuration, 101,
With another combination of selections 102, 103, 104,
It is also easy to achieve the same rotation function.

また、本方式はプログラム論理としての実現に
も好適である。
This method is also suitable for implementation as program logic.

発明の効果 本発明によれば、入力媒体上の入力領域毎に、
その向きを与えるパラメータの指定によりそれぞ
れの入力領域に応じた回転方向を選択できるの
で、入力媒体面上、一方向の走査光電変換入力方
式において、1媒体内の向きの異なる複数領域の
同一方向入力を実現し、パターン入力の自由度を
向上させる効果がある。
Effects of the Invention According to the present invention, for each input area on an input medium,
Since the rotation direction can be selected according to each input area by specifying the parameter that gives the orientation, in the unidirectional scanning photoelectric conversion input method on the input medium surface, multiple areas with different orientations within one medium can be input in the same direction. This has the effect of improving the degree of freedom in pattern input.

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

第1図は、入力媒体と入力領域及び走査方向を
示す図、第2図は本装置の構成図、第3図は入力
領域データと回転データを示す図、第4図は、入
力領域回転パラメータを示す図、第5図はデータ
回転装置構成図、第6図は、データ読出し回路を
示す図、第7図はデータ逆転回路を示す図、第8
図はデータ書込み回路を示す図である。 10……データ回転装置、50……データ読出
し回路、51……データ逆転回路、52……デー
タ書込み回路、55……回転制御論理部。
Fig. 1 is a diagram showing the input medium, input area, and scanning direction, Fig. 2 is a configuration diagram of this device, Fig. 3 is a diagram showing input area data and rotation data, and Fig. 4 is a diagram showing input area rotation parameters. 5 is a configuration diagram of a data rotation device, FIG. 6 is a diagram showing a data reading circuit, FIG. 7 is a diagram showing a data reversing circuit, and FIG. 8 is a diagram showing a data reversing circuit.
The figure shows a data write circuit. DESCRIPTION OF SYMBOLS 10...Data rotation device, 50...Data read circuit, 51...Data inversion circuit, 52...Data write circuit, 55...Rotation control logic unit.

Claims (1)

【特許請求の範囲】[Claims] 1 同一帳票内で文字の記入方向の異なる複数の
文字領域を有する帳票上のパターンを光学的に走
査して出力する光電変換手段と、上記光電変換手
段の出力を帳票単位で記憶するメモリと、上記メ
モリに記憶されたパターンの文字配列の向きが揃
つている切出し領域、及び、切出された各パター
ンの文字配列の向きが同一帳票で揃うように回転
させる補正情報を、予め記憶しておく入力領域設
定手段と、該入力領域設定手段に記憶された切出
し領域にしたがつて上記メモリに記憶されたパタ
ーンを切出して出力する切出し手段と、上記入力
領域設定手段に記憶された補正情報に従つて、上
記切出し手段から出力されたパターンを予め定め
た回転方向のうちいずれか一つの回転方向に補正
して出力するデータ回転手段を設けたことを特徴
とする光学的パターン入力装置。
1. A photoelectric conversion means that optically scans and outputs a pattern on a form having a plurality of character areas in which characters are written in different directions within the same form, and a memory that stores the output of the photoelectric conversion means for each form; Store in advance a cutout area in which the character arrays of the patterns stored in the memory are aligned in the same direction, and correction information for rotating the character arrays of each cut out pattern so that the orientations of the character arrays are aligned in the same form. input area setting means; a cutting means for cutting out and outputting the pattern stored in the memory according to the cutting area stored in the input area setting means; and a cutting means for cutting out and outputting the pattern stored in the memory according to the cutting area stored in the input area setting means; An optical pattern input device further comprising data rotation means for correcting the pattern output from the cutting means in one of predetermined rotation directions and outputting the corrected pattern.
JP57133702A 1982-08-02 1982-08-02 Input device of optical pattern Granted JPS5924386A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57133702A JPS5924386A (en) 1982-08-02 1982-08-02 Input device of optical pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57133702A JPS5924386A (en) 1982-08-02 1982-08-02 Input device of optical pattern

Publications (2)

Publication Number Publication Date
JPS5924386A JPS5924386A (en) 1984-02-08
JPH0418349B2 true JPH0418349B2 (en) 1992-03-27

Family

ID=15110886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57133702A Granted JPS5924386A (en) 1982-08-02 1982-08-02 Input device of optical pattern

Country Status (1)

Country Link
JP (1) JPS5924386A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0644287B2 (en) * 1984-03-26 1994-06-08 日本電信電話株式会社 Document conversion display device
JPS62259179A (en) * 1986-04-28 1987-11-11 Toppan Printing Co Ltd Image storing and reproducing device
JPH0610447Y2 (en) * 1986-08-07 1994-03-16 三洋電機株式会社 Image processing device
US5060276A (en) * 1989-05-31 1991-10-22 At&T Bell Laboratories Technique for object orientation detection using a feed-forward neural network

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56114077A (en) * 1980-02-12 1981-09-08 Nec Corp Optical character reader

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56114077A (en) * 1980-02-12 1981-09-08 Nec Corp Optical character reader

Also Published As

Publication number Publication date
JPS5924386A (en) 1984-02-08

Similar Documents

Publication Publication Date Title
KR100245314B1 (en) Semiconductor memory of multiple-bank structure having block write function
JPS5850589A (en) Display processor
GB2066527A (en) Information processor with facilities for correcting data in a data store
JPH0418349B2 (en)
US4163281A (en) Method and apparatus for the rotation of a binary-data matrix, intended particularly to be used as a storage unit having a two-way access mode for electronic computers
US4935897A (en) Semiconductor memory device suitable for use as a dot image buffer for a printer
US5253213A (en) Semiconductor memory used for changing sequence of data
JPH0549991B2 (en)
JPH0480412B2 (en)
US5910794A (en) Method and apparatus for storing and rotating bit patterns
JP2502530B2 (en) Printer
JP3346916B2 (en) Image rotation device
JP2839768B2 (en) Image rotation circuit
JPS6131886B2 (en)
JPS5836904B2 (en) Shape editing processing method
JPS6333348B2 (en)
JPH05289652A (en) Data converting device
JPH09218946A (en) Image rotation circuit
JPS6359641A (en) Picture memory
JPH05334426A (en) Image data storage device
JPH04296983A (en) Image processor
JPH04113397A (en) Display device
JPH01320553A (en) Data conversion circuit
JPH0325682A (en) Picture output control system
JPS62133575A (en) Memory device