JPH1028206A - Picture reader - Google Patents

Picture reader

Info

Publication number
JPH1028206A
JPH1028206A JP8180522A JP18052296A JPH1028206A JP H1028206 A JPH1028206 A JP H1028206A JP 8180522 A JP8180522 A JP 8180522A JP 18052296 A JP18052296 A JP 18052296A JP H1028206 A JPH1028206 A JP H1028206A
Authority
JP
Japan
Prior art keywords
image
document
scanning direction
sub
main scanning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8180522A
Other languages
Japanese (ja)
Inventor
Koichi Kanbe
幸一 掃部
Noriyuki Nobuyuki
宣之 沖須
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP8180522A priority Critical patent/JPH1028206A/en
Priority to US08/827,777 priority patent/US5705806A/en
Priority to US08/890,352 priority patent/US5847884A/en
Publication of JPH1028206A publication Critical patent/JPH1028206A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)

Abstract

PROBLEM TO BE SOLVED: To ease a restriction of the direction of setting at the time of reading a spread original, and to improve practical use by reducing the load of an operation. SOLUTION: This is an image picture reader, equipped with an image pickup device which converts an original image into an electric signal for reading an original picture by sub-dividing it into pixels by main scanning and sub- scanning. This device is provided with means 18a and 18b for photographing end faces in two directions, that is, a main scanning direction and a sub-scanning direction in an original BD in a spread state, direction-discriminating means for discriminating the spread direction of the oriental, based on the photographic information of the end face in each direction indicating the curved state of the original surface, and control means for operating the control, corresponding to the curved state of the spread direction.

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 and magazines.

【0002】[0002]

【従来の技術】ブックスキャナと呼称される画像読取り
装置が商品化されている。この装置では、原稿台の上方
に撮像系が配置され、原稿台と撮像系との間に高さ数十
cmの開放空間が存在する。書籍や雑誌などの製本形態
の原稿(これを「ブック原稿」と呼称する)の読取りに
際して、ユーザーは原稿台上にブック原稿を見開いた状
態で上向きにセットする。スタートキーのオンに呼応し
て照明ランプが点灯され、まず読取り環境を測定するた
めの予備スキャンニングが行われる。予備スキャンニン
グで得られた情報に基づいて動作設定が行われ、その後
に本スキャンニングが開始される。本スキャンニングに
おいて、読み取られた画像が逐次に外部装置へ出力され
る。外部装置がプリンタであれば、リアルタイムで複写
画像が形成される。ブックスキャナを用いると、原稿台
上でページをめくることができるので、多数ページの読
取り作業の能率を高めることができる。また、書籍を見
開いてうつ伏せ(下向き)にセットする場合に比べて、
書籍の受けるダメージを格段に低減することができる。
なお、ブック原稿にはファイリングされた書類も含まれ
る。
2. Description of the Related Art An image reading apparatus called a book scanner has been commercialized. In this apparatus, an image pickup system is arranged above a 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 magazine (this is referred to as a “book original”), the user sets the book original upward on a platen with the book original opened. The illumination lamp is turned on in response to the start key being turned on, and first, preliminary scanning for measuring the reading environment is performed. The operation is set based on the information obtained by the preliminary scanning, and then the main scanning is started. In the main scanning, the read images are sequentially output to the external device. If the external device is a printer, a copied image is formed in real time. When a book scanner is used, pages can be turned on a document table, so that the efficiency of reading many pages can be improved. Also, compared to opening the book and setting it face down (downward),
The damage to the book can be significantly reduced.
The book manuscript includes a filed document.

【0003】単票のシート原稿と違ってブック原稿の原
稿面(読取り対象面)は湾曲している。つまり、左右に
見開いて原稿台の上に置いたとき、左右方向(見開き方
向)の位置によって原稿面の高さが異なる。このため、
読取り画像(撮影像)にいわゆるピントボケや湾曲状態
に応じた歪みが生じる。ブックスキャナは、湾曲状態を
測定し、その測定結果に応じてピント合わせ(合焦制
御)及び歪み補正を行う。外部装置へはシート原稿を読
み取った場合と同様の画質の読取り画像が出力される。
原稿面の湾曲状態の測定方法としては、書籍における
「天(head)」と呼称される部分を撮影して画像解析を
行う方法(特開平5−161002号)がある。原稿台
上にミラーを斜め上方に向けて配置することにより、原
稿画像と合わせて天(端面)を撮影することができる。
Unlike a single-sheet sheet document, the document surface (reading target surface) of a book document is curved. That is, when the document is spread on the left and right and placed on the document table, the height of the document surface varies depending on the position in the left and right direction (spread direction). For this reason,
A so-called out-of-focus state or a distortion corresponding to a curved state occurs in the read image (photographed image). The book scanner measures the bending state, and performs focusing (focus control) and distortion correction according to the measurement result. A read image having the same image quality as when a sheet document is read is output to the external device.
As a method of measuring the curved state of the document surface, there is a method of taking an image of a portion called "head" in a book and performing image analysis (Japanese Patent Laid-Open No. 5-161002). By arranging the mirror obliquely upward on the platen, the top (end face) can be photographed together with the document image.

【0004】[0004]

【発明が解決しようとする課題】従来のブックスキャナ
は、原稿台の上面(原稿支持面)に沿った一方向のみに
ついて、原稿面の湾曲状態を測定するように構成されて
いた。つまり、ピントボケや歪みの無い読取り画像を得
る上で、ブック原稿のセッティングの向きが1つに限ら
れていた。具体的には、ユーザーは見開き方向を原稿台
の左右方向と一致させるようにブック原稿をセッティン
グしなければならなかった。
The conventional book scanner is configured to measure the curved state of the document surface only in one direction along the upper surface (document supporting surface) of the document table. In other words, in order to obtain a read image without any out-of-focus or distortion, the setting direction of the book document is limited to one. Specifically, the user has to set the book document so that the facing direction coincides with the left and right direction of the platen.

【0005】例えば、見開きサイズがA3の原稿におけ
る片側の1ページ分の原稿画像(A4サイズ)を等倍で
プリントする場合には、規定の向きにブック原稿をセッ
ティングしても問題はない。これに対して、2ページ分
のA3サイズに拡大してプリントする場合には、原稿画
像の全体をプリントするために、規定の向きに対して9
0°回転させた向きにセッティングする必要がある。し
かし、セッティングの向きを変更すると読取り画像の品
質が低下するという問題があった。
For example, in the case of printing an original image (A4 size) for one page on one side of an original having a spread size of A3 at an equal size, there is no problem even if the book original is set in a prescribed direction. On the other hand, in the case of printing an image in the A3 size for two pages, in order to print the entire original image, it is required
It is necessary to set in the direction rotated by 0 °. However, there is a problem that the quality of the read image deteriorates when the setting direction is changed.

【0006】一方、原稿を下向きにセットする形式の複
写機において、ブック原稿の綴じ代部(見開き方向の中
央部)の影を消去する機能が実現されている。セッティ
ングの向きは、縦向きでも横向きでもよい。ただし、ユ
ーザーがセッティングの向きを指定する必要があり、指
定を誤ると適正な複写画像が得られない。また、用紙サ
イズや複写倍率を選択するために、原稿の縦横の寸法を
測定し、長短の関係からセッティングの向きを判別する
機能も実現されている。しかし、ブック原稿の見開き方
向を、見開いた状態での縦横の寸法比によって特定する
ことは、信頼性の点で実用に適さない。
On the other hand, in a copying machine in which a document is set downward, a function of erasing a shadow at a binding margin (a central portion in a spread direction) of a book document is realized. The direction of the setting may be vertical or horizontal. However, the user needs to specify the setting direction, and if the setting is incorrect, an appropriate copied image cannot be obtained. Further, in order to select a paper size and a copy magnification, a function of measuring the length and width dimensions of a document and judging the setting direction from the relationship of length is also realized. However, specifying the spread direction of the book document by the vertical and horizontal dimensional ratio in the spread state is not practical in terms of reliability.

【0007】本発明は、見開いた状態のブック原稿(見
開き原稿)の読取りにおける原稿のセッティングの向き
の制約を緩和するとともに、操作の負担を軽減し、画像
読取り装置の実用性を高めることを目的としている。
SUMMARY OF THE INVENTION It is an object of the present invention to alleviate restrictions on the setting direction of an original in reading a book original (spread original) in a spread state, to reduce the operation load, and to enhance the practicality of the image reading apparatus. And

【0008】[0008]

【課題を解決するための手段】見開き方向の端面と、見
開き方向と直交する方向の端面と、の間における形状の
差異を利用して見開き方向を自動的に判別する機能を設
ける。そして、見開き方向における原稿面の湾曲状態に
応じて、撮像の合焦制御・歪み補正といった画質向上の
ための制御を行うように構成する。
According to the present invention, there is provided a function of automatically discriminating the spread direction by utilizing the difference in shape between the end face in the spread direction and the end face in the direction perpendicular to the spread direction. Then, according to the curved state of the document surface in the facing direction, control for improving image quality such as focus control and distortion correction of image pickup is performed.

