JPH04319862A - Method for correcting original image for distorted original - Google Patents

Method for correcting original image for distorted original

Info

Publication number
JPH04319862A
JPH04319862A JP3115489A JP11548991A JPH04319862A JP H04319862 A JPH04319862 A JP H04319862A JP 3115489 A JP3115489 A JP 3115489A JP 11548991 A JP11548991 A JP 11548991A JP H04319862 A JPH04319862 A JP H04319862A
Authority
JP
Japan
Prior art keywords
original
document
data
read
background
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.)
Withdrawn
Application number
JP3115489A
Other languages
Japanese (ja)
Inventor
Masanori Asakura
正則 朝倉
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery 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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP3115489A priority Critical patent/JPH04319862A/en
Publication of JPH04319862A publication Critical patent/JPH04319862A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To evade a case where an original surface edge or a background surface is printed by reading directly an original surface part set in a reference area of the original width and replacing an protruding part with the same data as that on the background surface. CONSTITUTION:An original 1 is sequentially scanned and read in the horizontal direction toward the lower side from the upper side even if the original 1 is set in the distorted state to the reference areas E' and E of the vertical and horizontal widths accordant with the vertical and horizontal dimensions of the original 1. Then the parts protoruding from both areas E' and E are replaced with the same data as that on a backgroud surface when the original 1 is sequentially and horizontally scanned and read at the prescribed intervals. Meanwhile the original surface parts stored in the areas E' and E are directly processed as the effective original data. At the same time, the original surface parts omitted in the areas E' and E are replaced with the full white data equal to the background information on the original surface.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、画像読取部などに原稿
を歪んだままセットし読み取った原稿を印字したときに
、原稿面エッジや背景面が現われるのを防止する原稿画
の補正方法に関する。
[Field of Industrial Application] The present invention relates to a method for correcting a document image to prevent edges and background surfaces from appearing when a document is set in an image reading section or the like in a distorted state and the read document is printed. .

【0002】0002

【従来の技術】ファクシミリによって原稿データを送信
したり、コピーを行なう場合、水平読取走査ラインが原
稿面のエッジに垂直になるように原稿を画像読取部に正
しくセットする必要があるが、原稿のセット位置が斜め
方向に歪んでしまうと、記録紙に印字される原稿文字も
斜めに印字されるばかりでなく、原稿を印字して得られ
る印字画内に原稿のエッジによる黒筋を生じたり、ある
いは原稿の背景面が黒い場合には、図4に示したように
原稿文字Aを印字した記録紙P内に黒い背景面Bが入っ
てしまい印字時における画像品質を低下させる原因とな
っている。
[Prior Art] When transmitting original data or copying by facsimile, it is necessary to correctly set the original in an image reading section so that the horizontal scanning line is perpendicular to the edge of the original. If the setting position is distorted diagonally, not only will the original characters printed on the recording paper be printed diagonally, but also black streaks will occur due to the edges of the original in the printed image obtained by printing the original. Alternatively, if the background surface of the document is black, as shown in FIG. 4, the black background surface B is included in the recording paper P on which the document characters A are printed, causing a reduction in image quality during printing. .

【0003】0003

【発明が解決しようとする課題】本発明はこのような事
情に鑑みてなされたもので、原稿が正しい位置状態にセ
ットされていない状態で読取走査された場合にも、簡易
な方法で印字画には原稿面のエッジによる黒筋や背景面
を生じないようにした原稿画の補正方法を提供すること
を目的としている。
[Problems to be Solved by the Invention] The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide a simple method for printing images even when the original is read and scanned without being set in the correct position. It is an object of the present invention to provide a method for correcting an original image that prevents the occurrence of black streaks or background surfaces due to the edges of the original surface.

【0004】0004

【課題を解決するための手段】上記目的を達成するため
に提案される本発明方法では、原稿を所定の間隔で水平
走査し、各ライン毎に読み取った原稿データを加工処理
する方法を採用しており、その加工手順は、ライン毎に
読み取った原稿面データのうち、原稿幅の基準エリア内
に位置する原稿面の欠除部分は原稿面の背景情報と同じ
全白データに置換し、原稿幅の基準エリア内に位置する
原稿面部分はそのまま読取り、原稿幅の基準エリアより
はみ出した原稿面部分は背景面と同じデータに置換する
処理を行なうことを特徴としている。
[Means for Solving the Problems] The method of the present invention proposed to achieve the above object adopts a method of horizontally scanning a document at predetermined intervals and processing the document data read for each line. The processing procedure is to replace the missing parts of the document surface located within the standard area of the document width with all-white data that is the same as the background information of the document surface, out of the document surface data read line by line. The document surface portion located within the width reference area is read as is, and the document surface portion extending outside the document width reference area is replaced with the same data as the background surface.

