JPH05268477A - Image forming device - Google Patents

Image forming device

Info

Publication number
JPH05268477A
JPH05268477A JP4061949A JP6194992A JPH05268477A JP H05268477 A JPH05268477 A JP H05268477A JP 4061949 A JP4061949 A JP 4061949A JP 6194992 A JP6194992 A JP 6194992A JP H05268477 A JPH05268477 A JP H05268477A
Authority
JP
Japan
Prior art keywords
straight line
scanning direction
line
original
image data
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
JP4061949A
Other languages
Japanese (ja)
Inventor
Yasumichi Murakami
恭通 村上
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 JP4061949A priority Critical patent/JPH05268477A/en
Publication of JPH05268477A publication Critical patent/JPH05268477A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To prevent the generation of a tilted stepwise rugged line when a ruled line is not accurately coincident in the main scanning direction and the subscanning direction due to a tilt original. CONSTITUTION:Picture data of an original picture to be read are stored in a RAM 2, and a control section 1 detects a straight line included in an original. When the gradient of the straight line is within a preset prescribed range, a black picture element in the vicinity of the straight line is revised into a white picture element to cancel the straight line. Furthermore, after a picture element passing through e.g. a midpoint of the straight line in the main scanning direction or the subscanning direction is changed into a black picture element, corrected picture data are sent to a line 5 via a MODEM 7 and an NCU 4.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、原稿画像を読み取って
得られた画データを送受するファクシミリ装置等、画デ
ータの処理を伴う画像形成装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image forming apparatus accompanied with image data processing, such as a facsimile apparatus for transmitting and receiving image data obtained by reading an original image.

【0002】[0002]

【従来の技術】ファクシミリ装置等においては、通常、
原稿を副走査方向に移動させながら、ラインイメージセ
ンサ等によって主走査線ごとに原稿画像を読み取るよう
になっている。この読み取りによって得られた画データ
は、例えば公衆回線等を介して伝送され、受信側のファ
クシミリ装置では、伝送された画データに基づいて、サ
ーマルヘッド等により印刷が行われるようになってい
る。
2. Description of the Related Art In a facsimile machine, etc.,
While moving the document in the sub-scanning direction, the document image is read for each main scanning line by a line image sensor or the like. The image data obtained by this reading is transmitted via, for example, a public line, and the facsimile machine on the receiving side prints by a thermal head or the like based on the transmitted image data.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上位従
来のファクシミリ装置等では、原稿画像に主走査方向や
副走査方向の罫線などが含まれている場合、読み取りの
際の原稿の傾き等に起因して罫線等が上記主走査方向や
副走査方向と一致していないと、印刷される画像上で、
なめらかな水平または垂直な線にならずに傾いた階段状
の見苦しい線になってしまうという問題点を有してい
た。
However, in a high-ranking conventional facsimile apparatus or the like, when a document image includes ruled lines in the main scanning direction and the sub-scanning direction, it is caused by the inclination of the document during reading. If the ruled lines and the like do not match the main scanning direction and the sub-scanning direction, then on the printed image,
There is a problem in that the line becomes an unsightly line in the shape of an inclined staircase instead of a smooth horizontal or vertical line.

【0004】本発明は上記の点に鑑み、原稿の傾きのた
めに罫線などが主走査方向や副走査方向と正確に一致し
ていない場合でも、傾いた階段状のぎざぎざの線が形成
されるのを防止できる画像形成装置の提供を目的として
いる。
In view of the above points, the present invention forms an inclined stepped jagged line even when the ruled line or the like does not exactly match the main scanning direction or the sub scanning direction due to the inclination of the document. It is an object of the present invention to provide an image forming apparatus capable of preventing the above.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、読み取った原稿画像の画データに基づい
て、原稿画像に含まれる直線の傾きを検出する検出手段
と、直線の傾きが主走査方向または副走査方向に略平行
である場合に、その直線を主走査方向または副走査方向
の直線に変更するように画像データを補正する補正手段
とを備えたことを特徴としている。
In order to achieve the above object, the present invention provides a detecting means for detecting the inclination of a straight line included in an original image based on image data of the read original image, and a detecting means for detecting the inclination of the straight line. It is characterized in that when it is substantially parallel to the main scanning direction or the sub-scanning direction, it is provided with a correcting means for correcting the image data so as to change the straight line to the straight line in the main scanning direction or the sub-scanning direction.

【0006】[0006]

【作用】上記の構成により、検出手段は読み取った原稿
画像の画データに基づいて、原稿画像に含まれる直線の
傾きを検出し、補正手段は、直線の傾きが主走査方向ま
たは副走査方向に略平行である場合に、その直線を主走
査方向または副走査方向の直線に変更するように画像デ
ータを補正する。
With the above arrangement, the detecting means detects the inclination of the straight line included in the original image based on the read image data of the original image, and the correcting means detects the inclination of the straight line in the main scanning direction or the sub-scanning direction. If they are substantially parallel, the image data is corrected so that the straight line is changed to a straight line in the main scanning direction or the sub scanning direction.

