JPH0983691A - Picture processor and its method - Google Patents

Picture processor and its method

Info

Publication number
JPH0983691A
JPH0983691A JP24016895A JP24016895A JPH0983691A JP H0983691 A JPH0983691 A JP H0983691A JP 24016895 A JP24016895 A JP 24016895A JP 24016895 A JP24016895 A JP 24016895A JP H0983691 A JPH0983691 A JP H0983691A
Authority
JP
Japan
Prior art keywords
book
image
characters
page
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP24016895A
Other languages
Japanese (ja)
Inventor
Kenichi Ota
健一 太田
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 JP24016895A priority Critical patent/JPH0983691A/en
Priority to CNB961128615A priority patent/CN1158840C/en
Publication of JPH0983691A publication Critical patent/JPH0983691A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Facsimiles In General (AREA)
  • Record Information Processing For Printing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PROBLEM TO BE SOLVED: To output a visible picture in a direction where the order of recording mediums on which the picture is outputted is uniform at the time of record- outputting the visible picture on a prescribed medium by the unit of the page of a book. SOLUTION: When an operation part 18 specifies a book copying mode, CCD 11 reads a book original mounted on an original reading face and a picture memory 16 stores it through a selector part 15. CPU 14 prepares the histogram of the vertical/horizontal black picture elements of picture data stored in the picture memory 16 to decide whether the book is written vertically or horizontally. In addition CPU 14 detects the direction of characters by character recognizing processing to judge whether the book is opened at its left or right side based on this result to read and record-output the pages in an order corresponding to the deciding result.

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 method for digitally reading a document image and outputting a duplicate image.

【0002】[0002]

【従来の技術】従来、原稿画像をデジタル的に読みとり
複製画像を出力する構成として図10のようなものが一
般的である。
2. Description of the Related Art Conventionally, a structure as shown in FIG. 10 is generally used as a structure for digitally reading an original image and outputting a duplicate image.

【0003】図10はリーダ部1及びプリンタ部2の断
面図である。リーダ部1の原稿給送装置101は原稿を
最終頁から順に1枚ずつプラテンガラス102上へ給送
し、原稿の読み取り動作終了後、プラテンガラス102
上の原稿を排出するものである。原稿がプラテンガラス
102上に搬送されると、ランプ103を点灯し、そし
てスキャナユニット104の移動を開始させて、原稿を
露光走査する。この時の原稿からの反射光は、ミラー1
05、106、107、及びレンズ108によってCC
Dイメージセンサ(以下CCDという)109へ導かれ
る。このように走査された原稿の画像はCCD109に
よって読み取られる。CCD109から出力される画像
データは、所定の処理が施された後、プリンタ部2へ転
送される。プリンタ部2のレーザドライバ221はレー
ザ発光部201を駆動するものであり、リーダ部1から
出力された画像データに応じたレーザ光をレーザ発光部
201に発光させる。このレーザ光は感光ドラム202
に照射され、感光ドラム202にはレーザ光に応じた潜
像が形成される。この感光ドラム202の潜像の部分に
は現像器203によって現像剤が付着される。そして、
レーザ光の照射開始と同期したタイミングで、カセット
204及びカセット205のいずれかから記録紙を給紙
して転写部206へ搬送し、感光ドラム202に付着さ
れた現像剤を記録紙に転写する。現像剤の乗った記録紙
は定着部207に搬送され、定着部207の熱と圧力に
より現像剤は記録紙に定着される。定着部207を通過
した記録紙は排出ローラ208によって排出され、ソー
タ220は排出された記録紙をそれぞれのピンに収納し
て記録紙の仕分けを行う。なお、ソータ220は仕分け
が設定されていない場合は最上ビンに記録紙を収納す
る。また、両面記録が設定されている場合は、排出ロー
ラ208のところまで記録紙を搬送した後、排出ローラ
208の回転方向を逆転させ、フラッパ209によって
再給紙搬送路へ導く。多重記録が設定されている場合
は、記録紙を排出ローラ208まで搬送しないようにフ
ラッパ209によって再給紙搬送路へ導く。再給紙搬送
路ヘ導かれた記録紙は上述したタイミングで転写部20
6へ給紙される。
FIG. 10 is a sectional view of the reader unit 1 and the printer unit 2. The document feeding device 101 of the reader unit 1 feeds a document one by one sequentially from the last page onto the platen glass 102, and after the reading operation of the document is completed, the platen glass 102
The upper original is discharged. When the document is conveyed onto the platen glass 102, the lamp 103 is turned on, the movement of the scanner unit 104 is started, and the document is exposed and scanned. Light reflected from the original at this time is reflected by the mirror 1.
CC by 05, 106, 107 and lens 108
It is guided to a D image sensor (hereinafter referred to as CCD) 109. The image of the document thus scanned is read by the CCD 109. The image data output from the CCD 109 is transferred to the printer unit 2 after undergoing predetermined processing. The laser driver 221 of the printer unit 2 drives the laser emission unit 201, and causes the laser emission unit 201 to emit laser light according to the image data output from the reader unit 1. This laser light is applied to the photosensitive drum 202.
And a latent image corresponding to the laser beam is formed on the photosensitive drum 202. A developer is attached to the latent image portion of the photosensitive drum 202 by a developing device 203. And
At a timing synchronized with the start of the laser beam irradiation, a recording sheet is fed from one of the cassettes 204 and 205, is conveyed to the transfer unit 206, and transfers the developer attached to the photosensitive drum 202 to the recording sheet. The recording paper on which the developer is placed is conveyed to the fixing unit 207, and the developer is fixed on the recording paper by the heat and pressure of the fixing unit 207. The recording paper that has passed the fixing unit 207 is ejected by the ejection roller 208, and the sorter 220 stores the ejected recording paper in the respective pins to sort the recording paper. Note that the sorter 220 stores the recording paper in the uppermost bin when the sorting is not set. When double-sided recording is set, the recording sheet is conveyed to the discharge roller 208, the rotation direction of the discharge roller 208 is reversed, and the recording paper is guided to the re-feed conveyance path by the flapper 209. When multiple recording is set, the recording paper is guided to the re-feeding conveyance path by the flapper 209 so as not to be conveyed to the discharge roller 208. The recording sheet guided to the re-feeding conveyance path is transferred to the transfer unit 20 at the timing described above.
6 is fed.

