JP3433625B2 - Image reading device - Google Patents

Image reading device

Info

Publication number
JP3433625B2
JP3433625B2 JP30624996A JP30624996A JP3433625B2 JP 3433625 B2 JP3433625 B2 JP 3433625B2 JP 30624996 A JP30624996 A JP 30624996A JP 30624996 A JP30624996 A JP 30624996A JP 3433625 B2 JP3433625 B2 JP 3433625B2
Authority
JP
Japan
Prior art keywords
document
image
original
spread
size
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.)
Expired - Fee Related
Application number
JP30624996A
Other languages
Japanese (ja)
Other versions
JPH10150534A (en
Inventor
博司 大塚
明徳 吉田
利通 岩井
賢一 守田
真 新阜
Original Assignee
ミノルタ株式会社
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 ミノルタ株式会社 filed Critical ミノルタ株式会社
Priority to JP30624996A priority Critical patent/JP3433625B2/en
Publication of JPH10150534A publication Critical patent/JPH10150534A/en
Application granted granted Critical
Publication of JP3433625B2 publication Critical patent/JP3433625B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Of Exposure In Printing And Copying (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、書籍、雑誌、書類
などの綴じられた原稿の読取りに好適な画像読取り装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus suitable for reading bound originals such as books, magazines and documents.

【0002】[0002]

【従来の技術】ブックスキャナと呼称される画像読取り
装置が商品化されている。この装置では、原稿台の上方
に撮像系が配置され、原稿台と撮像系との間に高さ数十
cmの開放空間が存在する。書籍や雑誌などの製本形態
の原稿(これを「ブック原稿」と呼称する)の読取りに
際して、ユーザーは原稿台上にブック原稿を見開いた状
態で上向きにセットする。スタートキーのオンに呼応し
て読取り対象面(原稿面)である見開き面の走査が開始
され、読み取られた画像が逐次に外部装置へ出力され
る。外部装置がプリンタであれば、リアルタイムで複写
画像が形成される。ブックスキャナを用いると、原稿台
上でページをめくることができるので、多数ページの読
取り作業の能率を高めることができる。
2. Description of the Related Art An image reading device called a book scanner has been commercialized. In this apparatus, an image pickup system is arranged above the document table, and an open space having a height of several tens cm exists between the document table and the image pickup system. When reading a book-shaped original such as a book or a magazine (referred to as a "book original"), the user sets the book original on the original table in an open state. In response to the start key being turned on, scanning of the spread surface, which is the surface to be read (original surface), is started, and the read images are sequentially output to an external device. If the external device is a printer, a copy image is formed in real time. When the book scanner is used, the pages can be turned on the document table, so that the efficiency of reading a large number of pages can be improved.

【0003】シート原稿と違ってブック原稿の原稿面
(読取り対象面)は湾曲している。つまり、左右方向
(見開き方向)の位置によって原稿面の高さが異なる。
このため、読取り画像にいわゆるピントボケや湾曲状態
に応じた歪みが生じる。ブックスキャナは湾曲状態(原
稿面の高さ分布)を測定し、その結果に応じてピント調
整及び歪み補正を行う。外部装置へはシート原稿を読み
取った場合と同様の画質の読取り画像が出力される。原
稿面の湾曲状態の測定方法としては、書籍における「天
(head)」と呼称される部分である端面の形状を判別す
る方法、すなわち端面を撮影して見開き方向の各位置で
の原稿の高さを算出する方法(特開平5−161002
号)、及び3次元計測で用いられているスリット光投影
法(特開平5−161002号)がある。
Unlike a sheet document, the document surface of the book document (the surface to be read) is curved. That is, the height of the document surface varies depending on the position in the left-right direction (spread direction).
As a result, the read image is distorted according to what is called out-of-focus or curved state. The book scanner measures the curved state (height distribution of the document surface), and performs focus adjustment and distortion correction according to the result. A read image having the same image quality as when reading a sheet document is output to the external device. As a method of measuring the curved state of the document surface, a method of determining the shape of the end face, which is a portion called "head" in a book, that is, the height of the document at each position in the spread direction by photographing the end face is used. Of calculating the height (Japanese Patent Laid-Open No. 5-161002)
No.), and the slit light projection method (Japanese Patent Laid-Open No. 5-161002) used in three-dimensional measurement.

【0004】[0004]

【発明が解決しようとする課題】ブックスキャナは、ス
テープルや止め金具などで用紙の片側(横書きでは左
側)を綴じた書類の読取りにも有用である。書籍の場合
と同様に原稿台上でページをめくることができる。一般
のオフィスにおいて、書類の読取りの目的は書類全体の
複製であることが多い。つまり、書類の各ページを複写
し、原本と同様に綴じた書類を作成する作業が頻繁に行
われる。したがって、例えばA4サイズの用紙を綴じた
書類の読取りサイズとしては、見開きのA3サイズでは
なく、原本の用紙サイズであるA4サイズが好ましい。
The book scanner is also useful for reading a document in which one side (the left side in the case of horizontal writing) of paper is bound with staples or fasteners. Pages can be turned over on the manuscript table as in the case of a book. In a general office, the purpose of reading a document is often to reproduce the entire document. That is, the work of copying each page of a document and creating a bound document similar to the original is frequently performed. Therefore, for example, as the reading size of a document in which A4 size sheets are bound, not the spread A3 size but the A4 size which is the original sheet size is preferable.

【0005】従来のブックスキャナにおいては、見開き
の左右のページを別々に出力するいわゆるブック分割モ
ードが設けられている。ただし、左右のページを1ペー
ジ分の画像として扱う通常のモード(シート原稿モー
ド)、又はブック分割モードをユーザーが指定する必要
があった。
The conventional book scanner is provided with a so-called book division mode for separately outputting the left and right pages of a spread. However, the user has to specify the normal mode (sheet original mode) in which the left and right pages are treated as one page image or the book division mode.

【0006】本発明は、見開き原稿の読取りの操作の手
間を軽減し、使い易くすることを目的としている。
It is an object of the present invention to reduce the time and effort required to read a two-page spread original and to make it easier to use.

【0007】[0007]

【課題を解決するための手段】請求項1の発明の装置
は、原稿を支持する原稿台と、原稿画像を電気信号に変
換する撮像系と、原稿画像を前記撮像系の撮像面に投影
する光学系とを有し、前記原稿台と前記光学系との間に
原稿のセッティングのための開放空間が存在する構造の
画像読取り装置であって、前記原稿台に置かれた原稿の
原稿面の見開き方向の高さ分布を測定する測定手段と、
前記原稿台に見開きにして置かれた、規定サイズの用紙
が用いられた見開き原稿の、上面の見開き方向の沿面距
離を、当該原稿の原稿面の高さ分布に基づいて算出する
手段と、検出された沿面距離と当該沿面距離に最も近い
幅の規定サイズの用紙の当該幅とを比較することによ
り、記見開き原稿が、見開きサイズが見開かないとき
のサイズの2倍より小さい見開き原稿である否かを判別
する手段と、前記見開き原稿の読取り画像の出力サイズ
として、見開きサイズが見開かないときのサイズの2倍
より小さい見開き原稿と判別された場合は、当該見開き
原稿の見開きサイズを見開き方向に2等分したサイズに
最も近い規定サイズを、そうでない場合は見開きサイズ
に最も近い規定サイズを、自動設定する手段とを有して
いる。
According to another aspect of the present invention, there is provided an apparatus for supporting an original, an image pickup system for converting an image of the original into an electric signal, and an image of the original is projected on an image pickup surface of the image pickup system. An image reading apparatus having an optical system, wherein an open space for setting a document exists between the document table and the optical system, the image reading apparatus comprising:
Measuring means for measuring the height distribution in the spread direction of the document surface,
Paper of specified size placed on the platen in a double-page spread
Calculate the creepage distance of the double- page spread original in the double-page spread direction based on the height distribution of the original surface of the original.
Means, detected creepage distance and closest to the creepage distance
By comparing the width of the specified size paper with that width
Ri, before Symbol viewed open document, and means for determining whether or not a small Book Original than twice the size when spread size is not wide open, as the output size of the spread original scanned image, not wide open is spread size If it is determined that the spread document is smaller than twice the size of the original size, the specified size that is closest to the spread size of the spread document is divided into two equal parts in the spread direction, otherwise, the specified size that is closest to the spread size. And means for automatically setting.

【0008】請求項2の発明の装置は、原稿を支持する
原稿台と、原稿画像を電気信号に変換する撮像系と、原
稿画像を前記撮像系の撮像面に投影する光学系とを有
し、前記原稿台と前記光学系との間に原稿のセッティン
グのための開放空間が存在する構造の画像読取り装置で
あって、前記原稿台に置かれた原稿の原稿面の見開き方
向の高さ分布を測定する測定手段と、前記高さ分布によ
り得られる前記原稿台に置かれた原稿の原稿面の湾曲状
態に基づいて当該原稿が見開き原稿であるか否かを判別
する手段と、前記原稿台に置かれた原稿の読取り画像か
らステープル像を抽出することにより当該原稿がステー
プルで綴じられたステープル原稿であるか否かを判別
し、当該原稿がステープル原稿である場合にそれを示す
フラグをセットする手段と、前記原稿台に置かれた原稿
の読取り画像の出力サイズとして、前記フラグがセット
されている状態において見開き原稿であると判別された
場合は当該原稿の見開きサイズを見開き方向に2等分し
たサイズに最も近い規定サイズを、そうでない場合は見
開きサイズに最も近い規定サイズを、自動設定する手段
とを有している。
An apparatus according to a second aspect of the present invention includes a document table for supporting a document, an image pickup system for converting a document image into an electric signal, and an optical system for projecting the document image on an image pickup surface of the image pickup system. An image reading apparatus having a structure in which an open space for setting a document exists between the document table and the optical system, and how to open a document surface of a document placed on the document table
Measuring means for measuring the height distribution in the
Ri means for discriminating whether the original is a spread manuscript on the basis of the curved state of the document surface of the document the placed on a platen obtained, staples from read- image of a document placed on the document table Determines whether or not the original is a stapled stapled original by extracting the image
Indicates if the document is a staple document
A means for setting a flag and a document placed on the document table
The flag is set as the output size of the scanned image of
It is determined that the document is a two-page spread document
In this case, there is provided means for automatically setting the specified size that is closest to the size of the two-page spread of the document in the two-direction spread direction, and otherwise set the specified size that is closest to the two-page spread size.

【0009】[0009]

【発明の実施の形態】DETAILED DESCRIPTION OF THE INVENTION

〔システム構成〕図1は本発明に係る複写システムCS
の構成図である。
[System Configuration] FIG. 1 shows a copying system CS according to the present invention.
It is a block diagram of.

【0010】複写システムCSは、書籍や書類の読取り
に好適なブックスキャナ1、ケーブル4を介してブック
スキャナ1と接続されたプリンタ2、及びプリント後の
用紙をステープルで綴じるステープラ3から構成されて
いる。プリンタ2は、ページプリンタであり、用紙の表
裏にそれぞれ画像をプリントするための用紙反転機構2
50を備えている。ステープラ3は、プリンタ2に取り
付けられている。
The copying system CS comprises a book scanner 1 suitable for reading books and documents, a printer 2 connected to the book scanner 1 via a cable 4, and a stapler 3 for binding printed sheets with staples. There is. The printer 2 is a page printer, and a paper reversing mechanism 2 for printing images on the front and back sides of the paper, respectively.
Equipped with 50. The stapler 3 is attached to the printer 2.

【0011】図2はブックスキャナ1の外観を示す斜視
図、図3はブックスキャナ1による読取りの模式図、図
4は見開き1点止め原稿DS1sがセッティングされた
状態を示す図である。
FIG. 2 is a perspective view showing the external appearance of the book scanner 1, FIG. 3 is a schematic view of reading by the book scanner 1, and FIG. 4 is a view showing a state in which a double-page spread single-point stop original DS1s is set.

【0012】ブックスキャナ1は、電源回路などを収納
する本体ハウジング10、原稿を支持する暗色の原稿台
20、原稿画像を電気信号に変換する撮像ユニット3
0、及び原稿の照明を担うランプユニット40を有して
いる。原稿台20は本体ハウジング10の前面側にが配
置されている。本体ハウジング10において、前面の上
端側に操作パネルOPが設けられており、操作パネルO
Pに向かって右側の側面にメインスイッチ51が設けら
れている。操作パネルOPには、液晶ディスプレイ91
とともに、動作モードや読取り条件(出力用紙サイズ、
倍率、出力枚数、濃度など)を指定するためのスイッチ
が配置されている。撮像ユニット30は、原稿台20の
上方に配置され、本体ハウジング10の上面から上方に
延びた支柱12によって片持ち形式で支持されている。
ランプユニット40は、支柱12における撮像ユニット
30の下面側の位置に固定されている。原稿台20と撮
像ユニット30との間の空間80は装置外の自由空間に
対して開放されており、ブック原稿DBのセッティング
に十分な広さを有している。原稿台20と撮像ユニット
30の下面との距離は30cm以上である。原稿台20
の前面側にはアームレスト25が設けられている。
The book scanner 1 includes a main body housing 10 for accommodating a power supply circuit, a dark-colored document stand 20 for supporting a document, and an image pickup unit 3 for converting a document image into an electric signal.
0 and a lamp unit 40 for illuminating the original. The document table 20 is arranged on the front side of the main body housing 10. An operation panel OP is provided on the upper end of the front surface of the main body housing 10, and the operation panel O
A main switch 51 is provided on the right side surface facing P. The operation panel OP has a liquid crystal display 91.
Along with the operation mode and reading conditions (output paper size,
A switch for specifying the magnification, the number of output sheets, the density, etc. is arranged. The image pickup unit 30 is arranged above the document table 20 and is supported in a cantilevered manner by a column 12 extending upward from the upper surface of the main body housing 10.
The lamp unit 40 is fixed to the column 12 at a position on the lower surface side of the imaging unit 30. A space 80 between the document table 20 and the image pickup unit 30 is open to a free space outside the apparatus, and has a sufficient space for setting a book document DB. The distance between the document table 20 and the lower surface of the imaging unit 30 is 30 cm or more. Platen 20
An armrest 25 is provided on the front side of the.

【0013】原稿台20の上面には、各種の原稿の読取
り対象面(原稿面)S1の湾曲状態を測定するための投
影ユニット18が配置されている。投影ユニット18
は、原稿台20の後方側の端縁に沿って延びる投影板1
8aと、原稿台20の右半領域内で前後方向に延びる投
影板18bとを有している。各投影板18a,18bの
表面は光沢面であり、原稿台20の上面に対する45°
の傾斜面となっている。図2の向きにブック原稿DBが
セッティングされた場合、投影板18aにブック原稿D
Bにおける見開き方向と直交する方向の片側の端面S3
が写り、投影板18bに見開き方向の片側の端面(これ
を側面と呼称する)S2が写る。そして、その状態の投
影板18a,18bが原稿画像とともに撮影される。
A projection unit 18 is arranged on the upper surface of the original table 20 for measuring the curved state of the reading target surface (original surface) S1 of various originals. Projection unit 18
Is a projection plate 1 extending along the rear edge of the document table 20.
8a and a projection plate 18b extending in the front-rear direction in the right half area of the document table 20. The surface of each projection plate 18a, 18b is a glossy surface, and is 45 ° with respect to the upper surface of the document table 20.
It is an inclined surface. When the book document DB is set in the direction shown in FIG. 2, the book document D is displayed on the projection plate 18a.
One end surface S3 in the direction orthogonal to the spread direction in B
Appears on the projection plate 18b, and one end face in the two-way spread direction (this is referred to as a side face) S2 appears. Then, the projection plates 18a and 18b in that state are photographed together with the original image.

【0014】図2において、撮像ユニット30は、CC
Dアレイからなるラインセンサ31、結像レンズ32、
及びミラー33を有している。ミラー33と結像レンズ
32とからなる光学系OSによって、原稿画像がライン
センサ31の受光面に投影される。結像レンズ32は、
前後方向に移動可能に設けられており、AF機構(レン
ズ駆動部)132によって位置決めされる。ラインセン
サ31は、後述の副走査機構の可動体に取付けられてお
り、CCD素子の配列方向を上下方向に保った状態で左
右方向(副走査方向)M2に沿って平行移動をする。こ
の平行移動によって2次元の原稿画像の撮像が行われ
る。つまり、ブックスキャナ1においては、ラインセン
サ31の移動によって2次元の撮像面が形成されること
になる。ラインセンサ31に代えてエリアセンサを用い
た場合にはその受光面が撮像面になる。原稿画像の主走
査方向は、原稿台20上では前後方向であり、撮像面上
では上下方向である。本実施形態では、撮像ユニット3
0と上述の投影ユニット18とによって原稿面S1の湾
曲状態を測定するための撮影手段が構成されている。撮
像ユニット30を湾曲状態の測定に用いることにより、
構成の簡略化が図られている。
In FIG. 2, the image pickup unit 30 has a CC
A line sensor 31 formed of a D array, an imaging lens 32,
And a mirror 33. An original image is projected onto the light receiving surface of the line sensor 31 by the optical system OS including the mirror 33 and the imaging lens 32. The imaging lens 32 is
It is provided so as to be movable in the front-rear direction, and is positioned by an AF mechanism (lens drive unit) 132. The line sensor 31 is attached to a movable body of a sub-scanning mechanism, which will be described later, and moves in parallel along the left-right direction (sub-scanning direction) M2 while keeping the arrangement direction of the CCD elements up and down. This parallel movement captures a two-dimensional original image. That is, in the book scanner 1, the movement of the line sensor 31 forms a two-dimensional image pickup surface. When an area sensor is used instead of the line sensor 31, its light receiving surface becomes the image pickup surface. The main scanning direction of the original image is the front-back direction on the original table 20 and the vertical direction on the imaging surface. In this embodiment, the imaging unit 3
0 and the above-mentioned projection unit 18 constitute a photographing means for measuring the curved state of the document surface S1. By using the imaging unit 30 to measure the curved state,
The structure is simplified.

【0015】ブック原稿DBの読取りに際して、ユーザ
ーは原稿台20の上に左右に見開いた状態で上向きに置
く。そのとき、左右のページの境界を原稿台20の左右
方向の中心と合わせるとともに、投影板18aの下端縁
にブック原稿DBを押し当てて前後方向の位置決めを行
う。投影板18aと原稿台20との境界が原稿のセッテ
ィングの基準線とされ、その基準線の中央が基準位置と
なっている。また、図4のように見開き1点止め原稿D
S1sの読取りに際して、ユーザーは原稿面S1を原稿
台20の左右方向の中央部に配置する。ここで、見開き
1点止め原稿DS1sとは、1つの隅をステープルなど
で綴じた複数の用紙からなり、少なくとも1枚の用紙が
めくられた原稿である。見開き1点止め原稿DS1sの
原稿面S1は、めくられていない最も上側の用紙の上面
である。すなわち、m(m≧2)枚の用紙のうちk(1
≦k<m)枚目までの用紙がめくられている場合の(k
+1)枚目の用紙の上面が原稿面S1である。
When reading the book document DB, the user places it on the document table 20 with the left and right sides thereof facing upward. At that time, the boundaries of the left and right pages are aligned with the center of the document table 20 in the left-right direction, and the book document DB is pressed against the lower end edge of the projection plate 18a to perform the front-back positioning. The boundary between the projection plate 18a and the document table 20 serves as a reference line for setting the document, and the center of the reference line is the reference position. In addition, as shown in FIG.
When reading S1s, the user places the document surface S1 at the center of the document table 20 in the left-right direction. Here, the double-page spread single-point stop document DS1s is a document in which at least one sheet is turned over, and is composed of a plurality of sheets with one corner bound by staples or the like. The document surface S1 of the one-page spread single-point stop document DS1s is the upper surface of the uppermost unfolded sheet. That is, of m (m ≧ 2) sheets, k (1
≦ k <m) (k when up to the ninth sheet is turned over)
The upper surface of the (+1) th sheet is the document surface S1.

【0016】図5は副走査機構131の構成図である。
副走査機構131は、電動のネジ式スライド機構であ
り、モータ311、送りネジ312、スキャナ313、
案内レール314などから構成されている。ラインセン
サ31はスキャナ313に取り付けられている。スキャ
ナ313の位置を検出するため、移動方向M2の一端側
及び他端側に位置センサとしてフォトインタラプタS3
11,S312が配置され、スキャナ313に遮光板3
15が取り付けられている。
FIG. 5 is a block diagram of the sub-scanning mechanism 131.
The sub-scanning mechanism 131 is an electric screw type slide mechanism, and includes a motor 311, a feed screw 312, a scanner 313,
It is composed of a guide rail 314 and the like. The line sensor 31 is attached to the scanner 313. In order to detect the position of the scanner 313, the photo interrupter S3 is provided as a position sensor on one end side and the other end side in the moving direction M2.
11, S312 are arranged, and the light shield plate 3 is attached to the scanner 313.
15 is attached.

【0017】図6はAF機構132の構成図である。A
F機構132は、電動のカム式スライド機構であり、モ
ータ321、円筒状カム322、リング状スライダ32
3、案内レール324、フォロワ325などから構成さ
れている。カム322の回転に伴ってフォロワ325を
介してカム322と係合するスライダ323が平行移動
をする。結像レンズ32はスライダ323に取り付けら
れている。スライダ323の位置に対応するカム322
の回転角度位置を検出するため、カム322の近傍に位
置センサとしてフォトインタラプタS321,S322
が配置され、カム322に遮光板326が取り付けられ
ている。 〔原稿の種類〕図7は原稿の種類の表示形態の一例を示
す図である。
FIG. 6 is a block diagram of the AF mechanism 132. A
The F mechanism 132 is an electric cam type slide mechanism, and includes a motor 321, a cylindrical cam 322, and a ring slider 32.
3, a guide rail 324, a follower 325, and the like. As the cam 322 rotates, the slider 323 engaged with the cam 322 via the follower 325 moves in parallel. The imaging lens 32 is attached to the slider 323. Cam 322 corresponding to the position of slider 323
Of the photo interrupters S321 and S322 as position sensors near the cam 322 in order to detect the rotational angle position of the cam.
Are arranged, and the light shielding plate 326 is attached to the cam 322. [Type of Original] FIG. 7 is a diagram showing an example of a display form of the type of original.

【0018】ブックスキャナ1は、セッティングされた
原稿の種類を判別し、種類に応じた読取り動作を行う機
能を有している。ブックスキャナ1が判別する種類は表
1のとおりである。なお、表1は各種類に対応したフラ
グ状態をも示している。
The book scanner 1 has a function of discriminating the type of the set original and performing a reading operation according to the type. The types that the book scanner 1 discriminates are as shown in Table 1. Table 1 also shows flag states corresponding to each type.

【0019】[0019]

【表1】 [Table 1]

【0020】表1のように原稿はノンステープル原稿と
ステープル原稿とに大別される。ステープルに代表され
る簡易綴じ用の部材で綴じられたドキュメントがステー
プル原稿であり、ステープル原稿以外の原稿がノンステ
ープル原稿である。ノンステープル原稿は、書籍や雑誌
などの本格的に製本されたドキュメントである“ブック
原稿”と、単票のドキュメントである“シート原稿”と
に分類される。一方、ステープル原稿は、用紙の1辺
(一般に左辺)に沿って離れた複数箇所(一般に2箇
所)で綴じられた“2点止め原稿”と、用紙の1つの隅
(一般に左上)で綴じられた“1点止め原稿”とに分類
される。さらに、2点止め原稿及び1点止め原稿のそれ
ぞれが、めくられていない閉じた状態であるか、少なく
とも1枚の用紙がめくられた見開き状態であるかの2種
類に分類される。つまり、ブックスキャナ1は、ブッ
ク原稿、シート原稿、閉じた2点止め原稿、見開
き2点止め原稿、閉じた1点止め原稿、見開き1点
止め原稿の6種の原稿を判別する。なお、本実施形態に
おいては、ノートブック(大学ノートなど)のように外
見上はノンステープル原稿であるが、書籍と比べて綴じ
代の幅が広い見開き原稿(これを特殊ブック原稿と呼称
する)の場合には見開き2点止め原稿と同様の読取り動
作が行われる。
As shown in Table 1, originals are roughly classified into non-staple originals and staple originals. Documents bound by a member for simple binding represented by staples are staple originals, and originals other than staple originals are non-staple originals. Non-staple manuscripts are classified into "book manuscripts" that are full-fledged documents such as books and magazines, and "sheet manuscripts" that are single-cut documents. On the other hand, staple originals are bound at a plurality of locations (generally two locations) that are separated along one side (generally the left side) of the paper, and at one corner (generally the upper left) of the paper. It is also classified as a "single-point stop original". Further, each of the two-point stopped original and the one-point stopped original is classified into two types, that is, a closed state where no sheets are turned over or a spread state where at least one sheet is turned over. That is, the book scanner 1 discriminates between six types of originals: a book original, a sheet original, a closed two-point stop original, a two-page spread stop original, a closed one-point stop original, and a one-page spread stop original. Note that in the present embodiment, although it is a non-staple document in appearance such as a notebook (university notebook, etc.), it is a spread document having a wider binding margin than a book (this is referred to as a special book document). In this case, the reading operation similar to that of the two-page spread two-page stop original is performed.

【0021】操作パネルOPの液晶ディスプレイ91に
は、6種の原稿のそれぞれを表す図形Z1〜Z6が表示
され、種類の判別が終わると、読取り対象の原稿の種類
が白黒反転などによって強調表示される。図7の例で
は、ブック原稿を表す図形Z1が強調表示されている。
なお、原稿の種類の表示形態の変形例としては、各種類
に対応したLEDを設けてそれらを選択的に発光させる
形態、判別された1つの種類のみを図形や文字で表示す
る形態がある。 〔原稿の種類の判別方法〕図8はステープルstの有無
の判別における注目領域を示す図、図9は3種の見開き
原稿の高さ分布を示す図、図10は平面視形状に基づく
原稿の種類の判別方法を説明するための図、図11は見
開き1点止め原稿DS1sの一例を示す斜視図である。
On the liquid crystal display 91 of the operation panel OP, figures Z1 to Z6 representing each of the six types of originals are displayed, and when the type determination is completed, the type of the original to be read is highlighted by inversion such as black and white. It In the example of FIG. 7, the graphic Z1 representing the book document is highlighted.
In addition, as a modification of the display mode of the type of the original, there are a mode in which LEDs corresponding to the respective types are provided to selectively emit the light, and a mode in which only the determined one type is displayed by a figure or a character. [Method of Determining Type of Original] FIG. 8 is a diagram showing an attention area in the presence / absence of staple st, FIG. 9 is a diagram showing the height distribution of three types of spread originals, and FIG. FIG. 11 is a diagram for explaining the method of discriminating the type, and FIG. 11 is a perspective view showing an example of the spread single-point stop original DS1s.

【0022】ノンステープル原稿とステープル原稿とを
判別するには、読取り画像の中にステープルの像が有る
か否かを調べればよい。通常、ステープルは用紙の余白
部分に施され、ステープルの色(一般に銀色)は用紙と
異なるので、画素の濃度差に注目してステープル像を抽
出することができる。抽出に際しては、図8のように、
原稿のうちのステープルstの存在が予想される領域
(図中の斜線部分など)Esに注目領域を限定するの
が、処理効率の上で好ましい。
In order to discriminate between the non-staple document and the staple document, it is sufficient to check whether or not the read image has a staple image. Usually, the staple is applied to the margin of the paper, and the color of the staple (generally silver) is different from that of the paper. Therefore, the staple image can be extracted by paying attention to the difference in density of pixels. When extracting, as shown in Fig. 8,
From the viewpoint of processing efficiency, it is preferable to limit the attention area to an area Es (such as a hatched portion in the drawing) where the staple st is expected to exist in the document.

【0023】見開いた状態の原稿(ブック原稿を含む)
と閉じた状態の原稿(シート原稿を含む)とを判別する
には、原稿上面の副走査方向の湾曲状態(高さ分布)を
調べればよい。見開き原稿の上面は湾曲しているのに対
し、閉じた原稿の上面はほぼ平坦である。また、図9
(A)のようにブック原稿DBでは原稿台20の副走査
方向の中央(基準位置)で原稿上面の傾斜の向きが反転
する。見開き2点止め原稿DS2sにおいても、図9
(B)のように基準位置又はその近辺で傾斜の向きが大
きく変化する。原稿面S1の左端が基準位置であると
き、重なり幅(原稿面S1が隠れる領域の幅)αだけ基
準位置から離れた位置が傾斜の変曲点となる。これに対
して見開き1点止め原稿DS1sでは、傾斜の向きが大
きく変化する位置(変曲点)と基準位置との距離w’が
比較的に大きい。その距離w’は、原稿面S1の幅wの
1/2より重なり幅(原稿面S1が隠れる領域の幅)β
だけ短い値(w’=w÷2−β)である。したがって、
基準位置の近辺(重なり幅α及びセッティングの誤差を
考慮して定めた範囲)に変曲点が有れば、読取り対象は
ブック原稿DB又は見開き2点止め原稿DS2sであ
る。
Manuscripts in a spread state (including book manuscripts)
In order to discriminate between the original and the closed original (including the sheet original), the curved state (height distribution) of the upper surface of the original in the sub-scanning direction may be examined. The upper surface of the two-page spread original is curved, while the upper surface of the closed original is substantially flat. In addition, FIG.
As shown in (A), in the book document DB, the inclination direction of the upper surface of the document is reversed at the center (reference position) of the document table 20 in the sub-scanning direction. Even in the two-page spread document DS2s, as shown in FIG.
As shown in (B), the direction of inclination greatly changes at or near the reference position. When the left end of the document surface S1 is the reference position, a position apart from the reference position by the overlapping width α (width of the area where the document surface S1 is hidden) is the inflection point of the inclination. On the other hand, in the one-page spread original document DS1s, the distance w'between the position (inflection point) where the inclination direction changes greatly and the reference position is relatively large. The distance w'is an overlapping width (width of the area where the document surface S1 is hidden) β that is greater than 1/2 of the width w of the document surface S1.
However, it is a short value (w '= w / 2-β). Therefore,
If there is an inflection point in the vicinity of the reference position (a range defined in consideration of the overlapping width α and the setting error), the reading target is the book document DB or the two-page spread document DS2s.

【0024】ブック原稿DBと見開き2点止め原稿DS
2sとを判別するには、原稿上面の副走査方向(つまり
見開き方向)の沿面距離を調べればよい。この沿面距離
は、原稿上面を平面と仮定したときの両端間距離に相当
し、高さ分布データに基づいて曲線を微小区間毎に直線
近似して全ての区間の近似値を合計する演算により算出
できる。求めた沿面距離が、一般に用いらる用紙のサイ
ズであるA3・B4などの規定サイズの幅に近く且つそ
れより短ければ、読取り対象を見開き2点止め原稿DS
2sとみなすことができる。その理由は、見開き2点止
め原稿DS2sでは、例えば原稿面S1の幅wが例えば
A4サイズの幅であったとしても、見開きサイズの幅W
はA4サイズの2倍のA3サイズの幅ではなく、A3サ
イズの幅よりも重なり幅αの2倍分(2α)だけ短くな
るからである。
Book manuscript DB and two-page spread manuscript DS
In order to determine 2 s, the creepage distance of the upper surface of the document in the sub-scanning direction (that is, the spread direction) may be checked. This creepage distance corresponds to the distance between both ends when the upper surface of the original is assumed to be a flat surface, and is calculated by the calculation that linearly approximates a curve for each minute section based on the height distribution data and sums the approximate values of all sections. it can. If the obtained creepage distance is close to and shorter than the width of a specified size such as A3 / B4, which is the size of a commonly used paper, the document to be read is a two-page spread double-page stop document DS.
It can be regarded as 2s. The reason is that in the two-page spread double-stop document DS2s, even if the width w of the document surface S1 is, for example, the A4 size width, the two-page spread width W
Is not twice the width of the A3 size as the A4 size, but is shorter than the width of the A3 size by twice the overlapping width α (2α).

【0025】見開き1点止め原稿DS1sと閉じた原稿
(シート原稿を含む)との判別には、原稿の平面視形状
の差異を利用すればよい。シート原稿・めくられていな
いステープル原稿といった閉じた原稿では、平面視形状
は原稿面と同じサイズの四角形である。これに対して、
見開き1点止め原稿DS1sの平面視形状は、図10の
ように原稿面とめくられた用紙の裏面とを合わせた形状
であって、四角形より複雑である。判別の手順は次のと
おりである。まず、原稿面の読取り画像G0から原稿の
上面の撮影像(上面像)G1を抽出する。原稿台20の
撮影像G20は暗色であるので、輝度判別によって容易
に上面像G1を抽出することができる。次に、抽出した
上面像G1における原稿台の前方側(図10の下側)の
幅を求める。例えば端縁からの距離が5cmの位置及び
10cmの位置に注目し、各位置の幅w1,w2を求
め、それらの平均値を幅の測定値とする。通常、各幅w
1,w2は等しい。前方側に注目するのは、後方側に注
目すると見開き1点止め原稿DS1sの場合に正しい原
稿サイズが得られないからである。複数箇所に注目する
ことにより誤差を軽減することができる。続いて、求め
た幅に最も近い幅の規定サイズを原稿サイズと定める。
最後に、上面像G1のサイズと原稿サイズとを比較し、
上面像G1が大きい場合、すなわち図10において上面
像G1の上側の幅が下側より大きく且つその差が所定値
以上である場合に、読取り対象を見開き1点止め原稿D
S1sと判別する。なお、以上の読取り画像G1に基づ
く判別には、原稿面S1の湾曲やセッティングの位置ず
れ(傾き)に対応した画像補正を行った後の読取り画像
G1を用いるのが好ましい。
The difference between the two-dimensional shape of the original document may be used for distinguishing the two-page spread original document DS1s from the closed original document (including the sheet original document). For a closed document such as a sheet document or an unfolded staple document, the plan view shape is a quadrangle having the same size as the document surface. On the contrary,
The plan view shape of the one-page spread single-point stop original DS1s is a shape in which the original surface and the back surface of the folded paper are combined as shown in FIG. 10, and is more complicated than a quadrangle. The determination procedure is as follows. First, a photographed image (upper surface image) G1 of the upper surface of the original is extracted from the read image G0 of the original surface. Since the photographed image G20 of the document table 20 has a dark color, the top image G1 can be easily extracted by the brightness discrimination. Next, the width of the extracted upper surface image G1 on the front side (lower side in FIG. 10) of the document table is obtained. For example, paying attention to a position where the distance from the edge is 5 cm and a position where the distance is 10 cm, the widths w1 and w2 at each position are obtained, and the average value thereof is used as the measured value of the width. Usually each width w
1 and w2 are equal. The focus on the front side is that if the focus is on the rear side, the correct document size cannot be obtained in the case of the spread single-point stop document DS1s. The error can be reduced by paying attention to a plurality of points. Then, the specified size of the width closest to the obtained width is determined as the document size.
Finally, the size of the top image G1 is compared with the document size,
When the upper surface image G1 is large, that is, when the upper width of the upper surface image G1 is larger than the lower width in FIG.
It is determined to be S1s. Note that it is preferable to use the read image G1 after performing the image correction corresponding to the curvature of the document surface S1 and the positional deviation (tilt) of the setting for the determination based on the read image G1.

【0026】また、見開き1点止め原稿DS1sについ
ては、主走査方向の湾曲状態を調べることにより、他の
種類の原稿と判別することができる。図11のように、
見開き1点止め原稿DS1sでは、ステープルstなど
で綴じた部分の近辺が盛り上がるように原稿面S1が湾
曲しており、副走査方向M2だけでなく主走査方向M1
においても部位によって高さが異なる。一般にめくった
方の枚数が多くなるにつれて湾曲は顕著になる。主走査
方向の湾曲状態は、投影板18bの撮影像に基づいて、
後述の副走査方向の湾曲状態の測定と同様の要領で測定
することができる。主走査方向M1の高さ分布が、原稿
台上での後方側の盛り上がったものであれば、その場合
の読取り対象は見開き1点止め原稿DS1sである。こ
のような高さ分布に基づく判別方法と、上述の平面視形
状に基づく判別方法とを併用すれば、判別の信頼性を高
めることができる。すなわち、用紙が乱雑に重なってい
たり、極端に斜めにセッティングされていたりして原稿
サイズの算出に誤りが生じたとしても、最終的に正しく
見開き1点止め原稿DS1sと他の原稿とを判別するこ
とができる。 〔高さ分布の測定〕図12は原稿面の高さ分布の測定方
法を説明するための図であり、ブック原稿DBの場合の
読取り画像と注目したラインの輝度分布とを示してい
る。図中の破線は注目したラインの位置を示している。
The one-page spread single-stop original DS1s can be discriminated from other types of originals by examining the curved state in the main scanning direction. As shown in Figure 11,
In the double-page spread single-point stop original DS1s, the original surface S1 is curved so that the vicinity of the portion bound by the staple st or the like rises, and not only the sub-scanning direction M2 but also the main scanning direction M1.
Also, the height varies depending on the part. Generally, as the number of flipped sheets increases, the curvature becomes more remarkable. The curved state in the main scanning direction is based on the captured image of the projection plate 18b.
The measurement can be performed in the same manner as the measurement of the curved state in the sub-scanning direction described later. If the height distribution in the main scanning direction M1 is a bulge on the rear side on the platen, the read target in that case is the spread single-point stop document DS1s. If the discrimination method based on such a height distribution and the discrimination method based on the above-described plan view shape are used together, the reliability of discrimination can be improved. That is, even if the paper size is messyly overlapped or the document size is erroneously set due to an extremely slanted setting, the two-page spread single-stop original DS1s and other originals are finally correctly discriminated. be able to. [Measurement of Height Distribution] FIG. 12 is a diagram for explaining the method of measuring the height distribution of the document surface, and shows the read image and the luminance distribution of the line of interest in the case of the book document DB. The broken line in the figure indicates the position of the line of interest.

【0027】読取り画像G0は、ブック原稿DBの上面
の撮影像(上面像)G1、原稿台20の撮影像G20、
投影板18aの撮影像G18a、及び投影板18bの撮
影像G18bから構成されている。撮影像G18aのう
ちの像G181は、セッティングされたブック原稿DB
における主走査方向の後方側の端面S3の形状を示して
いる。撮影像G18aのうちの像(端面像)G181以
外の像180は、投影板18aに映った背景像である。
投影板18bの撮影像G18bは、ブック原稿DBにお
ける右側面の像G182を含んでいる。
The read image G0 is a photographed image (top image) G1 of the upper surface of the book document DB, a photographed image G20 of the document table 20,
It is composed of a captured image G18a of the projection plate 18a and a captured image G18b of the projection plate 18b. The image G181 of the photographed image G18a is the set book manuscript DB.
The shape of the end surface S3 on the rear side in the main scanning direction is shown. An image 180 other than the image (end face image) G181 in the captured image G18a is a background image reflected on the projection plate 18a.
The captured image G18b of the projection plate 18b includes an image G182 of the right side surface of the book document DB.

【0028】上述したとおり原稿台20は暗色に着色さ
れているので、撮影像G20は他の像と比べて暗い像に
なる。また、背景像180も端面像G181と比べて暗
い像になる。したがって、輝度の大小判別によって、上
面像G1及び端面像G181を抽出することができる。
具体的には、1ライン毎に主走査方向の先頭画素から順
に輝度(画素値)を調べ、輝度が第1の閾値th1を越
える範囲の先頭側の画素位置(画素番号)n1、輝度が
第2の閾値th2(th2>th1)を越える範囲の先
頭側及び後端側の画素位置n3,n4を検出する。画素
位置n1と投影板18の前縁に対応した既知の画素位置
n2との間の画素数が、当該ラインにおける原稿面S1
の高さに対応し、画素位置n3と画素位置n4との間の
画素数が主走査方向の原稿サイズに対応する。画素数を
撮像解像度で割る演算により実際の寸法が求まる。原稿
面S1の湾曲状態、すなわち高さ分布は、全てのライン
のそれぞれにおける原稿面S1の高さを示すデータの集
合によって特定される。また、画素位置n3,n4が検
出された最初のライン及び最後のラインのそれぞれの位
置が副走査方向における原稿の両端位置に対応する。 〔画像歪みの補正〕図12において、読取り画像G0の
上面像G1の上端縁及び下端縁が湾曲しているのは、原
稿面S1の高さが一定ではないからである。つまり、撮
像面に近い被写体は遠くの被写体よりも大きく撮像され
る。また、原稿面S1が湾曲していると、画像に歪みが
生じる。そこで、ブックスキャナ1は、予備スキャンニ
ングを行って高さ分布を求めておき、本スキャンニング
時の読取り画像G0を原稿面S1の高さが一定である場
合の画像に補正する画像処理(画像歪み補正)を実施す
る。ブック原稿DB及び見開き2点止め原稿DS2sで
は、副走査方向の各所における主走査方向の高さはほぼ
一定とみなせる。これらの原稿の場合には、主走査方向
については、原稿台20の上方の一定距離(例えば5c
m)の位置の平面を基準面とし、副走査方向の各位置に
おける基準面と原稿面S1との高低差に応じて上面像G
1を変倍する。副走査方向については、微小区間毎に原
稿面S1の沿面距離と原稿台20への原稿面S1の投影
距離との比に応じて上面像G1を変倍する。一方、見開
き1点止め原稿DS1sでは、上述のように主走査方向
の高さが一定でない領域が存在するので、それに起因す
る画像歪みを補正する必要がある。
As described above, since the original table 20 is colored in a dark color, the photographed image G20 becomes a darker image than other images. The background image 180 is also a darker image than the end face image G181. Therefore, the upper surface image G1 and the end surface image G181 can be extracted by determining the brightness.
Specifically, the luminance (pixel value) is sequentially checked for each line from the leading pixel in the main scanning direction, and the leading pixel position (pixel number) n1 in the range in which the luminance exceeds the first threshold th1 and the luminance are Pixel positions n3 and n4 on the leading side and the trailing side of the range exceeding the threshold value th2 (th2> th1) of 2 are detected. The number of pixels between the pixel position n1 and the known pixel position n2 corresponding to the front edge of the projection plate 18 is the document surface S1 in the line.
, And the number of pixels between the pixel positions n3 and n4 corresponds to the document size in the main scanning direction. The actual size can be obtained by a calculation that divides the number of pixels by the imaging resolution. The curved state of the document surface S1, that is, the height distribution is specified by a set of data indicating the height of the document surface S1 in each of all the lines. Further, the respective positions of the first line and the last line where the pixel positions n3 and n4 are detected correspond to both end positions of the document in the sub-scanning direction. [Correction of Image Distortion] In FIG. 12, the upper edge and the lower edge of the top image G1 of the read image G0 are curved because the height of the document surface S1 is not constant. That is, a subject closer to the imaging surface is captured larger than a subject far away. If the document surface S1 is curved, the image is distorted. Therefore, the book scanner 1 performs preliminary scanning to obtain a height distribution, and corrects the read image G0 during the main scanning to an image when the height of the document surface S1 is constant (image processing). Distortion correction). In the book document DB and the double-page spread two-point stop document DS2s, the height in the main scanning direction at each position in the sub scanning direction can be regarded as substantially constant. In the case of these originals, a fixed distance (for example, 5c) above the original table 20 in the main scanning direction.
m) as a reference plane, and the top surface image G according to the height difference between the reference plane and the document surface S1 at each position in the sub-scanning direction.
Magnify 1 In the sub-scanning direction, the upper surface image G1 is scaled according to the ratio of the creepage distance of the document surface S1 to the projection distance of the document surface S1 on the document table 20 for each minute section. On the other hand, in the one-page spread original document DS1s, there is a region where the height in the main scanning direction is not constant as described above, so it is necessary to correct the image distortion caused by it.

【0029】図13は見開き1点止め原稿DS1sにお
ける補正対象領域を示す図である。図中の太い実線は各
走査方向における原稿面の高さ分布を表している。副走
査方向の高さ分布における左側の湾曲部分と右側の平坦
部分との境界の画素位置naで原稿面S1を副走査方向
に2分割し、主走査方向の高さ分布における上側の湾曲
部分と下側の平坦部分との境界の画素位置nbで原稿面
S1を主走査方向に2分割すると、原稿面S1は4つの
領域A,B1,B2,B3に分かれる。これらの領域の
うちの左上の領域Aが歪み補正の必要な“湾曲領域”で
ある。左下の領域B1、右上の領域B2、及び右下の領
域B3は、シート原稿と同様の“平坦領域”である。た
だし、平坦領域の高さは、原稿面S1の裏側の用紙の枚
数が多くなるほど大きくなる。ブックスキャナ1は、湾
曲領域Aに対して、ブック原稿DBの場合の副走査方向
の補正と同様の変倍処理を、主走査方向について実施す
る。 〔ピント調整(フォーカシング)〕ブックスキャナ1
は、上述の方法で測定した原稿面S1の高さ分布に応じ
て、本スキャンニングに際して撮影のピント調整を行
う。本実施形態では、ラインセンサ31と副走査機構1
31とによってライン順次の画像走査が行われるので、
ライン単位のピント調整が可能である。ただし、必ずし
も1ライン毎に調整する必要はなく、複数ライン毎に調
整するようにして制御の負担を軽減してもよい。AF機
構132は、副走査の進行に合わせて与えられる制御信
号に従って結像レンズ32を移動させる。基本的には、
原稿面内の各ラインの位置が高いときには結像レンズ3
2を原稿面に近づけ、逆に低いときには遠ざける。結像
レンズ32の位置は、公知の幾何学的な条件式である次
式によって算定することができる。
FIG. 13 is a diagram showing a correction target area in the one-page spread original document DS1s. Thick solid lines in the figure represent the height distribution of the document surface in each scanning direction. The document surface S1 is divided into two in the sub-scanning direction at the pixel position na at the boundary between the curved portion on the left side and the flat portion on the right side in the height distribution in the sub-scanning direction. When the document surface S1 is divided into two in the main scanning direction at the pixel position nb at the boundary with the lower flat portion, the document surface S1 is divided into four areas A, B1, B2, B3. Of these areas, the upper left area A is a “curved area” that requires distortion correction. The lower left area B1, the upper right area B2, and the lower right area B3 are “flat areas” similar to the sheet original. However, the height of the flat area increases as the number of sheets on the back side of the document surface S1 increases. The book scanner 1 performs, on the curved region A, a scaling process similar to the correction in the sub-scanning direction in the case of the book document DB in the main scanning direction. [Focusing] Book Scanner 1
In accordance with the height distribution of the document surface S1 measured by the method described above, the focus adjustment of photographing is performed during the main scanning. In the present embodiment, the line sensor 31 and the sub-scanning mechanism 1
Since line-sequential image scanning is performed by 31 and
It is possible to adjust the focus for each line. However, it is not always necessary to make adjustments for each line, and adjustments may be made for a plurality of lines to reduce the control load. The AF mechanism 132 moves the imaging lens 32 in accordance with a control signal given in accordance with the progress of the sub-scan. Basically,
The imaging lens 3 when the position of each line on the document surface is high
Move 2 closer to the document surface, and conversely move it away when it is low. The position of the imaging lens 32 can be calculated by the following equation, which is a known geometrical conditional equation.

【0030】1/f=(1/a)+(1/b) f:結像レンズの焦点距離 a:像面距離(図3参照) b:被写界距離(図3参照) 見開き1点止め原稿DS1sの場合は、ブック原稿DB
や見開き2点止め原稿DS2sとは違ってラインの高さ
が一定ではない湾曲領域Aが存在するので、以下ような
ピント調整を行う。
1 / f = (1 / a) + (1 / b) f: focal length of imaging lens a: image plane distance (see FIG. 3) b: field distance (see FIG. 3) 1-page spread In the case of the stop original DS1s, the book original DB
Unlike the two-page spread two-point stop document DS2s, there is a curved region A in which the line height is not constant, so the following focus adjustment is performed.

【0031】図14は見開き1点止め原稿DS1sにお
ける主走査方向の高さ分布の模式図である。湾曲領域A
及び平坦領域B1のそれぞれの主走査方向の長さ(画素
数)Δn1,Δn2の大小関係に応じて、合焦の基準と
する高さを決める。平坦領域B1が比較的に広い場合、
例えば長さΔn2が全長の1/4以上(Δn1≦3Δn
2)の場合には、平坦領域B1の高さh1を注目ライン
の高さと仮定してピント調整をする。つまり、領域の全
域でピントが合う平坦領域B1を重視し、原稿全体とし
てピントボケを少なくする。湾曲領域Aが比較的に広い
場合、例えばΔn1>3Δn2)の場合には、次式で表
される高さhを注目ラインの高さと仮定してピント調整
をする。
FIG. 14 is a schematic diagram of the height distribution in the main scanning direction in the one-page spread original DS1s. Curved area A
Also, the height as a reference for focusing is determined according to the size relationship between the lengths (the number of pixels) Δn1 and Δn2 of the flat region B1 in the main scanning direction. When the flat area B1 is relatively large,
For example, the length Δn2 is ¼ or more of the total length (Δn1 ≦ 3Δn
In the case of 2), focus adjustment is performed assuming that the height h1 of the flat area B1 is the height of the line of interest. That is, the flat area B1 in which the entire area is in focus is emphasized to reduce the out-of-focus of the entire document. When the curved region A is relatively wide, for example, Δn1> 3Δn2), the height h expressed by the following equation is assumed to be the height of the line of interest, and focus adjustment is performed.