【0009】請求項1の発明の装置は、原稿画像を電気
信号に変換する撮像デバイスを有し、主走査及び副走査
によって原稿画像を画素に細分化して読み取る画像読取
り装置であって、見開いた状態の原稿における主走査方
向及び副走査方向の2方向の端面を撮影することが可能
に構成され、原稿面の湾曲状態を示す前記各方向の端面
の撮影情報に基づいて、前記原稿の見開き方向を判別す
る方向判別手段と、前記見開き方向の湾曲状態に対応し
た制御を行う読取り制御手段とを有している。
According to the first aspect of the present invention, there is provided an image reading apparatus which has an image pickup device for converting an original image into an electric signal and reads the original image into pixels by main scanning and sub-scanning. It is configured to be able to photograph the end face in the main scanning direction and the sub-scanning direction of the document in the state, and the spread direction of the document based on the photographing information of the end face in each direction indicating the curved state of the document surface. And reading control means for performing control corresponding to the bending state of the facing direction.

【0010】[0010]

【発明の実施の形態】図1はブックスキャナ1の外観を
示す斜視図、図2はブックスキャナ1の使用状態を示す
図、図3はブックスキャナ1による読取りの模式図であ
る。
FIG. 1 is a perspective view showing an appearance of a book scanner 1, FIG. 2 is a diagram showing a use state of the book scanner 1, and FIG.

【0011】ブックスキャナ1は、ブック原稿(見開き
原稿)の読取りに好適な画像読取り装置であって、電源
回路などを収納する本体ハウジング10、原稿を支持す
る暗色の原稿台20、原稿画像を電気信号に変換する撮
像ユニット30、及び原稿の照明を担うランプユニット
40を備えている。原稿台20は本体ハウジング10の
前面側に配置されている。撮像ユニット30は、原稿台
20の上方に配置され、本体ハウジング10の上面から
上方に延びた支柱12によって片持ち形式で支持されて
いる。ランプユニット40は、支柱12における撮像ユ
ニット30の下面側の位置に固定されている。原稿台2
0と撮像ユニット30との間の空間80は装置外の自由
空間に対して開放されており、ブック原稿のセッティン
グに十分な広さを有している。原稿台20と撮像ユニッ
ト30の下面との距離は30cm以上であり、原稿台2
0の上でのページめくりが可能である。
The book scanner 1 is an image reading apparatus suitable for reading a book original (spread original), and includes a main body housing 10 for accommodating a power supply circuit and the like, a dark original table 20 for supporting the original, and an electric image for the original. An image pickup unit 30 converts the image into a signal, and a lamp unit 40 illuminates the document. The document table 20 is arranged on the front side of the main body housing 10. The imaging unit 30 is arranged above the document table 20 and is supported in a cantilever manner by a support column 12 extending upward from the upper surface of the main body housing 10. The lamp unit 40 is fixed to a position on the lower surface side of the imaging unit 30 on the support 12. Platen 2
A space 80 between the camera unit 0 and the imaging unit 30 is open to a free space outside the apparatus, and has a sufficient size for setting a book document. The distance between the platen 20 and the lower surface of the imaging unit 30 is 30 cm or more, and the platen 2
It is possible to turn the page above zero.

【0012】本体ハウジング10の前面の上端側に液晶
ディスプレイを含む操作パネルOPが設けられており、
本体ハウジング10における操作パネルOPに向かって
右側の側面には、メインスイッチ51が設けられてい
る。原稿台20の前面側にはアームレスト25が設けら
れている。
An operation panel OP including a liquid crystal display is provided at the upper end of the front surface of the main body housing 10.
A main switch 51 is provided on a right side surface of the main body housing 10 toward the operation panel OP. An armrest 25 is provided on the front side of the document table 20.

【0013】原稿台20の上面には、原稿面の高さを検
出するための平面視L字状の投影板ユニット18が配置
されている。投影板ユニット18は、原稿台20の後方
側の端縁に沿って延びる投影板18aと、原稿台20の
左半部で前後方向に延びる投影板18bとを有してい
る。各投影板18a,bの表面は光沢面であり、原稿台
20の上面に対する45°の傾斜面となっている。これ
ら投影板18a,bの一方にブック原稿における見開き
方向の端面(これを側面と呼称する)の像が写り、他方
に見開き方向と直交する方向の端面である天の像が写
る。そして、その状態の投影板18a,18bが原稿画
像とともに撮影される。
An L-shaped projection plate unit 18 for detecting the height of the document surface is arranged on the upper surface of the document table 20. The projection plate unit 18 has a projection plate 18 a extending along the rear edge of the document table 20 and a projection plate 18 b extending in the front-rear direction at the left half of the document table 20. The surfaces of the projection plates 18a and 18b are glossy surfaces, and are inclined at 45 degrees with respect to the upper surface of the document table 20. On one of the projection plates 18a and 18b, an image of the end face in the facing direction (referred to as a side face) of the book document appears, and on the other side, a heavenly image which is an end face in the direction perpendicular to the facing direction appears. Then, the projection plates 18a and 18b in that state are photographed together with the document image.

【0014】図1において、撮像ユニット30は、CC
Dアレイからなるラインセンサ31、結像レンズ32、
及びミラー33を有している。ミラー33と結像レンズ
32とによって、原稿画像がラインセンサ31の受光面
に投影される。結像レンズ32は、前後方向に移動可能
に設けられており、AF機構(レンズ駆動部)132に
よって位置決めされる。ラインセンサ31は、図示しな
い走査機構の可動体に取付けられており、CCD素子の
配列方向を上下方向に保った状態で左右方向(副走査方
向)M2に沿って平行移動をする。この平行移動によっ
て2次元の原稿画像の撮像が行われる。つまり、ブック
スキャナ1においては、ラインセンサ31の移動によっ
て2次元の撮像面が形成されることになる。ラインセン
サ31に代えてエリアセンサを用いた場合にはその受光
面が撮像面になる。原稿画像の主走査方向は、原稿台2
0上では前後方向であり、撮像面上では上下方向であ
る。
In FIG. 1, an image pickup unit 30 has a CC
A line sensor 31 composed of a D array, an imaging lens 32,
And a mirror 33. The original image is projected on the light receiving surface of the line sensor 31 by the mirror 33 and the imaging lens 32. The imaging lens 32 is provided movably in the front-rear direction, and is positioned by an AF mechanism (lens driving unit) 132. The line sensor 31 is attached to a movable body of a scanning mechanism (not shown), and moves in parallel in the left-right direction (sub-scanning direction) M2 while keeping the arrangement direction of the CCD elements in the up-down direction. By this parallel movement, a two-dimensional document image is captured. That is, in the book scanner 1, a two-dimensional imaging surface is formed by the movement of the line sensor 31. When an area sensor is used in place of the line sensor 31, its light receiving surface becomes an imaging surface. The main scanning direction of the original image is the original platen 2
It is the front-back direction on 0, and the up-down direction on the imaging surface.

【0015】ブックスキャナ1の使用に際して、ユーザ
ーは、図2のように原稿台20の上にブック原稿BDを
見開いた状態で上向きに置く。そのとき、左右のページ
の境界を原稿台20の左右方向又は前後方向の中心と合
わせるとともに、投影板18aの前端縁又は投影板18
bの前端縁にブック原稿BDを押し当てて位置決めを行
う。投影板18a,bと原稿台20との境界が原稿のセ
ッティングの基準線となっている。図2(A)の例で
は、見開き方向が左右方向(副走査方向)となるように
原稿台20にブック原稿BDが置かれている。この向き
のセッティング形態を“タテ置き”と呼称する。タテ置
きでは、投影板18aに天の像が写り、投影板18bに
側面の像が写る。図2(B)の例では、見開き方向が前
後方向(主走査方向)となるようにブック原稿BDが置
かれている。この向きのセッティング形態を“ヨコ置
き”と呼称する。ヨコ置きでは、投影板18aに側面の
像が写り、投影板18bに天の像が写る。なお、ブック
スキャナ1では、ユーザーはパネル操作によってタテ置
き又はヨコ置きを指定することができる。また、ユーザ
ーが自動判別モードを指定すると、ブックスキャナ1に
よってタテ置きとヨコ置きとが判別される。
When using the book scanner 1, the user places the book document BD upward on the document table 20, as shown in FIG. At this time, the boundary between the left and right pages is aligned with the center of the document table 20 in the left-right direction or the front-back direction, and the front edge of the projection plate 18a or the projection plate 18
The book document BD is pressed against the front edge of b to perform positioning. The boundaries between the projection plates 18a and 18b and the document table 20 are reference lines for setting the document. In the example of FIG. 2A, the book document BD is placed on the document table 20 so that the facing direction is the left-right direction (sub-scanning direction). The setting configuration in this direction is referred to as “vertical setting”. In the vertical setting, an image of the heavens appears on the projection plate 18a, and an image of the side appears on the projection plate 18b. In the example of FIG. 2B, the book document BD is placed so that the facing direction is the front-back direction (main scanning direction). The setting form in this direction is referred to as “horizontal setting”. In the horizontal setting, the image of the side surface appears on the projection plate 18a, and the heavenly image appears on the projection plate 18b. In the book scanner 1, the user can specify the vertical or horizontal orientation by operating the panel. When the user specifies the automatic discrimination mode, the book scanner 1 discriminates between the vertical placement and the horizontal placement.

