JPH114325A - Image reader - Google Patents

Image reader

Info

Publication number
JPH114325A
JPH114325A JP9156767A JP15676797A JPH114325A JP H114325 A JPH114325 A JP H114325A JP 9156767 A JP9156767 A JP 9156767A JP 15676797 A JP15676797 A JP 15676797A JP H114325 A JPH114325 A JP H114325A
Authority
JP
Japan
Prior art keywords
image
document
original
height
distortion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP9156767A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Hashimoto
好之 橋本
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 JP9156767A priority Critical patent/JPH114325A/en
Publication of JPH114325A publication Critical patent/JPH114325A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)

Abstract

PROBLEM TO BE SOLVED: To allow the image reader to provide an output of an image without distortion by allowing an image pickup means to match focusing at reading of an original image in response to a height of an original surface detected by a height detection means to correct distortion of the read image caused by distortion of the shape of the original. SOLUTION: At first a CCD line sensor acting as a preliminary scanner moves from a home position and reads an original surface and an upper side face of the original reflected in a range finding mirror 5, then discriminates a shape of the original and the contrast of the original surface to obtain height distribution of the original surface from an image reflected in the range finding mirror 5. Then based on height data of the original obtained by the movement of the CCD line sensor acting as a main scanner, all faces of the original surface are focused and the image is corrected in matching with a curved state of the original in response to the obtained height distribution. Thus, a fogged image on the original is avoided and the image without distortion is obtained.

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, and more particularly, to an image reading apparatus for reading a document image from above with a document placed thereon.

【0002】[0002]

【従来の技術】画像読取装置の一つに、読み取るべき原
稿を上向きに載置して、原稿表面の画像をイメージセン
サにより読み取る画像読取装置がある。このような画像
読取装置として、例えば特開平7−79324号公報に
は、書籍やファイルなどのブック原稿の画像を読み取る
のに際して、まず、書籍などの厚みが分かるブック原稿
上側の側面(上側面)をミラーに映しだし、ミラーに映
ったブック原稿の上側面の画像とその背景との境界をコ
ントラスト差から検出し、この境界から原稿表面の高さ
分布を検出する予備スキャンを行い、そして、実際に原
稿画像を読み取る本スキャン時に、得られた高さ分布に
基づき原稿表面の画像に焦点を合わせ、また原稿高さを
もとに画像の歪みを補正して、焦点惚けや歪みのない画
像を得るようにしている。
2. Description of the Related Art As one of image reading apparatuses, there is an image reading apparatus in which an original to be read is placed upward and an image on the surface of the original is read by an image sensor. As such an image reading apparatus, for example, Japanese Patent Application Laid-Open No. 7-79324 discloses that when reading an image of a book original such as a book or a file, first, the upper side (upper side) of the book original whose thickness is known, such as a book. Is projected on a mirror, the boundary between the image on the upper surface of the book document reflected on the mirror and its background is detected from the contrast difference, a preliminary scan is performed to detect the height distribution of the document surface from this boundary, and At the time of the main scan, which reads the original image, focuses on the image on the original surface based on the obtained height distribution, and corrects the image distortion based on the original height to obtain an image that is out of focus or distorted. I'm trying to get.

【0003】[0003]

【発明が解決しようとする課題】上記公報に記載された
ブック原稿読取装置では、ブック原稿の高さ分布が、見
開き頁の縦方向の中心線(センターライン)、通常書籍
の場合には、その綴じ目部分に沿った方向に一律に変化
するという仮定に基づいて行われている。そして、本ス
キャンで得られた画像は、このような仮定のもとに検出
された高さ分布に基づいて、原稿表面の縦方向の曲がり
による歪みと、横方向の文字縮みとを一次元的に補正し
ている。
In the book document reading apparatus described in the above-mentioned publication, the height distribution of the book document is such that the vertical center line (center line) of the double-page spread, and in the case of a normal book, the height distribution thereof, It is performed based on the assumption that it changes uniformly in the direction along the binding portion. Then, based on the height distribution detected under such an assumption, the image obtained by the main scan is one-dimensionally distorted by the vertical bending of the original surface and the character shrinkage in the horizontal direction. Has been corrected.

【0004】しかしながら、書籍などのブック原稿で
は、その製本上の綴じ部の綴じ癖やブック原稿を開いた
ときについてしまった開き癖により、原稿の左右側面が
原稿の綴じ部の中心線と平行にならず、原稿の見開いた
面がねじれた様に歪んで原稿台上に載置されるといった
ことがある。
However, in the case of a book original such as a book, the right and left sides of the original are parallel to the center line of the binding part of the original due to the binding tendency of the binding portion on the bookbinding and the opening tendency when the book original is opened. In some cases, the open surface of the original is distorted like twisting and placed on the original platen.

【0005】このような場合、原稿表面は複雑な3次元
形状を有することになるため、従来のように、ブック原
稿の高さ分布が見開き頁の縦方向の中心線に対して一律
に変化するものとする仮定に基づいて原稿の高さ分布を
検出し、その結果から画像の補正を行う方法では対処し
きれなくなるという問題があった。
In such a case, since the surface of the original has a complicated three-dimensional shape, the height distribution of the book original changes uniformly with respect to the vertical center line of the double-page spread as in the related art. There is a problem that the method of detecting the height distribution of the document based on the assumption and correcting the image based on the result cannot be dealt with.

【0006】本発明は、このような点に鑑みてなされた
ものであり、ブック原稿独特のねじれによる形状歪みを
含む歪みを検出して、この形状歪みによって発生する読
み取り画像の歪みを補正し、歪みのない画像を出力する
ことができる画像読取装置を提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and detects a distortion including a shape distortion due to a twist unique to a book original, and corrects a distortion of a read image caused by the shape distortion. An object of the present invention is to provide an image reading device capable of outputting an image without distortion.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
の請求項1記載の本発明は、原稿台に上向きに載置され
た原稿の表面の画像を該原稿の上方から読み取る画像読
取装置において、前記原稿台上に載置された原稿を読み
取る撮像手段と、前記撮像手段により読み取られた原稿
自体の画像から前記原稿の横側面端部の位置を検出する
横側面端部位置検出手段と、前記原稿の中心線の位置を
検出する原稿中心線検出手段と、前記横側面端部位置検
出手段が検出した横側面端部の位置と、前記原稿中心線
検出手段が検出した中心線の位置から前記原稿の画像の
上端部から下端部にかけての縦方向にわたり、前記原稿
の横方向の長さを補正する補正手段と、を有することを
特徴とする画像読取装置である。
According to a first aspect of the present invention, there is provided an image reading apparatus for reading an image on the surface of a document placed upward on a document table from above the document. Imaging means for reading a document placed on the document table, and a lateral side edge position detecting means for detecting the position of the lateral side edge of the document from the image of the document itself read by the imaging means, Document center line detection means for detecting the position of the center line of the document, the position of the lateral side edge detected by the lateral side edge position detection means, and the position of the center line detected by the document center line detection means An image reading device, comprising: a correcting unit that corrects a length of the document in a horizontal direction from an upper end to a lower end of the image of the document.

【0008】この発明は、原稿自体の画像からその原稿
の中心線および横側面端部の位置を検出し、さらに検出
した中心線および横側面端部の位置から、原稿の上端部
から下端部にかけてその横方向の長さを補正手段により
補正することで原稿画像を歪みのないものとするもので
ある。
According to the present invention, the position of the center line and the lateral side edge of the document is detected from the image of the document itself, and further from the detected center line and the position of the lateral side edge to the upper end and lower end of the document. By correcting the length in the horizontal direction by the correction means, the original image is made to have no distortion.