【0007】[0007]

【実施例】以下、本発明の一実施例としてファクシミリ
装置の例を図1ないし図6に基づいて説明する。図1は
ファクシミリ装置の概略的な回路構成を示すブロック図
であり、該ファクシミリ装置は、1または2以上のCP
Uを備えてファクシミリ装置全体の制御を行う制御部1
と、送信データや受信データあるいは電話番号などを保
持するためのRAM2と、ダイヤル発信を行うためのオ
ートダイヤラ3と、回線を制御するNCU4と、図示し
ない原稿台上にセットされた原稿の内容を光学的に読み
取る読み取り部6と、変復調処理を行うモデム7と、記
録紙に記録を行う記録部8と、前記の制御部1の動作に
必要なプログラムを格納するROM9と、テンキーやワ
ンタッチキー等を備える操作パネル10と、LCDなど
から成る表示部11とを備えて構成される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An example of a facsimile apparatus as an embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a block diagram showing a schematic circuit configuration of a facsimile machine. The facsimile machine has one or more CPs.
Control unit 1 including U for controlling the entire facsimile apparatus
RAM 2 for holding transmission data, reception data, telephone number, etc., auto dialer 3 for dialing, NCU 4 for controlling the line, and contents of the document set on the document table (not shown). A reading unit 6 that optically reads, a modem 7 that performs modulation / demodulation processing, a recording unit 8 that records on recording paper, a ROM 9 that stores a program necessary for the operation of the control unit 1, a ten-key pad, a one-touch key, etc. An operation panel 10 including a display unit 11 and a display unit 11 including an LCD are provided.

【0008】かかるファクシミリ装置において、その基
本的な送信動作を図2のフローチャートに基づいて説明
する。なお、以下の説明においては簡単のために、原稿
1枚分の画データが一旦RAM2に保持された後に1ラ
イン分ずつ伝送される例を示す。まず、操作者により操
作パネル10上の通信キーやワンタッチダイヤルキーが
ONされると、制御部1がRAM2に格納された相手先
の電話番号を読み出し、読み出された電話番号がオート
ダイヤラ3およびNCU4を介して回線5にダイヤル発
信される(S1)。
The basic transmission operation of the facsimile apparatus will be described with reference to the flowchart of FIG. In the following description, for simplification, an example is shown in which image data for one document is temporarily stored in the RAM 2 and then transmitted for each line. First, when the operator turns on a communication key or a one-touch dial key on the operation panel 10, the control unit 1 reads out the telephone number of the destination stored in the RAM 2, and the read telephone number is stored in the auto dialer 3 and The line 5 is dialed through the NCU 4 (S1).

【0009】そして、ダイヤル発信の後に、読み取り部
6によって原稿画像が読み取られ、画データがRAM2
に保持される(S2)。具体的には、図3に示すよう
に、罫線を含む原稿21が主走査方向および副走査方向
に傾いて読み取られた場合、RAM2には例えば図4に
模式的に示すような画データが保持される。ここで、一
般に罫線等は複数のラインや画素桁にわたる幅を持った
ものであることも多いが、説明の簡単のために1ライン
または1画素桁の幅である罫線を例に挙げて説明する。
After dialing, the reading unit 6 reads the original image, and the image data is stored in the RAM 2.
(S2). Specifically, as shown in FIG. 3, when a document 21 including ruled lines is read while being inclined in the main scanning direction and the sub scanning direction, the RAM 2 holds image data as schematically shown in FIG. 4, for example. To be done. Here, in general, ruled lines and the like often have a width extending over a plurality of lines or pixel digits, but for simplicity of description, a ruled line having a width of one line or one pixel digit will be described as an example. .

【0010】次に、上記画データに基づいて、原稿画像
に含まれる直線を検出する(S3)。この直線の検出
は、例えば長谷川順一ら著「画像処理の基本技法」(技
術評論社)p.83〜85に記載されているような処理
を適用することにより行うことができる。そこで、直線
が検出されたかどうかを判定し(S4)、検出されてい
なければ(S7)に移行してそのまま画データの送信を
行う一方、検出されていれば、その直線の勾配mがあら
かじめ設定された閾値k1、k2の範囲内にあるか、ま
たは勾配mの逆数が閾値k3、k4の範囲内にあるかを
判定し(S5)、範囲内にあれば、(S6)に移行して
画データの補正を行う。
Next, a straight line included in the original image is detected based on the image data (S3). This straight line can be detected by, for example, Junichi Hasegawa et al., “Basic Techniques of Image Processing” (Technical Review Co.) p. This can be done by applying the processing as described in 83-85. Therefore, it is determined whether or not a straight line is detected (S4), and if not detected, the process proceeds to (S7) and the image data is transmitted as it is. It is determined whether it is within the range of the thresholds k1 and k2 that have been set or whether the reciprocal of the gradient m is within the range of the thresholds k3 and k4 (S5), and if it is within the range, the process proceeds to (S6). Correct the data.

