JPH0156589B2 - - Google Patents

Info

Publication number
JPH0156589B2
JPH0156589B2 JP56206975A JP20697581A JPH0156589B2 JP H0156589 B2 JPH0156589 B2 JP H0156589B2 JP 56206975 A JP56206975 A JP 56206975A JP 20697581 A JP20697581 A JP 20697581A JP H0156589 B2 JPH0156589 B2 JP H0156589B2
Authority
JP
Japan
Prior art keywords
data
image memory
frame
coordinates
data area
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
Application number
JP56206975A
Other languages
Japanese (ja)
Other versions
JPS58109962A (en
Inventor
Fuminobu Nakayama
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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP56206975A priority Critical patent/JPS58109962A/en
Publication of JPS58109962A publication Critical patent/JPS58109962A/en
Publication of JPH0156589B2 publication Critical patent/JPH0156589B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0007Image acquisition

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Input (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

【発明の詳細な説明】 発明の技術分野 この発明は、例えば、編集機能を有するフアク
シミリ装置に適用すると最適な画像メモリ内デー
タの抽出方法に関するものであり、詳しくは入力
された原画がの傾きが大きくない場合に好適な画
像メモリ内データの抽出方法に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a method for extracting data in an image memory that is optimal when applied to, for example, a facsimile device having an editing function. The present invention relates to a method for extracting data in an image memory that is suitable when the data is not large.

発明の技術的背景 近年、編集機能を有するフアクシミリ装置が開
発されるに到つた。このようなフアクシミリ装置
を、第1図、第2図を用いて説明する。第1図に
は、編集機能を有するフアクシミリ装置1が交換
機2を介して、他のフアクシミリ装置3と接続さ
れている様子が示されている。編集機能を有する
フアクシミリ装置1は、フアクシミリ部4と編集
部5とからなる。そして、フアクシミリ装置3か
ら、例えば第2図Aのように、記載項目Wの横に
記載項目X、記載項目Yの横に記載項目Zが記さ
れたフオーマツトの原稿6が伝送されると、この
原稿6のフアクシミリ信号は、交換機2を介し
て、フアクシミリ部4で受け取られ、編集部5へ
転送される。そして、編集部5において、記載項
目WXYZのフオーマツトを、例えば、第2図B
のように、記載項目Wの下方に記載項目X、その
下に記載項目Y、更にその下に記載項目Zが位置
するように編集が行なわれる。その結果のフアク
シミリ信号は、編集部5からフアクシミリ部4へ
転送され、コピー7として出力される。
Technical Background of the Invention In recent years, facsimile machines with editing functions have been developed. Such a facsimile device will be explained with reference to FIGS. 1 and 2. FIG. 1 shows how a facsimile device 1 having an editing function is connected to another facsimile device 3 via an exchange 2. In FIG. The facsimile device 1 having an editing function includes a facsimile section 4 and an editing section 5. Then, when the facsimile device 3 transmits a document 6 in a format in which written item X is written next to written item W and written item Z is written next to written item Y, as shown in FIG. 2A, for example, this The facsimile signal of the original 6 is received by the facsimile section 4 via the exchange 2 and transferred to the editing section 5. Then, in the editorial department 5, the format of the entry item WXYZ is changed to, for example, the format shown in Figure 2B.
Editing is performed so that entry item X is located below entry W, entry Y is below that, and entry Z is further below that. The resulting facsimile signal is transferred from the editing section 5 to the facsimile section 4 and output as a copy 7.

このように、編集機能を有するフアクシミリ装
置1が、動作をする際には、編集部5内の画像メ
モリ内で、記載項目W,X,Y,Zのデータ抽出
処理が行なわれている。
In this way, when the facsimile device 1 having the editing function operates, data extraction processing for the entry items W, X, Y, and Z is performed in the image memory in the editing section 5.

ところで、フアクシミリ装置は、入力された原
稿を光電変換して伝送する装置であるから、入力
された原稿がスキユーしていると、そのままのス
キユーされた状態でコピーが出力される。また、
主に光電変換時の光学系や搬送系により読み取り
位置がずれてしまうこともある。
Incidentally, since a facsimile device is a device that photoelectrically converts an input original document and transmits the same, if the input original document is skewed, a copy is output in the same skewed state. Also,
The reading position may shift mainly due to the optical system and transport system during photoelectric conversion.

そこで、従来は、前述のような原因により、画
像データが傾いたまま、画像メモリに入力される
と、これを補正するため、以下に述べる処理を行
つていた。即ち、第3図に示すように、原稿イメ
ージ8がθ゜傾いて画像メモリに入力されると、原
稿イメージ8の上縁の2個所のマークMの中心点
A,Bを結ぶ直線l1と、画像メモリの行方向と一
致し左側のマークMの中心点Aを通る直線l2とを
作り、この間の角度θを求める。次に、データを
抽出すべきデータ領域の枠たる四辺形CDFEの例
えば辺CDに沿つて、アドレスを順次更新してCD
区間を読み出す。更に辺CDと平行にデータを順
次読み出し、辺EFまで同様の処理を行う。この
ようにして読み出したデータを、第4図の破線の
四辺形CD′F′Eの領域に重なるように一度格納し
なおし、更に、行方向にこのデータを読み出し、
一点鎖線の四辺形CD′F″E′の領域に重なるように
再度格納しなおす。
Conventionally, when image data is input to the image memory with a skew due to the above-mentioned causes, the following process has been performed to correct this. That is, as shown in FIG. 3, when the original image 8 is inputted into the image memory at an angle of θ°, a straight line l 1 connecting the center points A and B of the two marks M on the upper edge of the original image 8. , a straight line l2 that coincides with the row direction of the image memory and passes through the center point A of the mark M on the left side is created, and the angle θ between them is determined. Next, the addresses are sequentially updated along, for example, the side CD of the quadrilateral CDFE, which is the frame of the data area from which data is to be extracted, and the CD
Read the interval. Further, data is read out sequentially in parallel to side CD, and the same process is performed up to side EF. The data read out in this way is stored once again so that it overlaps the area of the broken-line quadrilateral CD'F'E in FIG. 4, and then this data is read out in the row direction,
Restore it so that it overlaps the area of the quadrilateral CD′F″E′ indicated by the dashed-dotted line.

背景技術の問題点 しかし、このように画像データを2度にわた
り、格納しなおす方法では、データの読み出し書
き込みのために多大の時間を要し、しかも最終的
に作成される画像は、平行移動を重ねただけなの
で、全体として傾きは補正されるが、文字や図形
に歪みを生じる。
Problems with the Background Art However, with this method of re-storing image data twice, it takes a large amount of time to read and write the data, and furthermore, the final image created has no parallel movement. Since they are simply overlapped, the overall tilt is corrected, but the characters and figures are distorted.

発明の目的 本発明は、以上述べた従来の欠点及び、切り出
しの中心点さえ原画のものに一致していれば、入
力された原画の傾きが大きくない場合に、切り出
し枠の多少の傾きによつては必要な情報が失われ
ないという視点に鑑みなされたものである。それ
故、本発明の目的は、原稿イメージが画像メモリ
の内で多少傾いていても、的確に抽出すべきデー
タ領域から必要なデータを抽出でき、かつ抽出時
に簡単な処理を行うだけで済む画像メモリ内デー
タの抽出方法を提供することである。
Purpose of the Invention The present invention solves the above-mentioned drawbacks of the conventional art, and even if the center point of the cropping coincides with that of the original image, the tilt of the input original image is not large. This was done from the viewpoint that necessary information would not be lost. Therefore, it is an object of the present invention to provide an image that can accurately extract necessary data from the data area to be extracted even if the original image is slightly tilted in the image memory, and that requires only simple processing at the time of extraction. An object of the present invention is to provide a method for extracting data in memory.

発明の概要 そこで、本発明では、原稿に記されたマークの
画像メモリ内x−y座標と、入力されるべき原稿
のマークに対応する座標データおよび抽出すべき
データ領域の枠の中心点座標のデータを含むフオ
ーマツトデータとから、実際に入力されたデータ
の画像メモリ内における抽出すべきデータ領域の
枠の中心点座標を求め、更に、この中心点座標と
前記入力されるべき原稿のデータ領域の枠のデー
タとに基づき画像メモリの行方向に平行な直線及
び列方向に平行な直線から成る所要の大きさのデ
ータ領域枠を求め、この枠内のデータを抽出する
ようにした。
SUMMARY OF THE INVENTION Therefore, in the present invention, the x-y coordinates in the image memory of a mark written on a manuscript, the coordinate data corresponding to the mark on the manuscript to be inputted, and the coordinates of the center point of the frame of the data area to be extracted. The coordinates of the center point of the frame of the data area to be extracted in the image memory of the actually input data are determined from the format data containing the data, and further, the coordinates of the center point of the frame of the data area to be extracted are calculated using the coordinates of the center point and the data area of the document to be input. Based on the data in the frame, a data area frame of a required size consisting of straight lines parallel to the row direction and straight lines parallel to the column direction of the image memory is determined, and data within this frame is extracted.

発明の実施例 以下、図面を参照して本発明の実施例を説明す
る。
Embodiments of the invention Hereinafter, embodiments of the invention will be described with reference to the drawings.

第5図は、本発明が適用されるフアクシミリ装
置のブロツク図である。同図において、10はシ
ステムバスを示す。このシステムバス10には、
データバス、アドレスバス、コントロールバスが
含まれる。また、このシステムバス10には、
CPU11、メモリ12、メモリコントローラ1
3、操作パネル15、網制御回路16、フアクシ
ミリインタフエース20、プリンタコントローラ
22が接続される。CPU11は、システムバス
10を介して各部を制御し、必要な演算を行う。
メモリ12は、CPU11が用いるプログラムや
CPU11が必要とするデータを格納するために
用いられる。メモリコントローラ13は、例え
ば、2.2MB程度の画像メモリ14と接続され、
CPU11の命令によつて画像メモリ14をアク
セスするものである。操作パネル15は、オペレ
ータがCPU11に又はこれを介してフアクシミ
リ装置に命令を入力する際に用いられ、又これら
の動作状態を示すためにも用いられる。網制御回
路16には転換器17と、フアクシミリ部21と
が接続される。網制御回路16の機能は、回線監
視とオートダイヤルを行うことである。転換器1
7には交換機へ通じる回線19と電話機が接続さ
れていて、転換器17は、回線19と、電話機1
8又は網制御回路16との接続切替えを行う。フ
アクシミリインタフエース20には、フアクシミ
リ部21が接続され、フアクシミリ部21は、画
像データをフアクシミリインタフエース20を介
して、制御信号を網制御回路16を介して夫々送
受する。プリンタコントローラ22には、ドツト
プリンタ23が接続されていて、必要時には、画
像データをドツトプリンタ23を介してコピーと
して出力可能となつている。
FIG. 5 is a block diagram of a facsimile device to which the present invention is applied. In the figure, 10 indicates a system bus. This system bus 10 has
Includes data bus, address bus, and control bus. In addition, this system bus 10 includes
CPU11, memory 12, memory controller 1
3, an operation panel 15, a network control circuit 16, a facsimile interface 20, and a printer controller 22 are connected. The CPU 11 controls each section via the system bus 10 and performs necessary calculations.
The memory 12 stores programs used by the CPU 11 and
It is used to store data required by the CPU 11. The memory controller 13 is connected to, for example, an image memory 14 of about 2.2MB,
The image memory 14 is accessed by instructions from the CPU 11. The operation panel 15 is used when an operator inputs commands to or via the CPU 11 to the facsimile device, and is also used to indicate the operating status of these devices. A converter 17 and a facsimile section 21 are connected to the network control circuit 16 . The function of the network control circuit 16 is to perform line monitoring and auto dialing. converter 1
A line 19 leading to an exchange and a telephone are connected to 7, and a converter 17 connects line 19 and telephone 1.
8 or the network control circuit 16. A facsimile unit 21 is connected to the facsimile interface 20 , and the facsimile unit 21 sends and receives image data through the facsimile interface 20 and control signals through the network control circuit 16 . A dot printer 23 is connected to the printer controller 22, and image data can be output as a copy via the dot printer 23 when necessary.

以上のようなフアクシミリ装置において、
CPU11がメモリ12内のプログラムを用いて、
画像メモリ14内データの抽出処理を行なう。こ
の画像メモリ14に格納されているデータは、フ
アクシミリ部21からフアクシミリインタフエー
ス20を介して入力され、CPU11によつて格
納されたものである。今、第6図に示すような原
稿24が上述のいずれかのルートで画像メモリ1
4に格納されたものとする。この原稿24には、
この原稿上でx−y座標の基準を与えるべく、右
下の角を除く3つの角に、マークMが記されてい
る。また、3つのマークの中心点を図のように、
A,B,Cとして、このA,B,Cを結ぶことに
よつて形成されるx−y座標に対する、抽出すべ
きデータ領域の枠JKLMの中心点Oの座標や、そ
の他、例えば、OF、OIの長さなどの原稿24の
フオーマツトデータは、メモリ12内に予め与え
られているものとする。
In the above facsimile device,
The CPU 11 uses the program in the memory 12 to
Extraction processing of data in the image memory 14 is performed. The data stored in the image memory 14 is input from the facsimile unit 21 via the facsimile interface 20 and stored by the CPU 11. Now, a document 24 as shown in FIG.
4. In this manuscript 24,
On this document, marks M are written at three corners except the lower right corner to provide a reference for x-y coordinates. Also, set the center point of the three marks as shown in the figure.
As A, B, and C, the coordinates of the center point O of the frame JKLM of the data area to be extracted with respect to the x-y coordinates formed by connecting these A, B, and C, and others, such as OF, It is assumed that the format data of the document 24, such as the length of the OI, is given in the memory 12 in advance.

今、画像メモリ14に、第7図に示すように原
稿イメージ24′が、行(x)方向の矢印Px、列
(y)方向の矢印Pyに対して、図の如く傾いてま
た縮小・拡大を伴つて格納されたとする。
Now, in the image memory 14, as shown in FIG. 7, the original image 24' is tilted and reduced/enlarged as shown in the figure with respect to the arrow Px in the row (x) direction and the arrow Py in the column (y) direction. Suppose that it is stored with .

すると、CPU11は、画像データの抽出を行
うべく、メモリ12内に格納されている第8図の
フローチヤートのプログラムを用いて、処理を開
始する。
Then, the CPU 11 starts processing using the program shown in the flowchart of FIG. 8 stored in the memory 12 in order to extract image data.

即ち、スタートとなり、まず、CPU11は画
像メモリ14内をスキヤンして、“基準マークの
検出”のステツプを行う。実際的には、CPU1
1は、例えば第7図の行方向へスキヤンを行つ
て、マークMの中心点A′,B′,C′の座標(実際
には、アドレスである。以下同様に座標とする)
を求める。なお、例えばA′の座標をA′(A′x、
A′y)の如く表わし、他についても同様に表わす
こととする。そこで、CPU11は、“検出できた
か”のステツプを行い、YESであれば次のステ
ツプへ進み、NOとなると“エラー処理”を行
う。次に、YESへ分岐したとして説明を進める。
That is, at the start, the CPU 11 first scans the image memory 14 and performs the step of "detecting the reference mark". Actually, CPU1
1 is, for example, scanned in the row direction of FIG. 7 to find the coordinates (actually, addresses) of the center points A', B', and C' of the mark M (hereinafter referred to as coordinates in the same way).
seek. For example, let the coordinates of A′ be A′(A′x,
A'y), and the others are expressed in the same way. Therefore, the CPU 11 performs a step to see if it was detected, and if YES, proceeds to the next step, and if NO, performs "error processing". Next, the explanation will proceed assuming that the branch has branched to YES.

CPU11は、次のステツプたる“基準マーク
の座標と内部データとから中心点を求める”ステ
ツプを行なう。即ち、A′,B′,C′の座標と、内
部フオーマツトデータから得られるところのAB
の長さ、ADの長さ並びにACの長さ、AEの長さ
(いずれも傾き、縮小・拡大がない場合の値)か
ら、中心点O′の座標を求める。
The CPU 11 performs the next step of "determining the center point from the coordinates of the reference mark and internal data." That is, the coordinates of A', B', C' and AB obtained from the internal format data.
Find the coordinates of the center point O' from the length of , the length of AD, the length of AC, and the length of AE (all values when there is no inclination, reduction or expansion).

まず、D′(D′x、D′y)については、 D′x=A′x+(B′x−A′x)×AD/AB ……(1) D′y=A′y+(B′y−A′y)×AD/AB ……(2) より求まり、同様にE′(E′x、E′y)については、 E′x=A′x+(C′x−A′x)×AE/AC ……(3) E′y=A′y+(C′y−A′y)×AE/AC ……(4) より求まる。 First, regarding D′(D′x, D′y), D′x=A′x+(B′x−A′x)×AD/AB……(1) D′y=A′y+(B′y−A′y)×AD/AB……(2) Similarly, for E′(E′x, E′y), E′x=A′x+(C′x−A′x)×AE/AC……(3) E′y=A′y+(C′y−A′y)×AE/AC……(4) More sought after.

次に第7図において、l3,l4は、それぞれメモ
リ空間上のy=A′y、x=A′xである直線で、説
明のための補助線である。そして、D″,E″はそ
れぞれD″(D′x、A′y)、E″(A′x、E′y)で表わさ
れる点である。さらに、l5,l6は中心点O′を通り
それぞれA′E″,A′D″に平行な補助線、l7は点D′,
D″を通る(したがつてA′E″に平行な)補助線、
l8は点E′,E″を通る(したがつてA′D″に平行な)
補助線、Q,Rはそれぞれl5とl8,l7とl6の交点で
ある。ここで求めようとする中心点O′のx座標
は点Qのx座標と同じであり、y座標は点Rのy
座標と同じである。図中、△E′QO′と△
A′D″D′とは合同であるから、A′D″=E′Qであり、
したがつてQのx座標すなわちO′のx座標は、 O′x=Qx=E′x+(D″x−A′x) =E′x+(D′x−A′x) ……(5) として求まり、同様に△D′RO′と△A′E″E′とは合
同であるから、A′E″=D′Rであり、したがつてR
のy座標すなわちO′のy座標は O′y=Ry=D′y+(E″y−A′y) =D′y+(E′y−A′y) ……(6) として求まる。
Next, in FIG. 7, l 3 and l 4 are straight lines in the memory space where y=A'y and x=A'x, respectively, and are auxiliary lines for explanation. And D″ and E″ are points represented by D″(D′x, A′y) and E″(A′x, E′y), respectively. Furthermore, l 5 and l 6 are auxiliary lines passing through the center point O′ and parallel to A′E″ and A′D″, respectively, and l 7 is the point D′,
an auxiliary line passing through D″ (therefore parallel to A′E″),
l 8 passes through points E′, E″ (therefore parallel to A′D″)
The auxiliary lines Q and R are the intersections of l 5 and l 8 and l 7 and l 6 , respectively. The x-coordinate of the center point O' that we are trying to find here is the same as the x-coordinate of point Q, and the y-coordinate is the y-coordinate of point R.
Same as coordinates. In the figure, △E′QO′ and △
Since A′D″D′ is congruent, A′D″=E′Q,
Therefore, the x-coordinate of Q, that is, the x-coordinate of O′, is O′x=Qx=E′x+(D″x−A′x) =E′x+(D′x−A′x) ……(5 ), and similarly, △D′RO′ and △A′E″E′ are congruent, so A′E″=D′R, and therefore R
The y-coordinate of O', that is, the y-coordinate of O', is determined as O'y=Ry=D'y+(E″y−A′y)=D′y+(E′y−A′y)……(6).

式(5)に式(1)および(3)を代入し、また式(6)に式(2)
および(4)を代入して、それぞれ整理すると、 O′x=A′x+(B′x−A′x)×AD/AB +(C′x−A′x)×AE/AC ……(7) O′y=A′y+(C′y−A′y)×AE/AC +(B′y−A′y)×AD/AB ……(8) 結局式(7)、(8)は、O′の座標が、A′,B′,C′の
各座標と内部データであるAB,AD,AC,AE
の長さとから算出されることを示しており、
CPU11は、式(7)、(8)によつて中心点O′の算出
を行なう。
Substituting equations (1) and (3) into equation (5), and equation (2) into equation (6)
Substituting and rearranging (4), O′x=A′x+(B′x−A′x)×AD/AB+(C′x−A′x)×AE/AC……( 7) O′y=A′y+(C′y−A′y)×AE/AC+(B′y−A′y)×AD/AB……(8) In the end, Equations (7) and (8) The coordinates of O′ are the coordinates of A′, B′, C′ and internal data AB, AD, AC, AE.
It shows that it is calculated from the length of
The CPU 11 calculates the center point O' using equations (7) and (8).

なお、O′x,O′yの各第1項は基準点たるA′に
対応し、第2項は縮小・拡大の補正項としての性
格を有し、第3項は、傾きの補正項としての性格
を有する。
The first term of each of O'x and O'y corresponds to A' which is the reference point, the second term has the character of a reduction/enlargement correction term, and the third term is a slope correction term. It has the character of

次に、“データ領域の枠の作成”のステツプや
行なわれる。即ち、中心点O′に対する元の原稿
のデータ領域の枠J′K′L′M′についてのデータは、
メモリ12内にフオーマツトデータとして、OF
(=OH)、OI(=OG)の長さがある。CPU11
は、これに基づいて、データを読み出し易いよう
に、例えば画像メモリ14の行方向と2辺が平行
で、列方向と他の2辺が平行な四辺形である枠を
作成する。
Next, the step of "creating a data area frame" is performed. That is, the data regarding the frame J′K′L′M′ of the data area of the original manuscript with respect to the center point O′ is
OF as format data in the memory 12.
(=OH) and OI (=OG). CPU11
Based on this, a frame is created, for example, in the form of a quadrilateral with two sides parallel to the row direction of the image memory 14 and the other two sides parallel to the column direction, so that the data can be easily read.

すなわち、最も簡単には、J″x=O′x−OI、J″y
=O′y−OFによりJ″(J″x、J″y)を求める如く、
他のK″,L″,M″もO′(O′x、O′y)を基準に求め
ることができる。
That is, most simply, J″x=O′x−OI, J″y
As if finding J″ (J″x, J″y) by =O′y−OF,
Other K″, L″, and M″ can also be found based on O′ (O′x, O′y).

また、他の枠の作り方としては、第7図の点
J′,K′,L′,M′を各四辺に含み、点O′を中心と
する四辺形などが考えられる。
Also, as for how to make other frames, see the points in Figure 7.
A quadrilateral with J', K', L', and M' on each side and centered at point O' can be considered.

ここで必要なことは、元の原稿中のデータ領域
と抽出するデータ領域とがほとんど重なるよう
に、四辺形を作成することである。また、四辺形
は画像メモリ内では傾いていないことが重要であ
る。
What is required here is to create a quadrilateral so that the data area in the original document and the data area to be extracted almost overlap. It is also important that the quadrilateral is not tilted in the image memory.

次に、CPU11は、このようにして作成され
た枠を基に、“読み出し位置に従い画像データを
読み出す”ステツプを行う。更にCPU11は、
“指定された画像メモリの領域に画像データを転
送”するステツプを行う。これによつて、枠
J″K″L″M″内の画像データは傾いたままで、画像
メモリ14に格納される。しかし、傾きといつて
も、数度の傾きであり、コピーとして出力するに
は障害とならない。
Next, the CPU 11 performs a step of "reading image data according to the reading position" based on the frame thus created. Furthermore, CPU11 is
A step of "transferring image data to the specified image memory area" is performed. This allows the frame
The image data in J″K″L″M″ is stored in the image memory 14 while remaining tilted. However, the tilt is only a few degrees, and does not pose an obstacle to outputting as a copy.

次に、第5図のフアクシミリ装置の図示せぬパ
ターンジエネレータでは、CPU11の命令に基
づいて、“必要な文字・線を発生させる”ステツ
プが行なわれ、CPU11は、このデータを所定
のフオーマツトで、前述の画像データとともにア
レンジして、画像メモリ14内に格納しておく。
Next, in the pattern generator (not shown) of the facsimile machine of FIG. 5, a step of "generating necessary characters and lines" is performed based on the instructions from the CPU 11, and the CPU 11 converts this data into a predetermined format. , arranged together with the above-mentioned image data and stored in the image memory 14.

このようにして、全ての画像データの格納が終
了すると、CPU11は画像データを画像メモリ
14から読み出し、例えば、フアクシミリ部21
から出力する。これで“編集結果を出力”のステ
ツプが完了する。
In this way, when all the image data has been stored, the CPU 11 reads out the image data from the image memory 14 and, for example,
Output from. This completes the “output editing results” step.

このように、実施例においては、CPU11は
比例計算程度の演算だけで、必要とするデータ領
域を作成でき、かつデータ領域の読み出し時に
は、アドレスをデータの傾きに応じて更新すると
いうような処理を必要としなくなる。
In this way, in the embodiment, the CPU 11 can create the required data area by only performing proportional calculations, and when reading the data area, performs processing such as updating the address according to the slope of the data. no longer needed.

発明の効果 以上説明したように、本発明によれば、原画の
傾きが大きくない場合には、必要なデータを的確
に抽出すべきデータ領域から抽出でき、しかも、
抽出時の処理が簡単であるので、時間も多く要さ
ない。
Effects of the Invention As explained above, according to the present invention, if the original image is not tilted greatly, necessary data can be accurately extracted from the data area to be extracted.
Since the processing at the time of extraction is simple, it does not require much time.

また、フアクシミリ装置のレンズ系の歪みや、
副走査系の誤差により、縮小・拡大を伴つたデー
タとして入力されていても、データ抽出枠の中心
点を求めこれを基準に枠を作成するものであるか
ら、傾きのみならず、これらも補正できる利点は
大きい。
In addition, distortion of the lens system of the facsimile machine,
Even if data is input as reduced or expanded due to errors in the sub-scanning system, the center point of the data extraction frame is found and the frame is created based on this, so not only the tilt but also these can be corrected. The benefits are great.

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

第1図は、本発明が適用されるシステムのブロ
ツク図、第2図はフアクシミリ装置の編集機能を
説明するための説明図、第3図、第4図は従来例
の説明図、第5図は本発明が適用されるフアクシ
ミリ装置のブロツク図、第6図は本発明に用いら
れる原稿の平面図、第7図は本発明を説明するた
めの画像メモリ内の概念図、第8図は本発明を説
明するためのフローチヤートである。 10……システムバス、11……CPU、12
……メモリ、14……画像メモリ。
Fig. 1 is a block diagram of a system to which the present invention is applied, Fig. 2 is an explanatory diagram for explaining the editing function of a facsimile device, Figs. 3 and 4 are explanatory diagrams of a conventional example, and Fig. 5 is a block diagram of a facsimile device to which the present invention is applied, FIG. 6 is a plan view of a document used in the present invention, FIG. 7 is a conceptual diagram of the inside of an image memory for explaining the present invention, and FIG. It is a flowchart for explaining the invention. 10...System bus, 11...CPU, 12
...Memory, 14...Image memory.

Claims (1)

【特許請求の範囲】 1 原稿に記されたマークの画像メモリ内x−y
座標と、入力されるべき原稿のマークに対応する
座標データ、および抽出すべきデータ領域の枠の
中心点座標のデータとから、実際に入力されたデ
ータの画像メモリ内における抽出すべきデータ領
域の枠の中心点座標を求め、更に、この中心点座
標と前記入力されるべき原稿のデータ領域の枠の
データとに基づき画像メモリの行方向に平行な直
線及び列方向に平行な直線から成る所要の大きさ
のデータ領域枠を求め、この枠内のデータを抽出
することを特徴とする画像メモリ内データの抽出
方法。 前記所要のデータ領域枠は、画像メモリ内にお
ける抽出すべきデータ領域の枠の中心点座標か
ら、入力されるべき原稿のデータ領域の枠のデー
タに基づいて所定の長さだけ画像メモリの列方向
及び行方向に延長して四点を求め、これら四点の
夫々が各辺に含まれる四辺形であつて画像メモリ
内で傾いていない四辺形を求めて作成することを
特徴とする特許請求の範囲第1項記載の画像メモ
リ内データの抽出方法。
[Claims] 1. x-y of marks written on the original in the image memory
The data area to be extracted in the image memory of the actually input data is calculated from the coordinates, the coordinate data corresponding to the mark on the document to be input, and the center point coordinate data of the frame of the data area to be extracted. The coordinates of the center point of the frame are determined, and based on the coordinates of the center point and the data of the frame in the data area of the document to be input, a required line consisting of a straight line parallel to the row direction and a straight line parallel to the column direction of the image memory is determined. 1. A method for extracting data in an image memory, characterized by determining a data area frame having a size of , and extracting data within this frame. The required data area frame is created by extending a predetermined length in the column direction of the image memory from the coordinates of the center point of the frame of the data area to be extracted in the image memory, based on the data of the data area frame of the document to be input. and extends in the row direction to find four points, and each of these four points is a quadrilateral included in each side, and a quadrilateral that is not tilted in the image memory is found and created. A method for extracting data in an image memory as described in scope 1.
JP56206975A 1981-12-23 1981-12-23 Pickup method for data in picture memory Granted JPS58109962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56206975A JPS58109962A (en) 1981-12-23 1981-12-23 Pickup method for data in picture memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56206975A JPS58109962A (en) 1981-12-23 1981-12-23 Pickup method for data in picture memory

Publications (2)

Publication Number Publication Date
JPS58109962A JPS58109962A (en) 1983-06-30
JPH0156589B2 true JPH0156589B2 (en) 1989-11-30

Family

ID=16532090

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56206975A Granted JPS58109962A (en) 1981-12-23 1981-12-23 Pickup method for data in picture memory

Country Status (1)

Country Link
JP (1) JPS58109962A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01285683A (en) * 1988-05-12 1989-11-16 Oval Eng Co Ltd Inscribing type gear pump

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0996083B1 (en) * 1992-09-28 2003-03-26 Olympus Optical Co., Ltd. Information reproducing system for optically reading a dot code from a recording medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55154871A (en) * 1979-05-23 1980-12-02 Nippon Telegr & Teleph Corp <Ntt> Information input system by facsimile transmitter

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55154871A (en) * 1979-05-23 1980-12-02 Nippon Telegr & Teleph Corp <Ntt> Information input system by facsimile transmitter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01285683A (en) * 1988-05-12 1989-11-16 Oval Eng Co Ltd Inscribing type gear pump

Also Published As

Publication number Publication date
JPS58109962A (en) 1983-06-30

Similar Documents

Publication Publication Date Title
US5757958A (en) Document recognizing system and method
JPH0156589B2 (en)
JP3230334B2 (en) Image processing device
JPH04261259A (en) Correction device for image data
JPS63158676A (en) Area extracting device
JP2006295484A (en) Image forming apparatus, image forming method, and image forming program
JP2885996B2 (en) Image processing method and apparatus
JP3064305B2 (en) Digital copier
JP2007011528A (en) Method for searching position of recognition target item in ocr processing
JP2008258980A (en) Image information processor, and image inclination angle calculation method
JPH05151350A (en) Method for correcting position distortion of image data
JPS59112761A (en) Facsimile reading and editing system
JPH04288541A (en) Image distortion correction device
JPH09319855A (en) Device and method for map generation
JP2002197452A (en) Processor for correcting image distortion
JPH0473192B2 (en)
JPH08321942A (en) Image processing unit and method for linking image of split pattern
JPH10164317A (en) Image reader
JPH0623983B2 (en) Distortion correction device
JP2855758B2 (en) Document reader
JP3333580B2 (en) Mark sheet reader
JPH0640342B2 (en) Image editing equipment
JP2613060B2 (en) Ruled line detection method
JP2544599B2 (en) Image forming method
JP2011146031A (en) Information processing apparatus, information processing method, computer program and recording medium