【0016】ブックスキャナ1は、同一の原稿に対して
予備スキャンニングと本スキャンニングとを行う。ブッ
ク原稿BDでは、シート原稿と違って原稿面S1が湾曲
しているので、湾曲状態に応じて撮像のピント調整を行
う必要がある。副走査方向に縮んだ歪みの修正や輝度の
差異を補う処理も必要である。このため、予備スキャン
ニングで湾曲状態が測定され、測定の結果に基づいて本
スキャンニングの動作条件が設定される。外部装置への
画像出力は本スキャンニング時に行われる。読取りモー
ドには、左右の両ページを一括して読み取るモード(シ
ート原稿モード)と、左右の各ページを別々に読み取る
モード(ブック分割モード)とがある。どちらのモード
においても、予備スキャンニングと本スキャンニングと
が実施される。
The book scanner 1 performs preliminary scanning and main scanning on the same document. In the book document BD, since the document surface S1 is curved unlike the sheet document, it is necessary to adjust the focus of imaging according to the curved state. It is also necessary to correct distortions contracted in the sub-scanning direction and to compensate for differences in luminance. For this reason, the bending state is measured by the preliminary scanning, and the operating conditions of the main scanning are set based on the measurement result. The image output to the external device is performed during the main scanning. The reading mode includes a mode in which both the left and right pages are read at a time (sheet document mode), and a mode in which the left and right pages are read separately (book division mode). In either mode, preliminary scanning and main scanning are performed.

【0017】図4は原稿面の湾曲状態の測定方法を説明
するための図である。図4(A)はタテ置きの場合の読
取り画像と注目ラインの輝度分布とを示し、図4(B)
はヨコ置きの場合の読取り画像と注目列の輝度分布とを
示している。図中の破線は注目ライン又は注目列の位置
を示している。
FIG. 4 is a diagram for explaining a method of measuring the curved state of the document surface. FIG. 4A shows the read image and the luminance distribution of the line of interest in the case of vertical placement, and FIG.
Indicates a read image in the case of horizontal setting and the luminance distribution of the column of interest. The broken line in the figure indicates the position of the line of interest or the column of interest.

【0018】読取り画像G0は、ブック原稿BDの撮影
像G1、原稿台20の撮影像G20、投影板18aの撮
影像G18a、及び投影板18bの撮影像G18bから
構成されている。撮影像G18aの中の像G182及び
撮影像G18bの中の像G183は、セッティングされ
たブック原稿BDの端面(天又は側面)の形状を示して
いる。撮影像G18aの中の像182以外の像G180
は、投影板18aに映った背景像であり、撮影像G18
bの中の像183以外の像G181は、投影板18bに
映った背景像である。
The read image G0 is composed of a photographed image G1 of the book document BD, a photographed image G20 of the document table 20, a photographed image G18a of the projection plate 18a, and a photographed image G18b of the projection plate 18b. An image G182 in the photographed image G18a and an image G183 in the photographed image G18b indicate the shape of the end face (top or side) of the set book document BD. Image G180 other than image 182 in photographed image G18a
Is a background image reflected on the projection plate 18a, and a photographed image G18
An image G181 other than the image 183 in b is a background image reflected on the projection plate 18b.

【0019】上述したとおり原稿台20は暗色に着色さ
れているので、原稿台20の撮影像G20は他の像と比
べて暗い像になる。したがって、読取り画像G0の輝度
の判別によって、撮影像G1及び像G182,183を
抽出することができる。具体的には、タテ置きが指定さ
れた場合は、ライン毎に主走査方向の先頭画素から順に
輝度(画素値)を調べ、輝度が第1の閾値th1を越え
る範囲の先頭側の画素位置(画素番号)n1、輝度が第
2の閾値th2(th2>th1)を越える範囲の先頭
側及び後端側の画素位置n3,n4を検出する。画素位
置n1と投影板18aの前縁に対応した既知の画素位置
n5との間の画素数が、注目ラインにおける原稿面の高
さに対応し、画素位置n3と画素位置n4との間の画素
数が主走査方向の原稿サイズに対応する。ヨコ置きが指
定された場合は、1列毎に副走査方向の先頭画素から順
に輝度を調べ、輝度が閾値th1を越える範囲の先頭側
のライン位置(ライン番号)N1、輝度が閾値th2を
越える範囲の先頭側及び後端側のライン位置N3,N4
を検出する。ライン位置N1と投影板18bの前縁に対
応した既知のライン位置N5との間の画素数が、注目列
における原稿面の高さに対応し、ライン位置N3とライ
ン位置N4との間の画素数が副走査方向の原稿サイズに
対応する。原稿面の副走査方向の湾曲状態は各ラインに
おける原稿面の高さを示すデータの集合によって特定さ
れ、主走査方向の湾曲状態は各列における原稿面の高さ
を示すデータの集合によって特定される。
Since the document table 20 is colored dark as described above, the photographed image G20 of the document table 20 is darker than other images. Therefore, the captured image G1 and the images G182 and G183 can be extracted by determining the luminance of the read image G0. Specifically, when the vertical placement is specified, the luminance (pixel value) is checked in order from the top pixel in the main scanning direction for each line, and the top pixel position (in the range where the luminance exceeds the first threshold th1) is checked. The pixel positions n3 and n4 on the leading and trailing ends of the range where the pixel number) n1 and the luminance exceed the second threshold value th2 (th2> th1) are detected. The number of pixels between the pixel position n1 and the known pixel position n5 corresponding to the front edge of the projection plate 18a corresponds to the height of the document surface in the line of interest, and the number of pixels between the pixel position n3 and the pixel position n4. The number corresponds to the document size in the main scanning direction. When the horizontal setting is specified, the luminance is examined in order from the top pixel in the sub-scanning direction for each column, and the line position (line number) N1 on the head side in the range where the luminance exceeds the threshold th1, and the luminance exceeds the threshold th2. Line positions N3 and N4 at the beginning and end of the range
Is detected. The number of pixels between the line position N1 and the known line position N5 corresponding to the front edge of the projection plate 18b corresponds to the height of the document surface in the column of interest, and the number of pixels between the line position N3 and the line position N4. The number corresponds to the document size in the sub-scanning direction. The curving state of the document surface in the sub-scanning direction is specified by a set of data indicating the height of the document surface in each line, and the curving state in the main scanning direction is specified by a set of data indicating the height of the document surface in each column. You.

【0020】自動判別モードにおいては、画素位置n1
の検出及びライン位置N1の検出が行われる。すなわ
ち、副走査方向及び主走査方向の両方の湾曲状態が測定
される。そして、各方向の湾曲状態の比較によってブッ
ク原稿BDの見開き方向が特定される。
In the automatic discrimination mode, the pixel position n1
And the line position N1 are detected. That is, the bending state in both the sub-scanning direction and the main scanning direction is measured. Then, the facing direction of the book document BD is specified by comparing the bending states in each direction.

【0021】なお、読取り画像G0において、撮影像G
1の端縁が湾曲しているのは、原稿面の高さが一定では
ないからである。つまり、撮像面に近い被写体は遠くの
被写体よりも大きく撮像される。本スキャンニング時に
は、見開き方向の歪み補正と合わせて、この見開き方向
と直交する方向の歪みに対する補正も行われる。見開き
方向の歪み補正(伸長処理)は、微小区間毎に原稿面の
高さの変化量(傾き)に応じてラインを重複させる変倍
処理である。見開き方向と直交する方向の歪み補正は、
原稿台20の上方の一定距離(例えば5cm)の位置の
平面を基準面とし、見開き方向の各位置における基準面
と原稿面との高低差に応じて画素を重複させる変倍処理
である。
In the read image G0, the photographed image G
1 is curved because the height of the document surface is not constant. That is, a subject near the imaging surface is imaged larger than a distant subject. At the time of the main scanning, the distortion in the direction orthogonal to the spread direction is also corrected together with the distortion correction in the spread direction. The spread direction distortion correction (expansion processing) is a magnification processing for overlapping lines in accordance with the amount of change (inclination) in the height of the document surface for each minute section. Distortion correction in the direction orthogonal to the facing direction is
This is a scaling process in which a plane at a position at a fixed distance (for example, 5 cm) above the document table 20 is used as a reference surface, and pixels are overlapped in accordance with the height difference between the reference surface and the document surface at each position in the spread direction.

