JPH05161001A - Original reader - Google Patents

Original reader

Info

Publication number
JPH05161001A
JPH05161001A JP3349165A JP34916591A JPH05161001A JP H05161001 A JPH05161001 A JP H05161001A JP 3349165 A JP3349165 A JP 3349165A JP 34916591 A JP34916591 A JP 34916591A JP H05161001 A JPH05161001 A JP H05161001A
Authority
JP
Japan
Prior art keywords
picture
image
original
data
circuit
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.)
Granted
Application number
JP3349165A
Other languages
Japanese (ja)
Other versions
JP3163703B2 (en
Inventor
Shinichi Fujii
真一 藤井
Noriyuki Nobuyuki
宣之 沖須
Toshihiko Karasaki
敏彦 唐崎
Satoyuki Nakamura
里之 中村
Shinya Matsuda
伸也 松田
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=18401912&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JPH05161001(A) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP34916591A priority Critical patent/JP3163703B2/en
Priority to US07/987,364 priority patent/US5585926A/en
Publication of JPH05161001A publication Critical patent/JPH05161001A/en
Application granted granted Critical
Publication of JP3163703B2 publication Critical patent/JP3163703B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To attain precise picture reproduction by detecting a degree of a warp of an original when reading the original and applying density interpolation processing and expansion processing to a picture in response to the result of detection. CONSTITUTION:A range finder circuit 22 measures the height of an original, a spline interpolation circuit 24 applies 3rd-order spline interpolation processing based on the measured data to obtain shape data of the original. A picture expansion rate calculation circuit 25 calculates a picture expansion rate based on the data and sends the value to a picture expansion circuit 31. On the other hand, a CCD 28 picks up an image of the original and a picture correction circuit 30 restores the picture based on the image pickup data. The picture expansion circuit 31 applies picture expansion processing to the restored picture data based on the picture expansion rate and an output section 32 reproduces a beautiful and easy to see picture.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、原稿を上方から撮影す
る読み取り装置にあって、空間的に曲がった原稿の曲が
り具合を検知し、補正する原稿読み取り装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document reading device for photographing a document from above and for detecting and correcting the degree of bending of a document that is spatially curved.

【0002】[0002]

【従来の技術】この種の装置においては、製本された原
稿を上方から撮影し読み取る場合、本の継ぎ目の部分で
は紙面が曲がっているために、撮影したデータをそのま
ま再生したのでは、継ぎ目の部分で画像が圧縮されて、
歪んだ画像になってしまう。これに対処するために、従
来、例えば、特開昭62−143557号公報に示され
るように、原稿を走査して読み取るラインセンサと、原
稿面との距離を検出する距離センサを用いて、読み取り
時に検出した距離に応じてラインセンサの副走査方向の
読み取りピッチを変化させるようにしたものや、特開平
3−117965号公報に示されるように、原稿の読み
取り時に原稿の曲がり具合に応じて、撮影した画像を伸
長処理するようにしたものがある。
2. Description of the Related Art In a device of this type, when a bound document is photographed and read from above, the paper surface is curved at the seam portion of the book, so if the photographed data is reproduced as it is, The image is compressed in parts,
The image becomes distorted. In order to cope with this, conventionally, for example, as shown in Japanese Patent Laid-Open No. 62-143557, a line sensor is used for scanning and reading, and a distance sensor for detecting the distance between the document surface is used for reading. The one in which the reading pitch of the line sensor in the sub-scanning direction is changed according to the distance sometimes detected, or, as shown in JP-A-3-117965, depending on the degree of bending of the original at the time of reading the original, There is a system in which a captured image is expanded.

【0003】[0003]

【発明が解決しようとする課題】ところが、上述した従
来の前者の装置では、原稿の読み取り時にラインセンサ
の副走査方向の読み取りピッチを変化させるため、機械
的な構成が複雑になるとともに、距離センサを用いるた
めコストがかかる。また、後者の装置では、撮影した画
像を伸長処理する際に濃度再現補間処理をしていないた
め、画像を伸長する割合が大きい原稿の継ぎ目付近では
画像を美しく再現できないことがある。本発明は、上記
問題を解決するもので、原稿の読み取り時にラインセン
サの副走査方向の読み取りピッチを変化させるという機
械的な補正手段を用いなくとも、原稿読み取り時に原稿
の曲がり具合を検知し、その結果に応じて、画像を伸長
処理する際に濃度再現補間処理をし、あたかもフラット
な原稿を撮影したかのような画像再現が可能となる原稿
読み取り装置を提供することを目的とする。
However, in the former device described above, since the reading pitch of the line sensor in the sub-scanning direction is changed when reading the original, the mechanical structure is complicated and the distance sensor is used. Is costly to use. Further, in the latter device, since the density reproduction interpolation process is not performed when the captured image is expanded, the image may not be beautifully reproduced in the vicinity of the seam of the document where the ratio of expanding the image is large. The present invention solves the above problem, and detects the degree of bending of a document at the time of reading the document, without using a mechanical correction unit that changes the reading pitch of the line sensor in the sub-scanning direction at the time of reading the document. It is an object of the present invention to provide a document reading apparatus capable of performing density reproduction interpolation processing when expanding an image according to the result and performing image reproduction as if a flat original was photographed.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するため
に本発明は、原稿を読み取る原稿読み取り手段と、この
原稿読み取り手段において複数の画素を有する撮像手段
と、前記読み取り手段による読み取り出力に基づいて原
稿の形状を測定する形状測定手段と、この形状測定手段
の出力に応じて各画素の画像伸長率を演算する演算手段
と、この演算手段の出力に応じて各画素出力の濃度再現
補間をし画素伸長する伸長手段とを有したものである。
In order to achieve the above object, the present invention is based on an original reading unit for reading an original, an image pickup unit having a plurality of pixels in the original reading unit, and an output read by the reading unit. Shape measuring means for measuring the shape of the original document, calculating means for calculating the image expansion rate of each pixel according to the output of this shape measuring means, and density reproduction interpolation of each pixel output according to the output of this calculating means. And a decompression means for decompressing the pixels.

【0005】[0005]

【作用】上記の構成によれば、原稿読み取り手段及び撮
像手段にて原稿を読み取り、画像情報を得るとともに、
形状測定手段にて原稿の高さを測定し、その測定値をも
とに原稿の形状データを検出する。この検出した原稿の
形状データをもとに演算手段にて各画素の画素伸長率を
求め、その結果をもとに伸長手段にて画像伸長すること
により正確な画像を再現することができる。
According to the above structure, the document is read by the document reading unit and the image pickup unit to obtain image information, and
The height of the document is measured by the shape measuring means, and the shape data of the document is detected based on the measured value. An accurate image can be reproduced by calculating the pixel expansion rate of each pixel based on the detected document shape data and expanding the image based on the result.

【0006】[0006]

【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。図1は、本発明の一実施例である原
稿読み取り装置の外観構成を示す。机形状をした装置本
体の原稿台10には原稿1が上向きに載置され、読み取
り部2が原稿1を上方から読み取り得る位置に支持部材
3により支持され、原稿1と読み取り部2との間に所定
の間隔をもたせている。この間隔は少なくとも原稿1面
上の読み取り可能領域が常に視認できる大きさで、この
間隔により原稿1面と読み取り部2の間に作業空間が形
成される。また、装置には操作スイッチ類4や原稿読み
取り手段の出力を補正する曲がり補正回路部5が設けら
れている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows an external configuration of a document reading apparatus which is an embodiment of the present invention. The original 1 is placed upward on the original table 10 of the desk-shaped apparatus body, and the reading unit 2 is supported by the support member 3 at a position where the original 1 can be read from above. To have a predetermined interval. This distance is such that at least the readable area on the surface of the original 1 is always visible, and this space forms a working space between the surface of the original 1 and the reading unit 2. Further, the apparatus is provided with a bending correction circuit section 5 for correcting the output of the operation switches 4 and the document reading means.

【0007】図2、図3は、上記読み取り部2の詳細構
成を示す。原稿1の画像情報は、読み取り部2の結像レ
ンズ7を通して撮像センサ6で読み取られる。撮像セン
サ6はCCD等の半導体光電変換素子で、エリアセンサ
でもラインセンサでも構わない。図2はエリアセンサ、
図3はラインセンサの場合の構成を示す。曲がり検知ボ
ード9は,IR発光素子8aから発して原稿1面で反射
した反射光を受光素子8bで受けて測距する、いわゆる
三角測距方式を用いて原稿1面の高さを測定するもので
あり、IR発光素子8aと受光素子8bを備えた曲がり
検知ボード9を原稿1の上方でスキャンして原稿1面の
高さの変化を測る。測距方式は三角測距法に限るもので
はなく位相差測距法でも構わない。
2 and 3 show the detailed structure of the reading unit 2. As shown in FIG. The image information of the document 1 is read by the image sensor 6 through the imaging lens 7 of the reading unit 2. The image sensor 6 is a semiconductor photoelectric conversion element such as a CCD and may be an area sensor or a line sensor. 2 is an area sensor,
FIG. 3 shows the configuration in the case of a line sensor. The bend detection board 9 measures the height of one surface of the original using a so-called triangulation method, in which the reflected light emitted from the IR light emitting element 8a and reflected by the one surface of the original is received by the light receiving element 8b to measure the distance. Then, the bending detection board 9 provided with the IR light emitting element 8a and the light receiving element 8b is scanned above the document 1 to measure the change in height of the document 1 surface. The distance measuring method is not limited to the triangulation distance measuring method, and may be the phase difference distance measuring method.

【0008】図4は、本実施例による原稿読み取り装置
の電気信号の流れを示すブロック図である。図5は、本
実施例による原稿読み取り装置を用いた一連のコピー動
作の処理を示す。以下、図4、図5に従って、本実施例
の構成と動作を説明する。原稿1が原稿台10上にセッ
トされ(#1でYES)、コピーボタンがONされると
(#2でYES)、図4のCPU21の命令で測距回路
22が駆動する。すると、図2の曲り検知ボード9がス
キャンして、原稿1の片頁において10点ずつ、すなわ
ち左右両頁において合計20点の高さを測定する。各点
の高さの測定は、図2の発光素子8aと受光素子8bに
よって三角測距方式によって行う(#3)。
FIG. 4 is a block diagram showing the flow of electric signals in the document reading apparatus according to this embodiment. FIG. 5 shows a series of processes of a copy operation using the document reading apparatus according to this embodiment. The configuration and operation of this embodiment will be described below with reference to FIGS. When the manuscript 1 is set on the manuscript table 10 (YES in # 1) and the copy button is turned on (YES in # 2), the distance measuring circuit 22 is driven by a command from the CPU 21 in FIG. Then, the bending detection board 9 in FIG. 2 scans and measures the height of 10 points on one page of the document 1, that is, 20 points in total on both left and right pages. The height of each point is measured by the triangulation method using the light emitting element 8a and the light receiving element 8b of FIG. 2 (# 3).

【0009】高さの測定値データは、図4に示すように
A/D変換器23にてA/D変換されたのち、スプライ
ン補間回路24に送られ、3次のスプライン補間処理を
施して原稿1の形状データを求める(#4)。スプライ
ン補間回路24から出力した原稿1の形状データは、画
像伸長率計算回路25に送られ、画像伸長率を計算し
(#5)、計算した伸長率の値を画像伸長処理の実行に
備えてメモリ26に記憶される。
The measured height data is A / D converted by an A / D converter 23 as shown in FIG. 4 and then sent to a spline interpolation circuit 24 to be subjected to cubic spline interpolation processing. The shape data of the original 1 is obtained (# 4). The shape data of the document 1 output from the spline interpolation circuit 24 is sent to the image expansion rate calculation circuit 25, the image expansion rate is calculated (# 5), and the calculated expansion rate value is prepared for execution of the image expansion processing. It is stored in the memory 26.

【0010】以上の処理が終了すると、図4のCPU2
1の命令によりCCD駆動回路27が駆動し、CCD2
8によって原稿1を撮像する(#6)。撮像したデータ
は、図4に示すようにA/D変換器29にてA/D変換
されたのち、画像修復回路30に送られ画像修復する
(#7)。次に、画像修復回路30から出力した画像デ
ータが画像伸長回路31に送られる。一方、メモリ26
に記憶された画像伸長率の値も画像伸長回路31に送ら
れ、このデータと画像データをもとにして画像伸長処理
を行う(#8)。画像伸長回路31から出力したデータ
を出力部32に送り、プリントアウトし(#9)、一連
のコピー動作を完了する。
When the above processing is completed, the CPU 2 of FIG.
The CCD drive circuit 27 is driven by the command 1 and the CCD 2
The document 1 is imaged by 8 (# 6). The imaged data is A / D converted by the A / D converter 29 as shown in FIG. 4, and then sent to the image restoration circuit 30 to restore the image (# 7). Next, the image data output from the image restoration circuit 30 is sent to the image expansion circuit 31. On the other hand, the memory 26
The value of the image expansion rate stored in is also sent to the image expansion circuit 31, and image expansion processing is performed based on this data and the image data (# 8). The data output from the image decompression circuit 31 is sent to the output unit 32, printed out (# 9), and a series of copy operations is completed.

【0011】以下に、上記の各処理を具体的に説明す
る。まず、スプライン補間回路24での補間処理につい
て説明する。図6は図5の#3,#4の処理を説明する
ための図である。図6(a)は、高さの測定値とその測
定位置を示し、包絡線は原稿の曲がりを示す。図6
(b)の破線の矢印が3次のスプライン補間処理によっ
て算出された高さの補間値である。この補間処理により
再生プリンタのドット数に合わせて、例えば、450点
の高さの測定データを得る。
Each of the above processes will be specifically described below. First, the interpolation processing in the spline interpolation circuit 24 will be described. FIG. 6 is a diagram for explaining the processes of # 3 and # 4 of FIG. FIG. 6A shows the height measurement value and its measurement position, and the envelope curve shows the bending of the document. Figure 6
The dashed arrow in (b) is the interpolated value of the height calculated by the cubic spline interpolation process. By this interpolation processing, measurement data having a height of 450 points is obtained in accordance with the number of dots of the reproduction printer.

【0012】高さの測定値の他にスプライン補間処理に
より高さの補間値を算出する理由を以下に示す。図6
(a)の測定位置x1,x2を例にとると、原稿の曲が
りにより圧縮された画像の長さと実際の原稿の長さは、
図7(a)の三角形ABCにおいて、圧縮された画像の
長さは直線ACの長さであり、実際の原稿の長さはAB
間の原稿の曲がりが直線に近似できる場合は直線ABの
長さと近似できる。実際に、画像を伸長処理する場合
は、 AB=AC・(1/cos θ) より、容易に直線ACの長さから直線ABの長さを求め
ることができる。
The reason for calculating the height interpolation value by the spline interpolation process in addition to the height measurement value will be described below. Figure 6
Taking the measurement positions x1 and x2 in (a) as an example, the length of the image compressed by the bending of the document and the actual length of the document are
In the triangle ABC in FIG. 7A, the length of the compressed image is the length of the straight line AC, and the actual length of the original is AB.
If the bending of the original document in between can be approximated to a straight line, it can be approximated to the length of the straight line AB. Actually, when the image is expanded, it is possible to easily obtain the length of the straight line AB from the length of the straight line AC from AB = AC · (1 / cos θ).

【0013】しかし、実際の原稿の曲がりは、図7
(b)の曲線ABのような曲線状であるため直線に近似
できない。ところが、高さの測定点の間隔を密にして高
さの測定データを多くとると、原稿の曲がりが直線に近
似できる。そこで、原稿の高さを測定する際に、高さの
測定点の数が少なく原稿の曲がりが直線に近似できない
場合には、各測定点の値をもとに3次のスプライン補間
処理を施し、測定点と測定点との間の複数の点(以下補
間点という)における、高さの補間値を算出することに
より、原稿の曲がりに近似した曲線を求めることがで
き、伸長処理が可能となる。以上の理由により、高さの
測定値の他にスプライン補間処理により高さの補間値を
算出しなければならない。但し、図2の測距方法におい
て、CCDから撮像される1ラインの画素数と同数の高
さの測定データを得ることが可能であれば、3次のスプ
ライン補間処理をしなくても精度の高い直線近似を求め
ることができる。
However, the actual bending of the original is shown in FIG.
It cannot be approximated to a straight line because it is curved like the curve AB in (b). However, if the height measurement points are closely spaced and a large amount of height measurement data is taken, the bending of the document can be approximated to a straight line. Therefore, when measuring the height of a document, if the number of height measurement points is small and the curve of the document cannot be approximated to a straight line, cubic spline interpolation processing is performed based on the values of each measurement point. By calculating the height interpolation values at a plurality of points (hereinafter referred to as interpolation points) between the measurement points, it is possible to obtain a curve that approximates the bending of the document, and it is possible to perform decompression processing. Become. For the above reason, in addition to the height measurement value, the height interpolation value must be calculated by spline interpolation processing. However, in the distance measuring method of FIG. 2, if it is possible to obtain the measurement data having the same number of heights as the number of pixels of one line imaged from the CCD, it is possible to obtain the accuracy without the cubic spline interpolation process. A high linear approximation can be obtained.

【0014】3次のスプライン補間で、図6(a)のx
1〜x10の3次のスプライン関数を求めるためには、
図8のx0とx11における高さの値が必要である。図
8に示すように、x0はちょうど本の継ぎ目部分とし、
高さh0 =0として処理する。さらに、原稿の継ぎ目付
近のx0〜x1の区間の補間値を求めるためには、図8
に示すx- 1 での高さが必要であり、この場合は、x-
1 での高さh- 1 =−h1 と近似することにより、x0
〜x1の補間値を求める。また、x11は原稿の端の部
分であるから、原稿と原稿台とがほぼ水平であるとし、
x11での高さh1 1 =h1 0 として処理する。これに
より原稿面上の全ての範囲で、3次のスプライン関数を
求めることができる。別の方法として2次のスプライン
関数で補間すると更に簡単になる。
By the cubic spline interpolation, x in FIG.
To obtain the cubic spline function of 1 to x10,
The height values at x0 and x11 in FIG. 8 are needed. As shown in Figure 8, x0 is just the seam of the book,
The height h 0 is processed as 0 . Further, in order to obtain the interpolated value in the section of x0 to x1 near the seam of the document,
To indicate x - height in 1 requires, in this case, x -
1 in the height h - 1 = -h by approximating the 1, x0
The interpolated value of x1 is calculated. Further, since x11 is the end portion of the document, it is assumed that the document and the document table are substantially horizontal,
The height at x11 is treated as h 1 1 = h 1 0 . This makes it possible to obtain a cubic spline function in the entire range on the document surface. Alternatively, interpolation with a quadratic spline function will be easier.

【0015】次に、画像伸長率計算回路25での処理に
ついて説明する。スプライン補間回路24によって求め
たx1,…,x450 点の高の測定データh1 ,…,h4
5 0のデータをもとに画像伸長率を計算する。画像伸長
率とは、図7(a)におけるAB/ACの値のことであ
る。画像伸長率αは図7(a)から、
Next, the processing in the image expansion rate calculation circuit 25 will be described. The measured data h 1 , ..., H 4 at the height of x1, ..., x450 obtained by the spline interpolation circuit 24
5 0 data to calculate the image elongation in the original. The image expansion rate is the value of AB / AC in FIG. The image expansion rate α is calculated from FIG.

【数1】 [Equation 1]

【0016】となる。これをk=1から逐次計算してい
くことによりα(1),…,α(449)を求めること
ができる。この画像伸長率α(k)(k=1,…,44
9)を求める処理を画像伸長率計算回路25で行う。
[0016] By successively calculating this from k = 1, α (1), ..., α (449) can be obtained. This image expansion rate α (k) (k = 1, ..., 44
The image expansion rate calculation circuit 25 performs the process of obtaining 9).

【0017】次に、画像修復回路30での処理について
説明する。画像修復回路30では、ぼけ修復処理と輝度
むら補正処理の2つの処理を行う。まず、ぼけ修復処理
について説明する。原稿の継ぎ目付近では、原稿の高い
箇所と低い箇所との高低差が大きいため、撮像のぼけが
生じる。このぼけを修復する方法としては、ラプラシア
ン処理がある。画像データに対してラプラシアン処理を
施すことにより画像の輝部と暗部との濃淡勾配における
エッジが強調され、撮像のぼけが改善される。さらに、
本実施例のように電気信号の流れる経路上でA/D変換
処理を施す場合には、電気信号のノイズが生じやすいた
め、ガンマ(γ)変換処理によってノイズを除去するこ
とにより、さらに画像の鮮鋭化が実現できる。
Next, the processing in the image restoration circuit 30 will be described. The image restoration circuit 30 performs two processes, a blur restoration process and a brightness unevenness correction process. First, the blur restoration process will be described. In the vicinity of the seam of the document, there is a large difference in height between the high part and the low part of the document, so that the image is blurred. A Laplacian process is a method for repairing this blur. By performing the Laplacian processing on the image data, the edges in the gradation of the bright and dark parts of the image are emphasized, and the blur of the image pickup is improved. further,
When the A / D conversion process is performed on the path of the electric signal as in this embodiment, noise of the electric signal is likely to occur. Therefore, noise is removed by the gamma (γ) conversion process to further reduce the image quality. Sharpening can be realized.

【0018】続いて、輝度むら補正処理について説明す
る。例えば、読み込んだ画像データにおいて輝度むら補
正処理前のi行j列の画像データをa(i,j)とし、
輝度むら補正処理後の画像データをb(i,j)とす
る。輝度むら補正処理では、はじめに、原稿の上端部あ
るいは下端部の、文字や絵図のない白地の部分における
1行の画像データa(k,j)を検出する。このa
(k,j)における濃度分布を図12に示す。図12の
濃度分布は、図6のx軸方向の濃度分布である。図12
において、濃度が低下したA点は上向きに配置された原
稿の継ぎ目の部分に相当し、この部分の画像データを補
正するためには、max/a(k,j)の値を計算し、
この値をk行の各画像データa(k,j)に乗ずるとb
(k,j)の濃度値はすべてmaxとなり、輝度むらが
なくなる。これを図13に示す。このmax/a(k,
j)の値を各々が対応する同じ列の全ての画像データに
乗ずると、全ての画像データに対して輝度むらが補正さ
れる。
Next, the brightness unevenness correction processing will be described. For example, in the read image data, the image data in the i-th row and the j-th column before the luminance unevenness correction processing is set to a (i, j),
The image data after the brightness unevenness correction processing is set to b (i, j). In the brightness unevenness correction processing, first, one line of image data a (k, j) in the white background portion without letters or pictures at the upper end portion or the lower end portion of the document is detected. This a
The concentration distribution at (k, j) is shown in FIG. The density distribution of FIG. 12 is the density distribution in the x-axis direction of FIG. 12
In, the point A where the density has decreased corresponds to the seam portion of the document placed upward, and in order to correct the image data of this portion, the value of max / a (k, j) is calculated,
Multiplying this value by each image data a (k, j) of k rows, b
The density values of (k, j) are all max, and the uneven brightness is eliminated. This is shown in FIG. This max / a (k,
When the value of j) is multiplied by all the image data of the same corresponding column, the uneven brightness is corrected for all the image data.

【0019】輝度むら補正処理前のk行目の画像データ
が白地であるとすると、輝度むら補正処理前のi行j列
の画像データa(i,j)と、輝度むら補正処理後の画
像データb(i,j)との関係は、
If the image data in the k-th row before the brightness unevenness correction processing is a white background, the image data a (i, j) in the i-th row and j-column before the brightness unevenness correction processing and the image after the brightness unevenness correction processing are performed. The relationship with the data b (i, j) is

【数2】 となる。以上のぼけ補正処理と輝度むら補正処理によ
り、画像修復が実現できる。
[Equation 2] Becomes Image restoration can be realized by the above-described blur correction processing and luminance unevenness correction processing.

【0020】次に、画像伸長回路31での画像データの
伸長方法について説明する。図9は、例として[xk
k + 1 ]の区間にある10個の画像データを、画像伸
長率1.4で伸長処理する場合を示す。この例では、
[xk ,xk + 1 ]の区間にある10個の画素の番号
を、x1から順に1,2,…,10とする。ここで、i
行j列目の画素を画像伸長率αで伸長した時、伸長画素
数をm、伸長画素数の累積数をnとすると、 m=α・i−i−n の関係式が成り立つ。但し、mは右辺を四捨五入した値
である。
Next, a method of expanding image data in the image expansion circuit 31 will be described. FIG. 9 shows an example of [x k ,
x k + 1 ], 10 pieces of image data are expanded at an image expansion ratio of 1.4. In this example,
[X k, x k + 1 ] Ten number of pixels in the interval of 1, 2 from x1 sequentially, ..., and 10. Where i
When the pixel in the row j-th column is expanded at the image expansion rate α, where m is the number of expanded pixels and n is the cumulative number of expanded pixels, the following relational expression holds: m = α · i−i−n. However, m is a value obtained by rounding off the right side.

【0021】したがって、伸長処理の関係式は、 m=f(α・i−i−n)とすると x−y≧0.5のとき f(x)=y+1 x−y<0.5のとき f(x)=y x:(α・i−i−n)の値 y:(α・i−i−n)の整数部分の値 として表すことができる。i=1のとき、m=f(0.
4)=0より、n=0となる。以下、同様にしてi=
2,3,…,10について計算する。図9のk=1,
2,…,14に対応する伸長処理前の画素データi=
1,2,…,10を図10に示す。これらの処理を[x
1 ,x450 ]の全ての区間にある画素に施すことにより
画像伸長ができる。
Therefore, the relational expression of the decompression process is as follows: m = f (αi-i-n) x-y≥0.5 f (x) = y + 1 x-y <0.5 f (x) = y x: (α · i−i−n) value y: (α · i−i−n) integer part value When i = 1, m = f (0.
From 4) = 0, n = 0. Similarly, i =
Calculations are made for 2, 3, ..., 10. In FIG. 9, k = 1,
Pixel data before decompression processing i = 2, ...
1, 2, ..., 10 are shown in FIG. These processes are [x
The image can be expanded by applying it to the pixels in all the [1, x450] intervals.

【0022】さらに、よりよい方法として、i行j列目
のデータがm個に伸長される場合、伸長処理後のm個の
画素の値をi行j列目の画素データの値にするのではな
く、i行j列目とi行(j+1)列目の画素データを元
にして図11に示すような処理を施す。すなわち、伸長
処理する画素のデータをi行j列目とi行(j+1)列
目の画素データにより平均的な濃度階調をつけながら濃
度補間して画像伸長する。図11におけるi行(j+
l)列目(l=0,1,…,m−1)の画像データa
(i,j+l)は、以下の式によって計算できる。
Further, as a better method, when the data of the i-th row and the j-th column is expanded to m pieces, the value of the m pixels after the expansion processing is made the value of the pixel data of the i-th row and the j-th column. Instead, the processing shown in FIG. 11 is performed based on the pixel data of the i-th row and j-th column and the i-th row (j + 1) th column. That is, the image data is expanded by density-interpolating the pixel data to be expanded by the pixel data of the i-th row and the j-th column and the i-th row (j + 1) th column while providing an average density gradation. Row i (j +
l) Image data a of the 1st column (l = 0, 1, ..., M-1)
(I, j + 1) can be calculated by the following formula.

【数3】 m=0のとき a(i,j+l)=a(i,j)[Equation 3] When m = 0 a (i, j + 1) = a (i, j)

【0023】次に、画像伸長の前に画像修復を行う理由
を説明する。画像伸長を行う際に濃度補間処理を施すた
め、伸長処理後の画像データにおいては濃淡勾配が小さ
くなり、エッジがなだらかになっている。したがって、
画像伸長の後に、画像修復におけるラプラシアン処理を
行っても、エッジが強調されにくく、画像修復の効果が
少ない。一方、ラプラシアン処理した後に画像伸長する
場合には、エッジが強調されて太くなるため、細い文字
や小さい文字を復元するには極めて有効である。
Next, the reason why the image restoration is performed before the image expansion is explained. Since the density interpolation process is performed when the image is expanded, the gradation of the image data after the expansion process is small and the edge is gentle. Therefore,
Even if the Laplacian process in the image restoration is performed after the image expansion, the edge is hard to be emphasized and the effect of the image restoration is small. On the other hand, when the image is expanded after the Laplacian processing, the edges are emphasized and become thicker, which is extremely effective for restoring thin characters or small characters.

【0024】なお、原稿を読み取る手段である撮像セン
サとしては、ラインセンサでもエリアセンサでもよく、
応用範囲は広くなる。また、測距する場合に、図14に
示すように原稿の継ぎ目付近の測距データを多くして、
継ぎ目付近を離れるほど測距データを少なくすることも
でき、このようにすることにより、より一層精度の高い
スプライン補間が可能となる。また、スプライン補間は
任意の測距データ数で補間できる。これによって、装置
(ハード)の仕様に合わせた適切な補間処理を行うこと
が可能である。
The image sensor for reading the original may be a line sensor or an area sensor,
The range of application becomes wider. Further, when performing distance measurement, as shown in FIG. 14, by increasing the distance measurement data near the seam of the original,
The distance measurement data can be reduced as the distance from the seam is increased, and by doing so, more accurate spline interpolation can be performed. Further, the spline interpolation can be performed with any number of distance measurement data. With this, it is possible to perform an appropriate interpolation process according to the specifications of the device (hardware).

【0025】また、前述した実施例とは別の実施例によ
る測距手段を図15、図16に示す。この例では、原稿
台10の上に、原稿台10に対して垂直にフォトセンサ
91を並べたボード90を置き、そのボード90に原稿
1を密着させて、原稿1がある部分ではフォトセンサ9
1が遮光されるように原稿1を配置する。この構成によ
りフォトセンサ91の出力に対応して原稿1の高さを測
定することができる。
A distance measuring means according to an embodiment different from the above-mentioned embodiment is shown in FIGS. In this example, a board 90 having photosensors 91 arranged perpendicularly to the original table 10 is placed on the original table 10, and the original 1 is brought into close contact with the board 90.
The document 1 is arranged so that 1 is shielded from light. With this configuration, the height of the document 1 can be measured in accordance with the output of the photo sensor 91.

【0026】[0026]

【発明の効果】以上のように本発明によれば、原稿読み
取り時に原稿の形状、つまり空間的に曲がった原稿の曲
がり具合を検知し、その曲がり検知結果に応じて画像の
伸長処理及び濃度再現補間処理を施すので、あたかもフ
ラットな原稿を撮影したかのような画像を再現すること
ができる。特に、伸長処理を行うための濃度再現補間処
理は、画素の前後の濃度データの平均値などを求めるこ
とにより実施できる。このように濃度補間をして伸長す
ることにより、美しい画像に修復することができる。
As described above, according to the present invention, at the time of reading a document, the shape of the document, that is, the degree of bending of the document that is spatially bent, is detected, and the image expansion processing and density reproduction are performed according to the detection result of the bending. Since the interpolation process is performed, it is possible to reproduce an image as if a flat document was photographed. In particular, the density reproduction interpolation process for performing the expansion process can be performed by obtaining the average value of the density data before and after the pixel. By performing density interpolation and expansion in this way, a beautiful image can be restored.

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

【図1】本発明の一実施例による原稿読み取り装置の外
観構成図である。
FIG. 1 is an external configuration diagram of a document reading apparatus according to an embodiment of the present invention.

【図2】読み取り部の構成を示す斜視図である。FIG. 2 is a perspective view showing a configuration of a reading unit.

【図3】読み取り部の構成を示す斜視図である。FIG. 3 is a perspective view showing a configuration of a reading unit.

【図4】電気信号の流れを示すブロック図である。FIG. 4 is a block diagram showing a flow of an electric signal.

【図5】画像のコピー動作のフローチャートである。FIG. 5 is a flowchart of an image copy operation.

【図6】スプライン補間の説明図である。FIG. 6 is an explanatory diagram of spline interpolation.

【図7】直線近似の説明図である。FIG. 7 is an explanatory diagram of linear approximation.

【図8】スプライン補間における近似データの説明図で
ある。
FIG. 8 is an explanatory diagram of approximate data in spline interpolation.

【図9】画像伸長処理の説明図である。FIG. 9 is an explanatory diagram of image expansion processing.

【図10】画像伸長処理の説明図である。FIG. 10 is an explanatory diagram of image expansion processing.

【図11】濃度再現補間の説明図である。FIG. 11 is an explanatory diagram of density reproduction interpolation.

【図12】輝度むら補正前の濃度分布を示す図である。FIG. 12 is a diagram showing a density distribution before correction of luminance unevenness.

【図13】輝度むら補正後の濃度分布を示す図である。FIG. 13 is a diagram showing a density distribution after luminance unevenness correction.

【図14】箇所により測定点数を変えた場合のスプライ
ン補間の説明図である。
FIG. 14 is an explanatory diagram of spline interpolation when the number of measurement points is changed depending on the location.

【図15】測距手段としてフォトセンサを使用した実施
例による原稿読み取り装置の外観構成図である。
FIG. 15 is an external configuration diagram of a document reading apparatus according to an embodiment using a photo sensor as a distance measuring unit.

【図16】フォトセンサを使用した測距手段の側面図で
ある。
FIG. 16 is a side view of distance measuring means using a photo sensor.

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

2 読み取り部 5 曲がり補正回路部 6 撮像センサ 8a IR発光素子 8b 受光素子 21 CPU 22 測距回路 24 スプライン補間回路 25 画像伸長率計算回路 28 CCD 30 画像修復回路 31 画像伸長回路 2 reading unit 5 bending correction circuit unit 6 image sensor 8a IR light emitting element 8b light receiving element 21 CPU 22 distance measuring circuit 24 spline interpolation circuit 25 image expansion rate calculation circuit 28 CCD 30 image restoration circuit 31 image expansion circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 唐崎 敏彦 大阪市中央区安土町二丁目3番13号 大阪 国際ビル ミノルタカメラ株式会社内 (72)発明者 中村 里之 大阪市中央区安土町二丁目3番13号 大阪 国際ビル ミノルタカメラ株式会社内 (72)発明者 松田 伸也 大阪市中央区安土町二丁目3番13号 大阪 国際ビル ミノルタカメラ株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Toshihiko Karazaki 2-3-13 Azuchi-cho, Chuo-ku, Osaka Inside the Osaka International Building Minolta Camera Co., Ltd. (72) Satoshi Nakamura 2-chome, Azuchi-cho, Chuo-ku, Osaka 3-13 Osaka International Building Minolta Camera Co., Ltd. (72) Inventor Shinya Matsuda 2-3-3 Azuchicho, Chuo-ku, Osaka City Osaka International Building Minolta Camera Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 原稿を読み取る原稿読み取り手段と、こ
の原稿読み取り手段において複数の画素を有する撮像手
段と、前記読み取り手段による読み取り出力に基づいて
原稿の形状を測定する形状測定手段と、この形状測定手
段の出力に応じて各画素の画像伸長率を演算する演算手
段と、この演算手段の出力に応じて各画素出力の濃度再
現補間をし画素伸長する伸長手段とを有したことを特徴
とする原稿読み取り装置。
1. An original reading means for reading an original, an image pickup means having a plurality of pixels in the original reading means, a shape measuring means for measuring the shape of the original on the basis of a read output by the reading means, and this shape measurement. The present invention is characterized in that it has arithmetic means for computing the image expansion rate of each pixel according to the output of the means, and decompressing means for performing pixel expansion by performing density reproduction interpolation of each pixel output according to the output of this arithmetic means. Document reading device.
JP34916591A 1991-12-05 1991-12-05 Document reading device Expired - Lifetime JP3163703B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP34916591A JP3163703B2 (en) 1991-12-05 1991-12-05 Document reading device
US07/987,364 US5585926A (en) 1991-12-05 1992-12-07 Document reading apparatus capable of rectifying a picked up image data of documents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34916591A JP3163703B2 (en) 1991-12-05 1991-12-05 Document reading device

Publications (2)

Publication Number Publication Date
JPH05161001A true JPH05161001A (en) 1993-06-25
JP3163703B2 JP3163703B2 (en) 2001-05-08

Family

ID=18401912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34916591A Expired - Lifetime JP3163703B2 (en) 1991-12-05 1991-12-05 Document reading device

Country Status (1)

Country Link
JP (1) JP3163703B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19853632B4 (en) * 1997-11-20 2006-10-26 Ricoh Co., Ltd. Image processing device
US8675969B2 (en) 2010-03-01 2014-03-18 Canon Kabushiki Kaisha Method and apparatus for detecting page boundaries

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19853632B4 (en) * 1997-11-20 2006-10-26 Ricoh Co., Ltd. Image processing device
US8675969B2 (en) 2010-03-01 2014-03-18 Canon Kabushiki Kaisha Method and apparatus for detecting page boundaries

Also Published As

Publication number Publication date
JP3163703B2 (en) 2001-05-08

Similar Documents

Publication Publication Date Title
US5764383A (en) Platenless book scanner with line buffering to compensate for image skew
JPH05316302A (en) Picture input device
JPH1065877A (en) Picture processor
JP3072236B2 (en) Image input device
US6670988B1 (en) Method for compensating digital images for light falloff and an apparatus therefor
JP3175250B2 (en) Document reading device
JP3569794B2 (en) Image reading system
US5892590A (en) Corrected data generator for image taking device
JPH0879529A (en) Image processing device
JP3136721B2 (en) Document reading device
JP3163703B2 (en) Document reading device
JP3697828B2 (en) Document angle correction method and document angle correction device
JP2000261653A (en) Image processing unit
RU2368091C2 (en) System and method for scanning and copying
JP3107588B2 (en) Image signal correction method
JP3384208B2 (en) Image reading device
JPH10327321A (en) Picture reader and its method
JPH05161004A (en) Original reader
JP3684479B2 (en) Digital camera
JPH05161003A (en) Original reader
RU2298292C2 (en) System and method for scanning
TW385605B (en) A method applied to image scanning device for gaining vertical amplification errors
JPH02170280A (en) Document inclination corrector
JP2000151971A (en) Picture processor
JPH05110850A (en) Picture reader

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010130

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

Free format text: PAYMENT UNTIL: 20080302

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090302

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100302

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110302

Year of fee payment: 10

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120302

Year of fee payment: 11