JPH08336038A - Image processor - Google Patents

Image processor

Info

Publication number
JPH08336038A
JPH08336038A JP7167044A JP16704495A JPH08336038A JP H08336038 A JPH08336038 A JP H08336038A JP 7167044 A JP7167044 A JP 7167044A JP 16704495 A JP16704495 A JP 16704495A JP H08336038 A JPH08336038 A JP H08336038A
Authority
JP
Japan
Prior art keywords
image
rotation angle
document
images
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
JP7167044A
Other languages
Japanese (ja)
Inventor
Masahiko Katsurabayashi
正彦 桂林
Junji Suzuki
淳二 鈴木
Makoto Takada
高田  誠
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP7167044A priority Critical patent/JPH08336038A/en
Publication of JPH08336038A publication Critical patent/JPH08336038A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE: To unify the top and bottom directions of images and to output them when the images whose top and bottom are different coexist. CONSTITUTION: In a top and bottom detection part, the top and bottom directions are judged for the images of an image storage part 29 by character recognition. In a longitudinal and lateral discrimination part 48, the longitudinal and lateral directions of the images are detected. In a rotation angle decision part 50, a rotation angle for arranging the top and bottom of the images in one direction is decided by the top and bottom directions, the longitudinal and lateral directions and the feeding direction of recording paper. Then, in an image rotation part 44a, the images of the image storage part 29 are rotated corresponding to the decided rotation angle and outputted to a printer 36.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は画像処理装置に関し、特
に、複数枚の原稿の天地を統一して出力することができ
る画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus capable of uniformly outputting the top and bottom of a plurality of originals.

【0002】[0002]

【従来の技術】複写機やファクシミリ装置の画像処理装
置において、スキャナで読取る原稿の向きが統一されて
いないと、読取った画像を記録紙に印字した場合に天地
が揃わないという不具合があった。そこで、前記画像を
一定の向きに揃えるようにした装置が種々知られてい
る。
2. Description of the Related Art In an image processing apparatus such as a copying machine or a facsimile machine, unless the orientations of originals read by a scanner are uniform, there is a problem that the top and bottom are not aligned when a read image is printed on recording paper. Therefore, various devices are known in which the images are aligned in a fixed direction.

【0003】例えば、特開昭63−85982号公報に
開示された装置では、スキャナで読取られた画像に、該
画像の形成方向に対応したマークを付加してメモリに蓄
積する。そして、該画情報の読み出し時に前記マークを
識別し、その識別結果に応じて画像を回転させて記録画
を揃える処理を行うように構成されている。
For example, in the apparatus disclosed in Japanese Patent Laid-Open No. 63-85982, a mark corresponding to the image forming direction is added to an image read by a scanner and stored in a memory. Then, when the image information is read, the mark is identified, and the image is rotated according to the identification result to align the recorded images.

【0004】同様に、特開昭61−118876号公報
に開示された装置は、画像に検索データを付加してメモ
リに格納するように構成し、該検索データに基づいて画
像を予定角度回転させるようにしている。なお、該検索
データは日付タイトル、紙サイズ、文字方向等を含むも
のであり、入力手段からオペレータによって入力される
ものである。
Similarly, the apparatus disclosed in Japanese Patent Laid-Open No. 61-118876 is configured so that search data is added to the image and stored in a memory, and the image is rotated by a predetermined angle based on the search data. I am trying. The search data includes date title, paper size, character direction, etc., and is input by the operator from the input means.

【0005】[0005]

【発明が解決しようとする課題】上記従来の装置では、
次のような問題点があった。まず、前者の装置では、画
情報にマークを付加する処理が必要となるほか、前記マ
ークによって原稿中の画像が損なわれ、画像の一部が記
録されないという問題点がある。一方、後者の装置で
は、画像に検索データを付加するためにオペレータの負
担が増えるという問題点がある。
In the above-mentioned conventional device,
There were the following problems. First, in the former device, there is a problem that a process of adding a mark to image information is required, and the image in the document is damaged by the mark, and a part of the image is not recorded. On the other hand, the latter device has a problem that the operator's burden increases because the search data is added to the image.

【0006】また、両者に共通の問題点として、例えば
ファクシミリ装置から送信された画像、あるいはホスト
コンピュータから送信された画像を一旦メモリに蓄積し
た後、該画像をプリンタで印字する場合に不具合が生じ
る。すなわち、このような場合には、ファクシミリ装置
やホストコンピュータ側でマークを付加したり検索デー
タを入力する手段が必要となる一方、受信側では、マー
クや検索データを認識する手段を必要とする。換言すれ
ば、送信側および受信側で方式を統一したユニークなシ
ステム構成を必要とする問題点がある。
Further, as a problem common to both, for example, when an image transmitted from a facsimile machine or an image transmitted from a host computer is temporarily stored in a memory and then the image is printed by a printer, a problem occurs. . That is, in such a case, a means for adding a mark or inputting search data is required on the side of the facsimile machine or the host computer, while a means for recognizing the mark or search data is required on the receiving side. In other words, there is a problem that a unique system configuration in which the transmission side and the reception side have the same system is required.

【0007】本発明は、上記問題点を解消し、簡単な構
成で自動的に蓄積された画像の天地を統一してプリンタ
等に出力することができる画像処理装置を提供すること
を目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above problems and provide an image processing apparatus capable of unifying the top and bottom of automatically stored images and outputting them to a printer or the like with a simple structure. .

【0008】[0008]

【課題を解決するための手段】上記の課題を解決し、目
的を達成するための本発明は、画像記憶手段に蓄積され
た画像の天地を該画像中の情報によって検出する天地認
識手段と、前記天地認識手段によって判別された画像の
天地を一方向に合わせるための回転角度を決定する回転
角度決定手段と、前記回転角度に従って前記画像を回転
させる画像回転手段とを具備した点に第1の特徴があ
る。
SUMMARY OF THE INVENTION The present invention for solving the above problems and for achieving the object includes an upside-down recognizing means for detecting the upside down of an image stored in an image storage means based on information in the image. The first point is that a rotation angle determination unit that determines a rotation angle for aligning the top and bottom of the image determined by the top and bottom recognition unit in one direction and an image rotation unit that rotates the image according to the rotation angle are provided. There are features.

【0009】また、本発明は、複数枚の画像を1枚に合
成する画像合成手段と、天地認識手段によって判別され
た前記複数枚の画像の天地を合わせるための、それぞれ
の画像の回転角度を決定する回転角度決定手段と、前記
回転角度に従って前記画像を回転させる画像回転手段と
を具備した点に第2の特徴がある。
Further, according to the present invention, an image synthesizing means for synthesizing a plurality of images into one image and a rotation angle of each image for aligning the top and bottom of the plurality of images discriminated by the top and bottom recognizing means are set. A second feature is that the rotation angle determining means for determining and the image rotating means for rotating the image according to the rotation angle are provided.

【0010】さらに、本発明は、画像記憶手段に蓄積さ
れた画像の天地を該画像中の情報によって検出する天地
認識手段と、画像の一部分を指定する領域指定手段と、
該指定された一部分および他の部分の天地の一致を判断
する天地比較手段と、前記両部分の一方を回転させて該
両部分の天地を一致させるための回転角度を決定する回
転角度決定手段と、前記回転角度に従って前記画像を回
転させる画像回転手段とを具備した点に第3の特徴があ
る。
Further, according to the present invention, the top-bottom recognition means for detecting the top-bottom of the image stored in the image storage means based on the information in the image, and the area designation means for designating a part of the image,
An upside-down comparison means for determining whether the top and bottom of the designated portion and the other portion match, and a rotation angle determination means for rotating one of the two portions to determine a rotation angle for matching the top and bottom of the two portions. A third feature is that the image rotation means includes means for rotating the image according to the rotation angle.