【0004】[0004]

【発明が解決しようとする課題】以上説明したような構
成において、原稿給送装置で原稿を給送するのではなく
本のように綴じられた原稿をページをめくりながら複製
する場合を考える。このとき、本の見開きページを片側
ずつ連続的に読みとり複写する、いわゆるページ連写と
いう機能を持つ画像処理装置が公知であるが、見開きの
右ページと左ページのどちらを先に読みとり複写するか
は必ずしも明確に決ってはいない。
Consider a case in which, in the above-described structure, the original document is not fed by the original document feeder, but the original document bound like a book is copied while turning pages. At this time, there is known an image processing apparatus having a function of so-called continuous page copying, in which the spread pages of a book are continuously read and copied one by one. Which of the right and left pages of the spread is read and copied first? Is not always clear.

【0005】一般に日本で販売されている雑誌などは右
開きのものが多く右ページが左ページよりも前のページ
であるが、海外では左ページが右ページよりも前のペー
ジとなっているのが普通である。従ってページ連写にお
いて前者では右ページ→左ページの順に、逆に後者では
左ページ→右ページという順番で連続的に読みとり複写
するのが望ましい。
Generally, most of the magazines sold in Japan have right-opening pages, and the right page is the page before the left page. However, overseas, the left page is the page before the right page. Is normal. Therefore, in the continuous page copying, it is desirable that the former is sequentially read and copied in the order of right page → left page, and conversely, the latter is sequentially read and copied in order of left page → right page.

【0006】[0006]

【課題を解決するための手段】そこで本発明は、書籍の
ページ単位に所定の記録媒体上に可視画像を記録出力す
る場合に、出力された記録媒体の順序が一様な方向に出
力させることを可能にする画像処理装置及び方法を提供
しようとするものである。
Therefore, according to the present invention, when a visible image is recorded and output on a predetermined recording medium for each page of a book, the output order of the recording medium is output in a uniform direction. It is an object of the present invention to provide an image processing apparatus and method that enable the above.

【0007】この課題を解決するため、例えば本発明の
画像処理装置は、以下に示す構成を備える。すなわち、
書籍をページ単位で読み取って、可視画像を所定の記録
媒体上に記録し、出力する画像処理装置であって、前記
書籍の画像情報に基づいて文字の並び方向を検出する検
出手段と、検出された文字の並び方向に基づいて書籍の
開いた2ページ分の画像の前後関係を判定し、当該前後
関係に基づく順序で前記2ページ分に対応する可視画像
を記録させる制御手段とを備える。
In order to solve this problem, for example, the image processing apparatus of the present invention has the following configuration. That is,
An image processing apparatus that reads a book page by page, records a visible image on a predetermined recording medium, and outputs the visible image, and a detection unit that detects a direction in which characters are arranged based on image information of the book. And a control unit that determines the front-back relation of the images of the two opened pages of the book based on the arrangement direction of the characters and records the visible images corresponding to the two pages in the order based on the front-back relation.

【0008】また、本発明にかかる好適な実施形態に従
えば、前記検出手段は、前記書籍の画像をプレスキャン
して読み取る読み取り手段と、読み取った原稿画像の水
平及び垂直方向の画素のヒストグラムを作成する作成手
段と、該作成手段で作成されたヒストグラムに基づいて
縦書きか横書きかを判定する第1の判定手段と、読み取
った原稿画像中の文字の向きを判定する第2の判定手段
とを含み、前記第1、第2の判定手段の判定結果に基づ
いて文字の並び方向を検出することが望ましい。
Further, according to a preferred embodiment of the present invention, the detecting means displays a reading means for prescanning the image of the book and a histogram of horizontal and vertical pixels of the read original image. Creating means for creating, first judging means for judging vertical writing or horizontal writing based on the histogram created by the creating means, and second judging means for judging the orientation of characters in the read original image. It is desirable to detect the arrangement direction of the characters based on the judgment results of the first and second judging means.

【0009】この結果、操作者にしてみれば、単に書籍
を開いた状態で読み取り作業を行なわせる作業するだけ
で、出力されるページの順序が一様な方向にさせること
ができる。
As a result, the operator can make the order of the pages to be output uniform by merely performing the reading operation with the book open.

【0010】[0010]

