JPH05161003A - Original reader - Google Patents

Original reader

Info

Publication number
JPH05161003A
JPH05161003A JP3349167A JP34916791A JPH05161003A JP H05161003 A JPH05161003 A JP H05161003A JP 3349167 A JP3349167 A JP 3349167A JP 34916791 A JP34916791 A JP 34916791A JP H05161003 A JPH05161003 A JP H05161003A
Authority
JP
Japan
Prior art keywords
document
original
output
image
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.)
Withdrawn
Application number
JP3349167A
Other languages
Japanese (ja)
Inventor
Shinichi Fujii
真一 藤井
Shinya Matsuda
伸也 松田
Noriyuki Nobuyuki
宣之 沖須
Satoyuki Nakamura
里之 中村
Toshihiko Karasaki
敏彦 唐崎
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 JP3349167A priority Critical patent/JPH05161003A/en
Priority to US07/987,364 priority patent/US5585926A/en
Publication of JPH05161003A publication Critical patent/JPH05161003A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To attain precise picture reproduction by detecting a border between an original and an original platen when reading the original so as to detect an askew positioning of an original thereby correcting picture information in response to the result. CONSTITUTION:An original read section reads an original 1 to obtain picture information, a comparator detects a border between the original 1 and an original platen 10 to detect a precise brightness distribution thereby detecting the askew original and correcting the picture information according to the result.

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]

【従来の技術】従来、この種の装置においては、例え
ば、特開平3−117965号公報に示されるように、
原稿面上に適宜の角度でラインビーム光を照射し、その
投影像より原稿の曲がり具合を検知し、その曲がり検知
結果により画像情報を補正するものがあった。
2. Description of the Related Art Conventionally, in this type of device, for example, as disclosed in Japanese Patent Laid-Open No. 3-117965,
There is a method in which a line beam light is irradiated onto the surface of the original at an appropriate angle, the degree of bending of the original is detected from the projected image, and the image information is corrected based on the detection result of the bending.

【0003】[0003]

【発明が解決しようとする課題】ところが、従来の装置
のように、光照射による投影像より原稿の曲がり具合を
検知するものでは、原稿と原稿台の境界を検知すること
ができないため、紙面上の文字や図のない部分の輝度を
検知できない。そのため、正確な輝度分布を読み取った
ことにならず、正確な画像情報の補正ができないことが
ある。本発明は、上記問題を解決するもので、距離セン
サを用いなくとも、原稿の読み取り時に原稿と原稿台の
境界部分を検知することにより、原稿の曲がり具合を検
知し、その結果に応じて画像情報を補正し、正しい画像
再現を可能とする原稿読み取り装置を提供することを目
的とする。
However, in the case of the conventional apparatus that detects the degree of bending of the original from the projected image by light irradiation, the boundary between the original and the original table cannot be detected. Cannot detect the brightness of the part without letters and figures. Therefore, the correct luminance distribution is not read, and correct image information may not be corrected in some cases. The present invention solves the above problem, and detects the degree of bending of a document by detecting the boundary between the document and the document table at the time of reading the document without using a distance sensor. An object of the present invention is to provide a document reading device that corrects information and enables correct image reproduction.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するため
に本発明は、原稿が載置される原稿台と、この原稿台上
に載置された原稿を読み取るため原稿台に対して所定の
間隔をおいて配置された原稿読み取り手段と、この原稿
読み取り手段の出力を基に原稿と原稿台の境界を検出す
る境界検出手段と、この境界検出手段を基に原稿内で境
界から所定の距離にある点の原稿読み取り手段の出力を
検出する検出手段と、この検出手段の出力を基に原稿読
み取り手段の出力を補正する補正手段とを備えたもので
ある。
In order to achieve the above-mentioned object, the present invention provides a document table on which a document is placed, and a document table for reading a document placed on the document table. Original reading means arranged at intervals, boundary detecting means for detecting the boundary between the original and the platen based on the output of the original reading means, and a predetermined distance from the boundary within the original based on the boundary detecting means. The detection means detects the output of the document reading means at a certain point, and the correction means that corrects the output of the document reading means based on the output of this detection means.

【0005】[0005]

【作用】上記の構成によれば、原稿読み取り手段にて原
稿を読み取り、画像情報を得ると共に、境界検出手段に
て原稿と原稿台の境界を検出することにより、原稿の曲
がり具合を検出することができ、この検出結果にしたが
って上記読み取り手段により読み取った画像データを補
正することができる。
According to the above structure, the original reading unit reads the original, obtains the image information, and the boundary detecting unit detects the boundary between the original and the original table to detect the degree of bending of the original. The image data read by the reading means can be corrected according to the detection result.

【0006】[0006]