【0011】[0011]

【作用】上記第1の特徴によれば、画像記憶手段に蓄積
された画像の天地が例えば、該画像中の文字の向きによ
って判別される。そして、該画像の天地を一方向に合わ
せるため、画像回転手段で画像が回転される。また、第
2の特徴によれば、合成される複数枚の画像についてそ
れぞれの天地を合わせるための回転角度が決定され、こ
の回転角度に従って画像回転手段で画像が回転される。
さらに、第3の特徴によれば、画像の一部分が指定さ
れ、該指定された一部分と他の部分の天地が判別され
る。そして、該一部分と他の部分の天地を合わせるた
め、画像回転手段で画像が回転される。
According to the first feature, the top and bottom of the image stored in the image storage means are determined, for example, by the direction of the characters in the image. Then, in order to align the top and bottom of the image in one direction, the image is rotated by the image rotating means. Further, according to the second feature, the rotation angle for aligning the top and bottom of the plurality of images to be combined is determined, and the image is rotated by the image rotating means according to this rotation angle.
Further, according to the third feature, a part of the image is specified, and the top and bottom of the specified part and the other part are determined. Then, the image is rotated by the image rotating means in order to match the top and bottom of the other part.

【0012】[0012]

【実施例】以下に、図面を参照して本発明を詳細に説明
する。図2は本発明の一実施例に係るファクシミリ装置
の概略の構成を示す模式図である。該ファクシミリ装置
は通信機能とともに複写機能を有する複合機である。同
図において、ファクシミリ装置1は画像読取部(以下
「スキャナ」という)2および画像転写部3ならびに記
録紙格納部4からなる。スキャナ2の詳細は図4を参照
して後述する。前記記録紙格納部4には複数サイズの記
録紙を格納できるように複数の記録紙トレイ41、4
2、43、44が多段に配置されている。前記スキャナ
2で読取られた画像およびファクシミリ通信によって受
信した画像は、前記記録紙トレイ41〜44のいずれか
から引出された記録紙に印字され、画像が印字された記
録紙は記録紙排出トレイ32に排出される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the drawings. FIG. 2 is a schematic diagram showing a schematic configuration of a facsimile apparatus according to an embodiment of the present invention. The facsimile machine is a multifunctional machine having a copying function as well as a communication function. In FIG. 1, the facsimile apparatus 1 includes an image reading unit (hereinafter referred to as “scanner”) 2, an image transfer unit 3, and a recording paper storage unit 4. Details of the scanner 2 will be described later with reference to FIG. The recording paper storage unit 4 has a plurality of recording paper trays 41, 4 so that recording papers of different sizes can be stored.
2, 43 and 44 are arranged in multiple stages. The image read by the scanner 2 and the image received by facsimile communication are printed on the recording paper pulled out from any of the recording paper trays 41 to 44, and the recording paper on which the image is printed is the recording paper discharge tray 32. Is discharged to.

【0013】次に、前記スキャナ2を詳細に説明する。
図4はスキャナ2の断面図である。同図において、原稿
トレイ5には送信または複写の対象となる原稿6が載置
されている。該原稿トレイ5の原稿搬送方向下流側には
原稿の有無を検知する原稿センサ7が設けられている。
原稿トレイ5の下流端部には該原稿トレイ5に載置され
た原稿をその最下部のものから順に搬送路に引込むため
の引込みローラ8が設けられ、さらにその後段には原稿
の搬送路を形成する案内ローラ90、91、92が配置
されている。案内ローラ90および91によって搬送路
10が形成され、案内ローラ91および92によって搬
送路11が形成されている。特に搬送路11は両面読取
りのための原稿反転用のものである。搬送路10には幅
センサ12およびレジセンサ13が設けられる。幅セン
サ12によって該搬送路10を通過する原稿の幅が検出
され、レジセンサ13によってイメージセンサ14の動
作タイミング等を得るための原稿の位置検出が行われ
る。
Next, the scanner 2 will be described in detail.
FIG. 4 is a sectional view of the scanner 2. In FIG. 1, a document 6 to be transmitted or copied is placed on a document tray 5. A document sensor 7 for detecting the presence or absence of a document is provided on the downstream side of the document tray 5 in the document transport direction.
At the downstream end of the document tray 5, there is provided a pull-in roller 8 for sequentially pulling the document placed on the document tray 5 into the transport path from the lowermost one, and at the subsequent stage, there is a document transport path. Guide rollers 90, 91, 92 to be formed are arranged. The conveying path 10 is formed by the guide rollers 90 and 91, and the conveying path 11 is formed by the guide rollers 91 and 92. In particular, the transport path 11 is for reversing the original for double-sided reading. A width sensor 12 and a registration sensor 13 are provided on the transport path 10. The width sensor 12 detects the width of the document passing through the conveyance path 10, and the registration sensor 13 detects the position of the document to obtain the operation timing of the image sensor 14.

【0014】搬送路10の後段には搬送ベルト15およ
びプラテンガラス16が対面して配置され、さらに、該
搬送ベルト15等の後段には原稿を排出ローラ17に導
くための搬送路18が形成されている。搬送路18には
原稿の排出を検知する排出センサ19が設けられる。ま
た、排出ローラ17の後段つまり当該スキャナ2のケー
ス外には記録紙排出トレイ20が設けられる。なお、前
記搬送路10、11、18には、案内ローラだけでなく
他の案内部材も設けられるが、本発明に直接関係ないの
で図示は省略してある。
A conveyor belt 15 and a platen glass 16 are arranged in the rear stage of the conveyor path 10 so as to face each other, and a conveyor path 18 for guiding the document to the discharge roller 17 is formed in the latter stage of the conveyor belt 15 and the like. ing. A discharge sensor 19 for detecting the discharge of the document is provided on the conveyance path 18. Further, a recording paper discharge tray 20 is provided at the subsequent stage of the discharge roller 17, that is, outside the case of the scanner 2. In addition, not only guide rollers but also other guide members are provided in the conveying paths 10, 11, and 18, but they are not shown because they are not directly related to the present invention.

【0015】前記プラテンガラス16の下方にはイメー
ジセンサ14と、原稿を光で照射するための蛍光ランプ
22とが搭載されたキャリッジ23が設けられている。
イメージセンサ14は例えばCCD型センサが使用でき
る。該キャリッジ23は軸24および25間に張架され
たワイヤ26に固定されている。該軸24および25を
ステップモータ(図示せず)で駆動して該軸24および
25にワイヤ26を巻取りまたは巻き戻しすることによ
り矢印21で示すように左右に往復動する。キャリッジ
23はホームポジションセンサ27を基準として決定さ
れるホームポジション28を有する。
Below the platen glass 16 is provided a carriage 23 on which an image sensor 14 and a fluorescent lamp 22 for illuminating an original with light are mounted.
As the image sensor 14, for example, a CCD type sensor can be used. The carriage 23 is fixed to a wire 26 stretched between shafts 24 and 25. The shafts 24 and 25 are driven by a step motor (not shown) to wind or rewind the wire 26 around the shafts 24 and 25, whereby the shafts 24 and 25 reciprocate left and right as indicated by an arrow 21. The carriage 23 has a home position 28 determined with the home position sensor 27 as a reference.