【0005】[0005]

【作用】本発明方法によれば、原稿を各ライン毎に水平
に読取走査する際において、原稿幅の基準エリア内に位
置する原稿面の欠除部分は原稿面の背景情報と同じ全白
データに置換され、原稿データの原稿幅の基準エリアよ
りはみ出した部分は背景面と同じデータに置換されるの
で、原稿が歪んだ状態で画像読取部にセットされた場合
でも、原稿の印字画からは原稿面のエッジによる黒筋や
背景面の画像は除かれる。
[Operation] According to the method of the present invention, when a document is horizontally read and scanned line by line, the missing portion of the document surface located within the reference area of the document width is filled with all-white data that is the same as the background information of the document surface. The part of the original data that protrudes from the standard area of the original width is replaced with the same data as the background surface, so even if the original is set in the image reading unit in a distorted state, the printed image of the original will be replaced with the same data as the background. Black lines caused by the edges of the document surface and images on the background surface are removed.

【0006】[0006]

【実施例】以下に、添付図を参照して本発明方法を説明
する。図1は文字「あ」の記された原稿1が、原稿1の
寸法に応じた一点鎖線で示された適切な原稿位置、つま
り原稿1の縦横の寸法に応じた縦,横幅の基準エリアE
’,Eに対して、歪んだ状態でセットされた場合におけ
る読取走査を説明するもので、原稿1は上方より下方に
順次水平方向に走査されて読取られる。すなわち、原稿
1は、縦方向の基準幅エリアE’よりも上方にはみ出し
た部分から水平走査ラインLoによる読取走査が開始さ
れ、ついで所定間隔で水平方向に読取走査され、原稿1
の縦幅の基準エリアE’に位置する部分では、水平走査
ラインLa〜Lcで示したように順次水平走査されて読
み取られ、最後に縦方向の基準幅エリアE’より下方に
はみ出した部分は水平走査ラインLeで示したように走
査されて1枚の原稿読取が終了する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The method of the present invention will be explained below with reference to the accompanying drawings. Figure 1 shows that the document 1 with the letter "A" is placed in the appropriate document position indicated by the dashed line according to the dimensions of the document 1, that is, in the reference area E with the length and width according to the length and width dimensions of the document 1.
This is to explain the reading scan when the document 1 is set in a distorted state with respect to ' and E, and the document 1 is read by being sequentially scanned in the horizontal direction from the top to the bottom. That is, the document 1 is read and scanned by the horizontal scanning line Lo starting from the portion that protrudes above the vertical reference width area E', and then read and scanned in the horizontal direction at predetermined intervals.
The part located in the reference area E' with the vertical width is sequentially horizontally scanned and read as shown by the horizontal scanning lines La to Lc, and finally the part that protrudes below the reference width area E' in the vertical direction is read. Scanning is performed as shown by the horizontal scanning line Le, and reading of one document is completed.

【0007】本発明方法では、このような方法で原稿1
を所定の間隔で順次上方より下方に水平に読取走査する
に際して、原稿面の基準エリアE’,Eよりはみ出した
部分は、背景面と同じデータに置換され、基準エリアE
’,E内に存在する原稿面部分はそのまま有効な原稿デ
ータとして処理される一方、基準エリアE’,E内の原
稿面の欠除部分は原稿面の背景情報と同じ全白データに
置換される。そして、本発明方法では、このような原稿
データの加工処理を行なうために、原稿面を水平走査し
て順次読取られた各ラインの原稿データからは、原稿面
の上、下のエッジPT,PBと左、右のエッジPL,P
Rと、基準エリアE’,Eの上、下端ET,EB及び左
、右端EL,ERが抽出され、水平方向に走査して読み
取った各ラインの原稿データ内に、これらの原稿面エッ
ジPT,PB、PL,PRや基準エリアの上、下端ET
,EBや左、右端EL,ERが検出されることによって
、原稿面が基準エリアE,E’内に存在するか、基準エ
リアE,E’よりはみ出しているかどうかが判別されて
、上記した原稿データの加工処理が行なわれている。 ここに、原稿面エッジは、背景面を黒とした場合には、
原稿面のない背景面から原稿面に入った場合には画デー
タが黒から白へ変化した点となり、原稿面から原稿面の
ない背景面に入った場合には画データが白から黒へ変化
するので、これらの違いを判別することにことによって
検出できる。
In the method of the present invention, the original 1 is
When reading and scanning horizontally from top to bottom at predetermined intervals, the parts of the document surface that protrude from the reference areas E' and E are replaced with the same data as the background surface, and
The portion of the document surface that exists within ', E is processed as valid document data as is, while the missing portion of the document surface within reference areas E', E is replaced with all-white data that is the same as the background information of the document surface. Ru. In the method of the present invention, in order to process such document data, the upper and lower edges PT, PB of the document surface are extracted from each line of document data read sequentially by horizontally scanning the document surface. and left and right edges PL, P
R, the upper and lower edges ET and EB of the reference areas E' and E, and the left and right edges EL and ER are extracted, and these document surface edges PT, PB, PL, PR and the upper and lower ends of the reference area ET
, EB and the left and right edges EL and ER are detected, it is determined whether the document surface is within the reference areas E and E' or whether it protrudes from the reference areas E and E'. Data processing is being performed. Here, if the background surface is black, the edge of the document surface is
When entering from a background surface with no original surface to the original surface, the image data changes from black to white, and when entering from the original surface to a background surface with no original surface, the image data changes from white to black. Therefore, it can be detected by distinguishing these differences.