【0032】h=h1+k・Δh (0<k<1) Δh:高低差 右辺の係数kは高さ分布に応じて設定されるパラメータ
であり、多くの場合のおおよその値は0.5である。
H = h1 + kΔh (0 <k <1) Δh: The coefficient k on the right side of the height difference is a parameter set according to the height distribution, and in many cases the approximate value is 0.5. .

【0033】図15はピント調整における高さ設定方法
の一例を示す図である。図中の斜線は高さha,hbに
ピントを合わせたときの合焦範囲を示している。上述の
係数kの設定においては、結像レンズ32の焦点深度を
考慮してピントの合う領域がより広くなるようにする。
図15の例において、高さhaにピントを合わせると、
原稿面内の2箇所でピントが合い、各箇所の主走査方向
の長さはx1,x3である。一方、高さhbにピントを
合わせるときにピントの合う範囲の長さはx2である。
この例では(x1+x3)>x2であるので、高さhb
よりも高さhaにピントを合わせた方が良い。
FIG. 15 is a diagram showing an example of a height setting method in focus adjustment. The diagonal lines in the figure show the focusing range when the heights ha and hb are focused. In setting the coefficient k described above, the focus area is made wider in consideration of the depth of focus of the imaging lens 32.
In the example of FIG. 15, when focusing on the height ha,
Two points on the document surface are in focus, and the lengths of the respective points in the main scanning direction are x1 and x3. On the other hand, when focusing on the height hb, the length of the focusing range is x2.
In this example, (x1 + x3)> x2, so the height hb
It is better to focus on the height ha rather than the height ha.