【0016】上記構成により、原稿6は引込みローラ8
で搬送路10に引込まれ、案内ローラ90および91に
よって前記搬送ベルト15とプラテンガラス16の間に
誘導される。その後、搬送ベルト15で予定の読取位置
まで搬送されて停止する。前記読取位置は原稿6の後端
部がレジセンサ13で検出されてから予定時間搬送され
た位置に設定される。原稿が停止するとキャリッジ23
がホームポジションから図中右方向に移動して該原稿の
画情報が読取られる。読取りが終了した原稿は搬送路1
8を経由して排出トレイ20上に排出される。
With the above structure, the document 6 is pulled in by the drawing roller 8
And is guided to the conveyance path 10 by the guide rollers 90 and 91 between the conveyance belt 15 and the platen glass 16. After that, the conveyance belt 15 conveys it to a predetermined reading position and stops. The reading position is set to a position where the document 6 has been conveyed for a scheduled time after the rear end of the document 6 is detected by the registration sensor 13. When the document stops, the carriage 23
Moves from the home position to the right in the drawing, and the image information of the document is read. The original that has been read is transported in the transport path 1.
It is discharged onto the discharge tray 20 via 8.

【0017】原稿が搬送路を通過する際に、前記幅セン
サ12によって原稿の幅が検知されるとともに、レジセ
ンサ13を原稿が通過する時間と既知の搬送速度とに基
づいて原稿の長さが検知される。また、排出センサ19
の検出信号によって原稿の排出完了が検知される。
When the document passes through the conveyance path, the width of the document is detected by the width sensor 12, and the length of the document is detected based on the time when the document passes through the registration sensor 13 and the known conveyance speed. To be done. In addition, the discharge sensor 19
Completion of document discharge is detected by the detection signal of.

【0018】なお、原稿の両面読取りを行う場合は、原
稿6の表面の画像を読取った後、搬送手段つまり搬送ベ
ルト15や案内ローラ91を反転させて原稿を搬送路1
1に誘導し、該原稿6を反転させて読取位置に搬送す
る。そして、読取位置で原稿6の裏面の画像が読取られ
ると、該原稿6は排出トレイ20上に排出される。
When reading both sides of a document, after the image on the surface of the document 6 is read, the transport means, that is, the transport belt 15 and the guide roller 91 are reversed to transport the document in the transport path 1.
The document 6 is guided to 1, and the original 6 is inverted and conveyed to the reading position. Then, when the image on the back surface of the document 6 is read at the reading position, the document 6 is discharged onto the discharge tray 20.

【0019】次に、ファクシミリ装置1の制御装置の構
成を説明する。図3は本発明の一実施例に係るファクシ
ミリ装置の要部ハード構成を示すブロック図である。同
図において、スキャナ2の構成は上述のとおりである。
画像記憶部29はDRAMやハードディスク等からなる
大容量の画情報記憶装置である。符号器30は画情報を
圧縮符号化するものであり、復号器34は画情報を伸張
して復号するものである。
Next, the structure of the control device of the facsimile apparatus 1 will be described. FIG. 3 is a block diagram showing a hardware configuration of essential parts of a facsimile apparatus according to an embodiment of the present invention. In the figure, the configuration of the scanner 2 is as described above.
The image storage unit 29 is a large-capacity image information storage device including a DRAM and a hard disk. The encoder 30 compresses and encodes the image information, and the decoder 34 expands and decodes the image information.

【0020】画像記憶部29にはスキャナ2で読取られ
て前記符号器30で圧縮された画情報や受信した圧縮画
情報が蓄積される。モデムおよび回線制御部35は送信
画情報を変調して回線に送出する機能と、回線から画情
報を取り込んで復調する機能とを有する。プリンタ36
は画像記憶部29に蓄積された画情報を印字出力する。
画像処理部44はスキャナ2で読取った画情報または画
像記憶部29に蓄積された画情報を指定された角度だけ
回転させたり拡大・縮小したりする機能を有し、そのた
めのページメモリを備える。さらに、文字認識部46も
ページメモリを備えていて、文字認識のため画像が展開
される。
The image storage unit 29 stores image information read by the scanner 2 and compressed by the encoder 30 and received compressed image information. The modem and line control unit 35 has a function of modulating transmission image information and sending it to the line, and a function of taking image information from the line and demodulating it. Printer 36
Prints out the image information accumulated in the image storage unit 29.
The image processing unit 44 has a function of rotating the image information read by the scanner 2 or the image information stored in the image storage unit 29 by a designated angle or enlarging / reducing the image information, and includes a page memory for that purpose. Further, the character recognition unit 46 also has a page memory, and an image is developed for character recognition.

【0021】上記各構成部はデータバス45に接続され
ていて、ROM37に予め格納されたプログラムに従っ
てCPU38の動作によって制御される。RAM39は
CPU38による制御のための制御データの格納やワー
クエリアとして使用されるものである。操作部40はオ
ペレータが指示を入力するためのキーを含む入力部と該
指示等に従ってCPU38で処理された結果を表示する
表示部とからなる。表示部は液晶パネル等周知の表示手
段で構成できる。
Each of the above components is connected to the data bus 45, and is controlled by the operation of the CPU 38 according to a program stored in the ROM 37 in advance. The RAM 39 is used as a work area for storing control data for control by the CPU 38. The operation unit 40 includes an input unit including a key for an operator to input an instruction and a display unit for displaying a result processed by the CPU 38 according to the instruction and the like. The display unit can be configured by a known display means such as a liquid crystal panel.

【0022】次に、本実施例に係るファクシミリ装置の
動作をフローチャートを参照して説明する。図5におい
て、ステップS1では複写指示の有無を判断する。この
判断は前記操作部40の予定のキーをオペレータが操作
したか否かによって行う。ステップS2では画像の読取
りおよび蓄積のルーチンを実行する。この処理を図6に
示す。
Next, the operation of the facsimile apparatus according to this embodiment will be described with reference to the flowchart. In FIG. 5, in step S1, it is determined whether or not there is a copy instruction. This judgment is made depending on whether or not the operator operates a predetermined key of the operation unit 40. In step S2, an image reading and storage routine is executed. This process is shown in FIG.

【0023】図6において、ステップS200では引込
みローラ8、案内ローラ90〜92や搬送ベルト15等
を駆動して原稿を搬送する。ステップS210では原稿
が読取位置まで搬送されたか否かの判断を行う。この判
断はレジセンサ13がオンからオフに変化した時つまり
原稿がレジセンサ13を通過した時から、搬送ベルト1
5の予定の位置に原稿が搬送されるまでに要する既知の
時間が経過したか否かによって行う。原稿が読取位置ま
で搬送されたと判断した場合はステップS220に進ん
で搬送ベルト15等を停止させる。ステップS230で
は,前記レジセンサ13のオンからオフまでの時間と原
稿の搬送速度によって原稿の長さを検知し、さらに前記
幅センサ12で原稿の幅が検知され、これら長さと幅と
によって原稿のサイズおよび縦横の向きが検出される。
検出結果はRAM39に格納する。
In FIG. 6, in step S200, the drawing roller 8, the guide rollers 90 to 92, the conveyor belt 15 and the like are driven to convey the original. In step S210, it is determined whether the document has been conveyed to the reading position. This judgment is made when the registration sensor 13 changes from on to off, that is, when the document passes the registration sensor 13
This is performed depending on whether or not a known time required for the document to be conveyed to the scheduled position 5 has elapsed. When it is determined that the document has been conveyed to the reading position, the process proceeds to step S220 and the conveyance belt 15 and the like are stopped. In step S230, the length of the document is detected by the time from the on-off of the registration sensor 13 and the document conveying speed, and the width of the document is detected by the width sensor 12, and the size of the document is detected by these length and width. And the vertical and horizontal orientations are detected.
The detection result is stored in the RAM 39.

【0024】ステップS240ではキャリッジ23を移
動させて読取りを行う。画情報の読取りは蛍光ランプ2
2で原稿面に照射された光の反射光をイメージセンサ1
4で検出することによって行う。ステップS250では
読取った原稿の画情報を符号器30で符号化し、画像記
憶部29に蓄積する。ステップS260では、原稿セン
サ7のオン・オフにより、すべての原稿の読取りを終了
したか否かを判断する。読取りが終了したならばメイン
ルーチン(図5)に戻り、ステップS3に進む。
In step S240, the carriage 23 is moved to read. Fluorescent lamp 2 for reading image information
The image sensor 1 detects the reflected light of the light irradiated on the document surface in 2.
This is done by detecting in 4. In step S250, the image information of the read document is encoded by the encoder 30 and stored in the image storage unit 29. In step S260, it is determined whether or not the reading of all originals is completed by turning on / off the original sensor 7. When the reading is completed, the process returns to the main routine (FIG. 5) and proceeds to step S3.