【発明の実施の形態】以下、添付図面に従って本発明に
係る実施形態の一例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An example of an embodiment according to the present invention will be described in detail below with reference to the accompanying drawings.

【0011】[第1の実施形態]以下本発明の一実施形
態を図面を用いて説明する。
[First Embodiment] An embodiment of the present invention will be described below with reference to the drawings.

【0012】図1は本発明を実施する画像処理装置のブ
ロック構成図である。基本的構成は図10のものと同様
で、リーダ部1とプリンタ部2で構成され、CCD11
で読み取られた画像信号が、A/D変換器12、シェー
ディング補正回路13など周知のデジタル的な信号処理
を経てプリンター部ヘ送られ、プリンター部のレーザー
露光、現像、転写、定着などにより複数画像を出力す
る。
FIG. 1 is a block diagram of an image processing apparatus embodying the present invention. The basic structure is the same as that of FIG. 10, and is composed of a reader unit 1 and a printer unit 2, and a CCD 11
The image signal read by is sent to the printer unit through well-known digital signal processing such as A / D converter 12 and shading correction circuit 13, and a plurality of images are obtained by laser exposure, development, transfer, fixing, etc. of the printer unit. Is output.

【0013】ここで、本実施形態では、操作部18を介
して、書籍の複数ページの複写モード(以下、書籍複写
モードという)を指定して、複写開始指示を与えると、
原稿画像の複数出力に先立ち原稿をプリスキャンして原
稿書籍の装丁方向を検知する。
Here, in the present embodiment, when a copy mode of a plurality of pages of a book (hereinafter referred to as a book copy mode) is specified through the operation unit 18 and a copy start instruction is given,
Prior to outputting a plurality of original images, the original is pre-scanned to detect the binding direction of the original book.

【0014】そのためのシーケンスを制御するためのC
PU14と原稿プリスキャン時に画像信号をいったん画
像メモリ16に書き込むために画像信号の出力先を切り
替えるセレクタ部15を持つ。また、17はCPU14
が後述する方法で決定した操作順序に従って原稿の走査
を実行制御する走査コントローラー部である。
C for controlling the sequence therefor
The PU 14 and the selector unit 15 that switches the output destination of the image signal in order to write the image signal in the image memory 16 once at the time of the document prescan. 17 is the CPU 14
Is a scanning controller unit that controls execution of scanning of a document according to an operation order determined by a method described later.

【0015】尚、18は先に説明した様に操作部であ
り、ここには複写部数、複写モード(実施形態における
書籍複写モードの指定や通常の複写モード等)、更に
は、複写開始を指示する各種ボタン(もしくはスイッ
チ)が設けられていると共に、簡単な表示部(液晶表示
部等)が設けられいる。また、19はCPU14の処理
手順(図8に示すフローチャートに基づくプログラム)
及び文字認識用辞書(理由は後述する)を記憶している
メモリである。
Reference numeral 18 denotes an operation unit as described above, which has the number of copies, a copy mode (designation of a book copy mode in the embodiment, a normal copy mode, etc.), and an instruction to start copying. Various buttons (or switches) are provided, and a simple display unit (liquid crystal display unit or the like) is provided. Further, 19 is a processing procedure of the CPU 14 (a program based on the flowchart shown in FIG. 8)
And a character recognition dictionary (the reason will be described later).

【0016】以下、書籍複写モードにおける動作を説明
する(通常の複写モードは、本発明には直接的には関係
がないので説明は省略する)。
The operation in the book copy mode will be described below (the normal copy mode is not directly related to the present invention, so the description thereof is omitted).

【0017】先ず、CPU14による原稿装丁方向検知
処理を説明する。
First, the document binding direction detection processing by the CPU 14 will be described.

【0018】図2には一般的書籍におけるページの綴じ
方を説明する図であり、図2(A)は右開き書籍の代表
例、(B)は左開きの代表例を示している。(A)は右
のページ22が左のページ21よりも前のページとなっ
ており、一方(B)は左のページ23が右のページ24
よりも前のページとなっている。(A)は日本語の縦書
き文書に特有の綴じ方であり、それ以外の書籍はほとん
どが(B)の形態となっているのが通常である。従って
原稿文書が(A)であるか否か、すなわち縦書き日本語
書籍であるか否かを判別すれば右開きか左開きかが判定
できることになる。
2A and 2B are views for explaining how to bind pages in a general book. FIG. 2A shows a typical example of a right-opening book and FIG. 2B shows a typical example of a left-opening book. In (A), the right page 22 is before the left page 21, while in (B), the left page 23 is the right page 24.
It is the previous page. (A) is a binding method peculiar to a vertical writing document in Japanese, and most other books are usually in the form of (B). Therefore, if it is determined whether the original document is (A), that is, whether it is a vertically written Japanese book, it can be determined whether the document is right-open or left-open.

【0019】そこでCPU14は図7に示す手順を行な
い、書籍複写モードを実行処理する。尚、この処理は操
作部18に設けられた書籍複写ボタン(図示せず)を押
下された場合に動作するものであり、書籍原稿を読み取
り面(プラテンガラス)に載置してあるものとする。
Therefore, the CPU 14 performs the procedure shown in FIG. 7 to execute the book copy mode. It should be noted that this process operates when a book copy button (not shown) provided on the operation unit 18 is pressed, and it is assumed that the book document is placed on the reading surface (platen glass). .