【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。図1は、本発明の一実施例による原
稿読み取り装置の外観構成を示す。机形状をした装置本
体の原稿台上には原稿1が上向きに載置され、読み取り
部2が原稿1を上方から読み取り得る位置に設けられて
いる。読み取り部2は支持部材3により支持され、原稿
1と読み取り部2との間に所定の間隔を持たせている。
この間隔は、少なくとも原稿1面上の読み取り可能領域
が常に視認できる大きさで、この間隔により原稿1面と
読み取り部2の間に作業空間が形成される。また、装置
には、操作スイッチ類4や曲がり補正回路部5や曲がり
警告ブザー20が設けられている。
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 according to an embodiment of the present invention. A document 1 is placed facing upward on a document table of a desk-shaped apparatus body, and a reading unit 2 is provided at a position where the document 1 can be read from above. The reading unit 2 is supported by the supporting member 3, and a predetermined space is provided between the document 1 and the reading unit 2.
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 device is provided with operation switches 4, a bend correction circuit unit 5, and a bend warning buzzer 20.

【0007】図2、図3は、原稿1が載せられた原稿台
10と読み取り部2の構成を示す。原稿1の画像情報
は、読み取り部2の結像レンズ7を通して撮像センサ6
で読み取られる。撮像センサ6は、CCD等の半導体光
電変換素子でエリアセンサでもラインセンサでも構わな
い。図2はエリアセンサ、図3はラインセンサの場合の
構成を示す。
2 and 3 show the configurations of the document table 10 on which the document 1 is placed and the reading unit 2. The image information of the document 1 is transferred to the image sensor 6 through the imaging lens 7 of the reading unit 2.
Read in. 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 shows an area sensor, and FIG. 3 shows a line sensor.