【0025】ステップS3では、先頭ページの画像を画
像記憶部29から読み出し、復号器34で復号した後、
文字認識部46のページメモリに展開する。ステップS
4では文字認識により原稿の天地を判断する。この文字
認識については、さらに後述する。ステップS5では、
記録紙の送り方向、原稿の縦横の向きおよび前記原稿の
天地方向に基づき、原稿の天地を記録紙の天地に合わせ
るための画像の回転角度を決定する。なお、前記記録紙
の送り方向は記録紙トレイにセットされた記録紙の向き
によって定まるものであり、原稿の縦横の向きは前記幅
センサ12およびレジセンサ13の検出信号に基づき判
断されるものであり、原稿の天地方向はステップS4で
判断されたものである。
In step S3, the image of the first page is read from the image storage unit 29 and decoded by the decoder 34.
The data is expanded in the page memory of the character recognition unit 46. Step S
In step 4, the top and bottom of the manuscript are judged by character recognition. This character recognition will be described later. In step S5,
The rotation angle of the image for aligning the top and bottom of the original with the top and bottom of the recording sheet is determined based on the feeding direction of the recording sheet, the vertical and horizontal orientations of the original, and the vertical direction of the original. The feeding direction of the recording paper is determined by the orientation of the recording paper set in the recording paper tray, and the vertical and horizontal orientations of the document are determined based on the detection signals of the width sensor 12 and the registration sensor 13. The orientation of the original is that determined in step S4.

【0026】前記回転角度の決定は、図7に示したテー
ブルを検索することによって行うのがよい。図7におい
て、例えば記録紙の送り方向が縦であり、原稿の縦横の
向きつまり原稿の読取り方向が横であり、原稿の天地方
向が90°であったならば、画像回転角度は270°に
決定される。なお、原稿の天地方向および回転角度は記
録紙の送り方向を基準として反時計方向の角度で示す。
The rotation angle is preferably determined by searching the table shown in FIG. In FIG. 7, for example, if the recording paper feed direction is vertical, the original orientation is horizontal, that is, the original reading direction is horizontal, and the original orientation is 90 °, then the image rotation angle is 270 °. It is determined. It should be noted that the upside-down direction and the rotation angle of the document are shown in the counterclockwise direction with respect to the recording paper feeding direction.

【0027】再び図5の説明に戻る。ステップS6で
は、決定された回転角度に従って、画像処理部44で画
像の回転を行う。ステップS7では、回転された画像を
プリンタ36に出力して印字を行う。ステップS8では
原稿センサ7の検出信号により原稿トレイ5の原稿の有
無を判断する。原稿がなければこの処理を終え、原稿が
まだあればステップS9に進んで次のページの画像を画
像記憶部29から読み出し、復号器34で復号した後、
文字認識部46のページメモリに展開する。
Returning to the explanation of FIG. In step S6, the image processing unit 44 rotates the image according to the determined rotation angle. In step S7, the rotated image is output to the printer 36 for printing. In step S8, the presence / absence of a document on the document tray 5 is determined by the detection signal of the document sensor 7. If there is no manuscript, this process ends, and if there is still a manuscript, the process proceeds to step S9, the image of the next page is read from the image storage unit 29, and is decoded by the decoder 34.
The data is expanded in the page memory of the character recognition unit 46.

【0028】続いて、原稿の天地方向の判断について説
明する。図8は天地方向判断のための文字認識の処理を
示すフローチャートである。同図において、ステップS
40では判断のための文字を画像から切り出す。この切
り出しの方法としては、画像解析の特徴抽出による種々
の領域検出方法が使用できるが、例えば、予定の範囲で
原稿の縦方向および横方向の黒白画素の分布を得るため
の濃度ヒストグラムを作成し、濃度の高い領域の大きさ
によって文字領域を判定する。そして、この文字領域か
ら予定個数の文字を抽出する。この、文字抽出のための
領域検出手段の例は、例えば、コロナ社発行の電子通信
学会編「パターン情報処理」第66頁〜第68頁、同第
166頁〜第171頁に開示されている。
Next, the determination of the vertical direction of the original will be described. FIG. 8 is a flowchart showing a character recognition process for upside-down direction determination. In the figure, step S
At 40, characters for judgment are cut out from the image. Various area detection methods by feature extraction of image analysis can be used as this clipping method.For example, a density histogram for obtaining the distribution of black and white pixels in the vertical and horizontal directions of a document within a predetermined range is created. , The character area is determined by the size of the high density area. Then, a predetermined number of characters are extracted from this character area. An example of the area detecting means for extracting characters is disclosed, for example, in "Pattern Information Processing", pages 66 to 68, 166 to 171 edited by the Institute of Electronics, Communication and Communication, published by Corona. .

【0029】文字が抽出されると、その文字を1字ずつ
認識する(ステップS41)。文字認識の方法として
は、定点サンプリング法、ゾンデ法、スリット法、文字
の輪郭の特徴をとらえる方法、相関関数による方法等周
知の方法を使用することができる。例えば、定点サンプ
リング法では、切り出した文字を予定の観測点を持つメ
ッシュにあてはめて、前記観測点に文字の部分が存在す
るか否かで文字を認識する。上記文字認識手法について
は、共立出版株式会社発行の北川敏男等編「文字・図形
の認識機械」第3章に開示されている。
When the characters are extracted, the characters are recognized one by one (step S41). As a character recognition method, a known method such as a fixed-point sampling method, a sonde method, a slit method, a method of capturing a feature of a character outline, or a method using a correlation function can be used. For example, in the fixed point sampling method, the cut-out character is applied to a mesh having a predetermined observation point, and the character is recognized depending on whether or not a character portion exists at the observation point. The above-mentioned character recognition method is disclosed in Chapter 3 of "Character / Graphic Recognition Machine" edited by Toshio Kitagawa, published by Kyoritsu Shuppan Co., Ltd.

【0030】ステップS42では文字認識できたか否か
を判断する。認識できた場合は変数Aをインクリメント
し(ステップS43)、認識できなかった場合は変数B
をインクリメントする(ステップS44)。ステップS
45では抽出した全部の文字の認識処理を終了したか否
かを判断する。まだ認識処理を終えていない場合はステ
ップS41に進み、全部の文字の認識処理を終了したな
らばステップS46に進む。ステップS46では文字認
識率I(=(A/A+B)×100)を計算する。ステ
ップS47では計算された文字認識率IをRAM39に
記憶する。
In step S42, it is determined whether or not the character can be recognized. If it can be recognized, the variable A is incremented (step S43), and if it is not recognized, the variable B is increased.
Is incremented (step S44). Step S
At 45, it is determined whether or not the recognition processing of all the extracted characters has been completed. If the recognition process is not completed yet, the process proceeds to step S41, and if the recognition process of all the characters is completed, the process proceeds to step S46. In step S46, the character recognition rate I (= (A / A + B) × 100) is calculated. In step S47, the calculated character recognition rate I is stored in the RAM 39.

【0031】前記ステップS41〜S47の処理を1つ
の画像の上下左右4方向をそれぞれ天と仮定した4つの
場合について実施する。そして最も文字認識率が高い場
合を実際の天方向であると決定する。天方向が決定され
たならばその前記記録紙の送り方向を基準とした天方向
の角度を天地方向として登録する。
The processes of steps S41 to S47 are carried out for four cases in which the four directions of one image, that is, the upper, lower, left and right directions, are assumed to be the sky. Then, the case where the character recognition rate is highest is determined to be the actual upward direction. When the top direction is determined, the angle of the top direction based on the feeding direction of the recording paper is registered as the top and bottom direction.