【0034】図16はピント調整の他の例を説明するた
めの図である。上述のピント調整の説明は、本スキャン
ニングを1回だけ行う場合を前提としたものであるが、
2回の本スキャンニングを行う場合には各回毎にピント
を合わせる位置を設定する。例えば、1回目では平坦領
域B1の高さにピントを合わせ、2回目では湾曲領域A
の頂上と平坦領域B1との間の高さにピントを合わせ
る。2回目においては、上述のように湾曲状態に応じて
係数kを最適化してもよいし、係数kとして固定値(例
えば0.5)を設定してもよい。1回目の読取り画像の
うちの平坦領域B1の撮影像と、2回目の読取り画像の
うちの湾曲領域Aの撮影像とを合成して1ページ分の読
取り画像を生成することにより、本スキャンニングを1
回だけ行う場合よりも品質の高い読取り画像を得ること
ができる。なお、3回以上の本スキャンニングを実施し
て読取り品質をより高めることができるが、回数を増や
すほど読取りの所要時間は長くなる。 〔見開き1点止め原稿の重なり領域の検出〕見開き1点
止め原稿DS1sでは、原稿面S1のうちの用紙を綴じ
た隅の部分がラインセンサ31に対して隠れる。すなわ
ち、めくった用紙が原稿面S1と部部的に重なってい
る。このため、めくった用紙の裏面に画像があると、そ
の画像が不要であるにも係わらず読取り画像に含まれて
しまう。また、図11のようにめくった用紙の重なった
部分(これを“重なり領域”と呼称する)が下方に折れ
曲がっていると、読取り画像の隅に影が生じてしまう。
そこで、ブックスキャナ1は、読取り画像に基づいて重
なり領域を検出し、読取り画像のうちの重なり領域の撮
影像を消去する。具体的には、重なり領域の撮影像の画
素値を、予備スキャンニングで測定した原稿面S1の下
地濃度値に置き換える。
FIG. 16 is a diagram for explaining another example of focus adjustment. The above description of focus adjustment is based on the premise that the main scanning is performed only once.
When performing two main scans, the position to be focused is set each time. For example, at the first time, the height of the flat area B1 is focused, and at the second time, the curved area A
Focus on the height between the top and the flat area B1. In the second time, the coefficient k may be optimized according to the bending state as described above, or a fixed value (for example, 0.5) may be set as the coefficient k. The main scanning is performed by synthesizing the captured image of the flat area B1 in the first read image and the captured image of the curved area A in the second read image to generate a read image for one page. 1
It is possible to obtain a read image of higher quality than in the case of performing only once. It should be noted that the main scanning can be performed three or more times to improve the reading quality, but as the number of times increases, the time required for reading becomes longer. [Detection of Overlapping Area of One-page Spread Fixed Original] In the one-page spread original DS1s, the corner of the document surface S1 where the sheets are bound is hidden from the line sensor 31. That is, the flipped sheet partially overlaps the document surface S1. Therefore, if there is an image on the back side of the flipped sheet, the image is included in the read image although it is unnecessary. Further, when the overlapped portion of the flipped sheet (referred to as an “overlap area”) is bent downward as shown in FIG. 11, a shadow is generated at the corner of the read image.
Therefore, the book scanner 1 detects the overlapping area based on the read image and erases the captured image of the overlapping area in the read image. Specifically, the pixel value of the captured image in the overlapping area is replaced with the background density value of the document surface S1 measured by the preliminary scanning.