【0022】ブックスキャナ1は、上述の方法で測定し
た見開き方向の湾曲状態に応じて、本スキャンニングに
際して撮影のピント調整を行う。見開き方向が副走査方
向である場合には、つまりタテ置きであれば、副走査の
進行に合わせて合焦状態が得られるように結像レンズ3
2を移動させる。各ラインにおける原稿面内の各ライン
の位置が高いときには結像レンズ32を原稿面に近づ
け、逆に低いときには遠ざける。結像レンズ32の位置
は、公知の幾何学的な条件式である(1)式によって算
定することができる。
The book scanner 1 adjusts the focus of photographing at the time of the main scanning according to the curved state of the spread direction measured by the above-described method. If the facing direction is the sub-scanning direction, that is, if the vertical position is set, the imaging lens 3 is adjusted so that the in-focus state is obtained in accordance with the progress of the sub-scanning.
Move 2 When the position of each line on the document surface in each line is high, the imaging lens 32 is moved closer to the document surface, and when it is low, it is moved away. The position of the imaging lens 32 can be calculated by the known geometric conditional expression (1).

【0023】 1/f=(1/a)+(1/b) …(1) f:結像レンズの焦点距離 a:像面距離(図3参照) b:被写界距離(図3参照) 一方、見開き方向が主走査方向である場合には、つまり
ヨコ置きであれば、ラインセンサ31を原稿台20に対
して傾けることによって原稿画像の結像状態を最適化す
る。
1 / f = (1 / a) + (1 / b) (1) f: focal length of the imaging lens a: image plane distance (see FIG. 3) b: field distance (see FIG. 3) On the other hand, when the spread direction is the main scanning direction, that is, in the case of horizontal setting, the image forming state of the document image is optimized by inclining the line sensor 31 with respect to the document table 20.

【0024】図5はヨコ置きにおける湾曲の度合いの算
定方法を説明するための図、図6はヨコ置きにおけるピ
ント調整の模式図、図7はラインセンサ31の取付け構
造を示す図である。
FIG. 5 is a diagram for explaining a method of calculating the degree of curvature in the horizontal setting, FIG. 6 is a schematic diagram of focus adjustment in the horizontal setting, and FIG. 7 is a diagram showing a mounting structure of the line sensor 31.

【0025】図5のように、ヨコ置きの場合は、原稿面
S1を2つの点P,Qを通る直線hで近似する。点P
は、図4で説明した基準の画素位置n5から主走査方向
の後方側に原稿長Wの1/4に相当する長さだけ離れた
高さH1の点である。また、点Qは、画素位置n5から
原稿長Wの3/4に相当する長さだけ離れた高さH2の
点である。ここで、原稿長Wは画素位置n5,n4間の
距離である。高さH1は、原稿面S1の後方側半分(図
5における左半分)の高さの代表値であって、画素位置
n5とそれから原稿長Wの1/2に相当する長さだけ離
れた画素位置n6との間における高さの度数分布を求め
たときの最大度数の高さである。高さH2は、原稿面S
1の前方側半分(図5における右半分)の高さの代表値
であって、画素位置n6と画素位置n4との間における
高さの度数分布を求めたときの最大度数の高さである。
As shown in FIG. 5, in the case of horizontal setting, the original surface S1 is approximated by a straight line h passing through two points P and Q. Point P
Is a point at a height H1 that is away from the reference pixel position n5 described in FIG. 4 by a length corresponding to 1 / of the document length W on the rear side in the main scanning direction. The point Q is a point having a height H2 separated from the pixel position n5 by a length corresponding to 3 of the document length W. Here, the document length W is the distance between the pixel positions n5 and n4. The height H1 is a representative value of the height of the rear half (the left half in FIG. 5) of the document surface S1, and is a pixel separated from the pixel position n5 by a length corresponding to a half of the document length W therefrom. This is the height of the maximum frequency when the frequency distribution of the height with respect to the position n6 is obtained. The height H2 is the original surface S
1 is a representative value of the height of the front half (the right half in FIG. 5), and is the maximum frequency when the frequency distribution of the height between the pixel position n6 and the pixel position n4 is obtained. .

【0026】原稿面S1を近似した直線hの傾きに応じ
て、図6のようにラインセンサ31を傾ける。その際、
傾きの角度を上述の(1)式に基づいて算定する。つま
り、原稿面内の低い位置に対応した受光部分を結像レン
ズ32に近づけ、高い位置に対応した受光部分を結像レ
ンズ32から遠ざける。
The line sensor 31 is inclined as shown in FIG. 6 according to the inclination of the straight line h approximating the document surface S1. that time,
The angle of the inclination is calculated based on the above equation (1). That is, the light receiving portion corresponding to the lower position in the document surface is brought closer to the imaging lens 32, and the light receiving portion corresponding to the higher position is moved away from the imaging lens 32.

【0027】図7のように、ラインセンサ31は、ピエ
ゾ素子311,312を介してスキャナ(可動体)30
0に支持されたプレート310に取り付けられている。
プレート310は、常にバネ321,322によってピ
エゾ素子311,312に押し付けられている。電界を
加えて各ピエゾ素子311,312を伸長させることに
より、ラインセンサ31を傾けることができる。
As shown in FIG. 7, a line sensor 31 is connected to a scanner (movable body) 30 via piezo elements 311 and 312.
It is attached to a plate 310 supported at zero.
The plate 310 is constantly pressed against the piezo elements 311 and 312 by springs 321 and 322. The line sensor 31 can be inclined by applying an electric field to extend each of the piezo elements 311 and 312.

【0028】図8はセッティング方向の第1及び第2の
自動判別方法を説明するための図、図9はセッティング
方向の第3の自動判別方法を説明するための図である。
図8(A)のように、見開き方向では原稿面S1の高さ
が位置によって変化するのに対し、見開き方向と直交す
る方向では原稿面の高さがほぼ一定である。そして、本
実施形態のように上向けにブック原稿BDを置く場合に
は、見開き方向における高さの分布SH1に注目する
と、左右のページの境界(書籍の綴じ代部分)の高さ分
布がV字状となる(このことを条件と呼称する)。ま
た、各ページの中間部の高さ分布が緩やかな山状となる
(このことを条件と呼称する)。見開き方向と直交す
る方向では、このような特徴的な分布は見られない。
FIG. 8 is a diagram for explaining the first and second methods for automatically determining the setting direction, and FIG. 9 is a diagram for explaining the third automatic method for determining the setting direction.
As shown in FIG. 8A, the height of the document surface S1 varies depending on the position in the facing direction, whereas the height of the document surface is substantially constant in the direction perpendicular to the facing direction. When the book document BD is placed upward as in the present embodiment, focusing on the height distribution SH1 in the facing direction, the height distribution at the boundary between the left and right pages (book binding margin) is V It is shaped like a letter (this is called a condition). In addition, the height distribution of the middle portion of each page has a gentle mountain shape (this is called a condition). In the direction orthogonal to the facing direction, such a characteristic distribution is not seen.

【0029】したがって、投影板18aの撮影像によっ
て副走査方向の高さ分布を調べたとき、2つの条件,
の少なくとも一方を満たせば、副走査方向が見開き方
向であるので、タテ置きと判別することができる。逆に
投影板18bの撮影像によって主走査方向の高さ分布を
調べたとき、2つの条件,の少なくとも一方を満た
せば、主走査方向が見開き方向であるので、ヨコ置きと
判別することができる。なお、条件のみを満たす場合
としては、1ページ分の原稿サイズが最大読取りサイズ
に相当するような大型サイズである場合が考えられる。
このように条件,の成否によってセッティング方向
を判別するのが第1の自動判別方法である。
Therefore, when examining the height distribution in the sub-scanning direction based on the photographed image of the projection plate 18a, two conditions,
If at least one of the conditions is satisfied, the vertical scanning direction is the spread direction, so that the vertical placement can be determined. Conversely, when the height distribution in the main scanning direction is examined by the photographed image of the projection plate 18b, if at least one of the two conditions is satisfied, the main scanning direction is the spread direction, so that the horizontal setting can be determined. . As a case where only the condition is satisfied, a case where a document size of one page is a large size corresponding to the maximum reading size can be considered.
The first automatic determination method determines the setting direction based on the success or failure of the condition.

【0030】第2の自動判別方法は、原稿面の高さ変化
の度合いに着目してセッティング方向を判別する方法で
ある。主走査方向及び副走査方向のそれぞれについて高
さの度数分布を求め、所定値より高く且つ度数が閾値T
H2を越える高さ範囲(高さ変動幅)を算定する。見開
き方向の高さ変動幅ΔH1は、見開き方向と直交する方
向の高さ変動幅ΔH2より広い。したがって、副走査方
向の高さ変動幅が主走査方向より広ければ、副走査方向
が見開き方向であるので、セッティングはタテ置きであ
る。逆に、主走査方向の高さ変動幅が副走査方向より広
ければ、主走査方向が見開き方向であるので、セッティ
ングはヨコ置きである。
The second automatic discrimination method is a method of discriminating the setting direction by paying attention to the degree of height change of the document surface. A frequency distribution of heights in each of the main scanning direction and the sub-scanning direction is obtained, and the frequency is higher than a predetermined value and the frequency is equal to a threshold T.
The height range exceeding H2 (height variation width) is calculated. The height fluctuation width ΔH1 in the spread direction is wider than the height fluctuation width ΔH2 in the direction orthogonal to the spread direction. Therefore, if the height fluctuation width in the sub-scanning direction is wider than that in the main scanning direction, the setting is vertical because the sub-scanning direction is the spread direction. Conversely, if the height fluctuation width in the main scanning direction is wider than the sub-scanning direction, the main scanning direction is the spread direction and the setting is horizontal.