【0032】前記文字認識率と天地方向についてさらに
具体的に説明する。図9において、処理対象画像Vの文
字「XENON」を認識する場合、該画像Vの各辺a、
b、c、dをそれぞれ天と仮定した場合の認識率を同図
(b)に示す。同図に示すように辺aを天とした場合に
は「XENON」を100%認識できるが、辺b、dを
天とした場合は全く認識できない。さらに辺cを天とし
た場合には上下が対象な文字「X」と「O]を認識でき
るので認識率40%となる。この結果、最も認識率の高
い場合、つまり辺aを天とした場合が該画像Vの天地方
向であると判断することができる。
The character recognition rate and the vertical direction will be described more specifically. In FIG. 9, when recognizing the character “XENON” of the processing target image V, each side a of the image V,
The recognition rate when b, c, and d are assumed to be the sky is shown in FIG. As shown in the figure, when the side a is the top, 100% of "XENON" can be recognized, but when the sides b and d are the top, they cannot be recognized at all. Further, when the side c is the heaven, the recognition rate of 40% is obtained because the letters “X” and “O” that are the upper and lower sides can be recognized, and as a result, when the recognition rate is the highest, that is, the side a is the heaven. It can be determined that the case is the vertical direction of the image V.

【0033】次に、画像回転の処理を図10のページメ
モリの模式図を参照して説明する。図10は画像処理部
44に設けられるページメモリの模式図である。画像は
画像記憶部29から該ページメモリに読み出され、この
ページメモリから画情報を読み出す順序によって画像の
回転角度が決定される。同図において、ページメモリの
番地をXY座標で示す。原稿の縦横の向きを合わせるた
めに画像を90°回転させる場合は、画情報の書込み時
は同図(a)のように、番地(0,0)から該ページメ
モリへ画情報を書込み、読み出し時は同図(b)のよう
に、番地(0,Y)から画情報を読み出す。また、画像
を180°回転させる場合は、同図(c)のように、番
地(X,Y)から該ページメモリへ画情報を読み出し、
画像を270°回転させる場合は、同図(d)のよう
に、番地(X,0)から画情報を読み出す。
Next, the image rotation processing will be described with reference to the schematic diagram of the page memory in FIG. FIG. 10 is a schematic diagram of a page memory provided in the image processing unit 44. The image is read from the image storage unit 29 to the page memory, and the rotation angle of the image is determined by the order of reading the image information from the page memory. In the figure, the address of the page memory is shown by XY coordinates. When the image is rotated 90 ° to match the orientation of the document vertically and horizontally, the image information is written and read from the address (0, 0) to the page memory as shown in FIG. At this time, image information is read from the address (0, Y) as shown in FIG. When the image is rotated by 180 °, image information is read from the address (X, Y) to the page memory as shown in FIG.
When the image is rotated by 270 °, the image information is read from the address (X, 0) as shown in FIG.

【0034】次に、本発明の第2実施例について説明す
る。該第2実施例ではファクシミリ通信で受信した2枚
の画像を合成して1枚の記録紙に印字する。この場合、
蓄積された2枚の画像をそのまま読み出して合成する
と、それぞれの画像の天地が統一されていないときは、
印字された文字等の判読がしにくい。そこで、該第2実
施例では合成する2枚の画像の天地を記録紙送り方向に
合わせる。
Next, a second embodiment of the present invention will be described. In the second embodiment, two images received by facsimile communication are combined and printed on one recording sheet. in this case,
If you read the two stored images as they are and combine them, and the top and bottom of the images are not the same,
Difficult to read printed characters. Therefore, in the second embodiment, the top and bottom of the two images to be combined are aligned with the recording paper feed direction.

【0035】該第2実施例をフローチャートを参照して
説明する。図11において、ステップS10では着信の
有無を判断する。着信があったならばステップS11に
進み、画像を受信して画像蓄積部29に蓄積する。ステ
ップS12では先頭ページの画像を画像記憶部29から
読み出し、復号器34で復号した後、文字認識部46の
ページメモリに展開する。ステップS13では次のペー
ジの有無を判断する。
The second embodiment will be described with reference to the flow chart. In FIG. 11, in step S10, it is determined whether there is an incoming call. If there is an incoming call, the process proceeds to step S11, the image is received and stored in the image storage unit 29. In step S12, the image of the first page is read from the image storage unit 29, decoded by the decoder 34, and then developed in the page memory of the character recognition unit 46. In step S13, it is determined whether or not there is a next page.

【0036】次のページがあればステップS14に進
み、受信原稿がA5横等のハーフサイズか否かを判断す
る。ハーフサイズの原稿であればステップS15に進
み、次のページの画像を画像記憶部29から読み出して
復号器34で復号し、文字認識部46のページメモリに
展開する。ステップS16では文字認識によって2枚の
原稿の天地方向を判断する。ステップS17では原稿の
天地を記録紙送り方向に合わせるため、画像を画像処理
部44で回転させる。この場合、2枚の画像のうち一方
だけの天地方向が記録紙送り方向と一致しないときには
該一方の画像のみを反転させる。
If there is a next page, the process proceeds to step S14, and it is determined whether or not the received document has a half size such as A5 landscape. If it is a half-size document, the process proceeds to step S15, the image of the next page is read from the image storage unit 29, decoded by the decoder 34, and developed in the page memory of the character recognition unit 46. In step S16, the vertical direction of the two originals is determined by character recognition. In step S17, the image is rotated by the image processing unit 44 in order to align the top and bottom of the document with the recording paper feed direction. In this case, when the vertical direction of only one of the two images does not match the recording paper feed direction, only that one image is reversed.

【0037】ステップS18では、2枚の原稿を合成し
た場合に、主走査および副走査方向共に収まるサイズの
記録紙があるか否かを記録紙トレイ41〜44を検索し
て判断する。この判断は、次の理由により行う。すなわ
ち、通常ハーフサイズならば1枚の記録紙に印字可能な
場合が多い。しかし、合成の結果、例えば先の原稿の長
辺と後の原稿の短辺とが接するような形になる場合は、
ハーフサイズの倍の記録紙では印字不能となるからであ
る。
In step S18, when two originals are combined, it is determined by searching the recording paper trays 41 to 44 whether or not there is a recording paper of a size that can be accommodated in both the main scanning direction and the sub scanning direction. This judgment is made for the following reasons. That is, in the case of a normal half size, it is often possible to print on one sheet of recording paper. However, if, as a result of the combination, for example, the long side of the original document is in contact with the short side of the latter document,
This is because it is impossible to print on a recording paper that is twice as large as the half size.

【0038】合成された画像が収まる記録紙がセットさ
れていない場合は、ステップS19に進み、後に展開し
た原稿の展開を取り消し、画像処理部44のページメモ
リからも画像を消去する。合成された画像が収まる記録
紙がセットされている場合は、ステップS20に進み、
該記録紙が収容された記録紙トレイを選択して画像をプ
リンタ36に出力し、印字を行う。
If the recording paper in which the combined image fits is not set, the flow advances to step S19 to cancel the development of the document developed later and erase the image from the page memory of the image processing unit 44. If the recording paper in which the combined image fits is set, the process proceeds to step S20.
A recording paper tray accommodating the recording paper is selected, an image is output to the printer 36, and printing is performed.

【0039】ステップS21では、次のページの有無を
判断する。次のページがあればステップS22に進み、
該ページの画像を画像記憶部29から読み出して復号器
34で復号し、文字認識部46のページメモリに展開す
る。
In step S21, it is determined whether or not there is a next page. If there is a next page, go to step S22,
The image of the page is read from the image storage unit 29, decoded by the decoder 34, and developed in the page memory of the character recognition unit 46.