【0035】図17は重なり領域Ewの検出方法を示す
図である。ここでは、四角形abcdを原稿面に対応す
るサイズの領域とし、三角形aefを重なり領域Ewと
し、五角形ijkefをめくられた用紙に対応する領域
とする。まず、点bを含む副走査方向の線と、点dを含
む主走査方向の線との交点を点Aとして記憶する。次
に、点kを含む主走査方向の線と線分abとの交点を点
eとし、点iを含む副走査方向の線と線分adとの交点
を点fとする。
FIG. 17 is a diagram showing a method of detecting the overlapping area Ew. Here, the quadrangle abcd is an area having a size corresponding to the document surface, the triangle aef is an overlapping area Ew, and the pentagon ijkef is an area corresponding to a rolled sheet. First, the intersection of the line in the sub-scanning direction including the point b and the line in the main-scanning direction including the point d is stored as the point A. Next, the intersection of the line in the main scanning direction including the point k and the line segment ab is defined as point e, and the intersection of the line in the sub scanning direction including the point i and the line segment ad is defined as point f.

【0036】本実施形態では、近似的に三角形の領域を
重なり領域Ewをしているが、測距センサなどで原稿の
高さを直接に計る場合には、2次元の測定を行うことに
より正確に重なり領域Ewを特定することができる。ま
た、平面視の撮影情報に代えて又はそれとともに、投射
板18a,18bによる立体視の撮影情報から得られた
副走査方向及び主走査方向の高さ分布情報を用いて、重
なり領域Ewを特定してもよい。 〔信号処理系の構成〕図18は複写システムCSの機能
ブロック図である。
In this embodiment, the triangular areas are approximately overlapped with each other to form the overlapping area Ew. However, when the height of the original is directly measured by a distance measuring sensor or the like, it is possible to accurately measure the height of the original by performing two-dimensional measurement. The overlapping area Ew can be specified. The overlapping area Ew is specified by using height distribution information in the sub-scanning direction and the main-scanning direction obtained from the stereoscopic image capturing information by the projection plates 18a and 18b instead of or together with the planar image capturing information. You may. [Structure of Signal Processing System] FIG. 18 is a functional block diagram of the copying system CS.

【0037】ブックスキャナ1及びプリンタ3は、それ
ぞれの制御を統括するCPU101,201を有してい
る。これらのCPU101,201はマイクロコンピュ
ータである。複写システムCSではステープラ3のステ
ープル機構305に対して、CPU101がステープル
位置・個数などの動作条件を与える。
The book scanner 1 and the printer 3 have CPUs 101 and 201 for controlling the respective controls. These CPUs 101 and 201 are microcomputers. In the copying system CS, the CPU 101 gives the staple mechanism 305 of the stapler 3 operating conditions such as the staple position and the number of staples.

【0038】ブックスキャナ1において、ラインセンサ
31から出力された光電変換信号は、AD変換器102
によって例えば8ビットの画像データに変換され、画素
配列順に画像処理回路103に入力される。画像処理回
路103でシェーディング補正などの処理を受けた画像
データは、さらに圧縮器104による処理を受けた後に
バッファメモリ105に一旦格納される。適時にバッフ
ァメモリ105から読み出された圧縮状態の画像データ
は、伸長器105で復元された後、メモリ107に格納
される。メモリ107は最大読取りサイズの1つの画像
の記憶が可能である。最大読取りサイズは、例えばA3
サイズ(A4サイズの書籍の見開きサイズ)である。
In the book scanner 1, the photoelectric conversion signal output from the line sensor 31 is converted into the AD converter 102.
Is converted into, for example, 8-bit image data and input to the image processing circuit 103 in the pixel arrangement order. The image data that has been subjected to processing such as shading correction in the image processing circuit 103 is further stored in the buffer memory 105 after being further processed by the compressor 104. The compressed image data read from the buffer memory 105 at the appropriate time is decompressed by the decompressor 105 and then stored in the memory 107. The memory 107 can store one image of the maximum read size. The maximum read size is, for example, A3
It is the size (spread size of an A4 size book).

【0039】メモリ107の画像データ(読取り画像)
は、補正ブロック110に転送され、所定の補正処理を
受けた後に、出力画像データとして上書き形式でメモリ
107に再び格納される。補正ブロック110は、後述
のように見開き2点止め原稿DS2sのための画像シフ
トを担うA補正回路111、見開き1点止め原稿DS1
sのための画像シフト及び重なり領域Ewの画像消去を
担うB補正回路112、画像の傾きやずれを補正するた
めの回転/手動移動処理を担うC補正回路113、及
び、原稿面の湾曲に因る歪み補正を含む変倍処理を担う
D補正回路114から構成されている。また、予備スキ
ャンニング時においては、CPU101はメモリ107
から必要な画像データを取り込み、高さ分布・下地濃度
・サイズの測定、原稿の種類の判別、補正内容の設定と
いった制御に必要な処理を行う。
Image data in memory 107 (read image)
Is transferred to the correction block 110, subjected to a predetermined correction process, and then stored again in the memory 107 in the overwrite format as output image data. The correction block 110 includes an A correction circuit 111 for carrying out an image shift for the two-page spread original DS2s and a one-page spread original DS1 as described later.
The B correction circuit 112 is responsible for image shifting for s and erasing the image in the overlapping area Ew, the C correction circuit 113 is responsible for rotation / manual movement processing for correcting image tilt and shift, and the original surface is curved. The D correction circuit 114 is responsible for scaling processing including distortion correction. Further, during the preliminary scanning, the CPU 101 causes the memory 107
The necessary image data is fetched from the device, and the processing necessary for control such as height distribution / background density / size measurement, document type determination, and correction content setting is performed.

【0040】メモリ107に格納された出力画像データ
は、プリンタ2のデータ変換部202に転送される。デ
ータ変換部202は、出力画像データを作像のための2
値データに変換してプリントヘッド203に送る。プリ
ントヘッド203とプリントエンジン204との連系動
作により、読取り画像がプリントアウトされる。両面コ
ピーモードの場合には、1枚の記録用紙の表裏にそれぞ
れ読取り画像がプリントされる。そして、指定に応じて
プリント後の記録用紙がステープラ3によって綴じられ
て、又は綴じられずに排出される。
The output image data stored in the memory 107 is transferred to the data conversion unit 202 of the printer 2. The data conversion unit 202 uses the output image data for image formation.
It is converted into value data and sent to the print head 203. The read image is printed out by the interconnection operation of the print head 203 and the print engine 204. In the double-sided copy mode, read images are printed on the front and back sides of one recording sheet. Then, according to the designation, the printed recording paper is bound by the stapler 3 or discharged without being bound.