【0020】先ず、CPU11は、ステップS1におい
て、CCD11で原稿画像をプリスキャンし読み取られ
た画像信号をセレクターを切り替えて画像メモリ16に
一時的に格納する。画像メモリ16中には原稿中の黒い
部分に相当する画素に“1”、白い部分に相当する画素
に“0”の2値データが図3のように記憶されている。
図3は縦書き原稿、図4は縦書き原稿の例を示してあ
る。
First, in step S1, the CPU 11 pre-scans the original image with the CCD 11 and temporarily stores the read image signal in the image memory 16 by switching the selector. As shown in FIG. 3, the image memory 16 stores binary data of "1" in pixels corresponding to black portions of a document and "0" in pixels corresponding to white portions.
FIG. 3 shows an example of a vertically written document, and FIG. 4 shows an example of a vertically written document.

【0021】この後、ここで読み取り原稿画像がm(横
ドット)×n(縦ドット)であった場合、CPU11は
メモリ19に変数y(m)、t(n)を確保し、例えば
原稿画像の左上隅の座標(1、1)の位置の画素を読み
取る。この後、位置(1、2)、(1、3)…(1、
m)を読み取り次のラインの先頭から右方向に読み込む
処理を繰り返していく。
After that, when the read original image is m (horizontal dots) × n (vertical dots), the CPU 11 secures variables y (m) and t (n) in the memory 19, for example, the original image. The pixel at the position of the coordinates (1, 1) in the upper left corner of is read. After this, positions (1, 2), (1, 3) ... (1,
The process of reading m) and reading from the beginning of the next line to the right is repeated.

【0022】この過程で読み込み位置を(i,j)(1
≦i≦m、1≦n≦n)としたとき、注目画素位置のビ
ットが“1”であった場合には変数t(j)及びy
(i)の内容をそれぞれ“1”だけインクリメントする
処理を行う。
In this process, the read position is set to (i, j) (1
.Ltoreq.i.ltoreq.m, 1.ltoreq.n.ltoreq.n), if the bit at the pixel of interest is "1", variables t (j) and y
A process of incrementing the contents of (i) by "1" is performed.

【0023】こうして、最終的に右下の画素まで上記処
理を繰り返すと、変数y()には縦方向の黒画素の数
が、t()には横方向の黒画素が格納されることにな
る。
Thus, when the above process is finally repeated up to the lower right pixel, the number of black pixels in the vertical direction is stored in the variable y (), and the black pixel in the horizontal direction is stored in t (). Become.

【0024】すなわち、図3、図4に示す符号31〜3
4で示されるヒストグラムに相当する情報を得ることが
できる。この処理を行うのが、ステップS2である。
That is, reference numerals 31 to 3 shown in FIGS.
Information corresponding to the histogram shown by 4 can be obtained. This process is performed in step S2.

【0025】図3及び図4に示すごとく、縦書き原稿と
横書き原稿では行間隔が文字のならび方向には小さく、
それと直角方向には大きくなるので、図3は縦方向ヒス
トグラム32でヒストグラム上に行間をあらわす谷間が
現れ、逆に図4では横方向ヒストグラム33に同様の谷
間が現れることがわかる。従ってこのヒストグラムより
この谷間を検出することにより原稿が縦書きか否かが検
出できることになる。
As shown in FIG. 3 and FIG. 4, the line spacing between the vertically written document and the horizontally written document is small in the character arrangement direction.
Since it becomes larger in the perpendicular direction, it can be seen that the vertical histogram 32 in FIG. 3 shows a valley representing the line spacing on the histogram, and conversely in FIG. 4 the horizontal histogram 33 shows a similar valley. Therefore, by detecting this valley from this histogram, it is possible to detect whether or not the document is written vertically.

【0026】ここで、谷間の検出原理を図5を用いて説
明する。同図(A)は谷間が存在しない場合で、同図
(B)は谷間が存在する場合を示している。ヒストグラ
ムの最大値を示すライン41A、及び41Bと最大値の
半分の値を示すライン42A,42Bが示されている。
ライン42A、42Bとヒストグラムの交点を求めると
図の黒丸のようになり、同図(A)では2個の黒丸43
しか存在しないが、同図(B)では44のように8個の
黒丸が存在するのがわかる。すなわち谷間が存在する場
合には行の数の2倍の交点が存在すると考えることがで
きる。従って3行以上の行があるか否かを谷間の有りな
しの基準とすれば、交点の数が6以上の場合行間の谷間
が存在するという判定が可能となる。このような処理を
することにより図3の場合は縦方向ヒストグラム32で
谷間が検出され、図4では縦方向ヒストグラム33で谷
間が検出される。従って、図3は縦書き原稿、図4は横
書き原稿という判定が可能となる。この処理を行ってい
るのが図7におけるステップS3である。
Here, the principle of valley detection will be described with reference to FIG. The figure (A) shows the case where the valley does not exist, and the figure (B) shows the case where the valley exists. Lines 41A and 41B showing the maximum value of the histogram and lines 42A and 42B showing half the maximum value are shown.
When the intersection of the lines 42A and 42B and the histogram is obtained, it becomes like a black circle in the figure, and in the figure (A), two black circles 43
However, it can be seen that there are 8 black circles like 44 in FIG. That is, when a valley exists, it can be considered that there are twice as many intersections as the number of rows. Therefore, if the number of intersections is 6 or more, it is possible to determine that a valley between rows exists if the presence or absence of a valley is used as a criterion for determining whether there are three or more rows. By performing such processing, a valley is detected in the vertical histogram 32 in the case of FIG. 3, and a valley is detected in the vertical histogram 33 in FIG. Therefore, it is possible to determine that the document is vertically written in FIG. 3 and the document is horizontally written in FIG. This processing is performed in step S3 in FIG.