【0009】また、本発明は、前記請求項1記載の構成
において、前記撮像手段は前記原稿の上側面を読み取る
ことができ、前記画像読取装置はさらに、該上側面の画
像から前記原稿表面の高さを検出する高さ検出手段と、
該高さ検出手段が検出した原稿表面の高さに応じて、前
記撮像手段の原稿画像読み取り時における焦点合わせを
行う合焦手段を有することを特徴とする画像読取装置で
ある。
Further, according to the present invention, in the configuration according to the first aspect, the image pickup means can read an upper surface of the document, and the image reading device further includes an image forming device for reading the upper surface of the document from the image of the upper surface. Height detecting means for detecting the height,
An image reading apparatus, comprising: focusing means for performing focusing when reading the document image by the imaging means in accordance with the height of the document surface detected by the height detecting means.

【0010】この発明は、前記請求項1記載の構成を原
稿表面の高さ検出手段を有する画像読取装置に適用した
ものであり、これにより、原稿表面の高さ検出手段によ
り得られた高さデータに応じた焦点合わせによって焦点
惚けのない原稿画像の読み取りが行われ、かつ請求項1
記載の構成により原稿の形状歪みも補正することができ
る。
According to the present invention, the configuration according to claim 1 is applied to an image reading apparatus having a document surface height detecting means, whereby the height obtained by the document surface height detecting means is obtained. 2. An original image which is read without being defocused by focusing according to data, and wherein
The configuration described above can also correct the shape distortion of the document.

【0011】[0011]

【発明の実施の形態】以下、添付した図面を参照して、
本発明の一実施の形態を説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG.
An embodiment of the present invention will be described.

【0012】図1は、本実施の形態の画像読取装置の全
体構成を示す図面であり、図2は図1中に記した原稿台
上に、原稿である書籍(ブック原稿)が載置された状態
を示す図面である。
FIG. 1 is a diagram showing the overall configuration of an image reading apparatus according to the present embodiment. FIG. 2 shows a book (book original) as an original placed on the original platen shown in FIG. FIG.

【0013】図1に示した画像読取装置は、ブック原稿
読取装置と称している。このブック原稿読取装置(以下
単に装置と略記する)10は、左右それぞれ個別に上下
動可能な原稿台1に、ブック原稿を見開いた状態で載置
して、ランプユニット3により原稿表面(正確には原稿
を含む原稿台上の全面)が照明され、スキャナユニット
2においてレンズ7を介してCCDラインセンサ8によ
り画像を読み取る。この画像読み取りに際して、測距ミ
ラー5に写ったブック原稿の上側面の形状が読み取られ
て、原稿表面の高さが検出される。そして、検出された
原稿表面の高さに基づきスキャナユニット2におけるピ
ント合わせや読み取った画像の歪み補正を行う。
The image reading apparatus shown in FIG. 1 is called a book original reading apparatus. The book document reading device (hereinafter simply referred to as a device) 10 places the book document on a document table 1 that can be individually moved up and down on the left and right sides in a state where the book document is opened. Is illuminated, and an image is read by the CCD line sensor 8 via the lens 7 in the scanner unit 2. When reading the image, the shape of the upper surface of the book document reflected on the distance measuring mirror 5 is read, and the height of the document surface is detected. Then, focusing on the scanner unit 2 and distortion correction of the read image are performed based on the detected height of the document surface.

【0014】この装置10の原稿台1上には、図2に示
すように、ブック原稿Bを見開いた状態を保つために両
手でブック原稿の両辺を押さえたときでも原稿読み取り
動作を開始できるようにスタートキー6が設けられてい
る。また、原稿台1の奥に各種設定を行うための操作パ
ネル4が設けられ、装置側面には電源スイッチ11が設
けられている。
As shown in FIG. 2, the document reading operation can be started on the document table 1 of the apparatus 10 even when both sides of the book document are pressed with both hands in order to keep the book document B open. Is provided with a start key 6. An operation panel 4 for performing various settings is provided at the back of the document table 1, and a power switch 11 is provided on a side surface of the apparatus.