【0040】また、前記ステップS14の判断が否定の
場合つまり受信原稿がハーフサイズでない場合はステッ
プS15〜S18をスキップしてステップS20に進
む。同様にステップS13の判断が否定の場合はステッ
プS14〜S18をスキップしてステップS20に進
む。
If the determination in step S14 is negative, that is, if the received document is not half size, steps S15 to S18 are skipped and the process proceeds to step S20. Similarly, when the determination in step S13 is negative, steps S14 to S18 are skipped and the process proceeds to step S20.

【0041】なお、該第2実施例では2枚の画像を記録
紙送り方向に合わせたが、複写する画像がこの2枚の画
像のみの場合は、単に一方の画像を他方に合わせるよう
にすればよい。したがって、2枚の天地が一致していれ
ば、必ずしも記録紙送り方向に一致させるための回転を
行う必要はない。
Although the two images are aligned in the recording paper feed direction in the second embodiment, when the images to be copied are only these two images, one image may be simply aligned with the other. Good. Therefore, if the top and bottom of the two sheets are aligned with each other, it is not always necessary to rotate the recording sheets in the recording paper feed direction.

【0042】続いて、本発明の第3実施例を説明する。
この第3実施例では、画像の一部分をオペレータが指定
し、該指定された画像の一部分の画像の天地が他の部分
と異なっているか否かを判断し、異なっていれば天地を
統一するために前記画像の一部分を回転させる。例えば
図12に示すように、4枚の原稿P1〜P4を編集して
1枚の原稿Pを作成した場合に、原稿P1の天地が他の
原稿P2〜P4と逆になっている場合を想定する。同図
において矢印は各原稿の天地方向を示す。この場合に原
稿P1だけを天地反転して複写することができれば編集
の誤りを後で容易に訂正することができる。該第3実施
例では画像の一部分を指定するだけで、自動的に前記天
地の不統一を是正して複写できるようにした。
Next, a third embodiment of the present invention will be described.
In the third embodiment, the operator designates a part of the image, determines whether or not the top and bottom of the image of the part of the designated image is different from other parts, and if they are different, the top and bottom are unified. To rotate a portion of the image. For example, as shown in FIG. 12, when four originals P1 to P4 are edited to create one original P, it is assumed that the original P1 is upside down from the other originals P2 to P4. To do. In the figure, the arrow indicates the vertical direction of each document. In this case, if only the original P1 can be inverted and copied, the editing error can be easily corrected later. In the third embodiment, it is possible to automatically correct the inconsistency of the top and bottom and make a copy by only specifying a part of the image.

【0043】図13のフローチャートを参照して該第3
実施例の処理を説明する。同図において、ステップS5
0〜S52は前記ステップS1〜S3と同等の処理であ
り、詳細の説明は省略する。ステップS53では、領域
指示の有無を判断する。この領域は、例えば画像の下1
/2部分とか右上1/4部分とかを、操作部40にあら
かじめ設定された機能キーで指示したり座標数値を入力
したりして指示する。ステップS54では文字認識によ
り指定領域と指定外領域との天地方向を検出する。ステ
ップS55では指定領域の天地が前記指定外領域の天地
と合うように、該指定領域の画像を回転させる。ステッ
プS56ではプリンタ36に画像を出力して印字する。
Referring to the flow chart of FIG. 13, the third
The processing of the embodiment will be described. In the figure, step S5
0 to S52 are the same processes as steps S1 to S3, and detailed description thereof will be omitted. In step S53, it is determined whether or not there is an area instruction. This area is, for example, the bottom 1 of the image.
The / 2 portion or the upper right ¼ portion is instructed by instructing the operation unit 40 with a preset function key or inputting coordinate numerical values. In step S54, the vertical direction of the designated area and the undesignated area is detected by character recognition. In step S55, the image of the designated area is rotated so that the top and bottom of the designated area match the top and bottom of the non-designated area. In step S56, the image is output to the printer 36 and printed.

【0044】ステップS57では次のページの有無を判
断する。次のページがあればステップS58に進み、次
のページの画像を読み出して復号し、文字認識部46の
ページメモリに展開する。次のページがなければ処理を
終了する。
In step S57, it is determined whether or not there is a next page. If there is a next page, the process proceeds to step S58, the image of the next page is read out, decoded, and developed in the page memory of the character recognition unit 46. If there is no next page, the process ends.

【0045】なお、この第3実施例では指定領域と指定
外領域との天地を合わせるようにしたが、前記原稿Pが
複数枚の原稿の一枚であり、これら複数枚の原稿を1つ
のまとまりで複写をする場合がある。この場合は、前記
原稿P1〜P4の天地を揃える処理を行った原稿Pにつ
いて、さらに他の画像と天地方向を合わせるための回転
処理を行う。この処理は図5〜図7に関して説明した第
1実施例と同様に行えば良い。すなわち、天地が揃った
原稿Pの画像の縦横の向きつまり原稿読取り方向と、ス
テップS54で検出した原稿Pの天地方向と、記録紙送
り方向とによって図7のテーブルに従って回転角度を決
定する。そしてこの回転角度に従ってプリンタ36で印
字を行う。
In the third embodiment, the top and bottom of the designated area and the non-designated area are aligned with each other. However, the original P is one of a plurality of originals, and the plurality of originals are collected as one set. May be copied in. In this case, the original P, which has been subjected to the process of aligning the top and bottom of the originals P1 to P4, is further subjected to a rotation process for aligning the top and bottom with another image. This process may be performed in the same manner as the first embodiment described with reference to FIGS. That is, the rotation angle is determined according to the table of FIG. 7 based on the vertical and horizontal directions of the image of the original P with the top and bottom aligned, that is, the original reading direction, the vertical direction of the original P detected in step S54, and the recording paper feed direction. Then, the printer 36 prints according to this rotation angle.

【0046】該第3実施例の画像処理を模式図で説明す
る。図14において、同図(a)に示すように画像Pの
一部分P1の天地が他の部分P2〜P4と逆の場合、ま
ず、部分P1の天地を反転して部分P2〜P3と天地を
合わせる(同図(b))。さらに、該画像Pの天地を統
一するため、該画像P全体を記録紙送り方向に合わせて
回転させる(同図(c))。
The image processing of the third embodiment will be described with a schematic diagram. In FIG. 14, when the top and bottom of the part P1 of the image P is opposite to the top and bottom of the other parts P2 to P4 as shown in FIG. 14A, the top and bottom of the part P1 is first inverted to match the top and bottom of the parts P2 to P3. ((B) of the same figure). Further, in order to unify the top and bottom of the image P, the entire image P is rotated in accordance with the recording paper feed direction ((c) in the figure).

【0047】さらに、第3実施例を次のように変形する
こともできる。まず、画像Pの天地が、記録紙送り方向
と同じであるかを判断する(判断1)。さらに、指定領
域P1と指定外領域P2〜P4の天地が逆か否かを判断
する(判断2)。
Furthermore, the third embodiment can be modified as follows. First, it is determined whether the top and bottom of the image P is the same as the recording paper feed direction (determination 1). Further, it is determined whether the designated area P1 and the undesignated areas P2 to P4 are upside down (determination 2).