【0027】次にCPU14は文字の向きを判定する
(ステップS4)。これは、以上の処理だけによると、
たとえば図6のような原稿も縦書きと判定されてしまた
めのもので、日本語特有の配置として文字の向きと同じ
方向に行が続いているという特徴を検知するためでもあ
る。
Next, the CPU 14 determines the orientation of the character (step S4). According to the above process,
For example, a manuscript as shown in FIG. 6 is also determined to be vertically written, and it is also for detecting the characteristic that lines continue in the same direction as the direction of characters as an arrangement peculiar to Japanese.

【0028】CPU14は画像データ中から1文字分の
領域を切り出し、その文字パターンと、あらかじめメモ
リ部19に記憶されている文字認識辞書を用いて類似度
を周知の文字認識方法を用いて算出し文字画像の認識を
行う(図7)。このとき参照すべき文字パターン辞書
(テンプレート)として通常の向きのもの62、及びそ
れを90度、180度、270度回転させた3通りのパ
ターン63、64、65を基準辞書パターンから生成
し、それぞれに対する原稿文字61との類似度を求め
る。0度(基準)または180度のパターンに対する類
似度が最も大きい場合は原稿文書は縦書きであり90
度、270度に対する類似度の方が大きければ原稿文書
は図5のような横書き文字である、と判定することがで
きる。180度になるのは縦書き原稿が上下さかさまに
なっている場合に相当する。以上まとめると次の表のよ
うになる。
The CPU 14 cuts out an area for one character from the image data, calculates the degree of similarity by using a known character recognition method using the character pattern and the character recognition dictionary stored in the memory unit 19 in advance. The character image is recognized (FIG. 7). At this time, a character pattern dictionary (template) to be referred to has a normal orientation 62, and three patterns 63, 64, and 65 obtained by rotating it by 90 degrees, 180 degrees, and 270 degrees are generated from the reference dictionary pattern, The degree of similarity with the original character 61 for each is obtained. When the degree of similarity to the 0 degree (reference) or 180 degree pattern is the highest, the original document is written vertically and
If the degree of similarity to degrees 270 and 270 degrees is greater, it can be determined that the original document has horizontal writing characters as shown in FIG. The angle of 180 degrees corresponds to the case where the vertically written document is upside down. The above is summarized in the following table.

【0029】[0029]

【表1】 [Table 1]

【0030】すなわち上記表中の“縦書き(図3)”の
条件が満足されれば、日本語文書は縦書き原稿、すなわ
ち、図2(A)の右開きと判定されるわけである。
That is, if the condition of "vertical writing (FIG. 3)" in the above table is satisfied, it is determined that the Japanese document is a vertically writing original, that is, the right-opening of FIG. 2 (A).

【0031】以上の判定が終了したら、CPU14はス
テップS5に進み、載置された書籍の開き方向を確認さ
せるメッセージを操作部18の表示部に表示させる、こ
のとき、同時に、スタートキーの押下を指示する旨のメ
ッセージも表示する。
When the above determination is completed, the CPU 14 proceeds to step S5 to display a message for confirming the opening direction of the placed book on the display section of the operation section 18, and at the same time, depressing the start key. Also displays a message instructing you to do so.

【0032】ここで、操作者が操作部18上のスタート
キーを押下した場合には、処理はステップS7に進み、
先に決定した開き方向に従ってステップS8或いはステ
ップS9の複写処理のいずれかを行なわせる。
If the operator depresses the start key on the operation unit 18, the process proceeds to step S7,
Either the copying process of step S8 or step S9 is performed according to the previously determined opening direction.

【0033】例えば右開きの書籍であると判定した場合
には、図9に示す如く、原稿読み取り面(プラテンガラ
ス)のAの部分のページ番号が、Bの部分のページ番号
より1つ少ないことになる(図2(A)をひっくり返し
ている)。従って、ステップS8では、走査コントロー
ラ17を制御して、先ずAの部分を複写処理し、次い
で、Bの部分を複写処理を行う。
For example, when it is determined that the book is a right-opening book, as shown in FIG. 9, the page number of the portion A of the document reading surface (platen glass) is one less than the page number of the portion B. Becomes (upside down FIG. 2 (A)). Therefore, in step S8, the scanning controller 17 is controlled to copy the portion A first, and then copy the portion B.

【0034】一方、左開きの書籍であると判定した場合
には、図9のBの部分のページ番号が、Aの部分のペー
ジ番号より1つ小さいことになる。従って、ステップS
9では、先ず、Bの部分の複写処理を行って、それから
Aの部分の複写処理を行うことになる。
On the other hand, if it is determined that the book is a left-opening book, the page number of the portion B in FIG. 9 is one less than the page number of the portion A. Therefore, step S
In 9, the copy processing of the B portion is first performed, and then the copy processing of the A portion is performed.