【0041】なお、ブックスキャナ1のCPU101に
は、操作パネルOP、スイッチ群50、副走査機構13
1、AF機構132、ランプ制御回路140などが接続
されている。スイッチ群50には、メインスイッチ51
とともに、スタートスイッチ、ステープル止めの要否選
択のためのステープルスイッチが含まれる。ラインセン
サ31及びCPU101を含む信号処理系の各構成要素
には、タイミング制御回路109から必要なクロックが
供給される。 〔見開き2点止め原稿の画像シフト〕図19はA補正回
路111の機能の模式図、図20はA補正回路111の
ブロック図である。図19(B)〜(D)における太い
実線の枠がメモリ107の画像格納域を示し、斜線が原
稿の撮影像を示している。
The CPU 101 of the book scanner 1 includes an operation panel OP, a switch group 50, and a sub-scanning mechanism 13.
1, an AF mechanism 132, a lamp control circuit 140, etc. are connected. The switch group 50 includes a main switch 51
In addition, a start switch and a staple switch for selecting the necessity of stapling are included. A necessary clock is supplied from the timing control circuit 109 to each component of the signal processing system including the line sensor 31 and the CPU 101. [Image Shift of Two-Page Spread 2-Point Original Document] FIG. 19 is a schematic diagram of the function of the A correction circuit 111, and FIG. 20 is a block diagram of the A correction circuit 111. 19B to 19D, the thick solid line frame indicates the image storage area of the memory 107, and the diagonal line indicates the captured image of the document.

【0042】見開き2点止め原稿DS2sにおいては、
図19(A)のように左方向へめくった用紙の実質の幅
dが用紙の幅wよりも重なり幅αだけ小さい。そこで、
ブック原稿DBの場合と同様のレイアウトのプリント結
果を得るために、重なり幅αを考慮して図19(B)〜
(D)のように読取り画像を2分割して左右に振り分け
る。要領としては、まず、メモリ107からの読出しの
開始ラインを2α分だけシフトさせる。これにより仮想
的に読取り画像の全体が左にシフトする〔図19(B)
(C)〕。次に、メモリ107への書込みを読出し順に
進め、幅dに対応したライン数分まで進んだ時点で以降
のラインのデータに対して2α分の遅延を行う。遅延期
間においては、メモリ107に下地濃度データを書き込
む。そして、遅延させたラインのデータをメモリ107
に書き込む〔図19(D)〕。
In the two-page spread double-stop original DS2s,
As shown in FIG. 19 (A), the actual width d of the sheet turned to the left is smaller than the width w of the sheet by the overlapping width α. Therefore,
In order to obtain a print result having the same layout as in the case of the book manuscript DB, the overlapping width α is taken into consideration and the result shown in FIG.
As shown in (D), the read image is divided into two and divided into right and left. As a point, first, the read start line from the memory 107 is shifted by 2α. This virtually shifts the entire read image to the left [FIG. 19 (B)].
(C)]. Next, writing to the memory 107 is advanced in the order of reading, and when the number of lines corresponding to the width d is reached, a delay of 2α is applied to the data of the subsequent lines. In the delay period, the background density data is written in the memory 107. Then, the delayed line data is stored in the memory 107.
Is written in [FIG. 19 (D)].

【0043】A補正回路111は、メモリ107からの
読出しと並行してラインクロックCKをカウントするセ
ッタブルカウンタ501、メモリ107から読み出され
た画像データD107を遅延させる遅延回路502、及
び遅延された画像データD107又は下地データDwを
メモリ107に出力するセレクタ503から構成されて
いる。セッタブルカウンタ501は、カウント値とCP
U101からの指定値(重なり幅α及び幅d)とに応じ
て、図20(B)が示す値の遅延量CT及びセレクト信
号SEを遅延回路502及びセレクタ503の制御信号
として出力する。セレクタ503には、CPU101か
ら下地データDwが与えられる。
The A correction circuit 111 includes a settable counter 501 for counting the line clock CK in parallel with the reading from the memory 107, a delay circuit 502 for delaying the image data D107 read from the memory 107, and a delayed signal. The selector 503 outputs the image data D107 or the background data Dw to the memory 107. The settable counter 501 has a count value and CP.
The delay amount CT and the select signal SE having the values shown in FIG. 20B are output as control signals for the delay circuit 502 and the selector 503 in accordance with the designated values (overlap width α and width d) from U101. The background data Dw is given from the CPU 101 to the selector 503.

【0044】CPU101は、メモリ107における画
像格納域の先頭アドレスから2α分だけシフトしたアド
レスを開始アドレスとし、その開始アドレスから画像格
納域の最終アドレス(N)までの画像データD107を
読み出す。これと並行してセレクタ503の出力データ
を、先頭アドレスから最終アドレスまでの画像格納域に
出力順に上書きする。 〔見開き1点止め原稿の画像シフト〕図21はB補正回
路112の機能の模式図、図22はB補正回路112の
ブロック図である。
The CPU 101 uses the address shifted by 2α from the start address of the image storage area in the memory 107 as the start address, and reads the image data D107 from the start address to the final address (N) of the image storage area. In parallel with this, the output data of the selector 503 is overwritten in the image storage area from the start address to the end address in the output order. [Image Shifting of Single-Spread Single-Stop Document] FIG. 21 is a schematic diagram of the function of the B correction circuit 112, and FIG. 22 is a block diagram of the B correction circuit 112.

【0045】見開き1点止め原稿DS1sにおいては、
用紙の端縁ではなく左右の中央付近を原稿台20の基準
位置と合わせるようにセッティングされるので、読取り
画像のうちの原稿の撮影像は図21のように読取り範囲
の右端から左へずれている。そこで、プリントに際して
画像の一部が欠けないようにするため、ブックスキャナ
1には、ずれ量Δyに対応する右方への画像シフトを行
うB補正回路112が設けられている。
For the one-page spread original DS1s,
Since the setting is made so that the vicinity of the center of the left and right of the sheet is aligned with the reference position of the document table 20 instead of the edge of the sheet, the photographed image of the document in the read image is shifted from the right end of the reading range to the left as shown in FIG. There is. Therefore, in order to prevent a part of the image from being lost during printing, the book scanner 1 is provided with a B correction circuit 112 that shifts the image to the right corresponding to the shift amount Δy.

【0046】B補正回路112は、メモリ107からの
読出しと並行してラインクロックCKをカウントするセ
ッタブルカウンタ521、メモリ107からの画像デー
タD107とCPU101からの下地データDwの一方
を選択するセレクタ522、及びセレクタ522によっ
て選択されたデータを遅延させてメモリ107に出力す
る遅延回路523から構成されている。セッタブルカウ
ンタ501は、カウント値とCPU101からの指定値
(重なり幅α及び幅d)とに応じて、所定のセレクト信
号SEをセレクタ503に与える。遅延回路523に
は、CPU101から遅延量Δyが与えられる。 〔ステープル原稿のコピー〕図23は3種のステープル
原稿のコピー形態を示す図である。
The B correction circuit 112 selects a settable counter 521 for counting the line clock CK in parallel with the reading from the memory 107, a selector 522 for selecting one of the image data D107 from the memory 107 and the background data Dw from the CPU 101. , And a delay circuit 523 which delays the data selected by the selector 522 and outputs the delayed data to the memory 107. The settable counter 501 gives a predetermined select signal SE to the selector 503 according to the count value and the specified value (overlap width α and width d) from the CPU 101. The delay amount δy is given to the delay circuit 523 from the CPU 101. [Copying of Staple Original] FIG. 23 is a diagram showing a copy mode of three types of staple originals.

【0047】本実施形態の複写システムCSは、ステー
プル原稿に対して原稿と同様にステープルで綴じた複製
を作成する機能を有している。原稿が見開き1点止め原
稿DS1sであれば読取り画像をプリントした用紙の左
上隅を綴じ、見開き2点止め原稿DS2sであれば左辺
部分を綴じる。この機能は、会議用の配付資料などの複
数部の書類を作成する作業に最適である。通常、ユーザ
ーは原稿と同様の複製を望む場合には原稿の表紙部分の
読取りから始める。つまり、1つのステープル原稿に対
する初回の読取りにおいては、原稿の種類が“閉じた2
点止め原稿”又は“閉じた1点止め原稿”となり、2回
目以降において“見開き2点止め原稿”又は“閉じた1
点止め原稿”となる。したがって、見開き状態では、撮
影像の解析によるステープル検出は不可能であるが、閉
じた状態のときのステープル検出の結果を記憶しておく
ことにより、見開き原稿がステープル原稿であるか否か
の推定をすることができる。
The copying system CS of this embodiment has a function of making a stapled copy of a staple original in the same manner as the original. If the document is a one-page spread one-point stop document DS1s, the upper left corner of the paper on which the read image is printed is bound, and if it is a two-page spread two-point stop document DS2s, the left side portion is bound. This function is most suitable for the work of creating multi-part documents such as handouts for meetings. Usually, when the user desires a copy similar to the original, the user starts by reading the cover portion of the original. That is, when the stapled original is read for the first time, the original type is "closed 2".
It becomes "point-fixed original" or "closed one-point-fixed original" and becomes "double-page spread two-point-fixed original" or "closed one
Therefore, in the double-spread state, it is impossible to detect staples by analyzing the captured image, but by storing the results of staple detection in the closed state, the double-spread original becomes a staple document. Can be estimated.

【0048】めくった用紙の裏面が空白となる見開き2
点止め片面原稿DS2saの場合には、歪み補正などの
画像処理を経た読取り画像G1の右半分G1Rが、倍率
に応じたサイズ(等倍では見開きサイズの半分)の記録
用紙Pにプリントされる。めくった用紙の裏面にも画像
が存在する見開き2点止め両面原稿DS2saの場合に
は、コピーモードによって動作が異なる。片面コピーモ
ードであれば、読取り画像G1の左半分G1Lと右半分
G1Rとが順に異なる記録用紙Pにプリントされる。両
面コピーモードであれば、読取り画像G1の左半分G1
Lと次の読取り画像G1’の右半分G1Rとが同一の記
録用紙Pの表裏に振り分けてプリントされる。また、見
開き1点止め原稿DS1sの場合には、上述の画像シフ
トを経た読取り画像G1の右半分G1Rが記録用紙Pに
プリントされる。 〔システム制御〕次に、フローチャートに基づいて複写
システムCSにおける制御を説明する。
Spread 2 in which the reverse side of the flipped sheet is blank
In the case of the spot-stop single-sided document DS2sa, the right half G1R of the read image G1 that has undergone image processing such as distortion correction is printed on the recording paper P of a size corresponding to the magnification (half the spread size at equal magnification). In the case of a two-page spread double-sided document DS2sa in which an image exists on the back side of the flipped sheet, the operation differs depending on the copy mode. In the single-sided copy mode, the left half G1L and the right half G1R of the read image G1 are printed on different recording sheets P in order. In the double-sided copy mode, the left half G1 of the read image G1
L and the right half G1R of the next read image G1 'are printed separately on the front and back sides of the same recording paper P. Also, in the case of the one-page spread original document DS1s, the right half G1R of the read image G1 that has undergone the above-described image shift is printed on the recording paper P. [System Control] Next, control in the copying system CS will be described based on a flowchart.

【0049】図24はブックスキャナ1のCPU101
が実行するメイン処理のフローチャートである。このメ
イン処理は、ユーザーが何らかの操作を行ったときに、
操作に呼応した割込み処理として実行される。
FIG. 24 shows the CPU 101 of the book scanner 1.
5 is a flowchart of a main process executed by the. This main process, when the user performs some operation,
It is executed as an interrupt process corresponding to the operation.