【0048】判断1および判断2の結果に基づく処理を
図15に示す。同図のa列は記録紙送り方向であり、b
列は画像Pの天地方向であり、c列はa列およびb列の
組合わせのケースに対応する処理結果を示す。まず、ケ
ース1の場合は前記判断1および判断2が肯定となり、
画像P2〜P3の天地を反転させる。一方、ケース2の
場合は判断1が否定で判断2が肯定となり、画像P1を
反転させる。また、ケース3の場合は判断1が肯定で判
断2が否定となり、画像P1〜P4をすべて反転させ
る。さらに、ケース4の場合は判断1および判断2が共
に否定となり、画像の反転は行わない。
The processing based on the results of judgment 1 and judgment 2 is shown in FIG. Column a in the figure is the recording paper feed direction, and b
The column is the vertical direction of the image P, and the c column shows the processing result corresponding to the case of the combination of the a column and the b column. First, in case 1 above, judgment 1 and judgment 2 are affirmative,
The top and bottom of the images P2 to P3 are inverted. On the other hand, in case 2, the determination 1 is negative and the determination 2 is positive, and the image P1 is inverted. Further, in case 3, the determination 1 is affirmative and the determination 2 is negative, so that the images P1 to P4 are all inverted. Further, in case 4, both judgment 1 and judgment 2 are negative, and the image is not inverted.

【0049】なお、該第3実施例において、説明の簡単
のため、天地方向は反転(180°回転)させる場合だ
け示したが、これだけに限らず、画像P1を画像P2〜
P4に合わせるための種々の角度で回転させるようにす
ることができるのはもちろんである。
In the third embodiment, for simplification of description, only the case where the vertical direction is reversed (rotated by 180 °) is shown, but the present invention is not limited to this, and the image P1 is changed to the images P2 to P2.
Of course, it can be rotated at various angles to match P4.

【0050】次に、上記本実施例の動作を行わせるため
の要部機能を図1のブロック図を参照して説明する。同
図において、画像記憶部29は、スキャナ2で読み取ら
れた原稿および受信部47で受信した画情報を蓄積す
る。縦横判定部48はスキャナ2の前記幅センサ12お
よびレジセンサ13で検出された原稿の幅および長さか
ら原稿の縦横の向きを判別する。また、処理対象が受信
画像の場合、縦横判定部48は受信時のプロトコル情報
で得た主走査方向幅と画像記憶部29の画像を復号して
得られる副走査方向長さから画像の縦横の向きを判別す
る。
Next, the functions of the essential parts for carrying out the operation of the present embodiment will be described with reference to the block diagram of FIG. In the figure, the image storage unit 29 stores the document read by the scanner 2 and the image information received by the receiving unit 47. The vertical / horizontal determining unit 48 determines the vertical / horizontal orientation of the document based on the width and length of the document detected by the width sensor 12 and the registration sensor 13 of the scanner 2. When the processing target is a received image, the vertical / horizontal determination unit 48 determines the vertical / horizontal direction of the image based on the width in the main scanning direction obtained from the protocol information at the time of reception and the length in the sub-scanning direction obtained by decoding the image in the image storage unit 29. Determine the orientation.

【0051】天地検出部49は画像記憶部29の画像か
ら文字を切り出して画像の天地方向を検出する。記録紙
格納部4は選択された記録紙トレイ内の記録紙の向きつ
まり記録紙送り方向を示す情報を回転角度決定部50に
出力する。回転角度決定部50は前記縦横判別部48で
判別された画像の縦横の向きと画像の天地方向と記録紙
送り方向とに基づき、例えば検索テーブルを検索して回
転角度を決定する。決定された回転角度は画像回転部4
4aに入力される。画像回転部44aは画像記憶部29
から入力される画像を前記回転角度に従って回転させ、
プリンタ36に出力する。
The upside-down detecting section 49 cuts out characters from the image in the image storage section 29 and detects the upside-down direction of the image. The recording paper storage unit 4 outputs information indicating the orientation of the recording paper in the selected recording paper tray, that is, the recording paper feed direction, to the rotation angle determination unit 50. The rotation angle determination unit 50 determines a rotation angle by searching, for example, a search table based on the vertical and horizontal orientations of the image determined by the vertical and horizontal determination unit 48, the vertical direction of the image, and the recording paper feed direction. The determined rotation angle is the image rotation unit 4
4a is input. The image rotation unit 44a is the image storage unit 29.
Rotate the image input from according to the rotation angle,
Output to the printer 36.

【0052】また、領域指示部51はオペレータの入力
により処理対象画像の一部領域を指定する。天地検出部
49は領域が指定がされたならば、その領域とそれ以外
の領域との天地方向を検出する。検出結果は天地比較部
52に入力され、該天地比較部52では指定領域の天地
を指定外領域に合わせるための回転角度を決定して画像
回転部44aに入力する。画像回転部44aはこの回転
角度に従って画像記憶部29から入力される画像の指定
領域を回転させる。
The area designating section 51 designates a partial area of the image to be processed by the operator's input. When the area is designated, the upside-down detecting unit 49 detects the upside down direction between the area and the other area. The detection result is input to the upside-down comparison unit 52, and the upside-down comparison unit 52 determines a rotation angle for matching the upside of the designated region with the non-designated region and inputs the rotation angle to the image rotation unit 44a. The image rotation unit 44a rotates the designated area of the image input from the image storage unit 29 according to this rotation angle.

【0053】なお、画像合成の場合は、天地検出部49
で2枚の画像について天地方向を判断し、回転角度決定
部50ではそれぞれの回転角度を決定して画像回転部4
4aに出力する。そして、画像回転部44aでは2枚の
画像を1つのページメモリに展開して合成し、それぞれ
を指定された角度で回転してプリンタ36に出力する。
In the case of image synthesis, the upside-down detecting section 49
Determines the vertical direction of the two images, and the rotation angle determination unit 50 determines the respective rotation angles to determine the image rotation unit 4.
4a. Then, the image rotating unit 44a develops the two images in one page memory, combines them, rotates them at a specified angle, and outputs them to the printer 36.

【0054】以上は、画像記憶部29に蓄積した画像を
プリンタ36に出力する例であるが、画像記憶部29に
蓄積された画像をファクシミリ通信によって送信する際
にも本発明は適用できることはもちろんである。また、
天地の判断は画像中の文字を認識して行うのみならず、
画像中の図形情報を、登録した図形情報と比較して実行
してもよい。要は、画像中の情報を基準の登録情報と比
較して天地を判断すればよい。
The above is an example of outputting the image stored in the image storage unit 29 to the printer 36, but the present invention can be applied to the case of transmitting the image stored in the image storage unit 29 by facsimile communication. Is. Also,
Top and bottom judgment is not only made by recognizing the characters in the image,
The graphic information in the image may be compared with the registered graphic information and executed. The point is to determine the top and bottom by comparing the information in the image with the reference registration information.

【0055】[0055]

【発明の効果】以上の説明から明らかなように、請求項
1の発明によれば、画像の天地が自動的に判別され、こ
の判別結果によって画像が回転されてその天地が一方向
に合わされる。また、請求項2の発明によれば、複数枚
の画像を合成する場合に、合成される画像の天地が一致
する。さらに、請求項3の発明によれば、指定された一
部分および他の部分の天地を合わせることができる。
As is apparent from the above description, according to the invention of claim 1, the top and bottom of the image are automatically discriminated, and the image is rotated according to the discrimination result so that the top and bottom are aligned in one direction. . According to the second aspect of the invention, when a plurality of images are combined, the top and bottom of the combined images match. Further, according to the invention of claim 3, the top and bottom of the designated part and the other part can be aligned.

【0056】このように、請求項1ないし請求項3の発
明によれば、画像記憶手段へ画像を読み込む時の画像の
天地方向が不統一であっても画像の天地方向を自動的に
判別してこれを一致させることができる。
As described above, according to the first to third aspects of the present invention, even if the orientation of the image when reading the image into the image storage means is not uniform, the orientation of the image is automatically determined. You can match this up.

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

【図1】 本発明の一実施例に係る画像処理装置の要部
機能ブロック図である。
FIG. 1 is a functional block diagram of a main part of an image processing apparatus according to an embodiment of the present invention.