【0035】いずれにせよ、1つの複写処理(ステップ
S8、又はステップS9)では、2枚分の複写処理が行
われ、この処理を終えるとステップS5に戻り、次のペ
ージの複写を行なわせるために、ページをめくることを
促すメッセージを表示し、スタートキーの押下を待つ。
In any case, in one copy process (step S8 or step S9), the copy process for two sheets is performed, and when this process is completed, the process returns to step S5 to copy the next page. A message prompting you to turn the page is displayed on the screen and waits for the start key to be pressed.

【0036】こうして、順次、複写処理が行われていく
が、この途中で、操作部18に設けられたキャンセルキ
ーの押下を検出した場合には、ステップS6からステッ
プS10に移り、ここでの判断が“yes”となるの
で、上記書籍複写モードを終了する。
In this way, the copying process is sequentially carried out. If the pressing of the cancel key provided on the operation unit 18 is detected in the middle of this process, the process proceeds from step S6 to step S10, and the judgment here is made. Is "yes", the book copy mode is terminated.

【0037】尚、上記説明によれば、操作者が書籍のペ
ージを正しく開いて順次コピー操作を行う限りは、左開
き右開きの書籍にかかわらず、複写出力される順序は、
ページ番号の若い方から順番に出力される。すなわち、
例えばページ2、1、4、3、6、5…と偶数と奇数ペ
ージでその順序が逆に出力されることはなくなる。但
し、複写による記録面が下になるように出力できる装置
の場合には問題はないが、記録面が上を向いている場合
には、一番上の複写紙は、書籍の複写しようとする範囲
の最後のページになるので、最終的には並べ替えを必要
とする。しかし、この並べ替えは、単調な並べ替えで済
む。
According to the above description, as long as the operator correctly opens the pages of the book and sequentially performs the copy operation, the order of copying and outputting is the same regardless of whether the book is left-opened or right-opened.
The pages are output in order from the smallest page number. That is,
For example, pages 2, 1, 4, 3, 6, 5, ... And even and odd pages will not be output in the reverse order. However, there is no problem in the case of an apparatus capable of outputting so that the recording surface by copying becomes the bottom, but when the recording surface faces upward, the top copy paper tries to copy the book. It will be the last page of the range and will eventually need to be sorted. However, this rearrangement may be a monotonous rearrangement.

【0038】また、例えば、書籍のあるページ範囲を複
写する場合に、複写範囲の最後のページから遡る方向に
コピー作業すると、上記の問題点が解決される。この場
合、左開き或いは右開きの書籍の複写処理は上記実施形
態とは逆にすることが必要になる。
Further, for example, when copying a page range of a book, if the copying operation is performed in the direction going back from the last page of the copy range, the above problems can be solved. In this case, the copy process of the left-opened or right-opened book needs to be reversed from the above embodiment.

【0039】[他の実施形態]以上の説明では原稿画像
の操作及び出力順序を制御するとしたが、原稿画像の複
数ページを、その複写対象の書籍の開方向に従って全て
画像メモリに格納し、その後で印刷する、もしくは格納
順は一定方向にし、出力時に各ページの出力順序を判定
結果に応じて入れ換えるようにしてもよい。
[Other Embodiments] In the above description, the operations of manuscript images and the output sequence are controlled. However, a plurality of pages of manuscript images are all stored in the image memory according to the opening direction of the book to be copied, and then the pages are stored. The print order may be changed to the print order, or the storage order may be fixed, and the output order of each page may be changed according to the determination result at the time of output.

【0040】この場合、画像メモリとして多くの容量を
必要とすることになるから、画像メモリではなく、例え
ばハードディスク装置等を活用するとコストの低減が図
れる。
In this case, since a large capacity is required as the image memory, the cost can be reduced by using a hard disk device or the like instead of the image memory.

【0041】また、上記実施形態では、書籍の開き方向
を自動的に判定し、その判定結果に従って動作するもの
であったが、操作者が右開き、或いは左開きのいずれか
であることを操作部18より指示するようにしても良
い。この場合には、上記実施形態と比較して、その分の
操作者による指示を必要とするが、例えば、原稿のプレ
スキャン動作はもとより、ヒストグラム作成処理、更に
は文字認識処理も不要になる。
Further, in the above embodiment, the opening direction of the book is automatically judged and the book is operated according to the judgment result. However, the operator operates that the book is opened to the right or left. The instruction may be given from the section 18. In this case, an operator's instruction corresponding to that is required as compared with the above-described embodiment, but, for example, not only the document pre-scanning operation but also the histogram creation processing and the character recognition processing are unnecessary.

【0042】また、本発明は、ホストコンピュータ、イ
ンタフェース、プリンタ等の複数の機器から構成される
システムに適用しても、複写機等の1つの機器からなる
装置に適用しても良い。また、本発明はシステム或は装
置にプログラムを供給することによって実施される場合
にも適用できることは言うまでもない。この場合、本発
明に係るプログラムを格納した記憶媒体が本発明を構成
することになる。そして、該記憶媒体からそのプログラ
ムをシステム或は装置に読み出すことによって、そのシ
ステム或は装置が、予め定められた仕方で動作する。
The present invention may be applied to a system including a plurality of devices such as a host computer, an interface, and a printer, or may be applied to an apparatus including a single device such as a copying machine. Further, it goes without saying that the present invention can be applied to the case where it is implemented by supplying a program to a system or an apparatus. In this case, the storage medium storing the program according to the present invention constitutes the present invention. Then, by reading the program from the storage medium to the system or device, the system or device operates in a predetermined manner.