【0015】スキャナユニット2内部に設けられている
CCDラインセンサ8は、画像に対して、装置手前から
奥の方にフォトセンサ(画素)が並ぶように配置(図1
中矢印A方向、主走査方向)されており、モータによっ
て左右方向(図1中矢印B方向、(画像に対しては図中
B´で示す副走査方向))に移動する。
The CCD line sensor 8 provided inside the scanner unit 2 is arranged such that photo sensors (pixels) are arranged from the front to the back of the apparatus with respect to the image (FIG. 1).
It is moved in the left-right direction (the direction of arrow B in FIG. 1 (the sub-scanning direction indicated by B 'in FIG. 1 for an image)) by a motor.

【0016】ブック原稿Bは、図2(B)に示すよう
に、ブック原稿の綴じ目部分を装置10に示されている
センターマークMに合うように載置され、そして、CC
Dラインセンサ8が副走査方向に移動して原稿表面から
の反射光を受光して画像の読み取りが行われる。このと
きランプユニット3内のランプ(光源)により原稿表面
が照明されており、この光源にはフリッカなどの光量変
動のない照明装置が用いられている。
As shown in FIG. 2B, the book document B is placed so that the binding portion of the book document is aligned with the center mark M shown on the apparatus 10, and
The D-line sensor 8 moves in the sub-scanning direction, receives light reflected from the surface of the document, and reads an image. At this time, the surface of the document is illuminated by a lamp (light source) in the lamp unit 3, and an illuminating device that does not fluctuate in light amount such as flicker is used as the light source.

【0017】また、測距ミラー5の上部には、CCDラ
インセンサ8の副走査方向に沿って、外光の影響による
シェーディングの除去に用いるシェーディング検出板9
が設けられている。このシェーディング検出板9は、そ
の濃度が一定の白色板である。シェーディング検出板9
を読み取った際のCCDラインセンサ8の信号からフリ
ッカなどの外光による副走査方向の濃度変動が認識さ
れ、この濃度変動にしたがって画像出力を自動補正する
ことで、フリッカなど外光による影響を除去している。
A shading detection plate 9 for removing shading due to the influence of external light is provided above the distance measuring mirror 5 along the sub-scanning direction of the CCD line sensor 8.
Is provided. The shading detection plate 9 is a white plate having a constant density. Shading detection plate 9
The density fluctuation in the sub-scanning direction due to external light such as flicker is recognized from the signal of the CCD line sensor 8 when the image is read, and the effect of external light such as flicker is removed by automatically correcting the image output according to the density fluctuation. doing.

【0018】この装置による基本的な画像読み取り動作
は、まず、CCDラインセンサ8が予備スキャンとし
て、ホームポジションから移動して原稿表面と測距ミラ
ー5に映った原稿の上側面を読み取り、後述するよう
に、原稿の形状や原稿表面の濃淡を判別するとともに、
測距ミラー5に映しだされた画像から原稿表面の高さ分
布を求める。そして本スキャンとしてCCDラインセン
サ8が移動して、得られた原稿の高さデータをもとに原
稿表面の全ての面に焦点を合わせ、さらに得られた高さ
分布に応じて原稿の湾曲の状態に合わせて、画像を補正
することで、原稿画像の惚けがなく、かつ、歪みのない
画像を得る。
The basic image reading operation of this apparatus is as follows. First, as a preliminary scan, the CCD line sensor 8 moves from the home position and reads the surface of the document and the upper side of the document reflected on the distance measuring mirror 5, and will be described later. As described above, while determining the shape of the original and the density of the original surface,
The height distribution of the document surface is obtained from the image projected on the distance measuring mirror 5. Then, as a main scan, the CCD line sensor 8 moves, focuses on all surfaces of the document surface based on the obtained height data of the document, and further adjusts the curvature of the document according to the obtained height distribution. By correcting the image in accordance with the state, an image free of distorted original images and free of distortion is obtained.

【0019】本実施の形態では測距ミラー5に映す原稿
側面として書籍などの上側面、通常書籍では「天」と称
されている部分側であるが、本実施の形態はこのような
上側面に限らず書籍などの下側面、通常「地」と称され
ている側を読み取ってもまったく同様に実施できること
は言うまでもない。
In the present embodiment, the upper surface of a book or the like is shown as the side of the original to be projected on the distance measuring mirror 5, and the side of a portion usually called "heaven" in a book. It goes without saying that the present invention can be carried out in exactly the same manner by reading not only the lower surface of a book or the like, that is, the side usually called “ground”.

【0020】なお、このブック原稿読取装置の基本的な
構成および動作は既に公知であり、例えば特開平7−7
9324号公報に記載されている画像読取装置と同様で
あるので、その詳細な説明は省略する。
The basic structure and operation of the book document reading apparatus are already known, and are disclosed, for example, in Japanese Patent Application Laid-Open No. 7-7 / 1995.
Since this is the same as the image reading apparatus described in Japanese Patent No. 9324, a detailed description thereof will be omitted.

【0021】ここで、以下の説明において使用するブッ
ク原稿各部の名称について、後述する図3を参照して定
義する。なお、各名称は本発明の特許請求の範囲におい
て使用した原稿各部の名称と対比させるためのものであ
り、本明細書ではこの定義に従うものとするが、通常の
書籍やファイル、その他の原稿において、異なる名称が
用いられているものであってもここに定義した各部分と
同様の部分については、同じものを指す。
Here, the names of each part of the book document used in the following description will be defined with reference to FIG. 3, which will be described later. It should be noted that each name is to be compared with the name of each part of the manuscript used in the claims of the present invention, and in this specification, it follows this definition, but it is used in ordinary books, files, and other manuscripts. Even if different names are used, the same parts as those defined herein indicate the same parts.

【0022】まず、本発明における横側面端部dは、前
記図2に示したような書籍において「小口」と称される
書籍を開く側の頁の端部であり、書籍を見開いた状態で
は原稿画像の左右の端となる。次に、原稿中心線とは、
書籍の場合に綴じ目に相当する部分にできる線である
(ただし、本装置の場合センターマークMの位置である
場合もある)。次に、上側面bは、書籍において「天」
と称される側の頁が重なって見えている側面である。次
に、上端部b′は、「天」側の頁端部である。次に、下
側面eは、書籍において「地」と称される側の頁が重な
って見えている側面である。次に、下端部e′は、
「地」側の頁端部である。
First, the lateral side end d in the present invention is the end of the page on the side of opening the book called "edge" in the book as shown in FIG. These are the left and right edges of the document image. Next, the manuscript center line
In the case of a book, this is a line formed at a portion corresponding to the binding line (however, in the case of the present apparatus, it may be the position of the center mark M). Next, the upper side b is “heaven” in the book.
This is the side on which the pages on the side referred to overlap. Next, the upper end b 'is the page end on the "top" side. Next, the lower side surface e is a side surface on which pages on the side called “ground” in the book are seen overlapping. Next, the lower end e ′
This is the end of the page on the “ground” side.

【0023】以下、本実施の形態における原稿画像の補
正について説明する。
Hereinafter, correction of a document image in the present embodiment will be described.

【0024】図3は、原稿台1上のセンターマークM
(図2(B)参照)に対しブック原稿Bの綴じ目を合わ
せて載置したとき、原稿表面aがブック原稿Bの綴じ目
に現れるセンターラインcに対し、平行にかつ一律に高
さが変化している状態で載置されている場合の模式図
で、同図(A)は測距ミラー5に映ったブック原稿Bの
上側面bの画像を、同図(B)は原稿Bの原稿自体の画
像をそれぞれ表している。このようにブック原稿Bが歪
みなく載置されている場合には、原稿表面aの高さは測
距ミラー5に映っている高さがそのままセンターライン
cに沿う縦方向にわたって均一に変化するため、従来の
ように、上側面bの画像から検出した高さ分布が原稿表
面aにおいてセンターラインcに沿った方向に一律に変
化するという仮定に基づいて、上側面bの画像によって
得られた高さ分布データから原稿表面aの画像を補正す
ることで、きれいな画像を得ることができる。
FIG. 3 shows a center mark M on the document table 1.
(See FIG. 2 (B)), when the book document B is placed with its bindings aligned, the height of the document surface a is parallel and uniform to the center line c appearing at the binding of the book document B. FIG. 4A is a schematic diagram of a case where the document B is placed in a changing state. FIG. 4A shows an image of the upper surface b of a book document B reflected on a distance measuring mirror 5, and FIG. Each of the images represents the original document itself. When the book document B is placed without distortion as described above, the height of the document surface a changes uniformly in the vertical direction along the center line c as the height reflected on the distance measuring mirror 5 as it is. On the assumption that the height distribution detected from the image of the upper surface b uniformly changes in the direction along the center line c on the document surface a, as in the related art, the height obtained by the image of the upper surface b By correcting the image of the document surface a from the distribution data, a clear image can be obtained.

【0025】これに対し、図4および図5はブック原稿
Bが歪んで載置された場合の一例である。
On the other hand, FIGS. 4 and 5 show an example in which the book document B is distorted and placed.

【0026】図4は、原稿台1上に、ブック原稿Bの右
頁が下広に歪んで載置されている場合の模式図であり、
同図(A)は測距ミラー5に映ったブック原稿Bの上側
面bの画像を、同図(B)は原稿Bの原稿自体の画像を
それぞれ表している。また、図5は、原稿台1に原稿の
右頁が上広に歪んで載置されている場合の模式図であっ
て、同図(A)は測距ミラー5に映ったブック原稿Bの
上側面bの画像を、同図(B)は原稿Bの原稿自体の画
像をそれぞれ表している。
FIG. 4 is a schematic diagram showing a case where the right page of the book document B is placed on the platen 1 with a wide distortion.
2A shows an image of the upper surface b of the book document B reflected on the distance measuring mirror 5, and FIG. 2B shows an image of the document B itself. 5A and 5B are schematic diagrams when the right page of the document is placed on the document table 1 in a widely distorted manner. FIG. 5A shows a book document B reflected on the distance measuring mirror 5. FIG. 4B shows an image of the original B itself, and FIG.

【0027】このように、原稿台1上に載置するブック
原稿Bによっては、原稿全体に歪みが生じ、ブック原稿
Bの綴じ目に当たるセンターラインcに対して、右もし
くは左、あるいは両方の横側面端部dが平行にならず、
頁全体がねじれた様に歪んで載置されることがある。
As described above, depending on the book document B placed on the document table 1, the entire document is distorted, and the center line c corresponding to the binding of the book document B is shifted to the right, left, or both sides. The side end d is not parallel,
The entire page may be distorted as if twisted.

【0028】このように歪んで載置された原稿では、原
稿表面a全体の高さ分布がブック原稿Bの上側面bから
得られる高さ分布と一致していないために、従来のよう
にブック原稿Bの高さ分布が、センターラインcに沿っ
て一律に変化するという仮定に基づいて高さ分布データ
から画像を補正しても、画像の歪みが完全に補正できな
いことがある。例えば、従来のように、上側面bの画像
より得た高さ分布データにより画像を補正した場合、高
さ変化が急な部分では画像が狭くなるので、これを広げ
る方向に補正する。したがって、図4に示したものでは
上側面bに近い部分の画像に対して下端部e′に近い画
像が余計に広がってしまい、また、図5に示したもので
は上側面bに近い部分の画像に対して下端部e′に近い
画像が広げ方が足りずに狭ばまってしまい、いずれも得
られる画像の見栄えが悪いものとなる。
In the original placed distorted in this manner, the height distribution of the entire original surface a does not match the height distribution obtained from the upper side surface b of the book original B. Even if the image is corrected from the height distribution data based on the assumption that the height distribution of the document B changes uniformly along the center line c, the image distortion may not be completely corrected. For example, when the image is corrected using the height distribution data obtained from the image of the upper surface b as in the related art, the image is narrowed in a portion where the height change is abrupt. Therefore, in the image shown in FIG. 4, the image near the lower end e ′ is unnecessarily spread over the image near the upper surface b, and in the image shown in FIG. An image close to the lower end e 'is narrowed because the width of the image is not enough to expand the image, and the obtained image has poor appearance.

【0029】図6は、この様に原稿表面aが歪んで載置
された様子を更に詳しく説明するための図面であり、前
記図4に示した下広となったブック原稿Bの原稿表面a
のうち、右頁を拡大した図である。
FIG. 6 is a diagram for explaining in more detail how the original surface a is placed in a distorted state. The original surface a of the book original B having the lower width shown in FIG.
3 is an enlarged view of the right page.

【0030】書籍やファイルなどのブック原稿には、通
常、紙に腰があるため、見開いた頁自体に紙皺が発生し
ていない限り波打ったりせず、円錐形の一部を切り取っ
たような3次元形状になる。したがって、上側面bのエ
ッジ(上端部b′)の高さ分布と下側面のエッジ(下端
部e′)の高さ分布が分かれば、それぞれの側面にそれ
ぞれ一定の割合の間隔で(例えば頁の横方向の実際の長
さを等分する)点を設け、各点を結んで線分とすること
により、原稿表面aの3次元形状を求めることができ
る。
Since a book original such as a book or a file usually has a stiffness on paper, it does not wrinkle as long as the opened pages themselves do not have paper wrinkles. Three-dimensional shape. Therefore, if the height distribution of the edge (upper end b ') of the upper surface b and the height distribution of the lower edge (lower end e') of the lower surface are known, each side surface is spaced at a fixed ratio (for example, a page). (The actual length in the horizontal direction is equally divided), and the points are connected to form a line segment, whereby the three-dimensional shape of the document surface a can be obtained.

【0031】しかしながら、上端部b′の高さは、測距
ミラー5に投影した画像により検出することができるも
のの、ブック原稿読取装置の構成上、下側面e側には測
距ミラーを設置することが難しく、下端部e′の高さ分
布を直接求めることができない。これは、例えば下側面
eを映す測距ミラーを設けた場合、指によってブック原
稿Bを押さえるときに、操作者の腕又は手が下側面用の
測距ミラーの光路を妨げて、下端部e′の高さ分布が正
確に得られなかったり、下側面eの側に測距ミラーのよ
うな突起物があると、ブック原稿Bを設置しづらくな
り、かえってブック原稿Bが歪んで載置される頻度が高
くなってしまうためである。また、測距ミラーが操作者
に近いこともあり汚れてしまい、ミラーに映った画像の
コントラストの低下による測距不良をきたすと言ったこ
とも考えられる。
However, although the height of the upper end b 'can be detected by the image projected on the distance measuring mirror 5, a distance measuring mirror is provided on the lower side e due to the configuration of the book document reading apparatus. It is difficult to directly obtain the height distribution of the lower end portion e '. This is because, for example, when a distance measuring mirror for projecting the lower surface e is provided, when the book document B is pressed by a finger, the arm or hand of the operator obstructs the optical path of the distance measuring mirror for the lower surface, and the lower end e ′ Cannot be obtained accurately, or if there is a protrusion such as a distance measuring mirror on the side of the lower side surface e, it becomes difficult to place the book original B, and the book original B is distorted and mounted. This is because the frequency of the operation increases. It is also conceivable that the distance measurement mirror is dirty because the distance measurement mirror is close to the operator, resulting in poor distance measurement due to a decrease in contrast of an image reflected on the mirror.

【0032】本実施の形態では、下側面による高さ分布
データを得ることなく、ブック原稿表面の3次元的な歪
みを補正している。
In this embodiment, three-dimensional distortion on the surface of a book document is corrected without obtaining height distribution data on the lower surface.

【0033】図7は3次元的な歪みのあるブック原稿表
面の画像を下側面のデータを使わずに補正するために必
要なデータを説明するための図面である。
FIG. 7 is a diagram for explaining data necessary for correcting an image on the surface of a book document having three-dimensional distortion without using data on the lower surface.

【0034】このデータは、ブック原稿Bそのものの画
像から求めるもので、原稿自体の画像の横側面端部dの
位置と長さL1、原稿自体の画像における1頁の上端部
b′の長さL2、および原稿自体の画像における1頁の
下端部e′の長さL3である。これらL1〜L3は、予
備スキャン時に得られた原稿自体の画像から、原稿下地
濃度と原稿台表面の濃度とのコントラスト差によって、
原稿の周囲のエッジを検出し、検出した原稿周囲のエッ
ジからそれぞれL1〜L3に対応したエッジ部分の主走
査方向および副走査方向における画素数をカウントし
て、L1〜L3の長さとする。
This data is obtained from the image of the book document B itself. The position and length L1 of the lateral side edge d of the image of the document itself, and the length of the upper end b 'of one page in the image of the document itself L2 and the length L3 of the lower end portion e 'of one page in the image of the original document itself. These L1 to L3 are calculated based on the contrast difference between the original background density and the density of the surface of the original table from the image of the original document obtained during the preliminary scan.
The edges around the document are detected, and the number of pixels in the main scanning direction and the sub-scanning direction of the edge portions corresponding to L1 to L3 are counted from the detected edges around the document, and are set as lengths L1 to L3.

【0035】具体的には、L1の場合、その位置は、L
1となる横側面端部dのエッジを検出し、そのエッジの
各画素の位置(後述する形状検出メモリ中の各画素の主
走査方向のアドレスと副走査方向のアドレス)がL1の
位置となる。またL1の長さは、エッジの上端d1と下
端d2の画素位置を検出し、主走査方向と副走査方向の
画素数(後述する形状検出メモリ中の各画素のアドレス
値)から三角関数またはピタゴラスの定理などを用いて
L1を算出する。また、L2については、センターライ
ンcからd1間での副走査方向の画素数(アドレス値)
から、同様に、L3については、センターラインcから
d2までの副走査方向の画素数(アドレス値)から、そ
れぞれ求める。
Specifically, in the case of L1, the position is L
The edge of the lateral side end d that is 1 is detected, and the position of each pixel at that edge (the address of each pixel in the shape detection memory in the main scanning direction and the address in the sub-scanning direction) becomes the position L1. . The length of L1 is determined by detecting the pixel positions of the upper end d1 and the lower end d2 of the edge, and calculating the trigonometric function or Pythagoras from the number of pixels in the main scanning direction and the sub-scanning direction (address value of each pixel in a shape detection memory described later). L1 is calculated using the theorem of For L2, the number of pixels (address value) in the sub-scanning direction between center line c and d1
Similarly, L3 is determined from the number of pixels (address value) in the sub-scanning direction from the center line c to d2.

【0036】なお、センターラインcは、通常、書籍な
どのブック原稿の場合、綴じ目部分は照明が入り込みず
らいため、その中心部分が暗くなり、予備スキャン時に
読み取った原稿表面の画像のうち、この綴じ目部分の濃
度が極端に低くなっているので、この部分をセンターラ
インcとして検出する。ただし、例えば週刊誌のように
比較的開いた頁を平坦にすることができ、綴じ目部分に
十分照明が当たるようのブック原稿の場合、綴じ目部分
の濃度低下が少ないため綴じ目によりセンターラインを
検出できないことがあるが、その様な場合には、予め指
定されているセンターマークMの位置をセンターライン
cの位置として使用し、その部分における原稿の主走査
方向の画素数をセンターラインcの長さとする。
In the case of a book original such as a book, the center line c is usually darkened because illumination hardly enters the binding portion, so that the center portion is darkened. Since the density of the binding portion is extremely low, this portion is detected as the center line c. However, in the case of a book manuscript in which relatively open pages such as a weekly magazine can be flattened and the binding portion is sufficiently illuminated, the density of the binding portion is small so that the center line may be adjusted by the binding. May not be detected. In such a case, the position of the center mark M specified in advance is used as the position of the center line c, and the number of pixels of the document in the main scanning direction at that portion is determined as the center line c. Length.

【0037】ここで求めたL1は原稿の縦方向の真の長
さである。また、L2は画像上における上辺の長さであ
り、L3は画像上における下辺の長さである。
L1 obtained here is the true length of the document in the vertical direction. L2 is the length of the upper side on the image, and L3 is the length of the lower side on the image.

【0038】また、センターラインcは、通常の書籍の
場合、頁の横側面端部dの長さL1と一致する。したが
って、L1の長さについては、このセンターラインcの
長さをそのままL1の長さとしてもよい。
In the case of a normal book, the center line c is equal to the length L1 of the lateral end d of the page. Therefore, as for the length of L1, the length of the center line c may be directly used as the length of L1.

【0039】実際の処理においては、この様なひとつの
頁についての3次元形状を表すデータを見開いた両方の
頁についてセンターサインcを中心に左右の頁について
それぞれ求める。
In the actual processing, the data representing the three-dimensional shape of one such page is obtained for each of the left and right pages centering on the center sign c for both of the opened pages.

【0040】このようにして得られた3次元形状を表す
データから本スキャン時に得られる原稿画像の補正を行
う。図8は、この補正の様子を示す模式図である。ま
ず、図8(A)は、上記したように、原稿台1上に載置
されたブック原稿特有の高さ変化による3つの歪みが発
生した読み取り画像を示す図面である。
The original image obtained at the time of the main scan is corrected from the data representing the three-dimensional shape thus obtained. FIG. 8 is a schematic diagram showing the state of this correction. First, FIG. 8A is a drawing showing a read image in which three distortions have occurred due to a change in height specific to a book document placed on the document table 1 as described above.

【0041】この3つの歪みとは、ひとつは原稿表面の
高い部分で原稿とCCDラインセンサとの距離が短くな
ることによる画像の拡大、すなわち縦方向に伸びが発生
して生じる歪みで、図示するように、画像中央の上下が
丸く膨らんでいるのはこのためである。これを「行曲が
り」と称する。次に、高さ変化が急な部分、とりわけブ
ック原稿の綴じ目の立上がり部分で原稿がCCDライン
センサに対して垂直でなくなるため横方向に縮んでしま
う歪みである。これを「文字縮み」と称する。最後に、
原稿がねじれて載置されているために発生する上下非対
称な歪みである。これを「ねじれ歪み」と称する。
One of the three distortions is an image enlargement due to a decrease in the distance between the original and the CCD line sensor at a high portion of the original surface, that is, a distortion caused by the occurrence of elongation in the vertical direction. This is why the upper and lower portions of the center of the image are bulged round. This is called "line bending". Next, distortion occurs in a portion where the height change is abrupt, especially in a rising portion of the binding of the book document, in which the document is not perpendicular to the CCD line sensor and thus contracts in the horizontal direction. This is called "character shrinkage". Finally,
This is a vertically asymmetric distortion caused by the document being twisted and placed. This is called "torsion distortion".

【0042】この3つの歪みのうち、最初に「ねじれ歪
み」の補正を行う。図8(B)はこのねじれ歪みを補正
した後の原稿画像を示す。この補正を図7を参照して説
明すると、まず、前記したように補正のために得られた
データL1〜L3のうち、上端部b′の長さL2と下端
部e′の長さL3とを比較し、上端部b′の長さL2に
下端部e′の長さL3を合わせる処理を行う。図7の例
では、L3を縮小してL2に合わせる。したがって、L
2とL3の比率L2/L3の倍率でL3を縮小する。
Of these three distortions, "torsion distortion" is corrected first. FIG. 8B shows a document image after this torsional distortion has been corrected. This correction will be described with reference to FIG. 7. First, among the data L1 to L3 obtained for the correction as described above, the length L2 of the upper end b 'and the length L3 of the lower end e' Are compared with each other, and the length L3 of the lower end portion e 'is adjusted to the length L2 of the upper end portion b'. In the example of FIG. 7, L3 is reduced to match L2. Therefore, L
L3 is reduced at a magnification of the ratio L2 / L3 of 2 and L3.

【0043】次に、L2からL3までの中間部分をL2
に合わせる。これには、この中間部分の補正位置ごとに
その拡大または縮小倍率を求めて、拡大または縮小する
ことになる。ここでは、センターラインcに沿う縦方向
の補正位置をPとすると、図7の例では(L3>L2の
場合)、P位置での倍率Xは、 X=1/〔1+{(L3−L2)×(L1−P)/L1}〕 …(1) により求められる。そして、この倍率Xを補正位置Pの
副走査方向の原稿の長さ、すなわち、補正位置Pにおけ
るセンターラインcからL1を求めたときの横側面端部
dまでの長さLpに、このXをかけることにより縮小す
る。
Next, the intermediate portion from L2 to L3 is represented by L2
Adjust to For this purpose, the enlargement or reduction magnification is obtained for each correction position of the intermediate portion and the enlargement or reduction is performed. Here, assuming that the vertical correction position along the center line c is P, in the example of FIG. 7 (when L3> L2), the magnification X at the P position is: X = 1 / [1 + {(L3-L2 ) × (L1−P) / L1}] (1) Then, the magnification X is set to the length of the original in the sub-scanning direction at the correction position P, that is, the length Lp from the center line c at the correction position P to the lateral side end d when L1 is obtained. Reduce by applying.

【0044】また、L3<L2の場合には、拡大するこ
ととなるので、倍率Xは、 X=1+{(L2−L3)×(L1−P)/L1} …(2) により求められる。そして、前記同様に、この倍率Xを
補正位置Pの副走査方向の原稿の長さLpにかけること
により拡大する。このように下端部e′の長さL3を上
端部b′の長さL2に合わせることで、図8(B)に示
したように、ねじれ歪みが補正され、測距ミラー5に映
った上側面bの画像から得られた高さ分布データによ
り、原稿表面aの高さがすべてに亘り一律に変化するこ
とを前提とした行曲がりや文字縮みの補正を行うことが
できるようになる。
When L3 <L2, the magnification is obtained, and the magnification X is obtained by the following equation: X = 1 + {(L2-L3) × (L1-P) / L1} (2) Then, in the same manner as described above, the magnification X is multiplied by the length Lp of the document in the sub-scanning direction at the correction position P to enlarge the image. By adjusting the length L3 of the lower end portion e 'to the length L2 of the upper end portion b' in this manner, the torsional distortion is corrected as shown in FIG. With the height distribution data obtained from the image of the side surface b, it is possible to correct line bending and character shrinkage on the assumption that the height of the document surface a changes uniformly over the entire surface.

【0045】次に「行曲がり」の補正を行う。この行曲
がりは、前記のように、原稿の高さが原稿の位置により
異なることから生ずる結像位置のずれによるものであ
る。そして、このずれはCCDラインセンサの主走査方
向に対して生じる。
Next, correction of "line bending" is performed. As described above, the line bending is caused by a shift in the image forming position caused by the difference in the height of the document depending on the position of the document. This shift occurs in the main scanning direction of the CCD line sensor.

【0046】原稿がフラットな状態と高くなっている状
態との結像位置のずれを被写体平面方向のずれ量とした
場合、このずれ量Xは、 X=dh/(b+h) …(3)、(ただしhは原稿面
の高さ、bはその高さからレンズまでの距離、dはレン
ズ中心位置から原稿面上主走査方向の読取り画素までの
距離である。)で表すことができる。
When the deviation of the image forming position between the flat state and the raised state of the document is defined as the deviation amount in the object plane direction, the deviation amount X is expressed as follows: X = dh / (b + h) (3) (Where h is the height of the document surface, b is the distance from the height to the lens, and d is the distance from the center position of the lens to the read pixel in the main scanning direction on the document surface).

【0047】そしてこのずれ量はCCDラインセンサの
画素数で表すことができる。ここで、原稿上のあるポイ
ントを読み取る場合に、CCDラインセンサの中心位置
の画素からこのポイントの読取り画素までの画素数をn
とし、このCCDラインセンサの画素上で原稿面がフラ
ットなときと曲がっているときのずれ量をΔcとしたと
き、そのずれ量に相当する画素数をΔnとすると、 Δn=nh/(b+h) …(4) で表される関係が成り立つ。したがって、原稿高さhと
その高さからレンズまでの距離bが分かればずれ量の補
正が可能となる。
This shift amount can be expressed by the number of pixels of the CCD line sensor. Here, when reading a point on a document, the number of pixels from the pixel at the center position of the CCD line sensor to the pixel to be read at this point is represented by n.
Where Δc is the shift amount between the flat and curved original surfaces on the pixels of the CCD line sensor, and Δn is the number of pixels corresponding to the shift amount, Δn = nh / (b + h) .. (4) holds. Therefore, if the height h of the document and the distance b from the height to the lens are known, the shift amount can be corrected.

【0048】本実施の形態では、高さhは前記したよう
に上側面bの画像データから得られ、また、その高さか
らレンズまでの距離bは、撮影倍率とレンズの焦点距離
から幾何光学的に求めることができるので、原稿面の高
さは前記のようにねじれ歪みを補正したことにより、原
稿面上での高さが主走査方向には同じであると仮定して
も歪みは発生しないので、上側面bの画像から得られた
高さデータをもとにして原稿面全面に亘り上記(4)式
を用いてΔnを計算し、Δn画素分だけ本スキャン時に
得られる画像データをシフトすることにより行曲がりが
補正される。なお、この行曲がりの補正に関して、その
基本的な補正原理は特開平5−161002号公報に開
示されているので詳細な説明は省略した。
In the present embodiment, the height h is obtained from the image data of the upper surface b as described above, and the distance b from the height to the lens is determined by the imaging magnification and the focal length of the lens. Since the height of the document surface is corrected for torsional distortion as described above, distortion occurs even if the height on the document surface is assumed to be the same in the main scanning direction. Therefore, based on the height data obtained from the image of the upper surface b, Δn is calculated using the above equation (4) over the entire surface of the document, and image data obtained during the main scan by Δn pixels is calculated. Line shifting is corrected by shifting. The basic principle of the correction of the line bending is disclosed in Japanese Patent Application Laid-Open No. 5-161002, so that the detailed description is omitted.

【0049】次に「文字縮み」の補正を行う。この文字
縮みは前述したように、原稿の高さ変化が急峻なところ
で文字が縮んで読み取られてしまうものである。したが
って、読み取った原稿を副走査方向に伸ばすことにより
この文字縮みを補正する。
Next, "character shrinkage" is corrected. As described above, the character shrinkage is such that the character is shrunk and read when the height of the document changes sharply. Therefore, the character contraction is corrected by extending the read original in the sub-scanning direction.

【0050】具体的には、例えば図9に示すように、測
距ミラーに映った上側面bの画像から、ある区間Δxで
の原稿横方向の実際の長さΔLを、副走査方向に予め分
割された区間Δxとその区間での高さの差Δhから求
め、これにより補正率(拡大率)ΔL/Δxを求める。
そして、このとき区間Δxの間で実際に読み取られた副
走査方向のライン数にこの補正率ΔL/Δxをかけて、
原稿の実際の長さΔLの距離を読み取ったと仮定したと
きのライン数を求める。そして、この区間Δxで実際に
読み取ったライン数を、原稿の実際の長さΔLの距離を
読み取ったと仮定したときのライン数になるまで均等に
割り振って繰り返し出力することで、副走査方向に画像
を伸ばし、文字縮みを補正している。なお、この具体例
の基本的な動作については、特開平7−254980号
公報に開示されているものと同様であるので、その詳細
な説明は省略した。
Specifically, as shown in FIG. 9, for example, from the image of the upper surface b reflected on the distance measuring mirror, the actual length ΔL in the document lateral direction in a certain section Δx is determined in advance in the sub-scanning direction. The correction rate (enlargement rate) ΔL / Δx is obtained from the divided section Δx and the height difference Δh in the section.
Then, the correction rate ΔL / Δx is multiplied by the number of lines in the sub-scanning direction actually read during the section Δx,
The number of lines when the distance of the actual length ΔL of the document is assumed to be read is obtained. Then, the number of lines actually read in this section Δx is evenly allocated to the number of lines assuming that the distance of the actual length ΔL of the document has been read, and repeatedly output, thereby outputting an image in the sub-scanning direction. Is stretched, and character shrinkage is corrected. The basic operation of this specific example is the same as that disclosed in Japanese Patent Application Laid-Open No. 7-254980, and a detailed description thereof will be omitted.

【0051】この文字縮みの補正は、前述したようにね
じれ歪みを補正した後の画像データ(さらに前記行曲り
補正後のデータ)に対して行っているため、ここで使用
するΔhについては、測距ミラーに映った上側面bの画
像から得られた高さ分布データを用いればよい。
Since the correction of the character shrinkage is performed on the image data after the correction of the torsional distortion as described above (and the data after the correction of the line bending), Δh used here is measured. The height distribution data obtained from the image of the upper surface b reflected on the distance mirror may be used.

【0052】このように「ねじれ歪み」、「行曲が
り」、および「文字縮み」の補正を行うことで、図8
(C)に示しすような、歪みのない矩形の画像が得られ
る。
As described above, by performing the correction of the “twist distortion”, the “line bending”, and the “character shrinkage”, FIG.
A rectangular image without distortion is obtained as shown in FIG.

【0053】次に、上記した各補正処理を行う制御部の
構成およびその動作について説明する。
Next, the configuration and operation of a control unit that performs the above-described correction processes will be described.

【0054】図10は、本装置の制御部の構成を示すブ
ロック図である。この制御部では、まず、予備スキャン
時にCCDラインセンサ8が読み取った画像が形状検出
メモリ21に記憶される。この予備スキャン時に読み取
られる画像は、原稿表面aの画像と、測距ミラー5に映
った原稿上側面bの画像である。なお、本実施の形態で
は、主走査方向、副走査方向ともに、8ドットおきに画
像を読み取っている。これは、予備スキャン時において
は、そこで必要とする画像データは各種補正データを算
出するためのものであるので、必ずしも全画像データを
必要とせず、本実施の形態のように8ドットごとの代表
点データで十分だからであり、またこれによりこの予備
スキャンデータを記憶するメモリの容量を小さくするこ
とができるためである。
FIG. 10 is a block diagram showing the configuration of the control unit of the present apparatus. In this control unit, first, an image read by the CCD line sensor 8 at the time of the preliminary scan is stored in the shape detection memory 21. The images read at the time of the preliminary scan are an image of the original surface a and an image of the upper surface b of the original reflected on the distance measuring mirror 5. In this embodiment, an image is read every eight dots in both the main scanning direction and the sub-scanning direction. This is because, at the time of the preliminary scan, the image data required therefor is for calculating various correction data, so that the entire image data is not necessarily required. This is because the point data is sufficient, and the capacity of the memory for storing the preliminary scan data can be reduced.

【0055】CPU22は、接続されているROM23
内のプログラムを実行することにより上記予備スキャン
時の画像読み取り動作の制御を行うとともに、形状検出
メモリ21に記憶された画像データから前述の図7に示
したL$$〜4の各長さを算出し、これをもとに、「ね
じれ歪み」、「行曲がり」、および「文字縮み」のかく
補正を行うための補正パラメータを求める。また、CP
U22はCCDラインセンサ8を副走査方向に移動させ
るためのスキャンモータ30および焦点合わせを行うA
Fモータ31を制御をしている。AFモータ31は、原
稿高さが検出される以前の予備スキャン時には固定焦点
として動かさないが、予備スキャンによって得られた画
像データから高さ分布が検出された後の本スキャン時に
は、検出された高さ分布データに基づいて、副走査方向
の移動に合わせ、逐次焦点合わせが行われる。なお、C
PU22に接続されているRAM24は、CPU22が
各種処理のために使用するメモリである。
The CPU 22 has a ROM 23 connected thereto.
By controlling the image reading operation at the time of the preliminary scan by executing the program in the above, the respective lengths L $$ to 4 shown in FIG. Calculation is performed, and based on the calculated correction parameters, correction parameters for performing the correction of “twist distortion”, “line bending”, and “character shrinkage” are obtained. Also, CP
U22 denotes a scan motor 30 for moving the CCD line sensor 8 in the sub-scanning direction and A for focusing.
The F motor 31 is controlled. The AF motor 31 does not move as a fixed focus at the time of the preliminary scan before the document height is detected, but at the time of the main scan after the height distribution is detected from the image data obtained by the preliminary scan, the AF motor 31 does not move. Based on the distribution data, successive focusing is performed in accordance with movement in the sub-scanning direction. Note that C
The RAM 24 connected to the PU 22 is a memory used by the CPU 22 for various processes.

【0056】一方、本スキャン時においては、CCDラ
インセンサ8により読み取られた画像は、ねじれ歪み補
正回路25内の画像メモリ26に一旦すべて記憶する。
このとき記憶されるデータは原稿表面の画像である。記
憶されるデータには主走査方向および副走査方向に読み
取った画像の各画素ごとにアドレスが付与されて記憶さ
れる。このアドレスは主走査方向については、CCDラ
インセンサ8の各画素に対応したアドレスであり、副走
査方向には、副走査方向の移動にともなう1ラインずつ
のアドレスである。
On the other hand, during the main scan, the image read by the CCD line sensor 8 is temporarily stored in the image memory 26 in the torsion distortion correction circuit 25.
The data stored at this time is an image of the document surface. An address is assigned to each pixel of the image read in the main scanning direction and the sub-scanning direction, and the stored data is stored. This address is an address corresponding to each pixel of the CCD line sensor 8 in the main scanning direction, and is an address for each line in the sub-scanning direction accompanying movement in the sub-scanning direction.

【0057】そして、この画像メモリ26のデータを用
いてCPU22が、予備スキャン時に形状検出メモリ2
1に記憶したデータに基づき算出されたねじれ歪み補正
のための補正パラメータ(前述の拡大倍率Xに相当す
る)により、前述したねじれ歪み補正を行う。このと
き、リードアドレス発生回路27によりアドレスを発生
させ、画像のセンターラインcに沿う縦方向に画像を読
み出して、ねじれ歪みの補正を行う。
Then, using the data in the image memory 26, the CPU 22 causes the shape detection memory 2 to perform a preliminary scan.
The above-described torsion distortion correction is performed using a correction parameter (corresponding to the above-described enlargement magnification X) for torsion distortion correction calculated based on the data stored in 1. At this time, an address is generated by the read address generation circuit 27, and the image is read out in the vertical direction along the center line c of the image, and the torsional distortion is corrected.

【0058】その後、CPU22は、ねじれ歪み補正後
のデータを文字縮み補正回路28へ送るように指示して
文字縮みの補正を行い、ついで、文字縮み補正後のデー
タを行曲がり補正回路29へ送るように指示して行曲が
りの補正を行った後、外部へ出力する。
Thereafter, the CPU 22 instructs the data after the twist distortion correction to be sent to the character shrinkage correction circuit 28 to correct the character shrinkage, and then sends the data after the character shrinkage correction to the line skew correction circuit 29. Is performed, and the line is corrected, and then output to the outside.

【0059】図11は、上記制御部における動作手順を
説明するためのフローチャートである。
FIG. 11 is a flowchart for explaining the operation procedure in the control unit.

【0060】まず、予備スキャンを開始し(S1)、測
距ミラー5上の画像と原稿台1上の画像とを読み取り、
形状検出メモリ21に取り込む(S2)。そして、必要
なデータをすべて取り込んだ後、予備スキャンを終了す
る(S3)。
First, a preliminary scan is started (S1), and an image on the distance measuring mirror 5 and an image on the document table 1 are read.
The data is loaded into the shape detection memory 21 (S2). Then, after all necessary data has been fetched, the preliminary scan ends (S3).

【0061】次に、予備スキャンにより形状検出メモリ
21に取り込んだ画像データのうち測距ミラー5の画像
を解析して、測距ミラー5に映っている原稿Bの上側面
bの画像から原稿表面の高さ分布を求める(S4)。
Next, the image of the distance measuring mirror 5 in the image data fetched into the shape detection memory 21 by the preliminary scan is analyzed, and the image of the upper surface b of the document B reflected on the distance measuring mirror 5 is used as the document surface. Is obtained (S4).

【0062】次に、原稿台1上のブック原稿Bの画像か
らセンターラインcの位置を検出してその長さを求める
(S5)。
Next, the position of the center line c is detected from the image of the book document B on the document table 1 and its length is obtained (S5).

【0063】次に、このセンターラインcに対して右側
の頁と左側の頁それぞれに、横側面端部dの位置と長さ
を求める(S6)。
Next, the position and length of the lateral side edge d are determined for each of the right and left pages with respect to the center line c (S6).

【0064】次に、センターラインcに対して右側の頁
と左側の頁それぞれに、上側面のエッジ部分を伸ばした
横方向の真の長さL$$を求める(S7)。
Next, for each of the right and left pages with respect to the center line c, the true length L # in the horizontal direction obtained by extending the upper edge portion is obtained (S7).

【0065】次に、ステップS5で求めたセンターライ
ンcの位置データと前記ステップS6で求めた左右の横
側面端部bの位置データから、読み取り画像の上端部
b′の長さL2と下端部e′の長さL3を求める(S
8)。
Next, based on the position data of the center line c obtained in step S5 and the position data of the left and right lateral side ends b obtained in step S6, the length L2 and the lower end of the upper end b 'of the read image are obtained. The length L3 of e 'is obtained (S
8).

【0066】次に、求めたL$$〜L3をもとに、ねじ
れ歪み補正のための補正量、すなわち、前述のL2/L
3や式(1)で示した倍率Xを求める(S9)。続いて
行曲がりの補正量および文字縮みの補正量を求める(S
10)。
Next, based on the obtained L $$ to L3, a correction amount for torsional distortion correction, that is, L2 / L
3 and the magnification X shown by the equation (1) are obtained (S9). Subsequently, the correction amount of the line bending and the correction amount of the character contraction are obtained (S
10).

【0067】次に、本スキャンを開始し(S11)、高
さ分布データに応じてレンズの焦点を合わせながらブッ
ク原稿Bの画像を読み取ってすべて画像メモリ26に記
憶する(S12)。すべての画像を読み取った後、本ス
キャンを終了する(S13)。
Next, the main scan is started (S11), and the image of the book document B is read while focusing the lens according to the height distribution data, and all the images are stored in the image memory 26 (S12). After reading all the images, the main scan ends (S13).

【0068】そして、本スキャン終了と同時に画像メモ
リ26に記憶されたブック原稿Bの画像を読み出して、
ねじれ歪みの補正、行曲がりの補正、および文字縮みの
補正を行って(S14)、補正後の画像データを外部に
出力する(S15)。
At the same time as the end of the main scan, the image of the book document B stored in the image memory 26 is read, and
The correction of torsional distortion, the correction of line bending, and the correction of character shrinkage are performed (S14), and the corrected image data is output to the outside (S15).

【0069】以上のように、本実施の形態では、原稿台
上に載置されたブック原稿にねじれた歪みがある場合で
も、これをその原稿の3次元的な形状を表すデータを求
めて、これをもとに読み取った画像を平面画像に補正す
ることにより、歪みのないきれいな画像を出力すること
ができる。
As described above, in the present embodiment, even if the book original placed on the original platen has a twisted distortion, this is determined by obtaining data representing the three-dimensional shape of the original. By correcting the read image based on this to a planar image, a clear image without distortion can be output.

【0070】なお、本発明は、上述した実施の形態に限
定されるものではなく、本発明の範囲を逸脱しない範囲
において種々変形可能である。
The present invention is not limited to the above-described embodiment, but can be variously modified without departing from the scope of the present invention.

【0071】[0071]

【発明の効果】以上述べたように、請求項1記載の本発
明によれば、原稿自体の画像からその原稿の中心線、横
側面端部を検出し、さらに検出した中心線、横側面端部
から、原稿の上端部から下端部にかけてその横方向の長
さを補正手段により補正することとしたので、書籍など
のブック原稿の片方もしくは両方の頁が歪んで載置され
てしまったような場合でも、この様な原稿自体のねじれ
歪みによる画像の歪みを補正してきれいな画像を出力す
ることができる。
As described above, according to the first aspect of the present invention, the center line and the side edge of the original are detected from the image of the original itself, and the detected center line and the side edge are further detected. From the top to the bottom of the document, the length of the document in the horizontal direction is corrected by the correction means, so that one or both pages of the book document such as a book are distorted and placed. Even in such a case, it is possible to output a clear image by correcting the image distortion due to the twist distortion of the original document itself.

【0072】また、請求項2記載の本発明によれば、請
求項1記載の構成に加え、さらに原稿表面の高さを検出
してその高さに応じて撮像手段の焦点合わせを行うこと
としたので、前記請求項1記載の構成による効果に加
え、焦点惚けのないきれいな画像を得ることができる。
According to the second aspect of the present invention, in addition to the configuration of the first aspect, the height of the surface of the original is detected, and the focus of the imaging means is adjusted according to the height. Therefore, in addition to the effect of the configuration of the first aspect, it is possible to obtain a clear image with no defocus.

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

【図1】 本発明を適用した画像読取装置の全体構成を
示す斜視図である。
FIG. 1 is a perspective view showing an overall configuration of an image reading apparatus to which the present invention is applied.

【図2】 上記装置にブック原稿が設置されている様子
を示す図であり、(A)は本装置を正面から見た図であ
り、(B)は本装置を正面で操作者の視線から見た図で
ある。
FIGS. 2A and 2B are diagrams showing a state in which a book document is set in the above-described apparatus, wherein FIG. 2A is a view of the present apparatus as viewed from the front, and FIG. FIG.

【図3】 上記装置の原稿台に、原稿が歪みなく載置さ
れている場合の模式図である。
FIG. 3 is a schematic diagram illustrating a case where a document is placed on a document table of the apparatus without distortion.

【図4】 上記装置の原稿台に、原稿の右頁が下広に歪
んで載置されている場合の模式図である。
FIG. 4 is a schematic view of a case where a right page of a document is placed on the document table of the above-described apparatus so as to be distorted downward.

【図5】 上記装置の原稿台に、原稿の右頁が上広に歪
んで載置されている場合の模式図である。
FIG. 5 is a schematic diagram showing a case where a right page of a document is placed on the document table of the above-described apparatus while being distorted widely;

【図6】 図4に示したように原稿の右頁を拡大した図
である。
6 is an enlarged view of the right page of the document as shown in FIG.

【図7】 上記装置により原稿の歪みを補正する方法を
説明するための図面である。
FIG. 7 is a view for explaining a method of correcting a distortion of a document by the above-described apparatus.

【図8】 上記装置による補正の様子を示す図面であ
る。
FIG. 8 is a diagram showing a state of correction by the above device.

【図9】 上記装置による文字縮み補正を説明するため
の図面である。
FIG. 9 is a view for explaining character shrinkage correction by the above device.

【図10】 上記装置における補正を行う制御部の構成
を示すブロック図である。
FIG. 10 is a block diagram illustrating a configuration of a control unit that performs correction in the device.

【図11】 上記装置による画像読み取り動作の手順を
示すフローチャートである。
FIG. 11 is a flowchart showing a procedure of an image reading operation by the apparatus.

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

1…原稿台、 2…スキャナーユニット、 7…レンズ、 8…CCDラインセンサ、 21…形状検出メモリ、 22…CPU、 25…ねじれ歪み補正回路、 26…画像メモリ、 27…リードアドレス発生回路、 28…文字縮み補正回路、 29…行曲り補正回路。 DESCRIPTION OF SYMBOLS 1 ... Original platen, 2 ... Scanner unit, 7 ... Lens, 8 ... CCD line sensor, 21 ... Shape detection memory, 22 ... CPU, 25 ... Torsion distortion correction circuit, 26 ... Image memory, 27 ... Read address generation circuit, 28 ... Character contraction correction circuit, 29 ... Line bending correction circuit.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 原稿台に上向きに載置された原稿の表面
の画像を該原稿の上方から読み取る画像読取装置におい
て、 前記原稿台上に載置された原稿を読み取る撮像手段と、 前記撮像手段により読み取られた原稿自体の画像から前
記原稿の横側面端部の位置を検出する横側面端部位置検
出手段と、 前記原稿の中心線の位置を検出する原稿中心線検出手段
と、 前記横側面端部位置検出手段が検出した横側面端部の位
置と、前記原稿中心線検出手段が検出した中心線の位置
から前記原稿の画像の上端部から下端部にかけての縦方
向にわたり、前記原稿の横方向の長さを補正する補正手
段と、を有することを特徴とする画像読取装置。
1. An image reading apparatus for reading an image on the surface of a document placed upward on a platen from above the document, an image pickup unit for reading the document placed on the platen, and the image pickup unit A lateral side end position detecting means for detecting a position of a lateral side end of the document from an image of the document itself read by the document; a document center line detecting means for detecting a position of a center line of the document; The position of the lateral side edge detected by the end position detecting means and the vertical direction from the position of the center line detected by the document center line detecting means to the upper end to the lower end of the image of the document. An image reading device comprising: a correction unit configured to correct a length in a direction.
【請求項2】 前記撮像手段は前記原稿の上側面を読み
取ることができ、 前記画像読取手段はさらに、 該上側面の画像から前記原稿表面の高さを検出する高さ
検出手段と、 該高さ検出手段が検出した原稿表面の高さに応じて、前
記撮像手段の原稿画像読み取り時における焦点合わせを
行う合焦手段と、を有することを特徴とする請求項1記
載の画像読取装置。
2. The image reading means can read an upper surface of the document; the image reading means further includes a height detecting means for detecting a height of the surface of the document from an image on the upper surface; 2. The image reading apparatus according to claim 1, further comprising: focusing means for performing focusing when the image pickup means reads a document image according to the height of the document surface detected by the document detection means.
JP9156767A 1997-06-13 1997-06-13 Image reader Withdrawn JPH114325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9156767A JPH114325A (en) 1997-06-13 1997-06-13 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9156767A JPH114325A (en) 1997-06-13 1997-06-13 Image reader

Publications (1)

Publication Number Publication Date
JPH114325A true JPH114325A (en) 1999-01-06

Family

ID=15634875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9156767A Withdrawn JPH114325A (en) 1997-06-13 1997-06-13 Image reader

Country Status (1)

Country Link
JP (1) JPH114325A (en)

Similar Documents

Publication Publication Date Title
JP3376077B2 (en) Distortion correction device, distortion correction method, and image processing device
JPH08154154A (en) Image reader
EP1744537A1 (en) Image processing apparatus and control method
US5659404A (en) Image reading apparatus for reading book-like documents
JPH09200455A (en) Method for correcting density of read image and image reader
JPH10210266A (en) Image reader
JPH10262153A (en) Picture reading system
JPH10257273A (en) Image reader
JPH08237485A (en) Image reader
JPH10173905A (en) Image reading device
JPH06205194A (en) Original reader
JP3441291B2 (en) Book Scanner
JPH0937031A (en) Original reader
JP2008271464A (en) Image reading device
JP2000261653A (en) Image processing device
JP3125522B2 (en) Image reading device
JP3048613B2 (en) Image reading device
JPH11341283A (en) Picture reader
JP3355937B2 (en) Image reading device
JP2013106058A (en) Image reading apparatus and image reading method
JP4533481B2 (en) Image reading apparatus and autofocus control method
JP3774097B2 (en) Document reader
JPH07162667A (en) Picture reader
JPH07162604A (en) Test chart, image reading device and control method for image reading device
WO2003034708A1 (en) Method for controlling image reader

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040907