【図2】 本発明の一実施例に係る画像処理装置の概略
構成を示す模式図である。
FIG. 2 is a schematic diagram showing a schematic configuration of an image processing apparatus according to an embodiment of the present invention.

【図3】 本発明の一実施例に係る画像処理装置の要部
ハード構成を示すブロック図である。
FIG. 3 is a block diagram showing a hardware configuration of main parts of an image processing apparatus according to an embodiment of the present invention.

【図4】 スキャナの断面図である。FIG. 4 is a cross-sectional view of a scanner.

【図5】 本発明の第1実施例に係る画像処理の手順を
示すフローチャートである。
FIG. 5 is a flowchart showing a procedure of image processing according to the first embodiment of the present invention.

【図6】 原稿の読取りと蓄積の処理手順を示すフロー
チャートである。
FIG. 6 is a flowchart showing a processing procedure for reading and storing a document.

【図7】 画像の回転角度検索用のテーブルを示す図で
ある。
FIG. 7 is a diagram showing a table for searching a rotation angle of an image.

【図8】 文字認識処理を示すフローチャートである。FIG. 8 is a flowchart showing a character recognition process.

【図9】 文字認識による天地判断の例を示す図であ
る。
FIG. 9 is a diagram showing an example of top-and-bottom determination by character recognition.

【図10】 画像の回転の原理を説明するためのメモリ
の説明図である。
FIG. 10 is an explanatory diagram of a memory for explaining the principle of image rotation.

【図11】 本発明の第2実施例に係る画像処理の手順
を示すフローチャートである。
FIG. 11 is a flowchart showing a procedure of image processing according to the second embodiment of the present invention.

【図12】 領域指定による画像処理の対象例を示す図
である。
FIG. 12 is a diagram illustrating an example of a target of image processing by specifying an area.

【図13】 本発明の第3実施例に係る画像処理の手順
を示すフローチャートである。
FIG. 13 is a flowchart showing the procedure of image processing according to the third embodiment of the present invention.

【図14】 第3実施例で画像処理された画像の例を示
す図である。
FIG. 14 is a diagram showing an example of an image that has been image-processed in the third embodiment.

【図15】 第3実施例の変形例により画像処理された
画像の例を示す図である。
FIG. 15 is a diagram showing an example of an image that has been subjected to image processing according to a modification of the third embodiment.

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

2…スキャナ、 6…原稿、 12…幅センサ、 13
…レジセンサ、 29…画像記憶部、 36…プリン
タ、 44…画像処理部、 44a…画像回転部、47
…受信部、 48…縦横判別部、 49…天地検出部、
50…回転角度決定部、 51…領域指示部、 52
…天地比較部
2 ... Scanner, 6 ... Original, 12 ... Width sensor, 13
... registration sensor, 29 ... image storage section, 36 ... printer, 44 ... image processing section, 44a ... image rotating section, 47
... reception unit, 48 ... vertical / horizontal discrimination unit, 49 ... upside-down detection unit,
50 ... Rotation angle determination unit, 51 ... Region designating unit, 52
... upside down comparison section

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 画像記憶手段と、 前記画像記憶手段に蓄積された画像の天地を該画像中の
情報によって検出する天地認識手段と、 前記天地認識手段によって判別された画像の天地を一方
向に合わせるための回転角度を決定する回転角度決定手
段と、 前記回転角度に従って前記画像を回転させる画像回転手
段とを具備したことを特徴とする画像処理装置。
1. An image storage means, an upside-down recognition means for detecting the upside down of the image stored in the image storage means based on information in the image, and a upside down direction of the image determined by the upside down recognition means in one direction. An image processing apparatus comprising: a rotation angle determining unit that determines a rotation angle for matching; and an image rotating unit that rotates the image according to the rotation angle.
【請求項2】 画像記憶手段と、 前記画像記憶手段に蓄積された画像の天地を該画像中の
情報によって検出する天地認識手段と、 複数枚の画像を1枚に合成する画像合成手段と、 前記天地認識手段によって判別された前記複数枚の画像
の天地を合わせるための、それぞれの画像の回転角度を
決定する回転角度決定手段と、 前記回転角度に従って前記画像を回転させる画像回転手
段とを具備したことを特徴とする画像処理装置。
2. An image storage means, an upside-down recognition means for detecting the upside down of the image stored in the image storage means based on the information in the image, and an image combining means for combining a plurality of images into one image. A rotation angle determination unit that determines a rotation angle of each image for aligning the top and bottom of the plurality of images determined by the top and bottom recognition unit, and an image rotation unit that rotates the images according to the rotation angle. An image processing device characterized by the above.
【請求項3】 画像記憶手段と、 前記画像記憶手段に蓄積された画像の天地を該画像中の
情報によって検出する天地認識手段と、 画像の一部分を指定する領域指定手段と、 該指定された一部分および他の部分の天地の一致を判断
する天地比較手段と、 前記両部分の一方を回転させて該両部分の天地を一致さ
せるための回転角度を決定する回転角度決定手段と、 前記回転角度に従って前記画像を回転させる画像回転手
段とを具備したことを特徴とする画像処理装置。
3. An image storage means, an upside-down recognition means for detecting the upside down of the image stored in the image storage means based on information in the image, an area specifying means for specifying a part of the image, and the specified area. A top-bottom comparison means for determining whether the top and bottom of one part and the other part match, a rotation angle determining means for rotating one of the parts to determine a rotation angle for matching the top and bottom of the parts, and the rotation angle And an image rotating means for rotating the image according to the above.
JP7167044A 1995-06-09 1995-06-09 Image processor Pending JPH08336038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7167044A JPH08336038A (en) 1995-06-09 1995-06-09 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7167044A JPH08336038A (en) 1995-06-09 1995-06-09 Image processor

Publications (1)

Publication Number Publication Date
JPH08336038A true JPH08336038A (en) 1996-12-17

Family

ID=15842354

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7167044A Pending JPH08336038A (en) 1995-06-09 1995-06-09 Image processor

Country Status (1)

Country Link
JP (1) JPH08336038A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6501920B2 (en) 2000-02-10 2002-12-31 Minolta Co Ltd Copying machine, image processing apparatus, and image processing method for orienting images

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6501920B2 (en) 2000-02-10 2002-12-31 Minolta Co Ltd Copying machine, image processing apparatus, and image processing method for orienting images

Similar Documents

Publication Publication Date Title
US5393962A (en) Image storing method and apparatus including detecting index information included in image information read out from a recording medium
JP3050007B2 (en) Image reading apparatus and image forming apparatus having the same
JP3332546B2 (en) Image forming apparatus and image forming method
CN101409762B (en) Image processing apparatus, methods of controlling such image processing apparatus, and computer-readable media
CN1152747A (en) Diagram processing device and method and information processing device
JP3720502B2 (en) Image processing apparatus, image processing method in the apparatus, and computer-readable storage medium
JPH08336038A (en) Image processor
JPH06103410A (en) Picture processor
JP3604755B2 (en) Image information processing device
JP3126407B2 (en) Apparatus for registering an image in a storage medium
JPH0983691A (en) Picture processor and its method
JPH0918690A (en) Image processing unit
JP2817849B2 (en) Image processing device
JPH08289134A (en) Facsimile equipment
JP2002057891A (en) Picture processor
JPH0937060A (en) Image processor
JPH06152862A (en) Copying machine
JPH08328428A (en) Image processor
JPH07131631A (en) Method and machine for digital copying
JP3312958B2 (en) Electronic filing equipment
JPH11275305A (en) Picture reader
JPH08263501A (en) Image information processor
JPH08242361A (en) Facsimile equipment and its controlling method
JPH06208650A (en) Method and device for recognizing information
JPH09231361A (en) Picture processor and its method