【0050】まず、割込みを禁止して以降の操作を受け
付けない状態とし(#1)、フラグなどの初期化を行う
(#2)。操作されたスイッチ(SW)を判別し、操作
に対応した処理を行う(#4,#6〜#10)。処理が
終われば割込み禁止を解除して割込みルーチンから抜け
る(#5)。
First, interrupts are prohibited and subsequent operations are not accepted (# 1), and flags and the like are initialized (# 2). The operated switch (SW) is discriminated and the process corresponding to the operation is performed (# 4, # 6 to # 10). When the processing is completed, the interrupt prohibition is released and the interrupt routine is exited (# 5).

【0051】スタートスイッチがオンされた場合は、原
稿画像を読み取ってプリンタ2へ画像データを送る読取
り制御を実行する(#4)。ステープルスイッチがオン
された場合は、ステープラ3の制御のためのステープル
処理を実行する(#6)。用紙スイッチに対しては、記
録用紙Pのサイズの設定を循環形式で切り換える(#
7)。設定の選択肢は「オート」「A4」「A3」の3
つである。原稿スイッチに対しては、原稿モードの設定
を切り換える(#8)。選択肢は「オート判別」「片
面」の2つである。ここで、片面モードは見開き1点止
め原稿DS1sに適したモードであり、オート判別モー
ドはCPU101が原稿の種類を判別して動作条件を設
定するモードである。また、コピーモードスイッチのオ
ンに呼応してコピーモード切換え処理を実行する(#
9)。以上の各スイッチ以外のスイッチが操作された場
合は、その他の処理を実行する。図25は図24のコピ
ーモード切換え処理サブルーチンのフローチャートであ
る。
When the start switch is turned on, reading control is executed to read the original image and send the image data to the printer 2 (# 4). When the staple switch is turned on, a staple process for controlling the stapler 3 is executed (# 6). With respect to the paper switch, the size setting of the recording paper P is switched in a circular format (#
7). The setting options are "Auto", "A4", and "A3".
Is one. For the document switch, the document mode setting is switched (# 8). There are two options: "automatic discrimination" and "single-sided". Here, the single-sided mode is a mode suitable for the one-page spread document DS1s, and the auto-discrimination mode is a mode in which the CPU 101 discriminates the type of the document and sets operating conditions. In addition, the copy mode switching process is executed in response to the copy mode switch being turned on (#
9). When a switch other than the above switches is operated, other processing is executed. FIG. 25 is a flowchart of the copy mode switching processing subroutine of FIG.

【0052】まず、コピーモードを切り換える(#9
A)。選択肢は「片面」「両面」の2つである。再読取
りフラグをイニシャルリセットし(#9B)、原稿モー
ドをチェックする(#9C)。原稿モードが片面モード
であれば、そのままリターンする。オート判別モードの
場合は、続いてコピーモードをチェックし(#9D)、
両面コピーモードであれば再読取りフラグをセットする
(#9E)。再読取りフラグは、見開き原稿の左右の各
ページを記録用紙の表裏に振り分けて又は見開きサイズ
の記録用紙の片面に並べてプリントする動作の要否を示
すものである。
First, the copy mode is switched (# 9
A). There are two options: "single-sided" and "double-sided". The reread flag is initially reset (# 9B), and the document mode is checked (# 9C). If the original mode is the single-sided mode, the process directly returns. If it is the auto-discrimination mode, then check the copy mode (# 9D),
In the double-sided copy mode, the reread flag is set (# 9E). The rereading flag indicates whether or not it is necessary to print the left and right pages of the two-page spread original by arranging them on the front and back sides of the recording sheet or side by side on one side of the two-page spread recording sheet.

【0053】図26は図24のステープル処理サブルー
チンのフローチャートである。まず、以前の読取り時の
セット/リセット状態が保持されている一点止めフラグ
ST1pをリセットする(#6A)。最新のステープル
検出の結果が2点止めであれば、記録用紙Pに対するス
テープル位置として、ステープル検出時に記憶されたス
テープル位置と同等の位置に設定する(#6B、#6
C)。そして、ステープラ3を駆動して記録用紙Pを綴
じてリターンする。一方、ステープル検出の結果が1点
止めであれば、記録用紙Pに対するステープル位置を原
稿と同等の位置に設定して記録用紙Pを綴じる(#6
E、#6F)。そして、一点止めフラグST1pをセッ
トしてリターンする(#6G)。
FIG. 26 is a flow chart of the staple processing subroutine of FIG. First, the one-point stop flag ST1p holding the set / reset state at the time of the previous reading is reset (# 6A). If the latest stapling detection result is 2-point stopping, the stapling position for the recording paper P is set to a position equivalent to the stapling position stored at the time of stapling detection (# 6B, # 6).
C). Then, the stapler 3 is driven to bind the recording paper P, and the process returns. On the other hand, if the result of stapling detection is one-point stopping, the stapling position on the recording paper P is set to a position equivalent to the original and the recording paper P is bound (# 6).
E, # 6F). Then, the one-point stop flag ST1p is set and the process returns (# 6G).

【0054】図27は図24の読取り制御サブルーチン
の概略のフローチャートである。ランプ制御部140に
対して点灯を指示し(#4A)、予備スキャンニングの
制御を行う(#4B)。続いてメモリ107から読取り
画像を取り込んで原稿の種類を判別する原稿検出ルーチ
ンを実行する(#4C)。ピント調整を含む本スキャン
ニングの制御を行い(#4D)、本スキャンニングで得
られた読取り画像を補正する画像処理を行う(#4
E)。照明ランプの消灯を指示し(#4F)、データ出
力処理を実行してリターンする(#4G)。
FIG. 27 is a schematic flow chart of the read control subroutine of FIG. The lamp control unit 140 is instructed to be turned on (# 4A), and the preliminary scanning is controlled (# 4B). Subsequently, a read image is read from the memory 107 and a document detection routine for determining the document type is executed (# 4C). The main scanning including focus adjustment is controlled (# 4D), and the image processing for correcting the read image obtained by the main scanning is performed (# 4D).
E). An instruction to turn off the illumination lamp is given (# 4F), a data output process is executed, and the process returns (# 4G).

【0055】以下、読取り制御ルーチンの中で本発明に
深く係わる処理(サブルーチン)の内容をさらに詳しく
説明する。図28は図27の原稿検出サブルーチンの概
略のフローチャートである。
The contents of the processing (subroutine) deeply related to the present invention in the read control routine will be described in more detail below. FIG. 28 is a schematic flowchart of the document detection subroutine of FIG.

【0056】まず、投影板18aの撮影像に基づいて原
稿の主走査方向の端面の形状を検出し、副走査方向の高
さ分布を測定する(#31)。次に、投影板18bの撮
影像に基づいて原稿の副走査方向の端面の形状を検出
し、主走査方向の高さ分布を測定する(#31)。続い
て、原稿台20と原稿との濃度差を利用して平面視の原
稿サイズを測定し(#33)、画素値を度数分布(濃度
ヒストグラム)を求めて下地濃度を測定する(#3
4)。その後、測定の結果を用いて原稿の種類を判別し
(#35)、判別の結果を操作パネルOPの液晶ディス
プレイ上に表示する(#36)。
First, the shape of the end face of the document in the main scanning direction is detected based on the photographed image of the projection plate 18a, and the height distribution in the sub scanning direction is measured (# 31). Next, the shape of the end face of the document in the sub-scanning direction is detected based on the captured image of the projection plate 18b, and the height distribution in the main scanning direction is measured (# 31). Next, the size of the original in plan view is measured by using the density difference between the original table 20 and the original (# 33), and the background density is measured by obtaining the frequency distribution (density histogram) of pixel values (# 3).
4). After that, the type of the original is discriminated using the measurement result (# 35), and the discrimination result is displayed on the liquid crystal display of the operation panel OP (# 36).

【0057】図29及び図30は図28における原稿の
種類判別サブルーチンのフローチャートである。図29
のように、副走査方向の高さ分布データに基づいて図9
で説明したように中央付近に湾曲の変曲点が存在するか
否かをチェックする(#501)。
29 and 30 are flowcharts of the original type discrimination subroutine in FIG. FIG. 29
As shown in FIG. 9 based on the height distribution data in the sub-scanning direction.
As described above, it is checked whether or not there is a curved inflection point near the center (# 501).

【0058】変曲点が有れば、湾曲面を平面に引き延ば
す演算により副走査方向の原稿サイズを求め(#50
2)、B4・A3などの規定サイズと比較する(#50
3)。原稿サイズが規定サイズと同等であれば、今回の
読取りの対象をブック原稿DBと判定し、ブックフラグ
BKをセットする(#504)。そして、ブック原稿D
Bに対応したブック処理を実行し(#505)、副走査
方向の歪みの補正内容を設定してリターンする(#50
6)。ステップ#503で原稿サイズが規定サイズより
小さい場合は、ステープルフラグSTをチェックする
(#507)。ステープルフラグSTがセットされてい
るときは、読取り対象を見開き2点止め原稿DS2sと
判定し、2点止めフラグST2をセットする(#50
8)。ステープルフラグSTがセットされていないとき
は、読取り対象を特殊ブック原稿と判定し、特殊ブック
フラグBK2をセットする(#510)。見開き2点止
め原稿であっても特殊ブック原稿であっても見開き2点
処理(#509)を実行して上述のステップ#506へ
進む。
If there is an inflection point, the original size in the sub-scanning direction is obtained by the operation of extending the curved surface to a flat surface (# 50).
2), and compare with the specified size such as B4 and A3 (# 50
3). If the document size is equal to the specified size, the target of this reading is determined to be the book document DB, and the book flag BK is set (# 504). And the book manuscript D
The book process corresponding to B is executed (# 505), the correction content of the distortion in the sub-scanning direction is set, and the process returns (# 50).
6). If the document size is smaller than the specified size in step # 503, the staple flag ST is checked (# 507). When the staple flag ST is set, it is determined that the document to be read is a spread 2-point stop document DS2s, and the 2-point stop flag ST2 is set (# 50).
8). When the staple flag ST is not set, it is determined that the reading target is a special book original and the special book flag BK2 is set (# 510). The 2-page spread processing (# 509) is executed regardless of whether the document is a 2-page spread original or a special book document, and the process proceeds to step # 506.

【0059】一方、ステップ#501で変曲点が中央付
近にない場合には、図30のように原稿領域を決定する
サブルーチン(#511)を実行し、原稿の平面形状と
規定の形状とを比較する(#512)。原稿が規定形状
(長方形)であれば、ステップ#519へ進み、原稿の
一部の領域Es(図8参照)を対象にステープルの検出
を行う。ステープルがあれば、読取り対象を閉じたステ
ープル原稿と判定し、ステープルフラグをセットする
(#520、#521)。そして、ステープルの像を消
去して見栄えを良くするためのステープル補正処理(#
522)を実行する。ステープルが検出されなかった場
合は、読取り対象をシート原稿と判定し、シートフラグ
PLをセットする(#518)。そして、シート原稿の
ためのシート処理(#518)を実行する。
On the other hand, if the inflection point is not near the center in step # 501, a subroutine (# 511) for determining the original area is executed as shown in FIG. 30 to determine the original plane shape and the prescribed shape. The comparison is made (# 512). If the original has a prescribed shape (rectangular), the process proceeds to step # 519, and staple detection is performed for a partial area Es (see FIG. 8) of the original. If there are staples, it is determined that the reading target is a closed staple document, and the staple flag is set (# 520, # 521). Then, a staple correction process (# for deleting the image of the staple to improve the appearance) is performed.
522) is executed. If the staple is not detected, it is determined that the reading target is a sheet original and the sheet flag PL is set (# 518). Then, the sheet process (# 518) for the sheet document is executed.

【0060】ステップ#512で原稿が規定形状でなけ
れば、主走査方向の高さ分布をチェックする(#51
3)。上述したように平面視形状による判別の不確かさ
を補うためである。原稿台20上での手前側が低く後方
側(図13の上側)が高いときに、読取り対象を見開き
1点止め原稿DS1sと判定し、1点止めフラグST1
sをセットする(#514)。そして、後述の見開き1
点処理(#515)と、主走査方向の歪みの補正内容を
設定する処理(#516)とを実行して図29のステッ
プ#506へ進む。ステップ#513で上述の分布パタ
ーンでない場合は読取り対象をシート原稿と判定する
(#517)。
If the original is not in the prescribed shape in step # 512, the height distribution in the main scanning direction is checked (# 51).
3). This is to compensate for the uncertainty of discrimination due to the shape in plan view as described above. When the front side on the document table 20 is low and the rear side (upper side in FIG. 13) is high, it is determined that the document to be read is a spread one-point stop document DS1s, and the one-point stop flag ST1.
s is set (# 514). And the spread 1 described below
The point processing (# 515) and the processing for setting the correction content of the distortion in the main scanning direction (# 516) are executed, and the process proceeds to step # 506 in FIG. If it is determined in step # 513 that the distribution pattern is not the above, it is determined that the reading target is a sheet document (# 517).

【0061】図31は図30の原稿領域の決定サブルー
チンのフローチャートである。原稿台20と原稿との輝
度の差を利用して読取り画像のうちの原稿領域(原稿
面)を判定する(#511A)。続いて原稿領域の端縁
の走査方向に対する傾きの度合いを検出し、補正データ
を算出する(#511B)。そして、C補正回路113
に画像データを送って読取り画像に対する斜め補正を行
う(#511C)。見開き1点止め原稿DS1sではブ
ック原稿DBなどと比べて位置決めが難しく、傾くこと
が多い。次に斜め補正後の読取り画像に基づいて、図1
0で説明したように原稿領域の下端から5cmの位置の
幅w1、及び10cmの位置の幅w2を測定し、原稿サ
イズを決定する(#511D、#511E、#511
F)。そして、決定したサイズの原稿領域の隅(左上端
及び右上端)に対応した座標、すなわちメモリ107の
アドレスを記憶する(#511G)。
FIG. 31 is a flow chart of the original area determination subroutine of FIG. The original area (original surface) of the read image is determined by utilizing the difference in brightness between the original table 20 and the original (# 511A). Then, the degree of inclination of the edge of the document area with respect to the scanning direction is detected, and correction data is calculated (# 511B). Then, the C correction circuit 113
The image data is sent to and the diagonal correction is performed on the read image (# 511C). The one-page spread original document DS1s is more difficult to position than the book original DB and is often inclined. Next, based on the read image after the diagonal correction, FIG.
As described in 0, the width w1 at the position of 5 cm and the width w2 at the position of 10 cm from the lower end of the document area are measured to determine the document size (# 511D, # 511E, # 511).
F). Then, the coordinates corresponding to the corners (upper left corner and upper right corner) of the document area of the determined size, that is, the addresses of the memory 107 are stored (# 511G).

【0062】図32は図29の見開き2点処理サブルー
チンのフローチャートである。まず、副走査方向(横)
及び主走査方向(縦)の原稿サイズを検出し(#509
A)、縦横の比を基準に原稿サイズに最も近い規定サイ
ズを決定する(#509B)。最後に副走査方向におけ
る規定サイズと原稿サイズとの差Δwを求めて重なり幅
α(=Δw/2)を算出する(#509C)。重なり幅
αはA補正回路111による画像シフトに用いられる。
FIG. 32 is a flow chart of the spread two-point processing subroutine of FIG. First, the sub-scanning direction (horizontal)
And the document size in the main scanning direction (vertical) is detected (# 509
A): A standard size closest to the document size is determined based on the aspect ratio (# 509B). Finally, the difference Δw between the specified size and the document size in the sub-scanning direction is obtained to calculate the overlapping width α (= Δw / 2) (# 509C). The overlapping width α is used for image shift by the A correction circuit 111.

【0063】図33は図30の見開き1点処理サブルー
チンのフローチャートである。まず、図17で説明した
要領で重なり領域Ewを検出し(#515A)、重なり
領域Ewに対する補正データを生成する(#515
B)。そして、主走査方向の高さ分布データを後処理の
ために準備してリターンする(#515C)。
FIG. 33 is a flow chart of the spread one-point processing subroutine of FIG. First, the overlapping area Ew is detected in the manner described with reference to FIG. 17 (# 515A), and correction data for the overlapping area Ew is generated (# 515).
B). Then, the height distribution data in the main scanning direction is prepared for post-processing and the process returns (# 515C).

【0064】図34は図30のステープル補正処理サブ
ルーチンのフローチャートである。ステープル検出で得
たデータから消去すべきステープル像の範囲を特定し
(#522A)、補正領域の始点アドレスと終点アドレ
スとを記憶する(#522B)。
FIG. 34 is a flow chart of the staple correction processing subroutine of FIG. The range of the staple image to be erased is specified from the data obtained by staple detection (# 522A), and the start point address and end point address of the correction area are stored (# 522B).

【0065】図35は図27の本スキャンニングサブル
ーチンのフローチャートである。読取り対象が見開き1
点止め原稿DS1sでなければ、副走査方向の高さ分布
に応じてピント調整のレンズ移動量を算出し、撮影の副
走査の進行に合わせて結像レンズ32を移動させてピン
ト調整を行う(#41、#42、#43)。これに対し
て、読取り対象が見開き1点止め原稿DS1sの場合に
は、副走査方向及び主走査方向の高さ分布に応じてレン
ズ移動量を算出し、撮影の副走査の進行に合わせてピン
ト調整を行う(#41、#44、#43)。
FIG. 35 is a flow chart of the main scanning subroutine of FIG. Reading target is spread 1
If it is not the stopping document DS1s, the amount of lens movement for focus adjustment is calculated according to the height distribution in the sub-scanning direction, and the imaging lens 32 is moved in accordance with the progress of sub-scanning for photographing to perform focus adjustment ( # 41, # 42, # 43). On the other hand, when the reading target is the one-page spread original DS1s, the lens movement amount is calculated according to the height distribution in the sub-scanning direction and the main scanning direction, and the focus is adjusted in accordance with the progress of the sub-scanning of photographing. Adjustment is performed (# 41, # 44, # 43).

【0066】図36は図27の画像処理サブルーチンの
フローチャートである。まず、予備スキャンニングの段
階で算出した補正データに基づいて、本スキャンニング
で得た読取り画像に対してC補正回路113による斜め
補正を行う(#51)。次に、D補正回路114によっ
て原稿面S1の湾曲に因る歪みを補正する(#52)。
その際、見開き1点止め原稿DS1sについては湾曲領
域Aに限定して補正を行うことにより処理時間を短縮す
る。歪み補正の後、A補正回路111及びB補正回路1
12に対して下地データDwを出力し(#53)、原稿
の種類に応じて以下のように所定の処理を行う。
FIG. 36 is a flow chart of the image processing subroutine of FIG. First, based on the correction data calculated in the preliminary scanning stage, the C correction circuit 113 performs diagonal correction on the read image obtained in the main scanning (# 51). Next, the D correction circuit 114 corrects the distortion caused by the curvature of the document surface S1 (# 52).
At that time, the processing time is shortened by correcting the one-page spread original DS1s limited to the curved region A only. After distortion correction, A correction circuit 111 and B correction circuit 1
The background data Dw is output to 12 (# 53), and predetermined processing is performed as follows according to the type of the original.

【0067】2点止めフラグST2sがセットされてい
るときは、見開き2点止め原稿DS2sの画像シフトを
行うために、上述のようにアドレスをシフトさせてメモ
リ107の読出しを行うとともに、A補正回路111に
対して補正パラメータ(α、d)を与えて補正を指示す
る(#54、#55、#56)。そして、白紙部分をコ
ピーする無駄を避けるため、補正された読取り画像の左
半分における画像の有無を判別し(#57)、左半分が
白紙であれば2点止めフラグST2sをリセットしてリ
ターンする(#59)。これにより右半分のみがプリン
トされることになる。左半分が白紙でなければ2点止め
フラグST2sのセットしたままリターンする。
When the two-point stop flag ST2s is set, in order to shift the image of the two-page spread original DS2s, the address is shifted and the memory 107 is read out as described above, and the A correction circuit is used. The correction parameter (α, d) is given to 111 to instruct the correction (# 54, # 55, # 56). Then, in order to avoid the waste of copying the blank portion, it is determined whether or not there is an image in the left half of the corrected read image (# 57). If the left half is blank, the two-point stop flag ST2s is reset and the process returns. (# 59). As a result, only the right half is printed. If the left half is not blank, the process returns with the two-point stop flag ST2s set.

【0068】ステップ#54で2点止めフラグST2s
がリセット状態であれば、続いてステープルフラグST
をチェックする(#60)。ステープルフラグSTがセ
ットされている場合は、記憶されているステープル像の
位置(座標)を読み出して、ステープル像を消去する画
像補正を実行してリターンする(#61、#62)。
In step # 54, the two-point stop flag ST2s is set.
Is reset, then staple flag ST
Is checked (# 60). When the staple flag ST is set, the stored position (coordinates) of the staple image is read, image correction for erasing the staple image is executed, and the process returns (# 61, # 62).

【0069】また、ステップ#60でステープルフラグ
STがリセット状態であれば、続いて1点止めフラグS
T1sをチェックする(#63)。1点止めフラグST
1sがセットされている場合は、見開き1点止め原稿D
S1sの画像シフトを行うために、メモリ107の読出
しを行うとともに、B補正回路112に対して補正パラ
メータ(a,w)を与えて補正を指示する(#64、#
65)。
If the staple flag ST is in the reset state in step # 60, then the one-point stop flag S
Check T1s (# 63). One-point stop flag ST
If 1 s is set, the spread 1-point stop document D
In order to perform the image shift of S1s, the memory 107 is read out and the correction parameter (a, w) is given to the B correction circuit 112 to instruct the correction (# 64, #).
65).

【0070】図37は図36の歪み補正サブルーチンの
フローチャートである。フラグにより原稿の種類をチェ
ックし(#52A)、見開き1点止め原稿DS1sでな
ければ、副走査方向の高さ分布データ(DC1)に基づ
いて読取り画像を変倍データを算出する(#52F)。
これに対して、見開き1点止め原稿DS1sの場合に
は、副走査方向の高さ分布データ(DC1)及び主走査
方向高さ分布データ(DC2)に基づいて湾曲領域A
(図13参照)を算定する(#52B)。そして、湾曲
領域Aに対する主走査方向の変倍データ及び副走査方向
の変倍データを順に算出する(#52C、#52D)。
このように原稿の種類に応じて変倍量を設定した後、D
補正回路114によって画素毎に変倍する(#53
E)。ここで、補正の変形例として次のように補正量を
設定する方法を採用してもよい。主走査方向及び副走査
方向での変倍処理の補正量の算出に際して、DC1はD
C2の関数〔DC1=f(DC2) 〕となり、DC2はDC
1の関数〔DC2=f(DC1) 〕となるのは、歪みの様相
から想像できる。したがって、補正量を近似的に DC1’=DC1×K2,DC2’=DC2×K1と
し、 K2=DC2/DC2max K1=DC1/DC1m
axとして規格化し、0<K1,K2≦1とすることが
できる。すなわち1を越えるとき1におさえこむ。DC
1max,DC2maxは、見開き1点止め原稿DS1
sにおいて起こり得る最大の湾曲度合いに対する補正量
のデータである。
FIG. 37 is a flow chart of the distortion correction subroutine of FIG. The type of the document is checked by the flag (# 52A), and if it is not the spread one-point stop document DS1s, the scaled data of the read image is calculated based on the height distribution data (DC1) in the sub-scanning direction (# 52F). .
On the other hand, in the case of the one-page spread original document DS1s, the curved area A is obtained based on the height distribution data (DC1) in the sub-scanning direction and the height distribution data (DC2) in the main scanning direction.
(See FIG. 13) is calculated (# 52B). Then, the scaling data in the main scanning direction and the scaling data in the sub-scanning direction with respect to the curved region A are sequentially calculated (# 52C, # 52D).
After setting the variable amount according to the type of original in this way, D
The correction circuit 114 scales each pixel (# 53).
E). Here, as a modified example of the correction, the following method of setting the correction amount may be adopted. When calculating the correction amount of the scaling processing in the main scanning direction and the sub scanning direction, DC1 is set to D
It becomes the function of C2 [DC1 = f (DC2)], and DC2 is DC
It can be imagined that the function of 1 [DC2 = f (DC1)] becomes from the aspect of distortion. Therefore, the correction amount is approximately set to DC1 ′ = DC1 × K2, DC2 ′ = DC2 × K1, and K2 = DC2 / DC2max K1 = DC1 / DC1m
It can be standardized as ax and can satisfy 0 <K1, K2 ≦ 1. That is, when it exceeds 1, it is suppressed to 1. DC
1max and DC2max are the one-page spread document DS1
It is data of the correction amount for the maximum degree of curvature that can occur in s.

【0071】図38は図27のデータ出力サブルーチン
のフローチャートである。プリンタ2へのデータ出力の
可否をチェックし、可能であれば制御データ及びメモリ
107の画像データをプリンタ2へ送るデータ出力制御
を行う(#71、#72)。プリンタ2が入力禁止状態
であれば、入力待機状態になるのを待つ。ここでの制御
データは、用紙選択モード(オート/指定サイズ)、
原稿の形態(片面/両面)、コピーモード(片面/
両面)、ステープルフラグSTの状態、2点止めフ
ラグST2sの状態である。
FIG. 38 is a flow chart of the data output subroutine of FIG. Whether the data output to the printer 2 is possible or not is checked, and if possible, the data output control of sending the control data and the image data of the memory 107 to the printer 2 is performed (# 71, # 72). If the printer 2 is in the input prohibited state, it waits until it enters the input standby state. The control data here is the paper selection mode (auto / specified size),
Document type (single / double side), copy mode (single / double side)
Both sides), the state of the staple flag ST, and the state of the two-point stop flag ST2s.

【0072】図39〜図41はプリンタ2のCPU10
2が実行するプリント制御のフローチャートである。こ
のルーチンは、ブックスキャナ1からのデータ出力信号
に呼応して割込み形式で実行される。
39 to 41 show the CPU 10 of the printer 2.
3 is a flowchart of print control executed by No. 2; This routine is executed in interrupt form in response to the data output signal from the book scanner 1.

【0073】CPU201は、ブックスキャナ1からの
制御データ及び画像データを受入れてメモリ107と同
様の容量のメモリに格納する(#201)。そして、プ
リント途中での新たなデータ入力を防止するために、一
旦、ブックスキャナ1に対してデータ出力を禁止する
(#202)。
The CPU 201 receives the control data and the image data from the book scanner 1 and stores them in the memory having the same capacity as the memory 107 (# 201). Then, in order to prevent new data input during printing, data output is temporarily prohibited to the book scanner 1 (# 202).

【0074】用紙選択モードがオートでなければ、ユー
ザーの指定した用紙サイズに応じて出力サイズ(プリン
トサイズ)を設定するAMS(自動倍率選択)モードの
処理を実行し、ブックスキャナ1からの画像データに基
づいて出力サイズのプリントデータを作成する(#20
3、#206、#207)。用紙選択モードがオートで
あり、ステープルフラグSTがリセット状態であれば、
原稿サイズに応じて適切な用紙サイズを設定し(#20
4、#205)、ステップ#207へ進んでプリントデ
ータを作成する。
If the paper selection mode is not auto, the AMS (automatic magnification selection) mode process for setting the output size (print size) according to the paper size specified by the user is executed, and the image data from the book scanner 1 is executed. Create print data of output size based on (# 20
3, # 206, # 207). If the paper selection mode is auto and the staple flag ST is in the reset state,
Set an appropriate paper size according to the original size (# 20
4, # 205) and the process proceeds to step # 207 to create print data.

【0075】用紙選択モードがオートであり且つステー
プルフラグSTがセット状態であれば、図40のステッ
プ213に進み、出力サイズとして一般的な用紙サイズ
であるA4サイズを設定する。そして、2点止めフラグ
ST2sがリセット状態であれば、読取り画像の右半分
をプリント対象に設定してステップ#207へ進む(#
214、#216)。2点止めフラグST2sがセット
状態であり且つ片面原稿の場合にも右半分をプリント対
象とする(#214〜#216)。2点止めフラグST
2sがセット状態であり且つ両面原稿の場合には、コピ
ーモードをチェックする(#217)。片面コピーであ
れば、読取り画像の左半分をプリント対象に設定し(#
218)、その旨を示すフラグLFTをセットし(#2
19)、ステップ#207へ進む。両面コピーであれ
ば、左半分をプリント対象に設定し(#220)、フラ
グLFTをセットすることなくステップ#207へ進
む。
If the paper selection mode is auto and the staple flag ST is in the set state, the process advances to step 213 in FIG. 40 to set A4 size which is a general paper size as the output size. If the two-point stop flag ST2s is in the reset state, the right half of the read image is set as the print target and the process proceeds to step # 207 (#
214, # 216). Even when the two-point stop flag ST2s is in the set state and the one-sided original is set, the right half is targeted for printing (# 214 to # 216). 2-point stop flag ST
When 2 s is in the set state and is a double-sided original, the copy mode is checked (# 217). For single-sided copying, set the left half of the scanned image as the print target (#
218), and a flag LFT indicating that is set (# 2
19) and proceeds to step # 207. In the case of double-sided copying, the left half is set as the print target (# 220), and the process proceeds to step # 207 without setting the flag LFT.

【0076】図39のステップ#207でプリント対象
の画像に対応したプリントデータを作成した後、両面コ
ピーに係わる片面完了フラグをチェックする(#20
8)。片面完了フラグがリセット状態であれば、以前に
設定したサイズの記録用紙Pを給紙し(#209)、プ
リントヘッド203にプリントデータを出力するととも
にプリントエンジン204を駆動するプリント動作(コ
ピー)を開始する(#210、#211)。片面完了フ
ラグがセット状態であれば、給紙を行わずにプリントデ
ータを出力してコピーを開始する。そして、コピーの終
了を待って図41のステップ#221へ進む。
After the print data corresponding to the image to be printed is created in step # 207 of FIG. 39, the one-sided completion flag related to double-sided copying is checked (# 20).
8). If the one-sided completion flag is in the reset state, the recording paper P of the previously set size is fed (# 209), the print data is output to the print head 203, and the print operation (copy) for driving the print engine 204 is performed. Start (# 210, # 211). If the single-sided completion flag is set, print data is output and copying is started without feeding paper. Then, it waits for the end of copying and proceeds to step # 221 in FIG.

【0077】ステップ#221ではコピーモードをチェ
ックする。片面コピーであれば、プリント済の記録用紙
Pの排紙を行う(#222)。排紙の後にフラグLFT
をチェックし、リセット状態であれば、1回の読取りに
対するプリントが完了したことになるので、ブックスキ
ャナ1からのデータの入力禁止を解除し、すなわちブッ
クスキャナ1に対して新たなデータ出力を許可し(#2
29)、割込みルーチンを抜ける。フラグLFTがセッ
ト状態であれば、フラグLFTをリセットし(#22
4)、読取り画像の右半分をプリント対象に設定して図
39のステップ#207へ戻る。
At step # 221, the copy mode is checked. If it is a one-sided copy, the printed recording paper P is discharged (# 222). Flag LFT after paper ejection
Is checked, and if it is in the reset state, printing for one reading is completed. Therefore, the prohibition of data input from the book scanner 1 is released, that is, new data output is permitted for the book scanner 1. Do (# 2
29), exit the interrupt routine. If the flag LFT is in the set state, the flag LFT is reset (# 22
4), the right half of the read image is set as the print target, and the process returns to step # 207 in FIG.

【0078】ステップ#221で両面コピーであれば、
続いて片面完了フラグをチェックする(#226)。片
面完了フラグがリセット状態であれば、用紙反転機構2
50を駆動して既に第1面のプリントが終わった記録用
紙Pを第2面のプリントのための待機位置にセットし
(#227)、片面完了フラグのリセット(#228)
及び上述のデータ出力許可(#229)を実行して割込
みルーチンを抜ける。また、ステップ#226で片面完
了フラグがセット状態であれば、片面完了フラグのリセ
ット(#230)及び排紙制御(#231)を実行して
2点止めフラグをチェックする(#232)。2点止め
フラグがセットされているときは、読取り画像の右半分
をプリント対象に設定し(#233)、図39のステッ
プ#207へ戻る。2点止めフラグがリセットされてい
るときは、上述のステップ#229へ進む。
If double-sided copying is selected in step # 221,
Then, the one-sided completion flag is checked (# 226). If the one-sided completion flag is in the reset state, the paper reversing mechanism 2
By driving 50, the recording paper P on which the first side has been printed is set to the standby position for printing the second side (# 227), and the one-sided completion flag is reset (# 228).
Also, the data output permission (# 229) described above is executed, and the interrupt routine is exited. If the one-sided completion flag is set in step # 226, the one-sided completion flag is reset (# 230) and the paper discharge control (# 231) is executed to check the two-point stop flag (# 232). When the two-point stop flag is set, the right half of the read image is set as the print target (# 233), and the process returns to step # 207 in FIG. When the two-point stop flag is reset, the process proceeds to step # 229 described above.

【0079】以上の実施形態によれば、投影ユニット1
8を設けて撮像ユニット30を原稿面S1、端面S3、
及び側面の撮影に兼用するようにしたので、構成の簡略
化と高さ測定の高精度化とを図ることができる。ただ
し、本発明はこのような構成に限定されない。撮像ユニ
ット30とは別に、端面及び側面をそれぞれ撮影するた
めの光学系及び撮像デバイスを組み込んでもよい。原稿
の右側面を写す投射板18bを設けたのは、一般の文書
が横書きであって、左側をステープルで綴じる場合が多
いからである。ただし、縦書き文書のように右側を綴じ
た原稿が多い場合には、左側面を写す投影板を設けても
よい。側面を写す投影板18bを左右方向に移動可能と
して原稿に当接できるようにし、又は前後方向の位置決
めと同様に投影板18bを左右の位置決めの基準とすれ
ば、より鮮明に側面を撮影することができる。
According to the above embodiment, the projection unit 1
8, the image pickup unit 30 is provided with a document surface S1, an end surface S3,
Also, since it is also used for photographing the side surface, it is possible to simplify the configuration and improve the accuracy of height measurement. However, the present invention is not limited to such a configuration. Apart from the image pickup unit 30, an optical system and an image pickup device for picking up images of the end face and the side face may be incorporated. The projection plate 18b for displaying the right side surface of the original is provided because a general document is horizontally written and the left side is often stapled. However, when there are many documents bound on the right side, such as a vertically written document, a projection plate that reflects the left side surface may be provided. If the projection plate 18b showing the side surface can be moved in the left-right direction so as to be in contact with the document, or if the projection plate 18b is used as the reference for the left-right positioning in the same manner as the front-back positioning, the side surface can be photographed more clearly. You can

【0080】[0080]

【発明の効果】請求項1及び請求項の発明によれば、
特定種の見開き原稿の読取りの操作の手間を軽減するこ
とができ、綴じられた複数の用紙からなる原稿を複製す
る場合などにおける利便性を高めることができる。使い
易くすることができる。
According to the inventions of claim 1 and claim 2 ,
It is possible to reduce the time and effort required to read a specific type of two-page spread original, and to improve the convenience when copying an original consisting of a plurality of bound sheets. Can be easy to use.

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

【図1】本発明に係る複写システムの構成図である。FIG. 1 is a configuration diagram of a copying system according to the present invention.

【図2】ブックスキャナの外観を示す斜視図である。FIG. 2 is a perspective view showing an appearance of a book scanner.

【図3】ブックスキャナによる読取りの模式図である。FIG. 3 is a schematic diagram of reading with a book scanner.

【図4】見開き1点止め原稿がセッティングされた状態
を示す図である。
FIG. 4 is a diagram showing a state in which a two-page spread single-point stop document is set.

【図5】副走査機構の構成図である。FIG. 5 is a configuration diagram of a sub-scanning mechanism.

【図6】AF機構の構成図である。FIG. 6 is a configuration diagram of an AF mechanism.

【図7】原稿の種類の表示形態の一例を示す図である。FIG. 7 is a diagram showing an example of a display form of document types.

【図8】ステープルの有無の判別における注目領域を示
す図である。
FIG. 8 is a diagram showing a region of interest in determining the presence or absence of staples.

【図9】3種の見開き原稿の高さ分布を示す図である。FIG. 9 is a diagram showing height distributions of three types of spread originals.

【図10】平面視形状に基づく原稿の種類の判別方法を
説明するための図である。
FIG. 10 is a diagram for explaining a method of discriminating a document type based on a planar view shape.

【図11】見開き1点止め原稿の一例を示す斜視図であ
る。
FIG. 11 is a perspective view showing an example of a two-page spread one-point stop document.

【図12】原稿面の高さ分布の測定方法を説明するため
の図である。
FIG. 12 is a diagram for explaining a method of measuring the height distribution of the document surface.

【図13】見開き1点止め原稿における補正対象領域を
示す図である。
FIG. 13 is a diagram showing a correction target area in a double-page spread single-point stop original.

【図14】見開き1点止め原稿における主走査方向の高
さ分布の模式図である。
FIG. 14 is a schematic diagram of a height distribution in the main scanning direction in a two-page spread original document.

【図15】ピント調整における高さ設定方法の一例を示
す図である。
FIG. 15 is a diagram showing an example of a height setting method in focus adjustment.

【図16】ピント調整の他の例を説明するための図であ
る。
FIG. 16 is a diagram for explaining another example of focus adjustment.

【図17】重なり領域の検出方法を示す図である。FIG. 17 is a diagram showing a method of detecting an overlapping area.

【図18】複写システムの機能ブロック図である。FIG. 18 is a functional block diagram of a copying system.

【図19】A補正回路の機能の模式図である。FIG. 19 is a schematic diagram of a function of an A correction circuit.

【図20】A補正回路のブロック図である。FIG. 20 is a block diagram of an A correction circuit.

【図21】B補正回路の機能の模式図である。FIG. 21 is a schematic diagram of the function of the B correction circuit.

【図22】B補正回路のブロック図である。FIG. 22 is a block diagram of a B correction circuit.

【図23】3種のステープル原稿のコピー形態を示す図
である。
FIG. 23 is a diagram showing copying forms of three types of staple originals.

【図24】ブックスキャナのCPUが実行するメイン処
理のフローチャートである。
FIG. 24 is a flowchart of a main process executed by the CPU of the book scanner.

【図25】図24のコピーモード切換え処理サブルーチ
ンのフローチャートである。
FIG. 25 is a flowchart of a copy mode switching process subroutine of FIG. 24.

【図26】図24のステープル処理サブルーチンのフロ
ーチャートである。
26 is a flowchart of a staple processing subroutine of FIG.

【図27】図24の読取り制御サブルーチンの概略のフ
ローチャートである。
27 is a schematic flowchart of the read control subroutine of FIG. 24. FIG.

【図28】図27の原稿検出サブルーチンの概略のフロ
ーチャートである。
FIG. 28 is a schematic flowchart of a document detection subroutine of FIG. 27.

【図29】図28における原稿の種類判別サブルーチン
のフローチャートである。
FIG. 29 is a flowchart of a document type determination subroutine in FIG. 28.

【図30】図28における原稿の種類判別サブルーチン
のフローチャートである。
FIG. 30 is a flowchart of a document type determination subroutine in FIG. 28.

【図31】図30の原稿領域の決定サブルーチンのフロ
ーチャートである。
31 is a flowchart of a document area determination subroutine of FIG. 30. FIG.

【図32】図29の見開き2点処理サブルーチンのフロ
ーチャートである。
32 is a flowchart of a two-page spread two-point processing subroutine of FIG. 29. FIG.

【図33】図30の見開き1点処理サブルーチンのフロ
ーチャートである。
33 is a flowchart of a one-point spread processing subroutine of FIG. 30. FIG.

【図34】図30のステープル補正処理サブルーチンの
フローチャートである。
34 is a flowchart of a staple correction process subroutine of FIG.

【図35】図27の本スキャンニングサブルーチンのフ
ローチャートである。
FIG. 35 is a flowchart of a main scanning subroutine of FIG. 27.

【図36】図27の画像処理サブルーチンのフローチャ
ートである。
FIG. 36 is a flowchart of the image processing subroutine of FIG. 27.

【図37】図36の歪み補正サブルーチンのフローチャ
ートである。
FIG. 37 is a flowchart of the distortion correction subroutine of FIG.

【図38】図27のデータ出力サブルーチンのフローチ
ャートである。
FIG. 38 is a flowchart of the data output subroutine of FIG. 27.

【図39】プリンタのCPUが実行するプリント制御の
フローチャートである。
FIG. 39 is a flowchart of print control executed by the CPU of the printer.

【図40】プリンタのCPUが実行するプリント制御の
フローチャートである。
FIG. 40 is a flowchart of print control executed by the CPU of the printer.

【図41】プリンタのCPUが実行するプリント制御の
フローチャートである。
FIG. 41 is a flowchart of print control executed by the CPU of the printer.

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

1 ブックスキャナ(画像読取り装置) 20 原稿台 30 撮像ユニット(撮像系) 80 空間(開放空間) 101 CPU DS2s 見開き2点止め原稿(見開き原稿) OS 光学系 st ステープル 1 Book scanner (image reading device) 20 Platen 30 Imaging unit (imaging system) 80 space (open space) 101 CPU DS2s Two-page spread double-sided original (two-page spread original) OS optical system st staple

───────────────────────────────────────────────────── フロントページの続き (72)発明者 守田 賢一 大阪府大阪市中央区安土町二丁目3番13 号 大阪国際ビル ミノルタ株式会社内 (72)発明者 新阜 真 大阪府大阪市中央区安土町二丁目3番13 号 大阪国際ビル ミノルタ株式会社内 (56)参考文献 特開 平8−37584(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/10 G03B 27/80 H04N 1/04 106 H04N 1/107 H04N 1/393 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Kenichi Morita, Kenichi Morita 2-3-13 Azuchi-cho, Chuo-ku, Osaka-shi, Osaka, Osaka International Building Minolta Co., Ltd. (72) Shin Shin Fu, Azuchi, Chuo-ku, Osaka-shi, Osaka 2-13-3 Machi, Osaka International Building, Minolta Co., Ltd. (56) Reference JP-A-8-37584 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04N 1/10 G03B 27/80 H04N 1/04 106 H04N 1/107 H04N 1/393

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】原稿を支持する原稿台と、原稿画像を電気
信号に変換する撮像系と、原稿画像を前記撮像系の撮像
面に投影する光学系とを有し、前記原稿台と前記光学系
との間に原稿のセッティングのための開放空間が存在す
る構造の画像読取り装置であって、前記原稿台に置かれた原稿の原稿面の見開き方向の高さ
分布を測定する測定手段と、 前記原稿台に見開きにして置かれた、規定サイズの用紙
が用いられた見開き原稿の、 上面の見開き方向の沿面距
離を、当該原稿の原稿面の高さ分布に基づいて算出する
手段と、 検出された沿面距離と当該沿面距離に最も近い幅の規定
サイズの用紙の当該幅とを比較することにより、記見
開き原稿が、見開きサイズが見開かないときのサイズの
2倍より小さい見開き原稿である否かを判別する手段
と、 前記見開き原稿の読取り画像の出力サイズとして、見開
きサイズが見開かないときのサイズの2倍より小さい見
開き原稿と判別された場合は、当該見開き原稿の見開き
サイズを見開き方向に2等分したサイズに最も近い規定
サイズを、そうでない場合は見開きサイズに最も近い規
定サイズを、自動設定する手段とを有したことを特徴と
する画像読取り装置。
1. A manuscript table for supporting a manuscript, an imaging system for converting a manuscript image into an electric signal, and an optical system for projecting a manuscript image on an imaging surface of the imaging system. An image reading device having a structure in which an open space for setting a document exists between the document and the system, the height of the document surface of the document placed on the document table in the spread direction.
A measuring means for measuring the distribution and a paper of a prescribed size placed on the platen in a spread manner.
Calculate the creepage distance of the double- page spread original in the double-page spread direction based on the height distribution of the original surface of the original.
Means, stipulation of detected creepage distance and width closest to the creepage distance
By comparing the corresponding width of the paper size, before Symbol viewed <br/> open document, and means for determining whether a small spread document than twice the size when spread size is not wide open, the as the output size of the spread document read image, if it is determined that the smaller spread document than twice the size when spread size is not wide open, closest to the bisecting size in a direction facing the spread size of the Book original An image reading apparatus comprising means for automatically setting a specified size, or a specified size that is closest to the spread size otherwise.
【請求項2】原稿を支持する原稿台と、原稿画像を電気
信号に変換する撮像系と、原稿画像を前記撮像系の撮像
面に投影する光学系とを有し、前記原稿台と前記光学系
との間に原稿のセッティングのための開放空間が存在す
る構造の画像読取り装置であって、前記原稿台に置かれた原稿の原稿面の見開き方向の高さ
分布を測定する測定手段と、 前記高さ分布により得られる 前記原稿台に置かれた原稿
の原稿面の湾曲状態に基づいて当該原稿が見開き原稿で
あるか否かを判別する手段と、 前記原稿台に置かれた原稿の読取り画像からステープル
像を抽出することにより当該原稿がステープルで綴じら
れたステープル原稿であるか否かを判別し、当該原稿が
ステープル原稿である場合にそれを示すフラグをセット
する手段と、 前記原稿台に置かれた原稿の読取り画像の出力サイズと
して、前記フラグがセットされている状態において見開
き原稿であると判別された場合は 当該原稿の見開きサイ
ズを見開き方向に2等分したサイズに最も近い規定サイ
ズを、そうでない場合は見開きサイズに最も近い規定サ
イズを、自動設定する手段とを有したことを特徴とする
画像読取り装置。
2. A manuscript table for supporting a manuscript, an imaging system for converting a manuscript image into an electric signal, and an optical system for projecting a manuscript image on an imaging surface of the imaging system. An image reading apparatus having a structure in which an open space for setting a document is present between the system and the system, and the height of the document surface of the document placed on the document table in the spread direction.
A measuring unit for measuring the distribution; a unit for determining whether the document is a spread document or not based on the curved state of the document surface of the document placed on the platen obtained by the height distribution; the document is judged whether the staple document that has been stapled by extracting staples image from read - image of a document placed on a table, the document is
Set a flag to show if the original is staple
And the output size of the read image of the original placed on the original table.
And then open it while the flag is set.
If it is determined that the document is a manuscript, a means for automatically setting the specified size that is the closest to the spread size of the document, and the specified size that is the closest to the spread size if it is not An image reading device characterized by having.
JP30624996A 1996-11-18 1996-11-18 Image reading device Expired - Fee Related JP3433625B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30624996A JP3433625B2 (en) 1996-11-18 1996-11-18 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30624996A JP3433625B2 (en) 1996-11-18 1996-11-18 Image reading device

Publications (2)

Publication Number Publication Date
JPH10150534A JPH10150534A (en) 1998-06-02
JP3433625B2 true JP3433625B2 (en) 2003-08-04

Family

ID=17954804

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30624996A Expired - Fee Related JP3433625B2 (en) 1996-11-18 1996-11-18 Image reading device

Country Status (1)

Country Link
JP (1) JP3433625B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007180846A (en) 2005-12-27 2007-07-12 Canon Inc Image reader and image forming apparatus

Also Published As

Publication number Publication date
JPH10150534A (en) 1998-06-02

Similar Documents

Publication Publication Date Title
CA2048147C (en) Method and apparatus for scanning a signature document
JPH09238248A (en) Method for correcting read image and image reader
JPH07245696A (en) Image forming device
US11736641B2 (en) Apparatus and method for creating images from documents
JPH09205544A (en) Image processor
JPH0738738A (en) Composite image forming device
JPH0837584A (en) Image reader
JPH114339A (en) Image processing unit and photograph synthesis system
JP2009272678A (en) Image reading unit, image reading method, program, and storage medium
JPH08248818A (en) Apparatus and method for copying for flexible original document input scanning in image overlay mode
JP3433624B2 (en) Image reading device
JP4713715B2 (en) Document imaging apparatus, control method thereof, and storage medium
JP3433625B2 (en) Image reading device
JP3433626B2 (en) Document type discrimination method and image reading apparatus
JPH10150532A (en) Image reader
JP2000232589A (en) Image reader
JPH11341230A (en) Picture reader
JPH1169096A (en) Image forming device
JP2007324648A (en) Image reading system and control method thereof
JPH09200445A (en) Image reader
JP2898973B2 (en) Image processing device
TW515195B (en) Document reading apparatus and method
JPH10327325A (en) Picture reader
JPH1093778A (en) Image reader
JP2015216551A (en) Image forming apparatus

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090530

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090530

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100530

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110530

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120530

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees