JP2003316207A - Image forming apparatus - Google Patents

Image forming apparatus

Info

Publication number
JP2003316207A
JP2003316207A JP2002119988A JP2002119988A JP2003316207A JP 2003316207 A JP2003316207 A JP 2003316207A JP 2002119988 A JP2002119988 A JP 2002119988A JP 2002119988 A JP2002119988 A JP 2002119988A JP 2003316207 A JP2003316207 A JP 2003316207A
Authority
JP
Japan
Prior art keywords
character
document
image
blank sheet
unit
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
JP2002119988A
Other languages
Japanese (ja)
Inventor
Ryotaro Imine
良太郎 井峯
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002119988A priority Critical patent/JP2003316207A/en
Publication of JP2003316207A publication Critical patent/JP2003316207A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Exposure Or Original Feeding In Electrophotography (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Controlling Sheets Or Webs (AREA)
  • Conveyance By Endless Belt Conveyors (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To correct difference in front and back when a manuscript is to be set. <P>SOLUTION: When a document direction discrimination section 306 judges that there is no region information by using an automatic manuscript feed apparatus 142 that is capable of inversion feed of a manuscript, namely when the section 306 judges that the region information is blank, the automatic manuscript feed apparatus 142 in a controller 139 is controlled, the manuscript is automatically inverted inside out, and the direction of the manuscript is discriminated. When the section 306 judges that the region information is not blank, the image is formed as it is. <P>COPYRIGHT: (C)2004,JPO

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 which processes image data read by a reading means such as a digital copying machine and prints it on a recording material.

【0002】[0002]

【従来の技術】従来よりデジタル複写機など原稿の向き
検知機能を有する画像形成装置において、原稿の反転給
送可能な自動原稿送り装置を有し、自動両面印刷が可能
な装置が用いられている。
2. Description of the Related Art Conventionally, in an image forming apparatus having a document orientation detecting function such as a digital copying machine, an apparatus having an automatic document feeding apparatus capable of reversing and feeding an original and capable of automatic double-sided printing has been used. .

【0003】[0003]

【発明が解決しようとする課題】しかしながら原稿の片
面の画像を読み込み被記録材の片面に印字する片面−片
面モード時と2枚の原稿を1枚の被記録材の両面に印字
する片面−両面モードにおいて、装置の使用者が原稿セ
ット時に原稿の表裏を誤り、原稿の裏面、つまり、画像
が無い面を読み込んだとき、使用者の意図しない出力を
得るという問題がある。
However, the image on one side of the original is read and printed on one side of the recording material. Single-sided mode and two originals are printed on both sides of one recording material. Single-sided. In the mode, there is a problem in that when the user of the apparatus makes a mistake in the front and back sides of the document when setting the document and the back side of the document, that is, the side without an image, is read, an output not intended by the user is obtained.

【0004】本発明は、上記の問題点を解決するために
なされたもので、本発明の目的は、原稿の反転給送可能
な自動原稿送り装置を用い、文書方向判別手段で領域情
報が無いと判定、つまり白紙であると判定した場合に自
動的に原稿を裏表反転させて再び原稿向き判別を行い、
白紙でないと判定した場合はそのまま画像を形成するこ
とにより、原稿セット時の表裏の間違いを修正できる画
像形成装置を提供することである。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to use an automatic document feeder capable of reversing and feeding an original, and the document direction discriminating means does not have area information. If it is judged that it is a blank sheet, the document is automatically turned upside down and the document orientation is determined again.
An object of the present invention is to provide an image forming apparatus that can correct an error in front and back when setting a document by directly forming an image when it is determined that the sheet is not blank.

【0005】[0005]

【課題を解決するための手段】本発明に係る第1の発明
は、原稿の反転給送可能な自動原稿送り装置と原稿中の
画像データから画像の領域と文書方向を判別する文書方
向判別手段と前記文書方向判別手段の判定結果に基づい
て原稿が白紙かどうかを判定する白紙判定手段と前記白
紙判定手段の判定結果に基づいた自動原稿送り装置の制
御手段を有することを特徴とする。
A first aspect of the present invention is an automatic document feeder capable of reversing and feeding an original, and a document orientation determining means for determining an image area and a document orientation from image data in the original. And a control means of the automatic document feeder based on the determination result of the blank sheet determining means and the blank sheet determining means for determining whether the document is a blank sheet based on the determination result of the document orientation determining means.

【0006】本発明に係る第2の発明は、前記白紙判定
手段の判定結果が白紙の場合、前記制御手段により原稿
を反転し、前記白紙判定手段により白紙判定することを
特徴とする。
A second invention according to the present invention is characterized in that, when the result of the determination by the blank sheet determining means is a blank sheet, the control means reverses the original and the blank sheet determining means determines a blank sheet.

【0007】[0007]

【発明の実施の形態】以下に、図面を参照して本発明の
実施形態を説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0008】図1は本発明の一実施形態を示す画像形成
装置の構成を説明する断面図である。101は原稿台ガ
ラスであり、反転給送が可能である原稿自動送り装置1
42から給送された原稿が順次、所定位置に載置され
る。102は例えばハロゲンランプから構成される原稿
照明ランプで、原稿台ガラス101に載置された原稿を
露光する。103、104、105は走査ミラーであ
り、図示しない光学走査ユニットに収容され、往復動し
ながら、原稿からの反射光をCCDユニット106に導
く。CCDユニット106はCCDに原稿からの反射光
を結像させる結像レンズ107、例えばCCDから構成
される撮像素子108、撮像素子108を駆動するCC
Dドライバ109等から構成されている。撮像素子10
8からの画像信号出力は例えば8ビットのデジタルデー
タに変換された後、コントローラ部139に入力され
る。また、110は感光ドラムであり、112の前露光
ランプによって画像形成に備えて除電される。113は
1次帯電器であり、感光ドラム110を一様に帯電させ
る。117は露光手段であり、例えば半導体レーザー等
で構成され、画像処理や装置全体の制御を行うコントロ
ーラ部139で処理された画像データに基づいて感光ド
ラム110を露光し、静電潜像を形成する。118は現
像器であり、黒色の現像剤(トナー)が収容されてい
る。と119は転写前帯電器であり、感光ドラム110
上に現像されたトナー像を用紙に転写する前に高圧をか
ける。120、122、124は給紙ユニットであり、
各給紙ローラ121、123、125の駆動により、転
写用紙が装置内へ給送され、レジストローラ126の配
設位置で一旦停止し、感光ドラム110に形成された画
像との書き出しタイミングがとられ再給送される。12
7は転写帯電器であり、感光ドラム110に現像された
トナー像を給送される転写用紙に転写する。128は分
離帯電器であり、転写動作の終了した転写用紙を感光ド
ラム110より分離する。転写されずに感光ドラム11
0上に残ったトナーはクリーナー111によって回収さ
れる。129は搬送ベルトで、転写プロセスの終了した
転写用紙を定着器130に搬送し、例えば熱により定着
される。131はフラッパであり、定着プロセスの終了
した転写用紙の搬送パスを、ステイプルソーター132
または中間トレイ137の配置方向のいずれかに制御す
る。ステイプルソーター132に排紙された用紙は各ビ
ンに仕分けされ、コントローラ部139からの指示によ
りステイプル部141がステイプルを行う。133〜1
36は給送ローラであり、一度定着プロセスの終了した
転写用紙を中間トレイ137に反転(多重)または非反
転(両面)して給送する。138は再給送ローラであ
り、中間トレイ137に載置された転写用紙を再度、レ
ジストローラ126の配設位置まで搬送する。
FIG. 1 is a sectional view for explaining the structure of an image forming apparatus showing an embodiment of the present invention. Reference numeral 101 denotes a document table glass, which is an automatic document feeder 1 capable of reverse feeding.
The documents fed from 42 are sequentially placed at predetermined positions. Reference numeral 102 denotes a document illumination lamp composed of, for example, a halogen lamp, which exposes a document placed on the platen glass 101. Scanning mirrors 103, 104 and 105 are housed in an optical scanning unit (not shown) and guide the reflected light from the document to the CCD unit 106 while reciprocating. The CCD unit 106 is an imaging lens 107 that forms an image of reflected light from a document on the CCD, an image sensor 108 including, for example, a CCD, and a CC that drives the image sensor 108.
It is composed of a D driver 109 and the like. Image sensor 10
The image signal output from 8 is converted into 8-bit digital data, for example, and then input to the controller unit 139. Further, 110 is a photosensitive drum, and the pre-exposure lamp 112 removes electricity in preparation for image formation. Reference numeral 113 denotes a primary charger, which uniformly charges the photosensitive drum 110. Reference numeral 117 denotes an exposure unit, which is composed of, for example, a semiconductor laser or the like, exposes the photosensitive drum 110 based on image data processed by a controller unit 139 that performs image processing and control of the entire apparatus, and forms an electrostatic latent image. . Reference numeral 118 denotes a developing device, which contains a black developer (toner). Reference numerals 119 and 119 denote pre-transfer chargers for the photosensitive drum 110.
A high voltage is applied before the toner image developed above is transferred to the paper. 120, 122, and 124 are paper feeding units,
The transfer paper is fed into the apparatus by driving the paper feed rollers 121, 123, and 125, and is temporarily stopped at the position where the registration roller 126 is provided, and the writing timing with the image formed on the photosensitive drum 110 is set. Redelivered. 12
A transfer charger 7 transfers the toner image developed on the photosensitive drum 110 onto the transfer paper fed. Reference numeral 128 denotes a separation charger, which separates the transfer sheet after the transfer operation from the photosensitive drum 110. Photosensitive drum 11 without transfer
The toner remaining on the surface 0 is collected by the cleaner 111. Reference numeral 129 is a conveyor belt, which conveys the transfer sheet after the transfer process to the fixing device 130 and fixes the transfer sheet by, for example, heat. Reference numeral 131 denotes a flapper, which is used to feed a transfer sheet for which the fixing process has been completed to a staple sorter 132.
Alternatively, it is controlled to either the arrangement direction of the intermediate tray 137. The sheets discharged to the staple sorter 132 are sorted into bins, and the staple unit 141 performs stapling according to an instruction from the controller unit 139. 133-1
Reference numeral 36 denotes a feeding roller that feeds the transfer paper, which has once undergone the fixing process, to the intermediate tray 137 after reversing (multiplexing) or non-reversing (both sides). A re-feeding roller 138 conveys the transfer sheet placed on the intermediate tray 137 again to the position where the registration roller 126 is provided.

【0009】139のコントローラ部には後述するマイ
クロコンピュータ、画像処理部等を備えており、操作パ
ネル140からの指示に従って、前述の画像形成動作を
行う。
The controller unit 139 is provided with a microcomputer, an image processing unit, etc., which will be described later, and performs the above-mentioned image forming operation in accordance with an instruction from the operation panel 140.

【0010】図2は本発明の画像形成装置におけるコン
トローラ部139のブロック図である。
FIG. 2 is a block diagram of the controller unit 139 in the image forming apparatus of the present invention.

【0011】201は画像処理装置全体の制御を行うC
PUであり、装置本体の制御手順(制御プログラム)を
記憶した読み取り専用メモリ(ROM)203からプロ
グラムを順次読み取り、実行する。CPU201のアド
レスバスおよびデータバスは202のバスドライバー回
路、アドレスデコーダ回路をへて各負荷に接続されてい
る。また、204は入力データの記憶や作業用記憶領域
等として用いる主記憶装置であるところのランダムアク
セスメモリ(RAM)である。205はI/Oインタフ
ェースであり、操作者がキー入力を行い、装置の状態等
を液晶、LEDを用いて表示する操作パネル140や給
紙系、搬送系、光学系の駆動を行うモータ類207、ク
ラッチ類208、ソレノイド類209、また、搬送され
る用紙を検知するための紙検知センサ類210等の装置
の各負荷に接続される。現像器118には現像器内のト
ナー量を検知するトナー残検センサ211が配置されて
おり、その出力信号がI/Oポート205に入力され
る。215は高圧ユニットであり、CPUの指示に従っ
て、前述の1次帯電器113、現像器118、転写前帯
電器119、転写帯電器127、分離帯電器128へ高
圧を出力する。
Reference numeral 201 denotes C for controlling the entire image processing apparatus.
A PU, which sequentially reads and executes programs from a read-only memory (ROM) 203 that stores a control procedure (control program) of the apparatus body. The address bus and data bus of the CPU 201 are connected to each load via a bus driver circuit and an address decoder circuit 202. A random access memory (RAM) 204 is a main memory used as a storage area for input data, a work storage area, and the like. Reference numeral 205 denotes an I / O interface, which is used by an operator to input keys to display a device status and the like using a liquid crystal display and LEDs, and motors 207 for driving a paper feed system, a transport system, and an optical system. , Clutches 208, solenoids 209, and paper detection sensors 210 for detecting the conveyed paper, etc. are connected to respective loads of the apparatus. The developing device 118 is provided with a toner remaining detection sensor 211 for detecting the amount of toner in the developing device, and the output signal thereof is input to the I / O port 205. A high-voltage unit 215 outputs high voltage to the above-described primary charger 113, developing device 118, pre-transfer charger 119, transfer charger 127, and separation charger 128 in accordance with instructions from the CPU.

【0012】206は画像処理部であり、CCDユニッ
ト106から出力された画像信号が入力され、後述する
画像処理を行い、画像データに従ってレーザユニット1
17の制御信号を出力する。レーザユニット117から
出力されるレーザ光は感光ドラム110を照射し、露光
するとともに非画像領域において受光センサであるとこ
ろのビーム検知センサ213によって発光状態が検知さ
れ、その出力信号がI/Oポート205に入力される。
An image processing unit 206 receives the image signal output from the CCD unit 106, performs image processing to be described later, and executes laser processing according to the image data.
The control signal 17 is output. The laser light output from the laser unit 117 irradiates and exposes the photosensitive drum 110, and the light emission state is detected by the beam detection sensor 213 which is a light receiving sensor in the non-image area, and the output signal is output from the I / O port 205. Entered in.

【0013】図3は本発明の画像形成装置におけるコン
トローラ部139内の画像処理部206のブロック図で
ある。
FIG. 3 is a block diagram of the image processing unit 206 in the controller unit 139 in the image forming apparatus of the present invention.

【0014】CCD108により電気信号に変換された
画像信号は、まずシェーディング回路301によって画
素間のばらつきの補正を行った後、変倍回路302にお
いて、縮小コピー時はデータの間引き処理を行い、拡大
コピー時はデータの補間を行う。次に、エッジ強調回路
303において、例えば5×5のウインドウで2次微分
を行い、画像のエッジを強調する。この画像データは輝
度データであるのでプリンタに出力するための濃度デー
タに変換するためγ変換回路304でテーブルサーチに
よりデータ変換を行う。濃度データに変換された画像デ
ータは2値化処理部305へ入力される。ここでは例え
ばED法により多値データを2値データに変換する。2
値に変換された画像データは合成回路307に入力され
る。合成回路307では、入力された画像データと例え
ばDRAMにより構成される画像用メモリ310内の画
像データを選択的に出力する、またはORをとって出力
する。この画像用メモリ310に対するリードライト制
御はメモリ制御部309で行い、画像を回転させる場合
はメモリ内の画像データの読み出しアドレスを制御する
ことで行う。これらの画像データはレーザの発光強度の
信号に変換するためPWM回路308へ入力され、画像
の濃度に従ったパルス幅をレーザユニットに対して出力
する。また、変倍回路302からの画像出力は文書方向
判別部306へ入力され、後述する文書方向判別処理を
行う。
The image signal converted into an electric signal by the CCD 108 is first corrected for variations between pixels by a shading circuit 301, and then a scaling circuit 302 performs data thinning processing during reduction copying to enlarge copying. When the data is interpolated. Next, in the edge emphasis circuit 303, for example, the second-order differentiation is performed in a 5 × 5 window to emphasize the edge of the image. Since this image data is luminance data, data conversion is performed by a table search in the γ conversion circuit 304 in order to convert it into density data to be output to the printer. The image data converted into the density data is input to the binarization processing unit 305. Here, multi-valued data is converted into binary data by the ED method, for example. Two
The image data converted into values is input to the synthesis circuit 307. The synthesizing circuit 307 selectively outputs the input image data and the image data in the image memory 310 composed of, for example, a DRAM, or outputs it by ORing. The read / write control for the image memory 310 is performed by the memory control unit 309, and when the image is rotated, it is performed by controlling the read address of the image data in the memory. These image data are input to the PWM circuit 308 to be converted into a signal of laser emission intensity, and a pulse width according to the density of the image is output to the laser unit. Further, the image output from the scaling circuit 302 is input to the document orientation determination unit 306, and the document orientation determination processing described below is performed.

【0015】次に図4〜図9を用いて本発明における文
書方向判別動作について説明する。
Next, the document direction discriminating operation in the present invention will be described with reference to FIGS.

【0016】図4は文書方向判別部306内のブロック
図である。
FIG. 4 is a block diagram of the inside of the document orientation discriminating unit 306.

【0017】変倍部302から出力された画像データは
スキャナ部1は、CPU/メモリ部401に入力され、
画像データを一時的に保存すると共に、各種制御を行
う。コントローラ部139内のCPU201とは例え
ば、図示しないデュアルポートRAMによりバス接続さ
れており、データを送受信する。もちろんシリアル通信
でもよい。
The image data output from the scaling unit 302 is input to the CPU / memory unit 401 of the scanner unit 1,
The image data is temporarily saved and various controls are performed. The CPU 201 in the controller unit 139 is bus-connected by, for example, a dual port RAM (not shown), and transmits / receives data. Of course, serial communication may be used.

【0018】文字認識/方向判別部402は、文書の方
向を一番正確に表しているのは文字であることに着目
し、文書中の数種類の文字領域を0°、90°、180
°、270°の方向から文字認識を行い、それら各方向
における文字認識の精度(文字認識の自信度:文字の特
徴分布に対する距離)の中で一番精度の高い方向を文書
方向とする。
The character recognizing / orientation discriminating unit 402 pays attention to the fact that it is the character that most accurately represents the orientation of the document, and the several kinds of character areas in the document are represented by 0 °, 90 °, 180.
Character recognition is performed from the directions of 270 ° and 270 °, and the direction with the highest accuracy among the character recognition accuracies in each direction (confidence of character recognition: distance with respect to character feature distribution) is the document direction.

【0019】領域分離部403は文字認識/方向判別部
402による文字認識・方向判別処理を行うための前処
理として、文書画像データより、文字部、図形部、自然
画部、表部などを矩形の領域に分離して、各領域の属性
(文字部など)を付加する処理を行うブロックである。
The area separation unit 403 performs rectangular processing of the character portion, the graphic portion, the natural image portion, the front portion, etc. from the document image data as a preprocessing for the character recognition / direction determination processing by the character recognition / direction determination unit 402. This is a block for performing processing for dividing the area into areas and adding the attribute (character portion, etc.) of each area.

【0020】記憶装置404は、例えば、ハードディス
クや光磁気ディスクなどにより構成され、各種処理結果
(画像データ、領域分離結果、文字認識結果など)を保
存するために利用される。I/F部405は、SCSI
やRS232Cなどにより構成され、外部へデータを伝
送するために設けられている。コンピュータ406は、
I/F部405を介して情報を得たり、光磁気ディスク
等の移動可能の記憶装置よりデータを得て利用する。
The storage device 404 is composed of, for example, a hard disk or a magneto-optical disk, and is used to store various processing results (image data, area separation result, character recognition result, etc.). The I / F unit 405 is a SCSI
And RS232C, etc., and is provided for transmitting data to the outside. Computer 406
Information is obtained via the I / F unit 405, and data is obtained from a movable storage device such as a magneto-optical disk for use.

【0021】次に、本実施形態における文書方向自動判
別・補正、および文字認識処理の概要を図5のフローチ
ャートに従って説明する。
Next, an outline of the document direction automatic discrimination / correction and character recognition processing in this embodiment will be described with reference to the flowchart of FIG.

【0022】入力された画像データ(多値画像)は、ま
ず領域分離部403により、文字部、図形部、自然画
部、表部などの属性別に矩形の領域に分離される(ステ
ップS1、S2)。ここでは、実際には、矩形で囲まれ
た領域情報を作成する。
The input image data (multi-valued image) is first separated by the area separating unit 403 into rectangular areas according to attributes such as a character portion, a graphic portion, a natural image portion, and a front portion (steps S1 and S2). ). Here, the area information enclosed by the rectangle is actually created.

【0023】次に、各属性より文字領域の矩形情報を抽
出する(ステップS3)。ここで、文字領域とは、文章
部、タイトル部、表中の文字、図のキャプション部など
である。例えば、図6(a)、(c)の文書の場合は、
それぞれ図6(b)、(d)に示したような文字領域の
矩形情報が抽出される。そして、これらの中の数ブロッ
クを用いて、文書方向判別を行う(ステップS4)。そ
の結果、文書方向が正方向であれば、引き続き画像中の
文字ブロックに対して文字認識処理を行う(ステップS
7)。
Next, the rectangle information of the character area is extracted from each attribute (step S3). Here, the character area includes a text part, a title part, characters in a table, a caption part of a figure, and the like. For example, in the case of the documents shown in FIGS. 6A and 6C,
Rectangular information of the character area as shown in FIGS. 6B and 6D is extracted. Then, the document orientation is discriminated by using several blocks among them (step S4). As a result, if the document direction is the forward direction, the character recognition process is continuously performed on the character block in the image (step S
7).

【0024】一方、文書方向が不正方向であれば、画像
データを正しい方向に回転させる(ステップS5)。そ
して、回転画像に対して領域分離を行い、領域分離情報
の補正処理を行う(ステップS6)。これは、画像回転
に伴う領域分離情報の相違を補正するもので、一つの方
法としては、全回転画像データに対して再び領域分離処
理を行う方法。もう一つは、アドレス変換を領域分離結
果にかける方法がある。領域分離処理は、一般に画像が
正方向を想定しているため、初期の段階で行った領域分
離処理と回転画像データに対して行った領域分離処理は
結果が異なることが多い。それゆえ、前者の方法がとら
れるのが望ましい。
On the other hand, if the document direction is incorrect, the image data is rotated in the correct direction (step S5). Then, the rotation image is subjected to region separation, and the region separation information is corrected (step S6). This is to correct the difference in area separation information due to image rotation, and one method is to perform area separation processing again on all rotated image data. The other is to apply address translation to the area separation result. In the area separation processing, the image is generally assumed to be in the forward direction, and therefore the area separation processing performed in the initial stage and the area separation processing performed on the rotated image data often have different results. Therefore, it is desirable that the former method be adopted.

【0025】次に、ステップS7に進んで、回転画像デ
ータ中の文字領域ブロックは、文字認識処理系で文字認
識される。この結果、最終的に、回転なし/回転ありの
両方の場合とも、領域分離情報と文字認識情報が得られ
る(ステップS8)。
Next, in step S7, the character area block in the rotated image data is recognized by the character recognition processing system. As a result, the area separation information and the character recognition information are finally obtained in both cases of no rotation / with rotation (step S8).

【0026】この処理結果は、I/F部405を介して
コンピュータ406に伝送され、コンピュータ406上
のファイリングのアプリケーションソフト等で利用され
る。また、コントローラ部139内のCPU201へ各
画像毎に送信される。
The processing result is transmitted to the computer 406 via the I / F unit 405 and used by filing application software or the like on the computer 406. In addition, each image is transmitted to the CPU 201 in the controller unit 139.

【0027】次に、文字認識処理を用いた文書方向判別
の手法について説明する。
Next, a method of discriminating a document direction using character recognition processing will be described.

【0028】[領域分離処理]文書画像データの黒画素
を検出してゆき、輪郭線追跡、またはラベリング方式に
より、黒画素ブロックの矩形枠を作成する。次に、その
矩形の中の黒画素密度、隣接矩形ブロックの有無、矩形
の縦横比率などを判断基準にして、文字領域(タイト
ル、本文、キャプションなど)、図形領域、自然画領
域、表領域などを判別する。この処理結果により、文字
領域の矩形領域が判別される。
[Region Separation Processing] The black pixels of the document image data are detected, and the rectangular frame of the black pixel block is created by the contour tracking or the labeling method. Next, character areas (titles, text, captions, etc.), graphic areas, natural image areas, table areas, etc. are determined based on the black pixel density in the rectangle, the presence or absence of adjacent rectangular blocks, the aspect ratio of the rectangle, etc. To determine. The rectangular area of the character area is discriminated from the processing result.

【0029】[文字認識処理]文字認識処理の一つの方
法として、特徴ベクトル抽出、比較方式がある。例えば
図7(a)に示したように、「本」という文字を含む文
字領域が判別されたとする。第一段階として、この文字
領域について文字切り出し処理を行う(図7(b)参
照)。これは、一つの文字の矩形を切り出す処理で、黒
画素連続性の状態を検出していけば求められる。第二段
階として、一文字をm×n(例えば64×64)の画素
ブロックに切り出す(図7(c)参照)。そして、その
中から3×3画素のウインドウを用いて、黒画素の分布
方向を抽出する(方向ベクトル情報:図7(d)参
照)。
[Character Recognition Processing] One method of character recognition processing is a feature vector extraction and comparison method. For example, as shown in FIG. 7A, it is assumed that a character area including the character "book" is identified. As a first step, character cutting processing is performed on this character area (see FIG. 7B). This is a process of cutting out a rectangle of one character, and is obtained by detecting the state of black pixel continuity. In the second step, one character is cut out into m × n (for example, 64 × 64) pixel blocks (see FIG. 7C). Then, the distribution direction of the black pixels is extracted from that using a window of 3 × 3 pixels (direction vector information: see FIG. 7D).

【0030】なお、図7(d)は、方向ベクトル情報の
一部を例示したものであり、上記3×3画素のウインド
ウをずらしてゆき、方向ベクトル情報を数十個得る。こ
のベクトル情報が文字の特徴となる。この特徴ベクトル
と予め記憶されている文字認識辞書の内容と比較して、
特徴ベクトルに特徴が一番近い文字から順番に文字を抽
出する。この場合、特徴ベクトルに特徴が近い順番に第
1候補、第2候補・・・となる。この特徴ベクトルに対
する特徴の近さが、その文字に対する距離の近さ、すな
わち文字認識の自信度(精度)という数値になる。
FIG. 7D shows an example of a part of the direction vector information, and the window of 3 × 3 pixels is shifted to obtain dozens of direction vector information. This vector information becomes a character feature. Compare this feature vector with the contents of the character recognition dictionary stored in advance,
Characters are extracted in order from the character having the feature closest to the feature vector. In this case, the first candidate, the second candidate, ... The closeness of the feature to the feature vector is the closeness of the distance to the character, that is, the confidence level (accuracy) of character recognition.

【0031】[文字方向判別処理]このようにして文字
認識の自信度が求められるが、その自信度に基づいた文
字方向判別処理を、図8に示した「本発明の名称」とい
う文例を用いて説明する。
[Character Orientation Discrimination Processing] In this way, the degree of confidence in character recognition is obtained. The character orientation discrimination processing based on the degree of confidence is used by using the sentence example "name of the present invention" shown in FIG. Explain.

【0032】図8(a)は正方向の文、図8(b)は2
70°回転した文である。ここで「本」に注目すると、
文字方向を判別する場合は、図8(c)に示したよう
に、1つの文字「本」について0°、90°、180
°、270°の4方向から文字認識を行ってみる。各回
転角度は、文字矩形の領域の読み出し方を変更すればよ
く、特に原稿を回転する必要はない。各回転角度におけ
る文字認識結果は、図8(c)に示したように、互いに
異なっている。なお、図8(c)には説明用の仮の文字
認識結果および自信度が示されており、現実にこの通り
になるとは限らない。
FIG. 8A shows a forward sentence, and FIG. 8B shows 2 sentences.
It is a sentence rotated by 70 °. Focusing on the “book” here,
When determining the character direction, as shown in FIG. 8C, 0 °, 90 °, 180 for one character “book”
Let's try character recognition from 4 directions of ° and 270 °. For each rotation angle, the reading method of the character rectangular area may be changed, and the original need not be rotated. The character recognition result at each rotation angle is different from each other, as shown in FIG. It should be noted that FIG. 8C shows the temporary character recognition result and the degree of self-confidence for the purpose of explanation, and it is not always the case.

【0033】図8(c)において、正方向(0°)から
文字認識を行った場合は、「本」と正しく認識され、自
信度も0.90と高い値となる。90°回転した方向か
ら文字認識を行った場合は、「町」と誤認識され、自信
度も0.40と低下する。このように誤認識が発生し、
自信度も低下するのは、回転した方向から見た場合の特
徴ベクトルに基づいて文字認識を行ったからである。同
様に180°、270°回転した方向から文字認識を行
った場合も、誤認識が発生し、自信度も低下する。な
お、文字認識の方向別の自信度は、複雑な文字であれば
あるほど、その差が顕著に現れてくる。
In FIG. 8 (c), when the character recognition is performed from the forward direction (0 °), it is correctly recognized as "book" and the confidence is 0.90, which is a high value. When the character recognition is performed from the direction rotated by 90 °, it is erroneously recognized as “town” and the confidence level is also reduced to 0.40. False recognition occurs like this,
The reason for the decrease in confidence is that the character recognition is performed based on the feature vector when viewed from the rotated direction. Similarly, when character recognition is performed from a direction rotated by 180 ° or 270 °, erroneous recognition occurs and confidence is also reduced. The difference in the degree of confidence in character recognition depending on the direction becomes more significant as the character is more complicated.

【0034】図8(c)の結果は、正方向の場合に自信
度が1番高いため、文書は正方向に向いている可能性が
高いと判断される。文字方向判別の精度を向上させるた
め、同一ブロック内の複数の文字について、同様に4方
向から文字認識を行ってみる。さらに、1つのブロック
だけで文字方向を判別した場合、特殊な文字列について
文字方向を誤って判別するおそれがあるので、複数のブ
ロックについて同様の文字認識を行ってみる。そして、
各ブロックについて、当該ブロック内の各認識対象文字
の4方向別の自信度の平均値を求め、さらに、各ブロッ
クでの4方向別の自信度の平均値に対する平均値を求
め、この平均値が最も高い方向を文字方向(文書方向)
として認定する。
In the result of FIG. 8C, since the confidence degree is highest in the forward direction, it is determined that the document is likely to face in the forward direction. In order to improve the accuracy of character direction discrimination, character recognition is similarly performed from four directions for a plurality of characters in the same block. Furthermore, if the character direction is determined only by one block, the character direction may be erroneously determined for a special character string, so the same character recognition will be performed for a plurality of blocks. And
For each block, the average of confidence in each direction of each recognition target character in the block is calculated, and the average of the confidence in each direction of each block is calculated. Character direction is the highest direction (document direction)
Certify as.

【0035】このように、1文字だけの自信度で文字方
向を認定することなく、同一ブロック内の複数文字、さ
らには同一ブロック内の複数文字の自信度で文字方向を
認定することにより、文字(文書)方向を高精度に判別
することが可能となる。ただし、1文字だけの自信度で
文字方向を判別したり、あるいは同一ブロック内の複数
文字の自信度で文字方向を判別しても、従来よりも高精
度に文字方向を判別できることは言うまでもない。
As described above, the character direction is not determined by the confidence level of only one character, but the character direction is determined by the confidence levels of a plurality of characters in the same block, and further, a plurality of characters in the same block. It is possible to determine the (document) direction with high accuracy. However, it goes without saying that the character direction can be determined more accurately than before even if the character direction is determined based on the confidence level of only one character or the character direction is determined based on the confidence levels of a plurality of characters in the same block.

【0036】次に、文字方向(文書方向)の判別結果が
正方向以外の方向であるときは、文字方向が正方向にな
るように原画像を回転する。この回転は、図4のCPU
/メモリ部401を用いて公知の技術により簡単に行う
ことが可能であり、その説明は省略する。
Next, if the result of discrimination of the character direction (document direction) is a direction other than the normal direction, the original image is rotated so that the character direction becomes the positive direction. This rotation is performed by the CPU of FIG.
/ It can be easily performed by a known technique using the memory unit 401, and a description thereof will be omitted.

【0037】以上のような処理により、図9(a)に示
した原画像データ、図9(b)に示した領域分離デー
タ、図9(c)に示した文字認識情報を得ることができ
る。これらの情報は前述のようにコントローラ部139
のCPU201へ送られ、各種画像処理、各種制御に使
用する。
By the above processing, the original image data shown in FIG. 9A, the area separation data shown in FIG. 9B, and the character recognition information shown in FIG. 9C can be obtained. . As described above, this information is stored in the controller unit 139.
To the CPU 201 and used for various image processing and various controls.

【0038】領域分離データの形式は図9(b)に示し
たように、領域分離データである旨を示す「heade
r」と、分離した領域の識別子「rect1」〜「re
ct4」により構成され、この識別子で区別された各領
域(ブロック)の情報は、ブロックの番号「orde
r」、ブロックの属性(文字部、図形部など)「ar
t」、ブロックの左上の座標値「x1」および「y
1」、ブロックの幅「w」、ブロックの高さ「h」、縦
書き、または横書きを示す「direction」、当
該ブロックのIDである「selfID」、当該ブロッ
クを包含する親ブロックのIDである「upperI
D」、親ブロックの属性「upperAtt」、予備領
域「reserve」により構成されている。
As shown in FIG. 9B, the format of the area separation data is "heade" indicating that it is the area separation data.
r "and the identifiers" rect1 "to" re "of the separated areas
The information of each area (block) distinguished by this identifier is the block number “orde”.
r ", block attribute (character part, graphic part, etc.)" ar
t ”, the upper left coordinate values“ x1 ”and“ y ”of the block
1 ", block width" w ", block height" h ", vertical or horizontal writing" direction ", ID of the block" selfID ", ID of parent block including the block. "UpperI
D ”, the attribute“ upperAtt ”of the parent block, and the reserve area“ reserve ”.

【0039】また、文字認識情報は、図9(c)に示し
たように、文字認識情報である旨を示す「heade
rJを有し、例えば「本」等の単一の文字に関する文字
認識情報「OCR1」等と、当該文字が含まれているブ
ロックを示す上記「rectl」等に相当する「blk
header」との組み合わせ情報により構成されて
いる。
As shown in FIG. 9C, the character recognition information is "headeed" indicating that the character recognition information is the character recognition information.
The character recognition information “OCR1” having rJ, for example, for a single character such as “book”, and “blk” corresponding to the above “lectl” indicating a block including the character.
It is composed of combination information with "header".

【0040】そして、「OCR1」等の各文字認識情報
は、文字であるか或いは空白であるかを示す「typ
e」、前述の文字認識の自信度に従った第1〜第5候補
文字「文字1」〜「文字5」、当該文字の切り出し位置
「x1」および「y1」、当該文字の幅「w」、当該文
字の高さ「h」、予備領域「reserve」により構
成されている。
Each character recognition information such as "OCR1" is "type" indicating whether it is a character or a blank.
e ”, the first to fifth candidate characters“ character 1 ”to“ character 5 ”according to the confidence level of the character recognition, the cutout positions“ x1 ”and“ y1 ”of the character, and the width“ w ”of the character. , The height of the character “h”, and the spare area “reserve”.

【0041】次に本発明の画像形成装置の詳細な動作の
概要を図10のフローチャートにしたがって説明する。
Next, the outline of the detailed operation of the image forming apparatus of the present invention will be described with reference to the flowchart of FIG.

【0042】画像データを入力すると(ステップ1)、
文書方向判別部(ステップ2)で、領域分離情報が得ら
れる、文書方向判別の領域分離部で領域情報が無いと判
別された場合、この結果より白紙であると判別できる
(ステップ3)。白紙であると判定した場合、図1の反
転給送可能な自動原稿送り装置142を制御して原稿を
反転させる(ステップ4)。一方、白紙判定で白紙でな
いと判定した場合は、被記録材に印字を行う。反転させ
た原稿を再び文字方向判別部(ステップ5)で、領域分
離情報を得て白紙であるか否かを判定し(ステップ
6)、白紙である場合は、被記録材に印字を行わない
(ステップ7)。白紙でない場合は、被記録材に印字を
行う(ステップ8)。2回の白紙判定において、共に白
紙であると判定した場合、つまり、原稿の両面が白紙で
ある場合は被記録材に印字しない。
When image data is input (step 1),
If the document direction determination unit (step 2) obtains the region separation information, and the document direction determination region separation unit determines that there is no region information, it can be determined from this result that the sheet is blank (step 3). When it is determined that the document is blank, the automatic document feeder 142 capable of reversal feeding shown in FIG. 1 is controlled to reverse the document (step 4). On the other hand, when it is determined that the blank sheet is not a blank sheet, printing is performed on the recording material. The character direction discriminating unit (step 5) again obtains the area separation information for the reversed original and determines whether or not it is a blank sheet (step 6). If it is a blank sheet, the recording material is not printed. (Step 7). If it is not a blank sheet, the recording material is printed (step 8). If both blank sheets are judged to be blank in the two blank sheet determinations, that is, if both sides of the document are blank sheets, the recording material is not printed.

【0043】[0043]

【発明の効果】以上説明したように、本発明によれば、
原稿の片面の画像を読み込み被記録材の片面に印字する
片面−片面モード時と2枚の原稿を1枚の被記録材の両
面に印字する片面−両面モードにおいて、原稿セット時
に原稿の表裏を誤り、原稿の裏面、つまり、画像が無い
面を読み込んだとき、装置の使用者が意図しない出力を
得るという問題を回避することが可能になるという効果
を有する。
As described above, according to the present invention,
Read the image on one side of the original and print on one side of the recording material. In single-sided mode and when printing two originals on both sides of one recording material, in both-sided mode, set the front and back sides of the original when setting the original. There is an effect that it is possible to avoid the problem that the user of the apparatus obtains an unintended output when the wrong side, that is, the back side of the document, that is, the side without the image is read.

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

【図1】本発明の実施形態を示す画像形成装置の構成を
説明する断面図である。
FIG. 1 is a cross-sectional view illustrating a configuration of an image forming apparatus according to an exemplary embodiment of the present invention.

【図2】本発明の画像形成装置におけるコントローラ部
のブロック図である。
FIG. 2 is a block diagram of a controller unit in the image forming apparatus of the present invention.

【図3】本発明の画像形成装置におけるコントローラ部
内の画像処理部のブロック図である。
FIG. 3 is a block diagram of an image processing unit in a controller unit in the image forming apparatus of the present invention.

【図4】図3における文書方向判別部のブロック図であ
る。
FIG. 4 is a block diagram of a document orientation determination unit in FIG.

【図5】本発明の文書方向自動判別、文字認識処理を示
すフローチャートである。
FIG. 5 is a flowchart showing a document orientation automatic discrimination and character recognition processing of the present invention.

【図6】本発明の文書方向自動判別における領域分離状
態を示した図である。
FIG. 6 is a diagram showing a region separation state in automatic document orientation determination according to the present invention.

【図7】文字認識処理の処理過程を説明するための図で
ある。
FIG. 7 is a diagram illustrating a process of character recognition processing.

【図8】本発明の文書(文字)方向自動判別処理を説明
するための図である。
FIG. 8 is a diagram for explaining a document (character) direction automatic determination process of the present invention.

【図9】領域分離および文字認識情報のデータ形式を示
した図である。
FIG. 9 is a diagram showing a data format of area separation and character recognition information.

【図10】本発明の画像形成装置の詳細な動作を示した
フローチャートである。
FIG. 10 is a flowchart showing a detailed operation of the image forming apparatus of the present invention.

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

142 原稿自動送り装置 201 CPU 203 ROM 204 RAM 142 automatic document feeder 201 CPU 203 ROM 204 RAM

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/00 H04N 1/00 108K 5C072 1/04 106 1/04 106Z Fターム(参考) 2H027 DB01 DE02 ED11 EE07 EF06 2H076 BA14 BA42 BA55 BA71 BB10 3F048 AA01 AB02 BA06 EA11 3F100 AA03 BA06 DA00 5C062 AA05 AB02 AB30 AB32 AB41 AC04 AC07 AC09 AC11 AC58 AC71 BA00 5C072 AA05 BA20 NA01 NA07 RA01 RA05 RA06 UA13 WA02 XA01─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) H04N 1/00 H04N 1/00 108K 5C072 1/04 106 1/04 106Z F term (reference) 2H027 DB01 DE02 ED11 EE07 EF06 2H076 BA14 BA42 BA55 BA71 BB10 3F048 AA01 AB02 BA06 EA11 3F100 AA03 BA06 DA00 5C062 AA05 AB02 AB30 AB32 AB41 AC04 AC07 AC09 AC11 AC58 AC71 BA00 5C072 AA05 BA20 NA01 NA07 RA01 RA05 RA06 UA13 WA02

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 原稿の反転給送可能な自動原稿送り装置
と、 原稿中の画像データから文書方向を判別する文書方向判
別手段と、 前記文書方向判別手段の判定結果に基づいて原稿が白紙
かどうかを判定する白紙判定手段と、 前記白紙判定手段の判定結果に基づいて自動原稿送り装
置を制御する制御手段と、を有することを特徴とする画
像形成装置。
1. An automatic document feeder capable of reversing and feeding a document, a document direction discriminating means for discriminating a document direction from image data in the document, and whether the document is a blank sheet based on a result of the document direction discriminating means. An image forming apparatus comprising: a blank sheet determining unit for determining whether or not a blank sheet determining unit and a control unit for controlling an automatic document feeder based on a determination result of the blank sheet determining unit.
【請求項2】 前記白紙判定手段の判定結果が白紙の場
合、前記制御手段により原稿を反転し、前記白紙判定手
段により白紙判定することを特徴とする請求項1記記載
の画像形成装置。
2. The image forming apparatus according to claim 1, wherein, when the result of the blank sheet determination means is a blank sheet, the control means inverts the document and the blank sheet determination means makes a blank sheet determination.
JP2002119988A 2002-04-23 2002-04-23 Image forming apparatus Pending JP2003316207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002119988A JP2003316207A (en) 2002-04-23 2002-04-23 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002119988A JP2003316207A (en) 2002-04-23 2002-04-23 Image forming apparatus

Publications (1)

Publication Number Publication Date
JP2003316207A true JP2003316207A (en) 2003-11-07

Family

ID=29536337

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002119988A Pending JP2003316207A (en) 2002-04-23 2002-04-23 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP2003316207A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012169755A (en) * 2011-02-10 2012-09-06 Canon Inc Image processing device, image processing method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012169755A (en) * 2011-02-10 2012-09-06 Canon Inc Image processing device, image processing method, and program

Similar Documents

Publication Publication Date Title
JP3050007B2 (en) Image reading apparatus and image forming apparatus having the same
JP3728040B2 (en) Image forming apparatus and method
KR100306063B1 (en) Image processing method and apparatus
JP3902840B2 (en) Image processing apparatus and image processing method
JPH11341229A (en) Device and method for picture processing
JP3787440B2 (en) Image processing apparatus and image processing method
JPH10191018A (en) Image processing method and device
JPH11213089A (en) Image processor and its method
JPH11220557A (en) Image processing unit and method
JP2003316207A (en) Image forming apparatus
JP3684050B2 (en) Image processing method and apparatus
JPH11341252A (en) Image formation device, image formation method and storage medium
JP2000067156A (en) Processor and method for image processing
JP3629962B2 (en) Image recognition device
JP2001312697A (en) Method and device for discriminating direction of picture
JP2001030580A (en) Image processor, printing control method and memory medium
JP2003141444A (en) Image processing device, control method of image processing device, program and storage medium
JPH10117281A (en) Image-forming method and device
JPH10307460A (en) Device and method for forming image and storing medium
JPH11103381A (en) Method and device for forming image
JP2000099628A (en) Image processor and image processing method
JPH11195085A (en) Method for processing picture, its device and storage medium
JPH1115224A (en) Copying device
JPH11331549A (en) Device and method for processing image
JPH11184315A (en) Image processor