【0031】以上の2つの自動判別方法は、原稿面S1
の高さの測定結果を用いるものであるが、高さの測定に
よらずにセッティングの向きを判別することができる。
第3の自動判別方法は、図4で説明した見開き方向と直
交する方向の画像歪みを利用するものである。
The above two automatic discrimination methods are based on the document surface S1.
Although the measurement result of the height is used, the direction of the setting can be determined without depending on the measurement of the height.
The third automatic discrimination method utilizes image distortion in a direction orthogonal to the spread direction described with reference to FIG.

【0032】図9(A)のように、読取り画像G0の解
析の基準位置Oから主走査方向M1における撮影像(原
稿像)G1の端縁(エッジ)までの距離をXとし、基準
位置Oから副走査方向M2における撮影像G1の端縁ま
での距離をYとする。まず、副走査方向M2の各位置に
おける距離(画素数)Xを調べて距離Xの度数分布を求
め、主走査方向M1の各位置における距離Yを調べて距
離Yの度数分布を求める。次に、度数が閾値TH3を越
える距離Xの範囲(変動幅)ΔXと、度数が閾値TH3
を越える距離Yの範囲(変動幅)ΔYとを算出する。そ
して、変動幅ΔXと変動幅ΔYとを比較する。ここで、
通常のブック原稿BDでは、見開き方向の端縁はほぼ直
線状であり、見開き方向と直交する方向の端縁は曲線状
である。したがって、変動幅ΔXが変動幅ΔYより広い
場合(図9の例の場合)は、副走査方向が見開き方向で
あるので、セッティングはタテ置きである。逆に、変動
幅ΔYが変動幅ΔXより広い場合は、主走査方向が見開
き方向であるので、セッティングはヨコ置きである。
As shown in FIG. 9A, the distance from the reference position O for analyzing the read image G0 to the edge of the photographed image (original image) G1 in the main scanning direction M1 is X, and the reference position O Let Y be the distance from to the edge of the captured image G1 in the sub-scanning direction M2. First, the distance (number of pixels) X at each position in the sub-scanning direction M2 is checked to determine the frequency distribution of the distance X, and the distance Y at each position in the main scanning direction M1 is checked to determine the frequency distribution of the distance Y. Next, the range (variation width) ΔX of the distance X whose frequency exceeds the threshold value TH3,
And the range (fluctuation width) ΔY of the distance Y exceeding. Then, the fluctuation width ΔX and the fluctuation width ΔY are compared. here,
In a normal book document BD, the edge in the facing direction is substantially linear, and the edge in the direction perpendicular to the facing direction is curved. Therefore, when the variation width ΔX is wider than the variation width ΔY (in the case of the example in FIG. 9), the setting is vertical, since the sub-scanning direction is the facing direction. Conversely, when the fluctuation width ΔY is wider than the fluctuation width ΔX, the main scanning direction is the spread direction, and the setting is horizontal.

【0033】図10はブックスキャナ1の信号処理系1
00のブロック図である。信号処理系100は、CPU
101、AD変換部102、画像メモリ104、画像処
理回路103、RAM105、比較器111、及びカウ
ンタ112を有している。
FIG. 10 shows the signal processing system 1 of the book scanner 1.
It is a block diagram of 00. The signal processing system 100 includes a CPU
101, an AD converter 102, an image memory 104, an image processing circuit 103, a RAM 105, a comparator 111, and a counter 112.

【0034】ラインセンサ31から出力された光電変換
信号は、AD変換部102によって例えば8ビットの画
素単位の画像データに変換される。画像データは走査順
に画像メモリ104に書き込まれる。すなわち読取り画
像G0が一旦格納される。画像メモリ104は、読取り
画像G0を必要に応じて90°回転させるために設けら
れている。画像メモリ104のアドレス(行アドレス、
列アドレス)と走査方向(主走査方向、副走査方向)と
の対応関係を、書込み時と読出し時とで入れ換えること
により、画像回転を実現することができる。読取り画像
G0を90°回転させると、例えばヨコ置きの場合であ
っても、タテ置きの場合と同じ要領で画像解析や歪み補
正などのデータ処理を行えばよく、制御が簡単になる。
The photoelectric conversion signal output from the line sensor 31 is converted by the AD converter 102 into, for example, 8-bit image data in pixel units. The image data is written to the image memory 104 in the order of scanning. That is, the read image G0 is temporarily stored. The image memory 104 is provided to rotate the read image G0 by 90 ° as needed. The address of the image memory 104 (row address,
The image rotation can be realized by exchanging the correspondence between the column address) and the scanning direction (main scanning direction, sub-scanning direction) between writing and reading. If the read image G0 is rotated by 90 °, for example, even in the case of horizontal setting, data processing such as image analysis and distortion correction may be performed in the same manner as in the case of vertical setting, and control is simplified.

【0035】予備スキャンニング時において、画像メモ
リ104から所定の順序で読み出された画像データは、
比較器111に入力される。比較器111は、入力され
た画像データと閾値th1,th2とを比較し、比較結
果をCPU101及びカウンタ112に通知する。カウ
ンタ112は閾値th1を越える画素の数をカウントす
る。つまり、原稿面S1の高さを測定する。CPU10
1は、カウンタ112のカウント値を取り込み、原稿面
S1の湾曲状態を示す原稿高さデータDHを生成する。
また、比較器111によって検出された画素位置n3,
n4を取り込み、原稿の平面視サイズを示すサイズデー
タDSを生成する。原稿高さデータDH及びサイズデー
タDSはRAM105に一旦格納される。予備スキャン
ニングの終了後、CPU101は、原稿高さデータDH
及びサイズデータDSに基づいて、本スキャンニングの
準備としてピント調整及び画像歪み補正のための制御デ
ータを生成する。そして、1ページ分の原稿面S1の見
開き方向の長さ(ページ長)を求め、出力画像範囲(有
効読取り範囲)を設定する。また、自動用紙選択(AP
S)又は自動倍率選択(AMS)を行う場合には、ペー
ジ長に適した用紙サイズ又は読取り倍率を設定する。
At the time of preliminary scanning, image data read out from the image memory 104 in a predetermined order
The signal is input to the comparator 111. The comparator 111 compares the input image data with the threshold values th1 and th2, and notifies the CPU 101 and the counter 112 of the comparison result. The counter 112 counts the number of pixels exceeding the threshold th1. That is, the height of the document surface S1 is measured. CPU10
1 fetches the count value of the counter 112 and generates document height data DH indicating the curved state of the document surface S1.
Further, the pixel positions n3 and n3 detected by the comparator 111
n4 is fetched to generate size data DS indicating the size of the document in plan view. The document height data DH and the size data DS are temporarily stored in the RAM 105. After the completion of the preliminary scanning, the CPU 101 sets the document height data DH
Based on the size data DS, control data for focus adjustment and image distortion correction is generated as preparation for main scanning. Then, the length (page length) of one page of the document surface S1 in the facing direction is obtained, and the output image range (effective reading range) is set. In addition, automatic paper selection (AP
When performing S) or automatic magnification selection (AMS), a paper size or reading magnification suitable for the page length is set.

【0036】本スキャンニング時において、画像メモリ
104から所定の順序で読み出された画像データは、画
像処理回路103に入力される。画像処理回路103
は、原稿面S1の照度むらを補正する処理、画質改善の
ためのMTF補正、原稿面S1の湾曲に起因する画像歪
みの補正処理、濃度補正、及び出力画像範囲の外側を空
白とするマスキングなどの処理を担う。所定の画像処理
を受けた画像データは外部装置(例えばディジタル複写
機)に出力される。
At the time of the main scanning, the image data read from the image memory 104 in a predetermined order is input to the image processing circuit 103. Image processing circuit 103
Are processing for correcting uneven illuminance on the original surface S1, MTF correction for improving image quality, correction processing for image distortion due to the curvature of the original surface S1, density correction, and masking for blanking the outside of the output image range. Responsible for the processing of. The image data that has undergone the predetermined image processing is output to an external device (for example, a digital copying machine).

【0037】CPU101は、スキャナ駆動部130、
撮像制御回路131、レンズ駆動部132、及びランプ
制御部140を含む駆動系の制御をも担う。スキャナ駆
動部130によって、スキャナ300の平行移動、及び
ピエゾ素子311,312に対する電界印加が行われ
る。撮像制御回路131は、ラインセンサ31に各種の
駆動信号を供給する。レンズ駆動部132は、結像レン
ズ32を適切な位置に配置する。CPU101には、操
作パネルOP及びスタートキー52,53を含む各種ス
イッチが接続されている。RAM105は、制御に係わ
る種々のデータの一時記憶に用いられる。
The CPU 101 includes a scanner driving unit 130,
It also controls a drive system including the imaging control circuit 131, the lens drive unit 132, and the lamp control unit 140. The scanner driving unit 130 performs parallel movement of the scanner 300 and application of an electric field to the piezo elements 311 and 312. The imaging control circuit 131 supplies various drive signals to the line sensor 31. The lens driving unit 132 arranges the imaging lens 32 at an appropriate position. Various switches including an operation panel OP and start keys 52 and 53 are connected to the CPU 101. The RAM 105 is used for temporarily storing various data related to control.

【0038】以下、フローチャートに基づいてブックス
キャナ1の動作を説明する。図11は手動判別モードに
おけるCPU101の読取り制御動作のメインフローチ
ャートである。
The operation of the book scanner 1 will be described below with reference to a flowchart. FIG. 11 is a main flowchart of the reading control operation of the CPU 101 in the manual determination mode.