【0011】すなわち、勾配mまたはその逆数が、ある
程度の範囲にある場合には、意図して傾斜させた直線で
はなく、また、直線が階段状になる程度が大きいために
見栄えが悪いので、補正を行う。なお、(S5)の判定
は上記のものに限らず、例えば上限(閾値k2、k4)
だけを判定するようにしてもよいし、また、これらの閾
値を任意に変更できるようにしてもよい。
That is, when the gradient m or its reciprocal is in a certain range, it is not a straight line which is intentionally inclined, and the straight line has a large degree of stepwise appearance, which is unsatisfactory in appearance and is therefore corrected. I do. Note that the determination in (S5) is not limited to the above, and for example, the upper limit (thresholds k2, k4)
Only the threshold value may be determined, or these threshold values may be arbitrarily changed.

【0012】(S6)の画像データの補正は、具体的に
は、図5に示すように、検出された直線の近傍の黒画素
を白画素に変更して直線を消去するとともに、図6に示
すように、その直線の例えば中央部を通り主走査方向ま
たは副走査方向の画素を黒画素にすることにより行われ
る。補正された画データは、所定のデータ圧縮等が行わ
れた後、モデム7およびNCU4を介して回線5に送出
される(S7)。
To correct the image data in (S6), specifically, as shown in FIG. 5, black pixels in the vicinity of the detected straight line are changed to white pixels to erase the straight line, and at the same time, as shown in FIG. As shown in the figure, this is done by making the pixels in the main scanning direction or the sub scanning direction passing through the central portion of the straight line black pixels. The corrected image data is sent to the line 5 via the modem 7 and the NCU 4 after being subjected to predetermined data compression and the like (S7).

【0013】原稿1枚分の画データの送信が完了する
と、次の原稿あるかどうかを判定し(S8)、あれば
(S2)に戻って同様の動作が繰り返される一方、なけ
れば、回線を切断して(S9)、送信動作を終了する。
このようにして送信された画データに基づく画像の印刷
は、同様の構成を成すファクシミリ装置により、次のよ
うにして行われる。すなわち、回線5、NCU4、およ
びモデム7を介して相手先から受信情報を着信すると、
この着信情報に基づき制御部1が記録部8を駆動して受
信情報の記録を行わせる。
When the transmission of the image data for one original is completed, it is judged whether or not there is a next original (S8), and if there is, the same operation is repeated by returning to (S2). The connection is disconnected (S9), and the transmission operation ends.
The printing of an image based on the image data transmitted in this way is performed as follows by a facsimile apparatus having the same configuration. That is, when receiving the received information from the other party through the line 5, the NCU 4, and the modem 7,
Based on this incoming information, the control unit 1 drives the recording unit 8 to record the received information.

【0014】なお、上記の画素の例では、罫線の幅が1
ラインまたは1画素桁である例を示したが、複数のライ
ン等にわたる幅である場合でも、線の輪郭が階段状にな
るのを確実に防止できる。また、上記の例においては、
原稿1枚分の画データが一旦RAM2に保持された後に
1ライン分ずつ伝送されるように構成された例を示した
が、数ライン分ずつ読み取り、順次補正して送信するよ
うにすれば、RAM2の記憶容量を小さく抑えることが
できる。
In the above pixel example, the width of the ruled line is 1
Although an example of a line or a one-pixel digit is shown, it is possible to reliably prevent the contour of the line from becoming stepwise even when the width is across a plurality of lines. Also, in the example above,
An example is shown in which the image data for one original is temporarily stored in the RAM 2 and then transmitted one line at a time. However, if the lines are read every several lines and are sequentially corrected and transmitted, The storage capacity of the RAM 2 can be kept small.

【0015】また、ファクシミリ装置の場合には、上記
のように送信側で傾きの補正処理を行わず、受信側で行
うようにしてもよい。
In the case of a facsimile machine, the inclination correction process may not be performed on the transmitting side as described above, but may be performed on the receiving side.

【0016】[0016]