【0043】[0043]

【発明の効果】以上説明したように本発明によれば、書
籍原稿のページ連続複写において原稿のページの綴じ方
を自動的に判別してページ複写動作を設定するため、複
写された出力のページ順序を書籍のページ順に合わせる
ことができ、従来のように複写後に出力紙の順番を人手
により入れ替えたりする作業が不要となる。
As described above, according to the present invention, in continuous page copying of a book original, the page copying operation is set by automatically discriminating how to bind the pages of the original, and thus the page of the copied output is set. The order can be matched with the page order of the book, and it is not necessary to manually change the order of the output paper after copying as in the conventional case.

【0044】[0044]

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

【図1】本発明の一実施形態のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】書籍原稿の例を示す図である。FIG. 2 is a diagram showing an example of a book manuscript.

【図3】縦書き原稿と、その原稿画像の縦横のヒストグ
ラムとの関係を示す図である。
FIG. 3 is a diagram showing a relationship between a vertically written document and vertical and horizontal histograms of the document image.

【図4】横書き原稿と、その原稿画像の縦横のヒストグ
ラムとの関係を示す図である。
FIG. 4 is a diagram showing a relationship between a horizontally written original and a vertical and horizontal histogram of the original image.

【図5】実施形態におけるヒストグラムの谷間検出原理
を示す図である。
FIG. 5 is a diagram showing a principle of valley detection of a histogram in the embodiment.

【図6】横書き原稿が90度回転した状態の図である。FIG. 6 is a diagram showing a state in which a horizontally written document is rotated 90 degrees.

【図7】文字の方向検知原理を示す図である。FIG. 7 is a diagram showing the principle of character direction detection.

【図8】実施形態における書籍複写モード時の複写処理
を示すフローチャートである。
FIG. 8 is a flowchart showing copy processing in a book copy mode according to the embodiment.

【図9】複写時における原稿読み取り面に載置した書籍
の状態を示す図である。
FIG. 9 is a diagram showing a state of a book placed on a document reading surface during copying.

【図10】一般的な画像処理装置の構成例を示す図であ
る。
FIG. 10 is a diagram illustrating a configuration example of a general image processing apparatus.

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

1 リーダ部 2 プリンタ部 11 CCD 12 A/D変換部 13 シェーディング補正部 14 CPU 15 セレクタ 16 画像メモリ 17 走査コントローラ 18 操作部 19 メモリ 1 Reader Unit 2 Printer Unit 11 CCD 12 A / D Converter 13 Shading Correction Unit 14 CPU 15 Selector 16 Image Memory 17 Scan Controller 18 Operation Unit 19 Memory

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 書籍をページ単位で読み取って、可視画
像を所定の記録媒体上に記録し、出力する画像処理装置
であって、 前記書籍の画像情報に基づいて文字の並び方向を検出す
る検出手段と、 検出された文字の並び方向に基づいて書籍の開いた2ペ
ージ分の画像の前後関係を判定し、当該前後関係に基づ
く順序で前記2ページ分に対応する可視画像を記録させ
る制御手段とを備えることを特徴とする画像処理装置。
1. An image processing apparatus for reading a book page by page, recording a visible image on a predetermined recording medium, and outputting the visible image, wherein the detection is performed to detect a direction in which characters are arranged based on image information of the book. And a control means for determining the front-back relation of the images of the two opened pages of the book based on the detected arrangement direction of the characters, and recording the visible images corresponding to the two pages in the order based on the front-back relation. An image processing apparatus comprising:
【請求項2】 前記検出手段は、 前記書籍の画像をプレスキャンして読み取る読み取り手
段と、 読み取った原稿画像の水平及び垂直方向の画素のヒスト
グラムを作成する作成手段と、 該作成手段で作成されたヒストグラムに基づいて縦書き
か横書きかを判定する第1の判定手段と、 読み取った原稿画像中の文字の向きを判定する第2の判
定手段とを含み、 前記第1、第2の判定手段の判定結果に基づいて文字の
並び方向を検出することを特徴とする請求項第1項に記
載の画像処理装置。
2. The detecting means includes a reading means for prescanning the image of the book, a creating means for creating horizontal and vertical pixel histograms of the read original image, and the creating means. The first and second determining means, including first determining means for determining vertical writing or horizontal writing based on the histogram, and second determining means for determining the orientation of characters in the read original image. The image processing apparatus according to claim 1, wherein the arrangement direction of the characters is detected based on the determination result of.
【請求項3】 書籍をページ単位で読み取って、可視画
像を所定の記録媒体上に記録し、出力する画像処理方法
であって、 前記書籍の画像情報に基づいて文字の並び方向を検出す
る検出工程と、 検出された文字の並び方向に基づいて書籍の開いた2ペ
ージ分の画像の前後関係を判定し、当該前後関係に基づ
く順序で前記2ページ分に対応する可視画像を記録させ
る制御工程とを備えることを特徴とする画像処理方法。
3. An image processing method for reading a book page by page, recording a visible image on a predetermined recording medium, and outputting the visible image, wherein detection is performed to detect a direction in which characters are arranged based on image information of the book. And a control step of determining the front-back relation of the images of the two opened pages of the book based on the detected arrangement direction of the characters and recording the visible images corresponding to the two pages in the order based on the front-rear relation. An image processing method comprising:
【請求項4】 前記検出工程は、 前記書籍の画像をプレスキャンして読み取る読み取り工
程と、 読み取った原稿画像の水平及び垂直方向の画素のヒスト
グラムを作成する作成工程と、 該作成工程で作成されたヒストグラムに基づいて縦書き
か横書きかを判定する第1の判定工程と、 読み取った原稿画像中の文字の向きを判定する第2の判
定工程とを含み、 前記第1、第2の判定工程の判定結果に基づいて文字の
並び方向を検出することを特徴とする請求項第3項に記
載の画像処理方法。
4. The detecting step includes a reading step of prescanning an image of the book, a creating step of creating a histogram of horizontal and vertical pixels of the read original image, and a creating step of the creating step. The first and second determination steps, which include a first determination step of determining vertical writing or horizontal writing based on the histogram, and a second determination step of determining the orientation of characters in the read original image. The image processing method according to claim 3, wherein the direction in which the characters are arranged is detected based on the determination result.
JP24016895A 1995-09-19 1995-09-19 Picture processor and its method Withdrawn JPH0983691A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP24016895A JPH0983691A (en) 1995-09-19 1995-09-19 Picture processor and its method
CNB961128615A CN1158840C (en) 1995-09-19 1996-09-19 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24016895A JPH0983691A (en) 1995-09-19 1995-09-19 Picture processor and its method