【0039】ユーザーが必要な指定を終えてスタートキ
ーをオンすると、CPU101は、ランプ制御部140
に対して照明ランプの点灯を指示し、スキャナ駆動部1
32及び撮像制御回路131に対して予備スキャンニン
グの開始を指示する(#11)。予備スキャンニング中
においては、上述したように読取り画像G0が画像メモ
リ104に書き込まれる。書込みに際して、行アドレス
は副走査方向に対応づけられ、列アドレスは主走査方向
に対応づけられる。
When the user turns on the start key after completing the necessary specification, the CPU 101
To the lighting of the illumination lamp, and the scanner driving unit 1
32 and the imaging control circuit 131 are instructed to start preliminary scanning (# 11). During the preliminary scanning, the read image G0 is written to the image memory 104 as described above. In writing, the row address is associated with the sub-scanning direction, and the column address is associated with the main scanning direction.

【0040】予備スキャンニングが終了した時点で、セ
ッティング方向に関するユーザーの指定内容をチェック
する(#12)。タテ置きが指定されているときには、
タテ置きモードを設定し(#13)、画像メモリ104
から読取り画像G0を回転させずに読み出すためのタテ
置き読出し設定を行う(#14)。ヨコ置きが指定され
ているときには、ヨコ置きモードを設定し(#15)、
画像メモリ104から読取り画像G0を回転させて読み
出すためのヨコ置き読出し設定を行う(#16)。#1
4又は#16で設定した順序で読取り画像G0の各画素
のデータを読出し(#17)、原稿面の高さを求めてピ
ント調整や歪み補正の制御データを生成する(#1
8)。
When the preliminary scanning is completed, the contents specified by the user in the setting direction are checked (# 12). When vertical storage is specified,
The vertical storage mode is set (# 13), and the image memory 104 is set.
, Vertical reading setting for reading the read image G0 without rotating it is performed (# 14). When landscape is specified, the landscape mode is set (# 15),
A horizontal reading setting for rotating and reading the read image G0 from the image memory 104 is performed (# 16). # 1
The data of each pixel of the read image G0 is read out in the order set in # 4 or # 16 (# 17), and the height of the document surface is obtained to generate control data for focus adjustment and distortion correction (# 1).
8).

【0041】本スキャンニングを開始し(#19)、セ
ッティングモードのチェックを行う(#20)。タテ置
きモードであればタテ置きピント調整を実行し(#2
1)、ヨコ置きモードであればヨコ置きピント調整を実
行する(#22)。本スキャンニングが終了するまで、
予備スキャンニング時と同じ順序で画像データを画像メ
モリ104に書き込む(#23、24)。本スキャンニ
ングが終了すると、#14又は#16で設定した順序で
画像メモリ104から画像データを読出し(#25)、
画像処理回路103に対して原稿高さデータDHに応じ
た補正指示を与える(#26)。外部装置への画像出力
が終了した時点で照明ランプの消灯を指示する。
The main scanning is started (# 19), and the setting mode is checked (# 20). In the vertical mode, the vertical focus adjustment is performed (# 2
1) If horizontal mode, horizontal focus adjustment is performed (# 22). Until this scanning is completed
The image data is written in the image memory 104 in the same order as in the prescanning (# 23, # 24). When the main scanning is completed, the image data is read from the image memory 104 in the order set in # 14 or # 16 (# 25).
A correction instruction corresponding to the document height data DH is given to the image processing circuit 103 (# 26). When the image output to the external device is completed, an instruction to turn off the illumination lamp is issued.

【0042】図12はタテ置き読出し設定のフローチャ
ートである。書込み時と同様に、画像メモリ104の読
出し時の列アドレスを主走査方向に対応づけるととも
に、行アドレスを副走査方向に対応づける(#141、
142)。
FIG. 12 is a flowchart for setting the vertical reading. Similarly to the writing, the column address at the time of reading from the image memory 104 is associated with the main scanning direction, and the row address is associated with the sub-scanning direction (# 141,
142).

【0043】図13はヨコ置き読出し設定のフローチャ
ートである。書込み時とは逆に、画像メモリ104の読
出し時の行アドレスを主走査方向に対応づけるととも
に、列アドレスを副走査方向に対応づける(#161、
162)。これにより、読取り画像G0を90°回転さ
せた画像が画像処理回路103へ送られることになる。
FIG. 13 is a flow chart of the horizontal setting reading setting. Contrary to the writing, the row address at the time of reading from the image memory 104 is associated with the main scanning direction, and the column address is associated with the sub-scanning direction (# 161,
162). As a result, an image obtained by rotating the read image G0 by 90 ° is sent to the image processing circuit 103.

【0044】図14はタテ置きピント調整のフローチャ
ートである。ラインセンサ31の傾きを零(0)に固定
し(#211)、ピエゾ素子311,312を初期状態
に保つ(#212)。結像レンズ32の移動量を算出し
(#213)、レンズ駆動部132に移動の指示を与え
る(#214)。つまり、このルーチンにおいて、副走
査方向の原稿高さ変化に応じた合焦制御を実行する。
FIG. 14 is a flowchart of the vertical focus adjustment. The inclination of the line sensor 31 is fixed to zero (0) (# 211), and the piezo elements 311 and 312 are kept in the initial state (# 212). The movement amount of the imaging lens 32 is calculated (# 213), and a movement instruction is given to the lens driving unit 132 (# 214). That is, in this routine, the focusing control according to the document height change in the sub-scanning direction is executed.

【0045】図15はヨコ置きピント調整のフローチャ
ートである。結像レンズ32の移動量を零(0)に固定
し(#221)、結像レンズ32を合焦位置に固定する
(#222)。ラインセンサ31の傾き角を算出し(#
223)、スキャナ駆動部132にピエゾ素子311,
312の伸縮の指示を与える(#224)。つまり、こ
のルーチンにおいて、主走査方向の原稿高さ変化に応じ
た合焦制御を実行する。
FIG. 15 is a flow chart of horizontal focus adjustment. The moving amount of the imaging lens 32 is fixed to zero (0) (# 221), and the imaging lens 32 is fixed to the focus position (# 222). The inclination angle of the line sensor 31 is calculated (#
223), the piezo elements 311 and
An instruction to expand / contract 312 is given (# 224). That is, in this routine, the focusing control according to the change in the document height in the main scanning direction is performed.

【0046】図16は自動判別モードにおけるCPU1
01の読取り制御動作のメインフローチャートである。
CPU101は、スタートキーのオンに呼応して、照明
ランプの点灯を指示し、スキャナ駆動部132及び撮像
制御回路131に対して予備スキャンニングの開始を指
示する(#31)。予備スキャンニング中においては、
読取り画像G0の各画素の画像データを画像メモリ10
4に書き込む。書込みに際して、行アドレスを副走査方
向に対応づけ、列アドレスを主走査方向に対応づける。
FIG. 16 shows the CPU 1 in the automatic determination mode.
11 is a main flowchart of a read control operation of No. 01.
In response to the start key being turned on, the CPU 101 instructs lighting of the illumination lamp, and instructs the scanner driving unit 132 and the imaging control circuit 131 to start preliminary scanning (# 31). During pre-scanning,
The image data of each pixel of the read image G0 is stored in the image memory 10
Write to 4. In writing, the row address is associated with the sub-scanning direction, and the column address is associated with the main scanning direction.

【0047】予備スキャンニングが終了すると、画像メ
モリ104から画像データを読出し(#32)、読取り
画像G0の解析によって原稿面の高さなどを算出する高
さ演算処理を行う(#33)。画像解析で得られた情報
に基づいてセッティング方向を判別して動作モードを設
定する自動判別処理を実行し(#34)、本スキャンニ
ングを開始する(#35)。モードチェックを行い(#
36)、タテ置きモードであれば結像レンズ32の移動
制御ルーチンであるタテ置きピント調整を実行し(#3
7)、ヨコ置きモードであればピエゾ素子311,31
2の伸縮制御ルーチンであるヨコ置きピント調整を実行
する(#38)。本スキャンニングが終了するまで、予
備スキャンニング時と同じ順序で画像データを画像メモ
リ104に書き込む(#39、40)。
When the preliminary scanning is completed, the image data is read from the image memory 104 (# 32), and a height calculation process for calculating the height of the document surface by analyzing the read image G0 is performed (# 33). An automatic discrimination process for discriminating the setting direction based on the information obtained by the image analysis and setting the operation mode is executed (# 34), and the main scanning is started (# 35). Check the mode (#
36) In the vertical setting mode, vertical focus adjustment, which is a movement control routine of the imaging lens 32, is executed (# 3).
7), if in horizontal setting mode, piezo elements 311 and 31
The horizontal focus adjustment, which is the second extension control routine, is executed (# 38). Until the main scanning is completed, the image data is written into the image memory 104 in the same order as in the preliminary scanning (# 39, # 40).

【0048】本スキャンニングが終了すると、再びモー
ドチェックを行う(#41)。タテ置きモードであれ
ば、画像メモリ104から読取り画像G0を回転させず
に読み出すためのタテ置き読出し設定を行う(#4
2)。ヨコ置きモードであれば、画像メモリ104から
読取り画像G0を回転させて読み出すためのヨコ置き読
出し設定を行う(#16)。#42又は#43で設定し
た順序で読取り画像G0の各画素のデータを画像メモリ
104から読出して画像処理回路103に転送する(#
44)。そして、画像処理回路103に対して原稿高さ
データDHに応じた補正指示を与える(#45)。外部
装置への画像出力が終了した時点で照明ランプの消灯を
指示する。
When the main scanning is completed, the mode is checked again (# 41). In the portrait mode, the portrait reading setting for reading the read image G0 from the image memory 104 without rotating it is performed (# 4).
2). In the horizontal setting mode, horizontal reading setting for rotating and reading the read image G0 from the image memory 104 is performed (# 16). The data of each pixel of the read image G0 is read from the image memory 104 in the order set in # 42 or # 43 and transferred to the image processing circuit 103 (#
44). Then, a correction instruction corresponding to the document height data DH is given to the image processing circuit 103 (# 45). When the image output to the external device is completed, an instruction to turn off the illumination lamp is issued.

【0049】図17は自動判別処理の第1の例を示すフ
ローチャートである。このルーチンでは、上述した第1
の自動判別方法によってセッティング方向を判別する。
まず、副走査方向及び主走査方向における原稿面の高さ
分布を求める(#341)。具体的にはカウンタ112
のカウント値を取り込んで各方向について原稿高さデー
タDHを生成する。
FIG. 17 is a flowchart showing a first example of the automatic discrimination processing. In this routine, the first
The setting direction is determined by the automatic determination method.
First, the height distribution of the document surface in the sub-scanning direction and the main scanning direction is obtained (# 341). Specifically, the counter 112
And the document height data DH is generated for each direction.

【0050】次に、副走査方向の高さ分布が上述の条件
を満たすか否かを判断する(#342)。条件を満
たせば、タテ置きモードを設定する(#343)。条件
を満たさない場合は、条件を満たすか否かを判断す
る(#344)。条件を満たせば、タテ置きモードを
設定する(#343)。副走査方向の高さ分布が条件
及び条件のどちらも満たさない場合は、主走査方向の
高さ分布が条件を満たすか否かを判断する(#34
5)。条件を満たせば、ヨコ置きモードを設定する
(#346)。条件を満たさない場合は、条件を満
たすか否かを判断する(#347)。条件を満たせ
ば、ヨコ置きモードを設定する(#346)。
Next, it is determined whether or not the height distribution in the sub-scanning direction satisfies the above condition (# 342). If the condition is satisfied, the vertical storage mode is set (# 343). If the condition is not satisfied, it is determined whether the condition is satisfied (# 344). If the condition is satisfied, the vertical storage mode is set (# 343). If the height distribution in the sub-scanning direction does not satisfy either the condition or the condition, it is determined whether the height distribution in the main scanning direction satisfies the condition (# 34).
5). If the condition is satisfied, the horizontal setting mode is set (# 346). If the condition is not satisfied, it is determined whether the condition is satisfied (# 347). If the condition is satisfied, the horizontal setting mode is set (# 346).

【0051】副走査方向及び主走査方向のどちらにおい
ても条件が満たされず且つ条件も満たされない場合
は、判別ができない旨のメッセージを操作パネルOPの
ディスプレイに表示する。この場合、ユーザーは、ブッ
ク原稿BDのセッティング状態を修正するか、自動判別
モードを手動判別モードに切換えてセッティング方向を
指定するといった対処を行えばよい。
If the condition is not satisfied in both the sub-scanning direction and the main scanning direction and the condition is not satisfied, a message indicating that the determination cannot be made is displayed on the display of the operation panel OP. In this case, the user may correct the setting state of the book document BD, or switch the automatic determination mode to the manual determination mode and specify a setting direction.

【0052】図18は自動判別処理の第2の例を示すフ
ローチャートである。このルーチンでは、上述した第2
の自動判別方法によってセッティング方向を判別する。
まず、副走査方向及び主走査方向における原稿面の高さ
分布を求める(#401)。続いて、副走査方向及び主
走査方向における原稿面の高さの度数分布を求める(#
402)。このとき、各方向について、度数が閾値TH
2(図8参照)を越える高さ範囲(ΔH1、ΔH2)を
算出する。
FIG. 18 is a flowchart showing a second example of the automatic discrimination processing. In this routine, the second
The setting direction is determined by the automatic determination method.
First, the height distribution of the document surface in the sub-scanning direction and the main scanning direction is obtained (# 401). Subsequently, a frequency distribution of the height of the document surface in the sub-scanning direction and the main scanning direction is obtained (#
402). At this time, the frequency is set to the threshold value TH for each direction.
The height range (ΔH1, ΔH2) exceeding 2 (see FIG. 8) is calculated.

【0053】次に、副走査方向の高さ範囲と主走査方向
の高さ範囲とを比較する。副走査方向の高さ範囲が主走
査方向の高さ範囲より明らかに広い場合、すなわち高さ
範囲の差が所定値以上である場合は、タテ置きモードを
設定する(#403、404)。逆に主走査方向の高さ
範囲が副走査方向の高さ範囲より明らかに広い場合は、
ヨコ置きモードを設定する(#405、406)。各方
向の高さ範囲に顕著な差が無かったり、度数分布が平坦
で高さ範囲が特定できなかったりしたときには、自動判
別ができない旨のメッセージを表示する(#407)。
Next, the height range in the sub-scanning direction is compared with the height range in the main scanning direction. If the height range in the sub-scanning direction is clearly wider than the height range in the main scanning direction, that is, if the difference between the height ranges is equal to or larger than a predetermined value, the vertical setting mode is set (# 403, 404). Conversely, if the height range in the main scanning direction is clearly wider than the height range in the sub-scanning direction,
The horizontal setting mode is set (# 405, 406). When there is no significant difference between the height ranges in each direction, or when the frequency distribution is flat and the height range cannot be specified, a message indicating that automatic determination cannot be performed is displayed (# 407).

【0054】図19は自動判別処理の第3の例を示すフ
ローチャートである。このルーチンでは、上述した第3
の自動判別方法によってセッティング方向を判別する。
まず、比較器111の出力に基づいて画素位置n3(図
4参照)を検知し、主走査方向及び副走査方向における
原稿端の位置を示す距離X,Y(図9参照)を算出する
(#501)。続いて、主走査方向及び副走査方向にお
ける原稿端位置の度数分布を求める(#502)。この
とき、各方向について、度数が閾値TH3を越える距離
範囲ΔX,ΔYを算出する。
FIG. 19 is a flowchart showing a third example of the automatic discrimination processing. In this routine, the third
The setting direction is determined by the automatic determination method.
First, the pixel position n3 (see FIG. 4) is detected based on the output of the comparator 111, and distances X and Y (see FIG. 9) indicating the position of the document edge in the main scanning direction and the sub-scanning direction are calculated (# 501). Subsequently, the frequency distribution of the document edge position in the main scanning direction and the sub-scanning direction is obtained (# 502). At this time, distance ranges ΔX and ΔY whose frequencies exceed the threshold value TH3 are calculated for each direction.

【0055】次に、主走査方向の距離範囲ΔXと副走査
方向の距離範囲ΔYとを比較する。主走査方向の距離範
囲ΔXが副走査方向の距離範囲ΔYより明らかに広い場
合、すなわち距離範囲の差が所定値以上である場合は、
タテ置きモードを設定する(#503、504)。逆に
副走査方向の距離範囲ΔYが主走査方向の距離範囲ΔX
より明らかに広い場合は、ヨコ置きモードを設定する
(#505、506)。各方向の距離範囲ΔX,ΔYに
顕著な差が無かったり、度数分布が平坦で距離範囲Δ
X,ΔYが特定できなかったりしたときには、自動判別
ができない旨のメッセージを表示する(#507)。
Next, the distance range ΔX in the main scanning direction is compared with the distance range ΔY in the sub-scanning direction. When the distance range ΔX in the main scanning direction is clearly wider than the distance range ΔY in the sub-scanning direction, that is, when the difference between the distance ranges is equal to or more than a predetermined value,
The vertical setting mode is set (# 503, 504). Conversely, the distance range ΔY in the sub-scanning direction is the distance range ΔX in the main scanning direction.
If it is clearly wider, the horizontal setting mode is set (# 505, 506). There is no remarkable difference in the distance ranges ΔX and ΔY in each direction, and the frequency distribution is flat and the distance range Δ
When X and ΔY cannot be specified, a message indicating that automatic determination cannot be performed is displayed (# 507).

【0056】以上の実施形態においては、投影板18
a,18bに写った像を解析して2方向の高さ測定を行
う例を挙げたが、2方向にスリット光を投影する光投影
法によって原稿面における主走査方向及び副走査方向の
湾曲情報を得ることができる。画像メモリ104に対す
る書込みの順序を固定し、読出しの順序を切り換えるも
のとして説明したが、読出しの順序を固定して書込みの
順序を切換えることによって画像の回転を実現してもよ
い。
In the above embodiment, the projection plate 18
In the above example, heights in two directions are analyzed by analyzing the images shown in a and 18b. Curve information in the main scanning direction and sub-scanning direction on the document surface by a light projection method of projecting slit light in two directions has been described. Can be obtained. Although the description has been made assuming that the order of writing to the image memory 104 is fixed and the order of reading is switched, rotation of the image may be realized by switching the order of writing while fixing the order of reading.

【0057】[0057]

【発明の効果】請求項1の発明によれば、見開いた状態
の原稿の読取りにおける原稿のセッティング方向の制約
を緩和するとともに、操作の負担を軽減し、画像読取り
装置の実用性を高めることができる。
According to the first aspect of the present invention, the restriction on the setting direction of the original when reading the original in the open state is eased, the operation load is reduced, and the practicality of the image reading apparatus is improved. it can.

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

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

【図2】ブックスキャナの使用状態を示す図である。FIG. 2 is a diagram illustrating a use state of the book scanner.

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

【図4】原稿面の湾曲状態の測定方法を説明するための
図である。
FIG. 4 is a diagram for explaining a method of measuring a curved state of a document surface.

【図5】ヨコ置きにおける湾曲の度合いの算定方法を説
明するための図である。
FIG. 5 is a diagram for explaining a method of calculating a degree of curvature in horizontal setting.

【図6】ヨコ置きにおけるピント調整の模式図である。FIG. 6 is a schematic diagram of focus adjustment in horizontal setting.

【図7】ラインセンサの取付け構造を示す図である。FIG. 7 is a diagram showing a mounting structure of a line sensor.

【図8】セッティング方向の第1及び第2の自動判別方
法を説明するための図である。
FIG. 8 is a diagram for explaining first and second automatic determination methods of a setting direction.

【図9】セッティング方向の第3の自動判別方法を説明
するための図である。
FIG. 9 is a diagram for explaining a third automatic determination method of a setting direction.

【図10】ブックスキャナの信号処理系のブロック図で
ある。
FIG. 10 is a block diagram of a signal processing system of the book scanner.

【図11】手動判別モードにおけるCPUの読取り制御
動作のメインフローチャートである。
FIG. 11 is a main flowchart of a reading control operation of a CPU in a manual determination mode.

【図12】タテ置き読出し設定のフローチャートであ
る。
FIG. 12 is a flowchart of setting of vertical reading.

【図13】ヨコ置き読出し設定のフローチャートであ
る。
FIG. 13 is a flowchart of horizontal setting reading setting.

【図14】タテ置きピント調整のフローチャートであ
る。
FIG. 14 is a flowchart of vertical focus adjustment.

【図15】ヨコ置きピント調整のフローチャートであ
る。
FIG. 15 is a flowchart of horizontal setting focus adjustment.

【図16】自動判別モードにおけるCPUの読取り制御
動作のメインフローチャートである。
FIG. 16 is a main flowchart of a reading control operation of a CPU in an automatic determination mode.

【図17】自動判別処理の第1の例を示すフローチャー
トである。
FIG. 17 is a flowchart illustrating a first example of an automatic determination process.

【図18】自動判別処理の第2の例を示すフローチャー
トである。
FIG. 18 is a flowchart illustrating a second example of the automatic determination process.

【図19】自動判別処理の第3の例を示すフローチャー
トである。
FIG. 19 is a flowchart illustrating a third example of the automatic determination process.

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

1 ブックスキャナ(画像読取り装置) 18a,18b 投影板 31 ラインセンサ(撮像デバイス) 101 CPU(方向判別手段、読取り制御手段) BD ブック原稿(原稿) G182,G183 像(端面の撮影情報) M1 主走査方向 M2 副走査方向 DESCRIPTION OF SYMBOLS 1 Book scanner (image reading device) 18a, 18b Projection board 31 Line sensor (imaging device) 101 CPU (direction discriminating means, reading control means) BD Book original (original) G182, G183 Image (photographing information of end face) M1 Main scanning Direction M2 Sub-scanning direction

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】原稿画像を電気信号に変換する撮像デバイ
スを有し、主走査及び副走査によって原稿画像を画素に
細分化して読み取る画像読取り装置であって、 見開いた状態の原稿における主走査方向及び副走査方向
の2方向の端面を撮影することが可能に構成され、 原稿面の湾曲状態を示す前記各方向の端面の撮影情報に
基づいて、前記原稿の見開き方向を判別する方向判別手
段と、 前記見開き方向の湾曲状態に対応した制御を行う読取り
制御手段とを有したことを特徴とする画像読取り装置。
An image reading apparatus having an image pickup device for converting a document image into an electric signal and reading the document image by subdividing it into pixels by main scanning and sub-scanning, wherein the main scanning direction in a spread original document A direction discriminating unit configured to be capable of photographing an end face in two directions in the sub-scanning direction, based on photographing information of the end face in each direction indicating a curved state of the document surface, An image reading apparatus, comprising: reading control means for performing control corresponding to the bending state of the spread direction.
JP8180522A 1994-03-14 1996-07-10 Picture reader Pending JPH1028206A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP8180522A JPH1028206A (en) 1996-07-10 1996-07-10 Picture reader
US08/827,777 US5705806A (en) 1994-03-14 1997-04-11 Image reading apparatus
US08/890,352 US5847884A (en) 1996-07-10 1997-07-09 Image reading apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8180522A JPH1028206A (en) 1996-07-10 1996-07-10 Picture reader

Publications (1)

Publication Number Publication Date
JPH1028206A true JPH1028206A (en) 1998-01-27

Family

ID=16084744

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8180522A Pending JPH1028206A (en) 1994-03-14 1996-07-10 Picture reader

Country Status (1)

Country Link
JP (1) JPH1028206A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012030042A (en) * 2010-06-30 2012-02-16 Panasonic Electric Works Co Ltd Monitoring device, and program
JP2013093704A (en) * 2011-10-25 2013-05-16 Ricoh Co Ltd Imaging apparatus and imaging method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012030042A (en) * 2010-06-30 2012-02-16 Panasonic Electric Works Co Ltd Monitoring device, and program
JP2013093704A (en) * 2011-10-25 2013-05-16 Ricoh Co Ltd Imaging apparatus and imaging method

Similar Documents

Publication Publication Date Title
JP3436015B2 (en) Image reading device
JP3436025B2 (en) Correction method of read image and image reading device
JPH1013669A (en) Data processing method for image reader
US5995245A (en) Image reader
JPH09200455A (en) Method for correcting density of read image and image reader
US5847884A (en) Image reading apparatus
JP3569794B2 (en) Image reading system
US5987163A (en) Apparatus and method for determining the size of a page size in an image reader
JPH10173905A (en) Image reading device
JPH1028206A (en) Picture reader
JPH1028202A (en) Image-reading device
JPH09200445A (en) Image reader
JP3355937B2 (en) Image reading device
JPH08237485A (en) Image reader
JPH1093776A (en) Image reader
JPH10155061A (en) Image reader
JPH09284491A (en) Image reader
JPH1093778A (en) Image reader
JPH10178521A (en) Image reader
JPH10233901A (en) Image pickup device
JPH06205194A (en) Original reader
JPH10150532A (en) Image reader
JPH10327325A (en) Picture reader
JP3430776B2 (en) Image reading device
JPH10304148A (en) Image reader