【発明の効果】以上説明したように、本発明によれば、
画像を読み取る原稿が傾いている場合などでも、原稿画
像に含まれる、傾きが主走査方向または副走査方向に略
平行である直線が、主走査方向または副走査方向の直線
に変更されるので、罫線などが傾いた階段状のぎざぎざ
の線に形成されるのを防止できるという効果を奏する。
As described above, according to the present invention,
Even if the document from which the image is read is tilted, the straight line that is included in the document image and is substantially parallel to the main scanning direction or the sub-scanning direction is changed to the straight line in the main scanning direction or the sub-scanning direction. The effect that it is possible to prevent the formation of ruled lines or the like on the inclined stepped jagged lines is obtained.

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

【図1】ファクシミリ装置の概略的な回路構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a schematic circuit configuration of a facsimile apparatus.

【図2】基本的な送信動作を示すフローチャートであ
る。
FIG. 2 is a flowchart showing a basic transmission operation.

【図3】罫線を含む原稿が傾いて読み取られる状態を示
す説明図である。
FIG. 3 is an explanatory diagram showing a state in which a document including ruled lines is read while being inclined.

【図4】RAMに保持される画データの例を示す説明図
である。
FIG. 4 is an explanatory diagram showing an example of image data stored in a RAM.

【図5】画データにおける直線が消去された状態を示す
説明図である。
FIG. 5 is an explanatory diagram showing a state in which a straight line in image data is deleted.

【図6】画データにおける直線が補正された状態を示す
説明図である。
FIG. 6 is an explanatory diagram showing a state in which a straight line in image data is corrected.

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

1 制御部 2 RAM 3 オートダイヤラ 4 NCU 5 回線 6 読み取り部 7 モデム 8 記録部 9 ROM 10 操作パネル 11 表示部 21 原稿 1 Controller 2 RAM 3 Auto Dialer 4 NCU 5 Line 6 Reader 7 Modem 8 Recording 9 ROM 10 Operation Panel 11 Display 21 Original

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 読み取った原稿画像の画データに基づい
て、原稿画像に含まれる直線の傾きを検出する検出手段
と、 直線の傾きが主走査方向または副走査方向に略平行であ
る場合に、その直線を主走査方向または副走査方向の直
線に変更するように画像データを補正する補正手段とを
備えたことを特徴とする画像形成装置。
1. A detection means for detecting the inclination of a straight line included in an original image based on the read image data of the original image; and the inclination of the straight line being substantially parallel to the main scanning direction or the sub-scanning direction, An image forming apparatus comprising: a correction unit that corrects image data so that the straight line is changed to a straight line in a main scanning direction or a sub scanning direction.
JP4061949A 1992-03-18 1992-03-18 Image forming device Pending JPH05268477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4061949A JPH05268477A (en) 1992-03-18 1992-03-18 Image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4061949A JPH05268477A (en) 1992-03-18 1992-03-18 Image forming device

Publications (1)

Publication Number Publication Date
JPH05268477A true JPH05268477A (en) 1993-10-15

Family

ID=13185961

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4061949A Pending JPH05268477A (en) 1992-03-18 1992-03-18 Image forming device

Country Status (1)

Country Link
JP (1) JPH05268477A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0846761A (en) * 1994-07-28 1996-02-16 Kyushu Nippon Denki Software Kk Image input method and its device
US8274515B2 (en) 2008-06-18 2012-09-25 Konica Minolta Business Technologies, Inc. Vector image generation method, image processing apparatus, and computer-readable storage medium for computer program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0846761A (en) * 1994-07-28 1996-02-16 Kyushu Nippon Denki Software Kk Image input method and its device
US8274515B2 (en) 2008-06-18 2012-09-25 Konica Minolta Business Technologies, Inc. Vector image generation method, image processing apparatus, and computer-readable storage medium for computer program

Similar Documents

Publication Publication Date Title
JPH05268477A (en) Image forming device
US7430342B2 (en) Image processing apparatus and image processing program to perform image data resolution conversion
JPH05268428A (en) Image forming device
JP3471979B2 (en) Image processing device
US7123374B2 (en) Facsimile gateway device
JPH0622091A (en) Facsimile equipment
JP2845938B2 (en) Halftone image processing method
JP3724453B2 (en) Document reader
JP2719048B2 (en) Image communication device
JP2693543B2 (en) Facsimile machine
JPH067626Y2 (en) Image information reader
JP3075817B2 (en) Facsimile machine
US5221972A (en) Memory-equipped facsimile machine
KR940005251B1 (en) Automatic picture transmission mode and dialing device and control method for fax
JP3707214B2 (en) Communication terminal device and recording medium
JP2767444B2 (en) Facsimile machine
JPH0514725A (en) Original picture reader
JPH0334675A (en) Facsimile equipment
JPH0583511A (en) Facsimile equipment
JPH11275342A (en) Facsimile equipment with inclination correction function and its inclination correction method
JP2003110854A (en) Image reader
JP2002171402A (en) Image processing apparatus
JP2001036719A (en) Image processor
JPH05328120A (en) Document reader
JP2003333297A (en) Facsimile equipment