【0008】本発明方法では、このような画データの加
工処理を各水平走査ライン毎に行なう結果、記録紙Pに
は、図2に示したように原稿面エッジによる黒筋や背景
面Bの除去された印字画が得られるものである。図3の
a),b),c)は、背景面を黒とし、原稿面には黒を
文字情報とし、背景情報を白とした図1に示した原稿面
の水平走査ラインLa,Lb,Lcに於ける原稿データ
の処理手順を示した説明図である。水平走査ラインLa
〜Lcは、縦方向の基準エリアE’内にあるため、原稿
面エッジと横方向の基準エリアEとの位置関係のみが判
別され、特に水平走査ラインLaでは、原稿面の左エッ
ジPLと基準エリアEの左端ELに挟まれた部分は、原
稿面の基準エリアEよりはみ出した部分アとみなして背
景面と同じ黒に置換され、原稿面の右エッジPRと基準
エリアEの右端ERとに挟まれた部分は、原稿面の欠除
部分イとみなして原稿面の背景情報と同じ全白データに
置換され、更に基準エリアE内の原稿面はそのまま有効
な原稿データとして処理される。また、水平走査ライン
Lb,Lcでは、基準エリアEの左端ELと原稿面の左
エッジPLで挟まれた部分は、原稿面の欠除部分イとみ
なして原稿面の背景情報と同じ全白データに置換され、
基準エリアEの右端ERと原稿面の右エッジPRとで挟
まれた部分は原稿面の基準エリアEよりはみ出した部分
アとみなして背景面と同じ黒に置換され、基準エリアE
内の原稿面はそのまま有効な原稿データとして印字出力
部のバッファ内に格納された後、1ライン分の印字が行
なわれる。
In the method of the present invention, as a result of processing the image data for each horizontal scanning line, the recording paper P has black streaks due to the edge of the document surface and the background surface B as shown in FIG. A removed print image is obtained. 3a), b), and c) show the horizontal scanning lines La, Lb, and the horizontal scanning lines La, Lb of the original surface shown in FIG. FIG. 7 is an explanatory diagram showing a processing procedure for document data in Lc. Horizontal scanning line La
~Lc is within the vertical reference area E', so only the positional relationship between the document surface edge and the horizontal reference area E is determined, and especially in the horizontal scanning line La, the left edge PL of the document surface and the reference The part sandwiched between the left edge EL of area E is regarded as a part A that protrudes from the reference area E of the document surface, and is replaced with the same black color as the background surface, and the right edge PR of the document surface and the right edge ER of the reference area E are replaced with the same black color as the background surface. The sandwiched portion is regarded as a missing portion A of the document surface and replaced with all-white data that is the same as the background information of the document surface, and the document surface within the reference area E is processed as is as valid document data. In addition, in the horizontal scanning lines Lb and Lc, the part sandwiched between the left edge EL of the reference area E and the left edge PL of the document surface is regarded as the missing part A of the document surface, and is filled with all-white data that is the same as the background information of the document surface. is replaced with
The part sandwiched between the right edge ER of the reference area E and the right edge PR of the document surface is regarded as a part A that protrudes from the reference area E of the document surface, and is replaced with the same black as the background surface, and the reference area E
The original surface within is stored as valid original data in the buffer of the print output section, and then one line of printing is performed.