【0008】図4は、本実施例による原稿読み取り装置
を用いた、一連のコピー動作の処理を示す。以下、同図
に従って曲がり補正の方法と処理について説明する。な
お、ここでは、撮像センサとしてラインセンサを用いた
例を示している。使用者は、撮像センサの撮像可能領域
内の所定位置にコピーしたい原稿をセットする(#
1)。原稿がセットされればコピーボタンをONする
(#2)。コピーボタンがONされると、原稿台上の原
稿が撮影される(#3)。原稿台は黒色等の白色以外の
色にし、図5に示すように原稿1と原稿台10の境界部
分(以下、エッジ部分という)の形状が分かるように、
原稿サイズよりもやや大きめに原稿を撮影する。この撮
影では、詳細を後述するように、エッジ検出と原稿の高
さ計算も併せて行う。次に、行曲がり補正(#4)、輝
度むら補正(#5)、ぼけ画像補正(#6)、画像伸長
(#7)の各処理を全画素について行った後、撮影した
画像をプリントアウトし(#8)、コピー動作が完了す
る。
FIG. 4 shows a series of copying operation processes using the document reading apparatus according to this embodiment. Hereinafter, the method and process for correcting the bend will be described with reference to FIG. Here, an example using a line sensor as the image sensor is shown. The user sets the document to be copied at a predetermined position within the imageable area of the image sensor (#
1). When the original is set, the copy button is turned on (# 2). When the copy button is turned on, the document on the platen is photographed (# 3). The platen is made of a color other than white, such as black, so that the shape of the boundary between the document 1 and the platen 10 (hereinafter referred to as the edge part) can be seen as shown in FIG.
Shoot the original slightly larger than the original size. In this shooting, edge detection and document height calculation are also performed, as will be described later in detail. Next, after performing line bending correction (# 4), brightness unevenness correction (# 5), blurred image correction (# 6), and image expansion (# 7) for all pixels, the photographed image is printed out. (# 8), the copy operation is completed.

【0009】これら各処理を以下説明する。まず、エッ
ジ検出処理を説明する。製本された原稿のように原稿が
曲がっている場合の原稿のエッジ部分と、原稿がフラッ
トな場合の原稿のエッジ部分とでは、CCD上での結像
位置が違ってくる。その様子を図6及至図10に示す。
c,Δc1,Δc2はその結像位置の差を示す。図9に
おいて、cはCCDの中心位置から原稿のエッジ部分の
結像位置までの距離、Hは原稿台10からレンズ7まで
の距離、e1は原稿がフラットな時のエッジ部分の結像
位置、e2は原稿のエッジ部分の結像位置、Eは原稿の
エッジ部分を示す。上記のc,Δc,Hの各値が分れ
ば、次式により原稿の高さhが求まる。 h=(Δc/c)・H …(1)
Each of these processes will be described below. First, the edge detection process will be described. The image forming position on the CCD is different between the edge portion of the original when the original is bent like a bound original and the edge portion of the original when the original is flat. This is shown in FIGS. 6 to 10.
c, Δc1 and Δc2 indicate the differences in the image forming positions. In FIG. 9, c is the distance from the center position of the CCD to the image forming position of the edge portion of the document, H is the distance from the document table 10 to the lens 7, and e1 is the image forming position of the edge portion when the document is flat. Reference numeral e2 denotes an image forming position on the edge portion of the document, and E denotes the edge portion of the document. If the values of c, Δc, and H are known, the height h of the document can be obtained by the following equation. h = (Δc / c) · H (1)

【0010】cの値は、図10に示すように、CCDの
中心位置にある画素から原稿のエッジ部分の画素の範囲
に含まれる画素数を計算することにより求まる。Δcの
値は、原稿の高さh=0である原稿のエッジ部分の画素
から原稿のエッジ部分の画素の範囲に含まれる画素数を
計算することにより求まる。Hの値は、レンズのズーム
の変動量より求まる。以上により、CCDから撮像され
る1ラインの画素数と同数の原稿の高さのデータを得る
ことができる。
As shown in FIG. 10, the value of c can be obtained by calculating the number of pixels included in the pixel range of the edge portion of the document from the pixel at the center position of the CCD. The value of Δc can be obtained by calculating the number of pixels included in the range of pixels of the edge portion of the document from the pixels of the edge portion of the document where the document height h = 0. The value of H is obtained from the variation amount of the zoom of the lens. As described above, it is possible to obtain the same height data of the document as the number of pixels of one line imaged from the CCD.

【0011】さらに、原稿の片方のエッジ部分のみを検
出するのではなく、図7に示すように原稿の両方のエッ
ジ部分を検出し、両方の高さh1 ,h2 を、 h1 =(Δc1/c)・H h2 =(Δc2/c)・H なる式により求め,このh1 ,h2 の値をもとに平均あ
るいは加重平均等を用いてhを求めてもよい。また、図
8に示すように、|h1 −h2 |の値がある程度以上大
きくなると、正確な曲がり補正ができなくなるため、図
1の曲がり警報ブザー20が鳴るか、あるいはLEDが
点灯することにより、使用者に原稿の置き直しを促すよ
うにする。
Further, instead of detecting only one edge portion of the document, both edge portions of the document are detected as shown in FIG. 7, and both heights h 1 and h 2 are represented by h 1 = ( Δc1 / c) H h 2 = (Δc2 / c) H, and h may be calculated based on the values of h 1 and h 2 by using an average or a weighted average. Further, as shown in FIG. 8, if the value of | h 1 −h 2 | becomes larger than a certain value, correct bend correction cannot be performed, and therefore the bend alarm buzzer 20 of FIG. 1 sounds or the LED lights up. This prompts the user to replace the original.

【0012】次に、原稿の高さデータをもとにした行曲
がり補正(#4)について図11及至図13を参照して
説明する。行曲がりは、図11に示すように原稿が曲が
っている時と原稿がフラットな時とではCCD上での結
像位置にズレが生じるために起こる。図12は行曲がり
の一例であり、(a)は原稿が曲っている時の撮像、
(b)は原稿がフラットな時の撮像を示す。図11よ
り、結像位置のズレ量Δbは次式で求まる。 Δb=(h/H)・b …(2) 上式のΔbの結果をもとにして、i行j列の画像情報a
(i,j)を次式に示す座標変換をすることにより、行
曲がりを補正する。図13は座標変換を説明する図であ
る。 a(i+Δb,j)=a(i,j) (但し、i≦I/2) a(i−Δb,j)=a(i,j) (但し,i≧I/2) …(3)
Next, the line curl correction (# 4) based on the height data of the original will be described with reference to FIGS. 11 to 13. The line bending occurs because the image forming position on the CCD is deviated between when the document is bent as shown in FIG. 11 and when the document is flat. FIG. 12 is an example of curving, and (a) is an image taken when the original is bent,
(B) shows imaging when the document is flat. From FIG. 11, the shift amount Δb of the image forming position is obtained by the following equation. Δb = (h / H) · b (2) Based on the result of Δb in the above equation, the image information a in the i-th row and the j-th column
By performing the coordinate conversion of (i, j) by the following equation, the curving is corrected. FIG. 13 is a diagram for explaining coordinate conversion. a (i + Δb, j) = a (i, j) (where i ≦ I / 2) a (i−Δb, j) = a (i, j) (where i ≧ I / 2) (3)

【0013】次に、j列目の画素をどの程度画像伸長す
るかという画像伸長率α(j)を計算する。j列目、
(j+1)列目の画素における原稿の高さのデータをそ
れぞれhj ,hj + 1 とすると、図14より画像伸長率
α(j)は次式で求まる。
Next, the image expansion rate α (j), which is the extent to which the image of the pixel in the j-th column is expanded, is calculated. column j,
(J + 1) of the document in pixels th column height data respectively h j, When h j + 1, the image expansion rate than FIG 14 alpha (j) is determined by the following equation.

【数1】 [Equation 1]

【0014】次に、輝度むら補正(#5)について図1
5をもとに説明する。図15(a)に示すように原稿の
エッジ部分E1とエッジ部分E1から数画素目(例えば
i画素目)の原稿の1ラインの行データを読み取る。E
2は輝度分布の読み取りラインを示す。このラインは通
常の原稿では字がない部分であるので、輝度むら分布の
データとして使用できる。図16は、エッジ部分から数
画素目の原稿の1ラインの輝度分布曲線を示す。行デー
タを1列目から順にP(1),…P(j)とすると、画
像情報データa(i,j)を輝度むら補正した画像デー
タは次式により求まる。
Next, the brightness unevenness correction (# 5) will be described with reference to FIG.
It will be explained based on item 5. As shown in FIG. 15A, the edge portion E1 of the original document and the line data of one line of the original document of several pixels (for example, i-th pixel) from the edge portion E1 are read. E
Reference numeral 2 indicates a read line of the brightness distribution. Since this line is a portion where there is no character in a normal document, it can be used as luminance unevenness distribution data. FIG. 16 shows a luminance distribution curve of one line of a document several pixels from the edge portion. Assuming that the row data is P (1), ... P (j) from the first column in order, the image data obtained by correcting the unevenness of brightness of the image information data a (i, j) is obtained by the following equation.

【数2】 [Equation 2]

【0015】さらに、このように原稿の片方のエッジ部
分のみの輝度分布を読むのではなく、図15(b)に示
すように原稿の両方のエッジ部分の輝度分布を読み取
り、2つの輝度の平均あるいは加重平均などを用いて原
稿の輝度分布を求めてもよい。
Further, instead of reading the luminance distribution of only one edge portion of the document as described above, the luminance distribution of both edge portions of the document is read as shown in FIG. 15B, and the average of the two luminances is read. Alternatively, the luminance distribution of the document may be obtained using a weighted average.

【0016】次に、ぼけ画像補正としてラプラシアン処
理とγ補正(#6)について説明する。原稿の折り目付
近では、原稿の傾きが大きく原稿の高低差が大きくなる
ことによりピントぼけが大きくなる。このピントぼけを
除去するためにラプラシアン処理とγ補正を行う。
Next, Laplacian processing and gamma correction (# 6) will be described as blur image correction. In the vicinity of the fold line of the document, the document is largely tilted and the height difference of the document is large, so that the out-of-focus is large. Laplacian processing and γ correction are performed to remove this out-of-focus blur.

【0017】次に、画像伸長率α(j)をもとにした画
像伸長処理(#7)について説明する。j列目の画素に
対して伸長する個数kは次式で求める。 k=α(j)・j−j−n …(6) n:伸長した画素数 但し、kは右辺を四捨五入した値である。例えば、10
列の画像データを、α(j)=1.4(j=1,…1
0)で伸長したとすると図17のようになる。 j=1のとき k=1.4×1−1−0=0.4=
0 k=0よりj=1のとき伸長画素数は0(n=0) j=2のとき k=1.4×2−2−0=0.8=
1 k=1よりj=2のとき伸長画素数は1(n=1) j=3のとき k=1.4×3−3−1=0.2=
0 k=0よりj=3のとき伸長画素数は0(n=1) 同様にして、j=4,5,…10を計算すると図18の
ようになる。
Next, the image expansion processing (# 7) based on the image expansion rate α (j) will be described. The number k to be expanded for the pixel in the j-th column is calculated by the following equation. k = α (j) · j−j−n (6) n: number of expanded pixels However, k is a value obtained by rounding off the right side. For example, 10
The image data of the column is α (j) = 1.4 (j = 1, ... 1
When it is extended in 0), it becomes as shown in FIG. When j = 1 k = 1.4 × 1-1-0 = 0.4 =
0 From k = 0, when j = 1, the number of expanded pixels is 0 (n = 0) When j = 2, k = 1.4 × 2-2-0 = 0.8 =
1 From k = 1, when j = 2, the number of expanded pixels is 1 (n = 1) When j = 3, k = 1.4 × 3-3-1 = 0.2 =
When j = 3 from 0 k = 0, the number of expanded pixels is 0 (n = 1). Similarly, when j = 4, 5, ... 10 is calculated, it becomes as shown in FIG.

【0018】このようにして伸長画素数が求まれば、次
に伸長処理として濃度再現補間をとる。j列目の画素を
k個に伸長したときの濃度と伸長した画素との関係を図
19に示す。濃度再現補間を次式に示す。 k≧1のとき a(i,j+1)=a(i,j)+(l/k)・{a(i,j+k) −a(i,j)} (l=0,1,…k) …(7) k=0のとき a(i,j+l)=a(i,j) …(8) 以上の各処理により、曲がり補正が可能となる。
When the number of expanded pixels is obtained in this way, density reproduction interpolation is then performed as expansion processing. FIG. 19 shows the relationship between the density and the expanded pixel when the pixel on the j-th column is expanded to k pixels. The density reproduction interpolation is shown in the following equation. When k ≧ 1, a (i, j + 1) = a (i, j) + (l / k) · {a (i, j + k) −a (i, j)} (l = 0,1, ... k) (7) When k = 0 a (i, j + 1) = a (i, j) (8) By the above-described processes, the bending correction can be performed.

【0019】次に、曲がり補正のプロセッサの一例を図
20及至図23のブロック図に従って説明する。但し、
CCDとしてはラインセンサを用いている。CCD21
からの出力をサンプルホールド22し、CCD21から
の出力とサンプルホールドしたものとを差動増幅器23
により差動増幅することにより、CCD21の暗出力を
除去する。差動増幅器23からの出力をA/D変換器2
4によりA/D変換する。カウンタ27を使ってROM
26からCCD21の主走査方向のシェーディング補正
係数のデータを乗算回路25に送り、A/D変換器24
の出力との乗算を行うことにより、CCD21の主走査
方向のシェーディング補正ができる。乗算回路25の出
力はラッチ回路28でラッチされる。ROM29は、ラ
ッチ回路28でラッチされた次のデータをマイナスの値
に変換するROMである。ラッチ回路28とROM29
の出力は加算回路32に送られ加算される。
Next, an example of the processor for correcting the bend will be described with reference to the block diagrams of FIGS. However,
A line sensor is used as the CCD. CCD 21
Output from the CCD 21 is sampled and held, and the output from the CCD 21 and the sampled and held are differential amplifier 23.
The dark output of the CCD 21 is removed by differential amplification. The output from the differential amplifier 23 is the A / D converter 2
A / D conversion is performed according to 4. ROM using counter 27
The data of the shading correction coefficient of the CCD 21 in the main scanning direction is sent from 26 to the multiplication circuit 25, and the A / D converter 24
The shading correction of the CCD 21 in the main scanning direction can be performed by performing the multiplication with the output of. The output of the multiplication circuit 25 is latched by the latch circuit 28. The ROM 29 is a ROM that converts the next data latched by the latch circuit 28 into a negative value. Latch circuit 28 and ROM 29
Output is sent to the adder circuit 32 to be added.

【0020】加算回路32の出力を比較器33に入力す
ることにより、白黒エッジのレベル差を演算する。つま
り、ここで図5のエッジ部分の検知を行っている。白黒
エッジのレベル差がある値以上になったとき、カウンタ
38の値がラッチ回路37にラッチされるように比較器
33によりラッチタイミングを制御する。カウンタ38
のラッチされた値はΔcの値になる。ラッチ回路37の
出力とH/Cのデータを乗算回路40に送り乗算を行う
ことにより、原稿の高さデータhが計算できる。乗算回
路40の出力h1 は、図7の原稿の上方エッジ部分のh
1 であり、h1の値はラッチ回路73でラッチされる。
また、乗算回路40の出力h2 は、図8の原稿の下方エ
ッジ部分のh2 である。h1 とh2 を比較器75に入
れ、h1 とh2 の差がある値以上になった時、警告のた
めブザー76が鳴るかあるいはLEDが点灯する。h1
とh2 の値は加算回路74に送られ加算さる。加算回路
74の出力を乗算回路77に送り1/2との乗算を行う
ことにより、h1 とh2 の平均を求め、その結果hを原
稿の高さとする(端子A)。
By inputting the output of the adding circuit 32 to the comparator 33, the level difference between the black and white edges is calculated. That is, the edge portion of FIG. 5 is detected here. When the level difference between the black and white edges exceeds a certain value, the latch timing is controlled by the comparator 33 so that the value of the counter 38 is latched by the latch circuit 37. Counter 38
The latched value of becomes the value of Δc. By sending the output of the latch circuit 37 and the H / C data to the multiplication circuit 40 and performing multiplication, the height data h of the document can be calculated. The output h 1 of the multiplication circuit 40 is the output h 1 of the upper edge portion of the document shown in FIG.
1, the value of h 1 is latched by the latch circuit 73.
Furthermore, the output h 2 of the multiplier circuit 40 is h 2 of the lower edge portion of the document of FIG. When h 1 and h 2 are put in the comparator 75, and when the difference between h 1 and h 2 exceeds a certain value, the buzzer 76 sounds or the LED lights up for a warning. h 1
And the values of h 2 are sent to the adder circuit 74 to be added. The output of the adding circuit 74 is sent to the multiplying circuit 77 and multiplied by 1/2 to obtain the average of h 1 and h 2 , and the result h is the height of the document (terminal A).

【0021】また、乗算回路25の出力はシフトレジス
タ30に入る。シフトレジスタ30はデータをディレイ
するためのものである。シフトレジスタ30の出力はR
OM34により逆数に変換される。ROM34の出力
は、副走査方向のシェディング補正係数の元データなの
で、補正後、適正白レベルに成るように、乗算回路36
に送られ、ある値で乗算を行う。乗算回路36の出力
は、比較器33により原稿の端部でラッチするようにラ
ッチタイミングを制御し、ラッチ回路39でラッチす
る。その出力がCCDの副走査方向のシェーディング補
正係数となる。乗算回路25の出力はラインバッファ3
1に入り、ラインバッファ31の出力とラッチ回路39
の出力は乗算回路35に送られ乗算を行うことにより、
CCDの副走査方向のシェーディング補正ができる(端
子B)。
The output of the multiplication circuit 25 enters the shift register 30. The shift register 30 is for delaying data. The output of the shift register 30 is R
Converted to the inverse by OM34. Since the output of the ROM 34 is the original data of the shedding correction coefficient in the sub-scanning direction, the multiplication circuit 36 outputs the correct white level after the correction.
Sent to and performs a multiplication by some value. The output of the multiplying circuit 36 is controlled by the comparator 33 so as to be latched at the end of the document, and is latched by the latch circuit 39. The output becomes the shading correction coefficient of the CCD in the sub-scanning direction. The output of the multiplication circuit 25 is the line buffer 3
1, the output of the line buffer 31 and the latch circuit 39 are entered.
The output of is sent to the multiplication circuit 35 and is multiplied,
Shading correction in the sub-scanning direction of the CCD can be performed (terminal B).

【0022】端子Aの原稿の高さデータをラッチ回路4
1によりラッチし、次のデータをROM42によりマイ
ナスの値に変換する。ラッチ回路41とROM42の出
力は加算回路43に送られ加算を行う。これは(4)式
のhj + 1 −hj の値に等しい。加算回路43の出力は
乗算回路44に送られ、hj + 1 −hj の2乗の乗算を
行い、乗算回路44の出力とライン間隔tの二乗値は加
算回路45に送られ加算する。加算回路45の出力をR
OM50により平方根変換し、整数化回路51により整
数化することにより、(4)式の画像伸長率α(j)が
計算できる(端子C)。
The height data of the document at the terminal A is latched by the latch circuit 4.
The data is latched by 1 and the next data is converted into a negative value by the ROM 42. The outputs of the latch circuit 41 and the ROM 42 are sent to the adder circuit 43 to perform addition. This is equivalent to the value of h j + 1 -h j of equation (4). The output of the adder circuit 43 is sent to the multiplier circuit 44 performs the square of the multiplication of h j + 1 -h j, square value of output and line spacing t of the multiplier circuit 44 is sent to the addition circuit 45 adds. The output of the adder circuit 45 is R
The image expansion rate α (j) in the equation (4) can be calculated by converting the square root by the OM 50 and converting it into an integer by the integer conversion circuit 51 (terminal C).

【0023】また、ラッチ41の原稿の高さデータは乗
算回路46に送られ、カウンタ49の値つまりbの値と
乗算され、さらに、乗算回路46の出力は乗算回路47
に送られ、1/Hと乗算することにより(h/H)・b
−Δbの値が計算できる。このΔbとカウンタ49の値
bは加算回路48に送られ加算することにより(b+Δ
b)の値が計算できる。(b+Δb)の値は整数化回路
52により整数化され、ラッチ回路53でラッチされ
る。ラッチ回路53の出力と(b+Δb)の次のデータ
は比較器54に送られ比較される。比較器54の出力に
応じてラインバッファ55のライトクロックの制御をす
ることにより、端子Bからのシェーディング補正された
CCDからの出力を、ラインバッファ55に(3)式の
座標変換の処理をして入力する。カウンタ56により、
ラインバッファ55のリードクロックとセレクタ57を
制御する。セレクタ57は(3)式の行曲がり補正処理
により欠落したデータに白データを入力するように選択
するものである。セレクタ57の出力はラインバッファ
58に入る(端子D)。
The original height data of the latch 41 is sent to the multiplication circuit 46 and multiplied by the value of the counter 49, that is, the value of b, and the output of the multiplication circuit 46 is multiplied by the multiplication circuit 47.
To (h / H) · b by multiplying by 1 / H
The value of −Δb can be calculated. This Δb and the value b of the counter 49 are sent to the adder circuit 48 to add (b + Δ
The value of b) can be calculated. The value of (b + Δb) is converted into an integer by the integer conversion circuit 52 and latched by the latch circuit 53. The output of the latch circuit 53 and the next data of (b + Δb) are sent to the comparator 54 for comparison. By controlling the write clock of the line buffer 55 according to the output of the comparator 54, the shading-corrected output from the CCD from the terminal B is subjected to the coordinate conversion processing of the formula (3) in the line buffer 55. Enter. By the counter 56,
It controls the read clock of the line buffer 55 and the selector 57. The selector 57 selects white data to be input to the data missing by the line curving correction process of the formula (3). The output of the selector 57 enters the line buffer 58 (terminal D).

【0024】端子Dの出力の2ライン分をラインバッフ
ァ59,60に入れる。端子Dから出力される3ライン
分のデータを用いて3×3のエッジ強調フィルタ61に
よりエッジ強調をし、ROM62によりγ変換を行う
(端子E)。
Two lines of the output of the terminal D are put into the line buffers 59 and 60. Using the data for three lines output from the terminal D, the 3 × 3 edge enhancement filter 61 performs edge enhancement, and the ROM 62 performs γ conversion (terminal E).

【0025】端子Cの出力α(j)をマイコン63に入
力する。マイコン63でセレクタ67を制御する。γ変
換後の端子Eの出力α(j)により、マイコン63によ
って1ラインのデータをラインバッファ64,65,6
6,…に入れる。ROM69によりセレクタ67により
選ばれたラインバッファの出力をマイナスの値に変換す
る。ひとつ前のデータが入っているラインバッファをセ
レクタ67により選択し、選択されたラインバッファと
ROM69の出力は、加算回路70に送られ加算され
る。つまり、(7)式の{a(i,j+k)−a(i,
j)}の計算をしたことになる。マイコン63により
(7)式のl/kの値を計算し、そのデータと加算回路
70の出力は乗算回路71に送られ乗算される。乗算回
路71の出力とシフトレジスタ68の出力は加算回路7
2に送られ加算されることにより、(7)式の処理を行
い、曲がり補正処理した出力が得られる。
The output α (j) of the terminal C is input to the microcomputer 63. The microcomputer 63 controls the selector 67. According to the output α (j) of the terminal E after the γ conversion, the microcomputer 63 converts the data of one line into the line buffers 64, 65, 6
Put in 6, ... The ROM 69 converts the output of the line buffer selected by the selector 67 into a negative value. The line buffer containing the previous data is selected by the selector 67, and the selected line buffer and the output of the ROM 69 are sent to the adder circuit 70 and added. That is, {a (i, j + k) -a (i,
j)} is calculated. The value of 1 / k in the equation (7) is calculated by the microcomputer 63, and the data and the output of the addition circuit 70 are sent to the multiplication circuit 71 and are multiplied. The output of the multiplication circuit 71 and the output of the shift register 68 are the addition circuit 7
By being sent to 2 and added, the processing of the equation (7) is performed, and the output after the bending correction processing is obtained.

【0026】[0026]

【発明の効果】以上のように本発明によれば、原稿と原
稿台の境界部分を検出することにより、原稿の曲がり具
合を検知し、その曲がり検知結果により原稿データを補
正するので、より精度の高い輝度むら補正ができ、その
結果、圧縮され歪んだ画像は演算処理により伸長、修正
されより美しく、より見易く再生できる。
As described above, according to the present invention, by detecting the boundary between the original and the original table, the degree of bending of the original is detected, and the original data is corrected based on the result of the detection of the original. High luminance unevenness correction can be performed, and as a result, the compressed and distorted image is expanded and corrected by arithmetic processing, and can be reproduced more beautifully and more easily viewed.

【図面の簡単な説明】[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 flowchart of an image copy operation.

【図5】原稿の撮影サイズを示す図である。FIG. 5 is a diagram showing a shooting size of a document.

【図6】原稿が曲がっている場合と原稿がフラットな場
合においての原稿の片方のエッジ部分のCCD上での結
像位置の違いを示す図である。
FIG. 6 is a diagram showing a difference in image forming position on a CCD of one edge portion of a document when the document is bent and when the document is flat.

【図7】原稿が曲がっている場合と原稿がフラットな場
合においての原稿の両方のエッジ部分のCCD上での結
像位置の違いを示す図である。
FIG. 7 is a diagram showing a difference in image forming position on a CCD of both edge portions of a document when the document is bent and when the document is flat.

【図8】原稿が曲がっている場合と原稿がフラットな場
合においての原稿の両方のエッジ部分のCCD上での結
像位置の違いを示す図である。
FIG. 8 is a diagram showing a difference in image forming position on a CCD of both edge portions of a document when the document is bent and when the document is flat.

【図9】原稿の高さhを表す式の説明図である。FIG. 9 is an explanatory diagram of a formula representing the height h of a document.

【図10】原稿の撮像上でのcとΔcの関係を示す図で
ある。
FIG. 10 is a diagram showing a relationship between c and Δc in imaging a document.

【図11】結像位置のズレ量Δbを表す式の説明図であ
る。
FIG. 11 is an explanatory diagram of an expression representing a deviation amount Δb of an image formation position.

【図12】原稿の撮像結果を示す図で、(a)は原稿が
曲がっている時、(b)は原稿がフラットな時である。
12A and 12B are diagrams showing a result of capturing an image of a document, in which FIG. 12A is when the document is bent, and FIG. 12B is when the document is flat.

【図13】座標変換の説明図である。FIG. 13 is an explanatory diagram of coordinate conversion.

【図14】画像伸長率α(j)を表す式の説明図であ
る。
FIG. 14 is an explanatory diagram of an expression representing an image expansion rate α (j).

【図15】輝度むら補正の説明図である。FIG. 15 is an explanatory diagram of luminance unevenness correction.

【図16】輝度分布を示す図である。FIG. 16 is a diagram showing a luminance distribution.

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

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

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

【図20】曲がり補正のプロセッサーを示すブロック図
である。
FIG. 20 is a block diagram showing a bend correction processor.

【図21】曲がり補正のプロセッサーを示すブロック図
である。
FIG. 21 is a block diagram showing a bend correction processor.

【図22】曲がり補正のプロセッサーを示すブロック図
である。
FIG. 22 is a block diagram showing a bend correction processor.

【図23】曲がり補正のプロセッサーを示すブロック図
である。
FIG. 23 is a block diagram showing a bend correction processor.

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

1 原稿 2 読み取り部 5 曲がり補正回路部 6 撮像センサ 7 結像レンズ 10 原稿台 DESCRIPTION OF SYMBOLS 1 Original 2 Reading section 5 Bending correction circuit section 6 Image sensor 7 Imaging lens 10 Original plate

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

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 原稿が載置される原稿台と、この原稿台
上に載置された原稿を読み取るため原稿台に対して所定
の間隔をおいて配置された原稿読み取り手段と、この原
稿読み取り手段の出力を基に原稿と原稿台の境界を検出
する境界検出手段と、この境界検出手段を基に原稿内で
境界から所定の距離にある点の原稿読み取り手段の出力
を検出する検出手段と、この検出手段の出力を基に原稿
読み取り手段の出力を補正する補正手段とを備えたこと
を特徴とする原稿読み取り装置。
1. A manuscript table on which a manuscript is placed, manuscript reading means arranged at a predetermined distance from the manuscript stand for reading the manuscript placed on the manuscript table, and the manuscript reading device. Boundary detection means for detecting the boundary between the original and the platen based on the output of the means; and detection means for detecting the output of the original reading means at a point within the original at a predetermined distance from the boundary based on the boundary detection means. A document reading apparatus comprising: a correction unit that corrects the output of the document reading unit based on the output of the detection unit.
JP3349167A 1991-12-05 1991-12-05 Original reader Withdrawn JPH05161003A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP3349167A JPH05161003A (en) 1991-12-05 1991-12-05 Original reader
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
JP3349167A JPH05161003A (en) 1991-12-05 1991-12-05 Original reader

Publications (1)

Publication Number Publication Date
JPH05161003A true JPH05161003A (en) 1993-06-25

Family

ID=18401925

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3349167A Withdrawn JPH05161003A (en) 1991-12-05 1991-12-05 Original reader

Country Status (1)

Country Link
JP (1) JPH05161003A (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
US7760404B2 (en) 2003-07-28 2010-07-20 Brother Kogyo Kabushiki Kaisha Image processing device

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
US7760404B2 (en) 2003-07-28 2010-07-20 Brother Kogyo Kabushiki Kaisha Image processing device

Similar Documents

Publication Publication Date Title
US7643701B2 (en) Imaging apparatus for correcting a distortion of an image
JP4388367B2 (en) Method and image processing system for correcting tilt of electronic image, image capturing system, and camera
JP4322781B2 (en) Imaging device
US6670988B1 (en) Method for compensating digital images for light falloff and an apparatus therefor
JP2010134559A (en) Image processing apparatus and image processing method
JP2006295626A (en) Fish-eye image processing apparatus, method thereof and fish-eye imaging apparatus
JP4176369B2 (en) Compensating digital images for optical falloff while minimizing changes in light balance
JPH05303634A (en) Device for taking in pictures
JP3175250B2 (en) Document reading device
JP2002232654A (en) Device and method for image processing and computer readable recording medium with program for making computer perform the method recorded thereon
JPH05161004A (en) Original reader
JPH05161003A (en) Original reader
JP3614692B2 (en) Image correction method
JPH1169277A (en) Image-processing method and device
JPH0722341B2 (en) False image removal method
JP3136721B2 (en) Document reading device
JP3163703B2 (en) Document reading device
JP2000261653A (en) Image processing unit
JP3852247B2 (en) Image forming apparatus and transfer image distortion correction method
JP2000030050A (en) Picture processor, its method, and recording medium having recorded picture processing program thereon
JP5444970B2 (en) Imaging device
JP3312787B2 (en) Image processing system
JP3240389B2 (en) Binarization processing device
JP3725255B2 (en) Digital image processing device
KR100895622B1 (en) Image forming apparatus and image forming method

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: 19990311