Publications (1)

Publication Number Publication Date
JPH0983691A true JPH0983691A (en) 1997-03-28

Family

ID=17055506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24016895A Withdrawn JPH0983691A (en) 1995-09-19 1995-09-19 Picture processor and its method

Country Status (2)

Country Link
JP (1) JPH0983691A (en)
CN (1) CN1158840C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6633406B1 (en) 1998-07-31 2003-10-14 Minolta Co., Ltd. Image processing apparatus and image forming apparatus which recognize orientation of document image
US6798905B1 (en) 1998-07-10 2004-09-28 Minolta Co., Ltd. Document orientation recognizing device which recognizes orientation of document image
JP2010072887A (en) * 2008-09-17 2010-04-02 Fuji Xerox Co Ltd Document processor, printing system, document processing method, and program
US8068261B2 (en) 2006-07-24 2011-11-29 Ricoh Company, Ltd. Image reading apparatus, image reading method, and image reading program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4428855B2 (en) * 2000-12-12 2010-03-10 キヤノン株式会社 Image forming apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6798905B1 (en) 1998-07-10 2004-09-28 Minolta Co., Ltd. Document orientation recognizing device which recognizes orientation of document image
US6633406B1 (en) 1998-07-31 2003-10-14 Minolta Co., Ltd. Image processing apparatus and image forming apparatus which recognize orientation of document image
US8068261B2 (en) 2006-07-24 2011-11-29 Ricoh Company, Ltd. Image reading apparatus, image reading method, and image reading program
JP2010072887A (en) * 2008-09-17 2010-04-02 Fuji Xerox Co Ltd Document processor, printing system, document processing method, and program
JP4626693B2 (en) * 2008-09-17 2011-02-09 富士ゼロックス株式会社 Document processing apparatus, printing system, document processing method and program
US8269997B2 (en) 2008-09-17 2012-09-18 Fuji Xerox Co., Ltd. Document processing apparatus, printing system, document processing method, computer-readable medium and computer data signal

Also Published As

Publication number Publication date
CN1158840C (en) 2004-07-21
CN1157940A (en) 1997-08-27

Similar Documents

Publication Publication Date Title
JP3050007B2 (en) Image reading apparatus and image forming apparatus having the same
US6249353B1 (en) Image editing apparatus
EP0476964B1 (en) Method and apparatus for scanning a signature document
JPH07221969A (en) Image forming device
JPH07152865A (en) Device and method for recognizing information
JP3720502B2 (en) Image processing apparatus, image processing method in the apparatus, and computer-readable storage medium
EP0725528B1 (en) Copier apparatus and method with flexible source document entry scanning in an image overlay mode
JP3902840B2 (en) Image processing apparatus and image processing method
JPH0983691A (en) Picture processor and its method
JPH08234629A (en) Apparatus and method for copying executing flexible originaldocument input and scanning
JPH10191018A (en) Image processing method and device
JPH10117281A (en) Image-forming method and device
JPH08227192A (en) Apparatus and method for copying with improved restoration from paper jam
JPH11213089A (en) Image processor and its method
JP3684050B2 (en) Image processing method and apparatus
JP3486470B2 (en) Image forming apparatus and method
JP3333250B2 (en) Image comparison device
JPH09307675A (en) Image processing unit and image processing method for image processing unit
JPH09179966A (en) Picture filing device
JPH11341252A (en) Image formation device, image formation method and storage medium
JPH10171312A (en) Image processor
JPH10307460A (en) Device and method for forming image and storing medium
JP2003141444A (en) Image processing device, control method of image processing device, program and storage medium
JPH11103381A (en) Method and device for forming image
JPH1115224A (en) Copying device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20021203