【0009】[0009]

【発明の効果】本発明方法によれば、以上に説明したよ
うに、原稿を歪んだ状態で画像読取部にセットしたまま
で送信したり、コピーを取ったりしても、原稿面エッジ
による黒筋や背景面が除去された見やすくて美しい印字
画が得られる。
According to the method of the present invention, as explained above, even if a distorted original is set in the image reading section and sent or copied, black spots due to the edges of the original surface can be avoided. You can obtain an easy-to-read and beautiful printed image with streaks and background surfaces removed.

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

【図1】本発明方法による原稿の読取走査方法の説明図
である。
FIG. 1 is an explanatory diagram of a method for reading and scanning a document according to the method of the present invention.

【図2】背景面を黒にした場合の本発明方法における画
像処理の原理説明図である。
FIG. 2 is a diagram illustrating the principle of image processing in the method of the present invention when the background surface is black.

【図3】本発明方法によって補正処理された印字画の例
図である。
FIG. 3 is an example diagram of a printed image corrected by the method of the present invention.

【図4】原稿を歪ませてセットした場合に得られる従来
方法による印字画の例図である。
FIG. 4 is an example of a print image obtained by a conventional method when a document is set in a distorted manner.

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

1・・・原稿 E,E’・・・原稿幅の基準エリア 1... Manuscript E, E’・・・Reference area for document width

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  原稿面をライン毎に水平走査して読み
取った原稿データを加工処理して、読み取った原稿画を
補正する方法であって、ライン毎に読み取った原稿面デ
ータのうち、原稿幅の基準エリア内に位置する原稿面の
欠除部分は全白データに置換し、原稿幅の基準エリア内
に位置する原稿面部分はそのまま読取り、原稿幅の基準
エリアよりはみ出した原稿面部分は背景面と同じデータ
に置換する処理を行なうことを特徴とする歪み原稿に対
する原稿画の補正方法。
Claim 1: A method for correcting the read original image by processing the original data read by horizontally scanning the original surface line by line. The missing parts of the document surface located within the standard area of the document are replaced with completely white data, the parts of the document surface located within the standard area of the document width are read as is, and the parts of the document surface that protrude from the standard area of the document width are replaced with the background. A method of correcting an original image for a distorted original, characterized by performing a process of replacing the image with the same data as the side.
JP3115489A 1991-04-18 1991-04-18 Method for correcting original image for distorted original Withdrawn JPH04319862A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3115489A JPH04319862A (en) 1991-04-18 1991-04-18 Method for correcting original image for distorted original

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3115489A JPH04319862A (en) 1991-04-18 1991-04-18 Method for correcting original image for distorted original

Publications (1)

Publication Number Publication Date
JPH04319862A true JPH04319862A (en) 1992-11-10

Family

ID=14663788

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3115489A Withdrawn JPH04319862A (en) 1991-04-18 1991-04-18 Method for correcting original image for distorted original

Country Status (1)

Country Link
JP (1) JPH04319862A (en)

Similar Documents

Publication Publication Date Title
US8009931B2 (en) Real-time processing of grayscale image data
JPS62275768A (en) Printer
US20060285174A1 (en) Shading profile value correction method and image scanning device
US5488491A (en) Image processing apparatus and method for eliminating background density in a designated image area
JP3671682B2 (en) Image recognition device
JPH04319862A (en) Method for correcting original image for distorted original
JP3927712B2 (en) Image forming apparatus
JP4823109B2 (en) Image reading apparatus and control method thereof
JP3267575B2 (en) Image processing method
JP4045335B2 (en) Printer device and recording medium
JP2658974B2 (en) Printing method
EP0641119B1 (en) Image improvement after facsimile reception
JP3150336B2 (en) Processing method in image reading device
JPH07212539A (en) Center deletion system in picture recording device
JP4117885B2 (en) Image forming apparatus
TW293110B (en) Method of calibrating image size without original copy and device thereof
JP2001045299A (en) Method for processing image
JPH09107469A (en) Image forming device
JPH04150566A (en) Image forming device
JP3075817B2 (en) Facsimile machine
JP2006166296A (en) Image scanner, image position deviation detecting method, and storage medium
JPH04196972A (en) Contour printing method for two-dimensional image
JPH1132161A (en) Method for detecting paper size
JPH09181888A (en) Electronic blackboard
JPH10285377A (en) Original image reader

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980711