JP2002033919A - Reader - Google Patents

Reader

Info

Publication number
JP2002033919A
JP2002033919A JP2000214953A JP2000214953A JP2002033919A JP 2002033919 A JP2002033919 A JP 2002033919A JP 2000214953 A JP2000214953 A JP 2000214953A JP 2000214953 A JP2000214953 A JP 2000214953A JP 2002033919 A JP2002033919 A JP 2002033919A
Authority
JP
Japan
Prior art keywords
luminance
document
image
maximum luminance
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000214953A
Other languages
Japanese (ja)
Inventor
Yoshinori Maruyama
吉紀 丸山
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 JP2000214953A priority Critical patent/JP2002033919A/en
Publication of JP2002033919A publication Critical patent/JP2002033919A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform density correction for reproducing the brightest area in white, and to correct the change of luminance generated due to change in the height (inclination) of an object in a reader. SOLUTION: Density correction quantity for image picked-up data is calculated for each reading position by using the maximum luminance detected from the output of an image pickup means, a read position having the maximum luminance value, and luminance distribution, based on the height (inclination) of an object as a reference. Thus, base blowing quantity can be corrected, and to appropriately reproduce a void area, when a void area whose area is small is present in a colored based original.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、種々の原稿や立体
物の読み取り対象物を撮影し、電気信号に変換して撮像
データを出力する読み取り装置(イメージスキャナ)に
関し、特に、撮像データについて輝度補正を行う技術に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a reading device (image scanner) for photographing various originals and three-dimensional objects to be read, converting the image into an electric signal, and outputting image data. The present invention relates to a technique for performing correction.

【0002】[0002]

【従来の技術】従来のブック原稿等を読み取るスキャナ
の分野では、例えば、特開平10−257323号公報
に示されるように、輝度ヒストグラムの度数が最も大き
い輝度(以下、ピーク輝度とする)を検出し、その輝度
にあらかじめ対応づけられた補正のための輝度閾値を用
いて画像の濃度補正を行う技術が提案されている。ま
た、均一な下地輝度の原稿であっても、ブック原稿では
原稿面の高さ(角度)変化に伴い、ヒストグラムのピー
ク輝度が変化するので、これに対応するために領域毎
(副走査位置毎)に濃度補正を行う技術が提案されてい
る。
2. Description of the Related Art In the field of a conventional scanner for reading a book document or the like, for example, as shown in Japanese Patent Application Laid-Open No. Hei 10-257323, a luminance having a maximum frequency of a luminance histogram (hereinafter referred to as a peak luminance) is detected. In addition, a technique has been proposed in which the density of an image is corrected using a brightness threshold value for correction associated with the brightness in advance. Further, even if the original has a uniform background luminance, the peak luminance of the histogram changes in accordance with a change in the height (angle) of the original surface in the case of a book original. ), A technique for performing density correction has been proposed.

【0003】[0003]

【発明が解決しようとする課題】ところが、上述した従
来のフェイスアップスキャナでは、領域毎(副走査位置
毎)にヒストグラムのピーク輝度(最も面積の大きな領
域の輝度)を基準に濃度補正を行うため、色付きの下地
原稿においては、原稿に色付き領域よりも小面積の白抜
け領域(又は色付き領域より明るい領域)が存在した場
合、色付きの領域が白色で出力され、当然それよりも明
るい小面積の領域も白色で出力されるため、出力画像で
は白抜け領域が確認できなくなるという問題があった。
However, in the above-described conventional face-up scanner, density correction is performed for each area (each sub-scanning position) based on the peak luminance of the histogram (the luminance of the area having the largest area). In the case of a colored base document, if a white area (or a region brighter than the colored region) with a smaller area than the colored region exists in the document, the colored region is output in white, and naturally, a smaller area with a brighter area than the colored region is output. Since the area is also output in white, there is a problem that a blank area cannot be confirmed in the output image.

【0004】また、色付き領域よりも広い白抜け領域
(又は色付き領域より明るい領域)が存在した場合は、
その副走査位置だけ白抜け領域(又は色付き領域より明
るい領域)が白色で出力され、色付き領域はある濃度で
再現され、その他の位置では色付き領域が白色で再現さ
れるので、不自然な画像となるという問題もあった。
If there is a blank area (or a lighter area than the colored area) larger than the colored area,
The white area (or the area brighter than the colored area) is output in white only in the sub-scanning position, the colored area is reproduced with a certain density, and the colored area is reproduced in white at the other positions. There was also the problem of becoming.

【0005】本発明は、上記問題を解消するものであ
り、最も明るい領域を白色で出力させる濃度補正を行う
ことにより、色付きの下地原稿に色付き領域よりも小面
積の白抜け(又は色付き領域より明るい)領域が存在す
るような場合であっても、該小面積の白抜け領域を再現
可能で、また、対象物の高さ変化(傾き変化)により発
生する輝度変化をも補正可能な読み取り装置を提供する
ことを目的とする。
The present invention has been made to solve the above-mentioned problem. By performing density correction for outputting the brightest area in white, a white background (or a white area having a smaller area than a colored area) is provided on a colored base document. A reading device that can reproduce the small area blank area even when there is a (bright) area and can also correct a luminance change caused by a change in height (a change in inclination) of the object. The purpose is to provide.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に本発明は、読み取り対象物の光学画像を画素単位に電
気信号に変換する撮像手段を有し、この撮像手段からの
信号を処理して画像データとして出力する読み取り装置
において、前記撮像手段の出力から最大輝度を検出する
最大輝度検出手段と、前記最大輝度検出手段によって検
出された最大輝度の読み取り位置を検出する最大輝度位
置検出手段と、前記対象物の高さ変化により発生する輝
度分布を検出する輝度分布検出手段と、前記最大輝度検
出手段により検出された最大輝度と、前記最大輝度位置
検出手段により検出された最大輝度位置と、前記輝度分
布検出手段により検出された輝度分布とに基づいて、前
記撮像手段による読み取り位置毎に、前記撮像手段から
出力された撮像データに対する濃度補正量を算出する濃
度補正算出手段とを備えたものである。
In order to achieve the above object, the present invention comprises image pickup means for converting an optical image of an object to be read into electric signals in pixel units, and processes signals from this image pickup means. A reading device for outputting as image data, a maximum luminance detecting means for detecting a maximum luminance from the output of the imaging means, a maximum luminance position detecting means for detecting a reading position of the maximum luminance detected by the maximum luminance detecting means, A luminance distribution detecting means for detecting a luminance distribution generated by a change in height of the object, a maximum luminance detected by the maximum luminance detecting means, and a maximum luminance position detected by the maximum luminance position detecting means, Based on the luminance distribution detected by the luminance distribution detecting means, the imaging data output from the imaging means for each reading position by the imaging means. It is obtained by a density correction calculation means for calculating a density correction amount for data.

【0007】この構成においては、撮像手段の出力から
検出した最大輝度と、最大輝度値を持つ読み取り位置
と、対象物の高さ(傾き)による輝度分布とを基準に、
読み取り位置毎に撮像データに対する濃度補正量(下地
飛ばし量)を算出する。これにより、下地飛ばし量を補
正可能であり、例えば、色付きの下地原稿において小面
積の白抜け領域が存在するような場合に、白抜け領域が
再現されないといったことを防止可能となる。また、対
象物の高さ変化による濃度むらをも解消できる。
[0007] In this configuration, the maximum luminance detected from the output of the imaging means, the reading position having the maximum luminance value, and the luminance distribution due to the height (inclination) of the object are used as references.
A density correction amount (background removal amount) for the imaging data is calculated for each reading position. This makes it possible to correct the background removal amount. For example, when a small area white area exists in a colored base document, it is possible to prevent the white area from not being reproduced. In addition, uneven density due to a change in the height of the target object can be eliminated.

【0008】[0008]

【発明の実施の形態】以下、本発明の読み取り装置を具
体化した実施形態について図面を参照して説明する。図
1はブックスキャナ1の外観を示し、図2はブックスキ
ャナ1の使用状態の一例を示す。ブックスキャナ1は、
電気回路などを収納する本体ハウジング10、原稿を支
持する暗色の原稿台20、原稿画像を電気信号に変換す
る撮像ユニット30、及び原稿の照明を担うランプユニ
ット40を備えている。原稿台20は本体ハウジング1
0の前面側に配置されている。撮像ユニット30は、原
稿台20の上方に配置され、本体ハウジング10の上面
から上方に延びた支柱12によって片持ち形式で支持さ
れている。ランプユニット40は、撮像ユニット30の
下面側に配置され、支柱12に固定されている。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of a reading apparatus according to an embodiment of the present invention. FIG. 1 shows an appearance of the book scanner 1, and FIG. 2 shows an example of a use state of the book scanner 1. Book Scanner 1
The apparatus includes a main body housing 10 that houses an electric circuit and the like, a dark document table 20 that supports a document, an imaging unit 30 that converts a document image into an electric signal, and a lamp unit 40 that illuminates the document. The platen 20 is the main body housing 1
0 is located on the front side. The imaging unit 30 is arranged above the document table 20 and is supported in a cantilever manner by a support column 12 extending upward from the upper surface of the main body housing 10. The lamp unit 40 is arranged on the lower surface side of the imaging unit 30 and is fixed to the column 12.

【0009】原稿台20と撮像ユニット30との間の空
間80は装置外の自由空間に対して開放されており、ブ
ック原稿のセッティングに十分な広さを有している。原
稿台20と撮像ユニット30との距離は30cm以上で
ある。
A space 80 between the document table 20 and the image pickup unit 30 is open to a free space outside the apparatus, and has a sufficient size for setting a book document. The distance between the document table 20 and the imaging unit 30 is 30 cm or more.

【0010】本体ハウジング10の前面の上端側に操作
パネルOPが設けられており、下端側に原稿面の高さを
検出するための測距板16が固定されている。測距板1
6の前面側の表面は光沢性の平面であり、原稿台20の
上面に対する45°の傾斜面となっている。この測距板
16の上端面は、シェーディング補正のための白色板1
8として機能する。本体ハウジング10における操作パ
ネルOPに向かって右側の側面には、メインスイッチ5
1が設けられている。原稿台20の左右方向の両側に
は、ユーザが読み取りの開始を指示するためのスタート
キー52が1つずつ設けられている。また、原稿台20
の前面側には、アームレスト25が設けられている。
An operation panel OP is provided at the upper end of the front surface of the main body housing 10, and a distance measuring plate 16 for detecting the height of the document surface is fixed to the lower end. Distance measuring board 1
The front surface of 6 is a glossy flat surface and is a 45 ° inclined surface with respect to the upper surface of the document table 20. The upper end surface of the distance measuring plate 16 is a white plate 1 for shading correction.
Functions as 8. A main switch 5 is provided on a right side surface of the main body housing 10 toward the operation panel OP.
1 is provided. On both sides of the document table 20 in the left-right direction, one start key 52 for the user to instruct the start of reading is provided. The document table 20
An armrest 25 is provided on the front side of the.

【0011】図1において、撮像ユニット30は、CC
Dアレイからなるラインセンサ31、結像レンズ32、
及びミラー33を有している。ミラー33と結像レンズ
32とによって、原稿画面がラインセンサ31の受光面
に投影される。結像レンズ32は、前後方向に移動可能
に設けられており、図示しないAF機構によって位置決
めされる。ラインセンサ31は、図示しない走査機構の
可動体に取り付けられており、CCD素子の配列方向を
上下に保った状態で左右方向(副走査方向)M2に沿っ
て平行移動する。この平行移動によって2次元の原稿画
像の撮像が行われる。
In FIG. 1, an image pickup unit 30 has a CC
A line sensor 31 composed of a D array, an imaging lens 32,
And a mirror 33. The original screen is projected on the light receiving surface of the line sensor 31 by the mirror 33 and the imaging lens 32. The imaging lens 32 is provided so as to be movable in the front-rear direction, and is positioned by an AF mechanism (not shown). The line sensor 31 is attached to a movable body of a scanning mechanism (not shown), and moves in parallel in the left-right direction (sub-scanning direction) M2 while keeping the arrangement direction of the CCD elements up and down. By this parallel movement, a two-dimensional document image is captured.

【0012】以上の構成のブックスキャナ1は、ブック
原稿の読み取りに好適な画像入力手段である。ブックス
キャナ1とデジタル複写機とを組み合わせることによ
り、各種の原稿に適合する総合的な複写システムを構成
することができる。ブックスキャナ1の使用に際して、
ユーザは、図2のように原稿台20の上にブック原稿B
Dを見開いた状態で上向きに置く。その時、測距板16
の下端にブック原稿BDを押し当てて位置決めを行う。
つまり、測距板16と原稿台20との境界が原稿のセッ
ティングの基準線となっている。その基準線の中央が基
準位置P0(図3参照)である。原稿台20は左右独立
に上下移動可能に構成されている。これにより、見開い
た時の左右のべージの高さをほぼ同一にすることができ
る。
The book scanner 1 having the above configuration is an image input unit suitable for reading a book document. By combining the book scanner 1 and the digital copying machine, a comprehensive copying system suitable for various originals can be configured. When using Book Scanner 1,
The user places a book document B on the document table 20 as shown in FIG.
Place D upwards with D open. At that time, the distance measuring board 16
The book document BD is pressed against the lower end of the document to perform positioning.
That is, the boundary between the distance measuring plate 16 and the document table 20 is a reference line for setting the document. The center of the reference line is the reference position P0 (see FIG. 3). The document table 20 is configured to be vertically movable independently of left and right. This makes it possible to make the heights of the right and left pages when the spread is opened substantially the same.

【0013】ブックスキャナ1では、同一の原稿に対し
て2回の走査(原稿読み取り)が行われる。ブック原稿
BDでは、シート原稿と違って原稿面が湾曲しているの
で、湾曲状態に応じて撮像のピント調整を行う必要があ
る。輝度の差異を補う処理も必要である。このため、1
回目の走査(以下、予備スキャンという)で湾曲状態、
輝度分布等が検出され、その検出結果に基づいて2回目
の走査(以下、本スキャンという)で必要な処理が行わ
れる。外部装置への画像出力は本スキャン時に行われ
る。
In the book scanner 1, the same document is scanned twice (document reading). In the book document BD, the document surface is curved unlike the sheet document. Therefore, it is necessary to adjust the focus of imaging according to the curved state. Processing for compensating for the difference in luminance is also required. Therefore, 1
The curved state in the second scan (hereinafter, referred to as the preliminary scan)
A luminance distribution or the like is detected, and necessary processing is performed in a second scan (hereinafter, referred to as a main scan) based on the detection result. Image output to the external device is performed during the main scan.

【0014】図3はブック原稿BDの読み取りの一例を
示す平面図である。図3(A)は原稿台20上にブック
原稿BDがセッティングされた状態を示し、図3(B)
は読み取り画像G0を示している。
FIG. 3 is a plan view showing an example of reading a book document BD. FIG. 3A shows a state in which a book document BD is set on the document table 20, and FIG.
Indicates a read image G0.

【0015】読み取り画像G0は、ブック原稿BDの読
み取り対象面の像G1、原稿台20の像G20、及び測
距板16に写った像G18から構成されている。像G1
8の内の像G181、G182は、見開いた状態のブッ
ク原稿BDにおける端面(書籍における「天」と呼称され
る部分)の形状を示している。像G18の内の像G18
1、G182以外の部分は、測距板16に写った背景像
である。像G18と像G20との境界は上述の基準線に
対応し既知であるので、その境界と像G181、G18
2の輪郭線との距離(画素数)から原稿面の高さを算定
することができる。像G1と像G20との境界は、原稿
面の下地色と原稿台20の色との差異を利用して容易に
判別することができる。
The read image G0 is composed of an image G1 of the surface to be read of the book document BD, an image G20 of the document table 20, and an image G18 reflected on the distance measuring plate 16. Image G1
The images G181 and G182 in 8 show the shape of the end face (the part called “heaven” in the book) of the book document BD in the open state. Image G18 of image G18
The portions other than 1, G182 are background images shown on the distance measuring plate 16. Since the boundary between the image G18 and the image G20 corresponds to the above-mentioned reference line and is known, the boundary and the image G181, G18
The height of the document surface can be calculated from the distance (the number of pixels) from the second contour line. The boundary between the image G1 and the image G20 can be easily determined by utilizing the difference between the background color of the document surface and the color of the document table 20.

【0016】なお、像G1の上端縁及び下端縁が湾曲し
ているのは、原稿面の高さが一定ではないからである。
つまり、撮像面に近い被写体は遠くの被写体よりも大き
く撮像される。本スキャン時には、予備スキャン時に得
た原稿面の高さ情報に基づいて、湾曲した像G1を原稿
面の高さが一定である場合の像に補正する画像処理が行
われる。
The upper and lower edges of the image G1 are curved because the height of the document surface is not constant.
That is, a subject near the imaging surface is imaged larger than a distant subject. At the time of the main scan, image processing for correcting the curved image G1 to an image when the height of the document surface is constant is performed based on the height information of the document surface obtained at the time of the preliminary scan.

【0017】図4は信号処理系100の要部のブロック
構成を示し、図5は輝度度数分布の一例を示し、図6は
濃度補正部103Cの入出力特性を示す。信号処理系1
00はCPU101、AD変換器102、画像処理回路
103、輝度検出部104、及びRAM105を有して
いる。
FIG. 4 shows a block configuration of a main part of the signal processing system 100, FIG. 5 shows an example of a luminance frequency distribution, and FIG. 6 shows input / output characteristics of the density correction section 103C. Signal processing system 1
Reference numeral 00 includes a CPU 101, an AD converter 102, an image processing circuit 103, a luminance detection unit 104, and a RAM 105.

【0018】予備スキャンにおいて、ラインセンサ31
から出力された光電変換信号は、AD変換器102によ
って、例えば8ビットの撮像データ(輝度データ)D1
0に変換され、画素配列順に輝度検出部104に入力さ
れる。輝度検出部104は、比較器とカウンタからな
り、1ライン分の撮像データD10を値の階級別に数え
て読取り画像の輝度度数分布データDNを生成する。
In the preliminary scan, the line sensor 31
The photoelectric conversion signal output from is converted by the AD converter 102 into, for example, 8-bit image data (luminance data) D1.
The values are converted to 0 and input to the luminance detection unit 104 in the order of pixel arrangement. The luminance detecting unit 104 includes a comparator and a counter, and generates luminance frequency distribution data DN of a read image by counting the imaging data D10 for one line for each value class.

【0019】ここで、輝度度数分布データDNの一例を
示す。図5(A)は色付きの下地中に下地とは異なる濃
度の領域が存在する原稿を示し、図5(B)は図5
(A)のB位置(文字が主体の副走査位置)の輝度分布
データDNを示し、図5(C)は図5(A)のC位置
(下地よりも暗い領域を含む副走査位置)の輝度分布デ
ータDNを示し、図5(D)は図5(A)のD位置(下
地より明るい領域を含む副走査位置)の輝度分布データ
DNを示す。図5(A)の例では、ブック原稿中に輝度
の高い領域fと、輝度の低い領域gとが有る。
Here, an example of the luminance frequency distribution data DN is shown. FIG. 5A shows an original in which an area having a density different from that of the base exists in the colored base, and FIG.
FIG. 5A shows luminance distribution data DN at position B (sub-scanning position mainly composed of characters) of FIG. 5A, and FIG. 5C shows position C of position C (sub-scanning position including an area darker than the background) of FIG. 5D shows the luminance distribution data DN, and FIG. 5D shows the luminance distribution data DN at a position D (a sub-scanning position including a region brighter than the background) in FIG. 5A. In the example of FIG. 5A, there are a high-luminance area f and a low-luminance area g in the book document.

【0020】CPU101は、1ライン分の輝度度数分
布データDNを取り込み、分布の山のデータ値を高輝度
側からN個検出し、RAM105に格納する。本実施例
ではN=2(個)とし、これをピーク輝度BP1、ピー
ク輝度BP2とする(図5参照)。ただし、検出対象と
する輝度範囲は下地可能性範囲とし、例えば図4の撮像
データD10が8ビット256(0〜255)階調であ
れば、輝度値70〜255程度が下地可能性範囲として
適している。
The CPU 101 takes in the luminance frequency distribution data DN for one line, detects N data values of the peaks of the distribution from the high luminance side, and stores them in the RAM 105. In the present embodiment, N = 2 (pieces), which are referred to as peak luminance BP1 and peak luminance BP2 (see FIG. 5). However, the luminance range to be detected is the background possibility range. For example, if the imaging data D10 in FIG. 4 is an 8-bit 256 (0 to 255) gradation, a luminance value of about 70 to 255 is suitable as the background possibility range. ing.

【0021】上記の一連の動作はライン毎に行われる。
また、ライン毎の輝度度数分布デ−タDNの各階級の度
数を累計し、読み取り範囲全体の輝度度数分布データを
作成し、RAM105に格納する。予備スキャン終了
後、CPU101は格納されたこれらのデータから後述
の要領で下地設定値BSを算出する。濃度補正部103
Cは本スキャン時に、この下地設定値BSに基づいて濃
度補正を行う。
The above series of operations are performed for each line.
In addition, the frequency of each class of the luminance frequency distribution data DN for each line is accumulated, and the luminance frequency distribution data of the entire reading range is created and stored in the RAM 105. After the completion of the preliminary scan, the CPU 101 calculates a background setting value BS from the stored data in a manner described later. Density correction unit 103
C performs density correction based on the background setting value BS during the main scan.

【0022】本スキャンにおいて、撮像データD10
は、画素配列順に画像処理回路103に入力される。画
像処理回路103は画質改善のためのMTF補正、濃度
補正、画像歪み補正などの処理を行う。外部装置には画
像処理回路103を経た撮像データD20が出力され
る。濃度補正は、下記(1)式に則して輝度/濃度変換
された撮像データを図6の特性により修正するデータ処
理であり、濃度補正部103Cで行われる。 D=log10(1/R) …(1)式 D:濃度値 R:輝度値 ここに、下地設定値BSは、閾値であり、入力データが
下地設定値BS以下では、白地データに置き換えられ
る。
In the main scan, the image data D10
Are input to the image processing circuit 103 in the order of pixel arrangement. The image processing circuit 103 performs processing such as MTF correction, density correction, and image distortion correction for improving image quality. Image data D20 that has passed through the image processing circuit 103 is output to the external device. The density correction is data processing for correcting the image data that has been subjected to the luminance / density conversion in accordance with the following equation (1) using the characteristics shown in FIG. 6, and is performed by the density correction unit 103C. D = log 10 (1 / R) (1) Expression D: Density value R: Luminance value Here, the background setting value BS is a threshold value, and when the input data is equal to or less than the background setting value BS, it is replaced with white background data. .

【0023】濃度補正部103Cを経ることにより、下
地設定値BSより低濃度の画素の撮影データ値は白地デ
ータ値に置き換えられる。濃度補正部103Cには、副
走査の進行に合わせてライン単位の下地設定値BSがO
PU101から与えられる。
By passing through the density correction section 103C, the photographing data value of the pixel having a density lower than the background setting value BS is replaced with a white background data value. In the density correction unit 103C, the base setting value BS in line units is set to
Provided from the PU 101.

【0024】ここで下地設定値BSの算出方法について
図7乃至図9を参照して説明する。最初に、原稿の高さ
(傾き)変化によって発生する副走査方向の相対的な輝
度分布を求める。まず、RAM105に格納されている
前述の読取り範囲全体の輝度度数分布データから、度数
が最も多い階級のデータ値(これを全休ピーク輝度値B
PAとする)を検出する。全体ピーク輝度値BPAは最
も度数の大きい輝度値であるので、原稿全体に広く分布
することが多い。よって、各副走査位置の輝度度数分布
データDNにおいて、この付近の輝度値に山(ピーク)
が存在する場合が多く、各ラインのピーク輝度値BP
1、BP2のどちらかとして検出される場合が多い。
Here, a method of calculating the base setting value BS will be described with reference to FIGS. First, a relative luminance distribution in the sub-scanning direction caused by a change in the height (inclination) of the document is obtained. First, from the luminance frequency distribution data of the entire read range stored in the RAM 105, the data value of the class having the highest frequency (this is the total peak luminance value B)
PA). Since the overall peak luminance value BPA is the luminance value with the highest frequency, it is often widely distributed over the entire document. Therefore, in the luminance frequency distribution data DN at each sub-scanning position, the luminance value in the vicinity thereof has a peak (peak).
Often exist, and the peak luminance value BP of each line
1, and BP2 are often detected.

【0025】図7に各副走査位置におけるピーク輝度値
BP1、BP2、及び、全体ピーク輝度値BPAを示
す。図ではBP1あるいはBP2が検出されない場合は
輝度値0として表している。なお、図7において、輝度
が突出して高くなっているa部分は、白抜き文字などに
相当し、また、副走査方向中央で輝度が低くなっている
b部分は、ブック原稿の綴じ部で高さが低くなっている
領域に対応する。上述したように、全休ピーク輝度値B
PAの付近に各ラインのピーク輝度催BP1あるいはB
P2が存在するのが分かる。
FIG. 7 shows the peak luminance values BP1 and BP2 at each sub-scanning position and the overall peak luminance value BPA. In the figure, when BP1 or BP2 is not detected, the brightness value is represented as 0. In FIG. 7, the portion a where the luminance is prominently high corresponds to a blank character or the like, and the portion b where the luminance is low at the center in the sub-scanning direction is high at the binding portion of the book document. Corresponds to the region where the height is low. As described above, the total rest peak luminance value B
Near the PA, the peak brightness of each line BP1 or B
It can be seen that P2 exists.

【0026】よって、各副走査位置のピーク輝度値BP
1、BP2の内、全体ピーク輝度値BPAの±αを有効
下地輝度範囲とし、この範囲内であり、かつ全休ピーク
輝度置BPAに近い方を輝度変化分布データとして選択
することで、原稿高さ(傾き)変化によって発生する副
走査方向の原稿下地の相対的な輝度分布を求めることが
できる。図8に上述のようにして選択した輝度分布デー
タを示している。
Therefore, the peak luminance value BP at each sub-scanning position
1 and BP2, ± α of the entire peak luminance value BPA is defined as the effective background luminance range, and the one within this range and closer to the all-rest peak luminance value BPA is selected as the luminance change distribution data, so that the document height is determined. It is possible to obtain the relative luminance distribution of the original background in the sub-scanning direction caused by the change in (slope). FIG. 8 shows the luminance distribution data selected as described above.

【0027】なお、図7において、αは、ブック原稿の
なだらかな高さ変化による輝度変化を有効範囲とできる
量が望ましく、例えば、撮像データが8ビット256
(0〜255)階調であれば、20程度が好ましい。た
だし、ブック原稿の綴じ部では大きく輝度が低下するの
で、図8に示しているように、有効範囲を低輝度側にシ
フトすることでこれに対応する。
In FIG. 7, α is desirably set to an amount that can make the luminance change due to a gradual change in the height of the book document an effective range.
For (0-255) gradation, about 20 is preferable. However, since the luminance greatly decreases at the binding portion of the book document, this is dealt with by shifting the effective range to the lower luminance side as shown in FIG.

【0028】ピーク輝度値BP1、BP2がともに輝度
変化分布データとして検出されない場合は、その副走査
位置を異常データとし、前後の正常データを直線で結び
補完する。異常データの補完後、平滑化処理をし、その
結果を原稿高さ(傾き)変化によって発生する副走査方
向の輝度分布データとする。図8には、太線で平滑化処
理後のデータを示す。
If neither of the peak luminance values BP1 and BP2 is detected as luminance change distribution data, the sub-scanning position is regarded as abnormal data, and normal data before and after the sub-scanning position are connected by a straight line and complemented. After complementing the abnormal data, a smoothing process is performed, and the result is luminance distribution data in the sub-scanning direction generated by a change in document height (inclination). In FIG. 8, the data after the smoothing process is indicated by a thick line.

【0029】次に、読取り原稿の最大輝度領域(副走査
位置)を検出する。これは各副走査位置のピーク輝度値
BP1(高輝度側の山)の最大値を検出することで行
う。図8に示したように、最大値が検出される副走査位
置をSとし、副走査位置Sのピーク輝度値BP1を最大
ピーク輝度値SBP1とする(図7におけるBP1の最
大値がこれに相当)。この最大ピーク輝度値SBP1が
濃度補正の基準となる。
Next, the maximum luminance area (sub-scanning position) of the read document is detected. This is performed by detecting the maximum value of the peak luminance value BP1 (the peak on the high luminance side) at each sub-scanning position. As shown in FIG. 8, the sub-scanning position where the maximum value is detected is S, and the peak luminance value BP1 at the sub-scanning position S is the maximum peak luminance value SBP1 (the maximum value of BP1 in FIG. 7 corresponds to this). ). This maximum peak luminance value SBP1 serves as a reference for density correction.

【0030】各副走査位置での下地設定値BSは以下の
ように算出される。前述の最大ピーク輝度SBP1と副
走査位置Sにおける副走査方向輝度分布データの差をシ
フト量(図8参照)として算出し、このシフト量を副走
査方向輝度分布データに加算する。そして、それらの値
に予め対応付けられた下地設定値をBSとする。
The base setting value BS at each sub-scanning position is calculated as follows. The difference between the maximum peak luminance SBP1 and the luminance distribution data in the sub-scanning direction at the sub-scanning position S is calculated as a shift amount (see FIG. 8), and this shift amount is added to the luminance distribution data in the sub-scanning direction. Then, the base set values associated with these values in advance are set as BS.

【0031】図9にシフト後のデータ、及び、下地設定
値BSを示す。こうすることで、原稿の高さ(傾き)変
化によって発生する輝度変化を補正し、白抜き文字など
の存在する原稿の最も明るい領域を基準とした濃度補正
が可能になる。すなわち、カラー原稿の場合、現行の最
も明るい領域である白抜き文字などの領域を白色で再現
してカラー原稿の下地部分はそのままに再現できる。
FIG. 9 shows the shifted data and the background setting value BS. This makes it possible to correct a luminance change caused by a change in the height (inclination) of the document and to perform a density correction based on the brightest area of the document in which white characters or the like exist. That is, in the case of a color document, the current brightest region, such as an outline character, is reproduced in white, and the background portion of the color document can be reproduced as it is.

【0032】なお、原稿の高さ(傾き)変化によって発
生する副走査方向の相対的な輝度分布の求め方は本実施
例の方法に限られない。例えば、高さ情報をそのまま輝
度分布デー夕として利用してもよく、原稿の高さ(傾
き)変化によって発生する副走査方向の相対的な輝度分
布が分かる方法であれば、任意のものを採用可能であ
る。また、本実施例では読み取り対象をブック原稿とし
て説明したが、その他の対象物(臓器、出土品等)でも
よい。
The method of obtaining the relative luminance distribution in the sub-scanning direction caused by a change in the height (inclination) of the document is not limited to the method of this embodiment. For example, the height information may be used as it is as the luminance distribution data, and any method may be used as long as the relative luminance distribution in the sub-scanning direction caused by a change in the height (inclination) of the document can be determined. It is possible. In the present embodiment, the reading target is described as a book document, but other target objects (organs, excavated items, etc.) may be used.

【0033】図10は読み取り動作のフローチャートで
ある。ブックスキャナ1は、スタートキー52のオンに
呼応してランプユニット40の光源を点灯し、予備スキ
ャンを開始する(#21〜#23)。予備スキャン中は
ライン毎に輝度度数分布データDNを作成してピーク輝
度値BP1、及びBP2を検出する。また、原稿高さも
検出する(#24)。予備スキャンが終了すると、上述
のように下地設定値BSを算出する(#25、#2
6)。続いて、本スキャンを開始し、本スキャン中はラ
イン毎に下地設定値BSを閾値とする濃度補正を行う
(#27、#28)。本スキャンが終了すると、ランプ
ユニット40の光源を消灯し、新たなスタート指示を待
つ(#29、#30)。
FIG. 10 is a flowchart of the reading operation. The book scanner 1 turns on the light source of the lamp unit 40 in response to the start key 52 being turned on, and starts the preliminary scan (# 21 to # 23). During the preliminary scan, the luminance frequency distribution data DN is created for each line, and peak luminance values BP1 and BP2 are detected. The document height is also detected (# 24). When the preliminary scan is completed, the background setting value BS is calculated as described above (# 25, # 2).
6). Subsequently, the main scan is started, and during the main scan, density correction is performed for each line with the base set value BS as a threshold (# 27, # 28). When the main scan is completed, the light source of the lamp unit 40 is turned off and a new start instruction is waited (# 29, # 30).

【0034】[0034]

【発明の効果】以上説明したように本発明によれば、輝
度最大値を持つ副走査位置を検出して、各読み取り位置
での濃度補正量(下地飛ばし量)を、輝度最大値を持つ
読み取り位置の輝度を基準に求めるようにしているの
で、カラー原稿の読み取りに適切な濃度補正が可能とな
る。また、最大輝度位置と、対象物の高さ変化や傾き変
化によって発生する副走査方向の相対的な輝度分布とを
検出し、これらを加味して濃度補正量を算出するように
すれば、立体物(ブック原稿)などにも最適な濃度補正
が可能となる。
As described above, according to the present invention, the sub-scanning position having the maximum luminance value is detected, and the density correction amount (background removal amount) at each reading position is read with the maximum luminance value. Since the luminance at the position is determined based on the luminance, it is possible to perform density correction appropriate for reading a color original. In addition, if the maximum luminance position and the relative luminance distribution in the sub-scanning direction caused by the change in height or inclination of the object are detected and the density correction amount is calculated in consideration of these, the three-dimensional Optimal density correction can be performed on objects (book documents) and the like.

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

【図1】 本発明の一実施形態によるブックスキャナの
外観を示す斜視図。
FIG. 1 is an exemplary perspective view showing the appearance of a book scanner according to an embodiment of the present invention.

【図2】 同ブックスキャナの使用状態の一例を示す斜
視図。
FIG. 2 is an exemplary perspective view showing an example of a use state of the book scanner;

【図3】 (A)は原稿台にブック原稿がセッティング
された状態を示す図、(B)は読み取り画像を示す図。
3A is a diagram illustrating a state where a book document is set on a document table, and FIG. 3B is a diagram illustrating a read image;

【図4】 同ブックスキャナにおける信号処理系のブロ
ック図。
FIG. 4 is a block diagram of a signal processing system in the book scanner.

【図5】 輝度分布の一例を示す図。FIG. 5 is a diagram showing an example of a luminance distribution.

【図6】 濃度補正部の入出力持性図。FIG. 6 is an input / output endurance diagram of a density correction unit.

【図7】 ピーク輝度の分布の一例を示す図。FIG. 7 is a diagram showing an example of a distribution of peak luminance.

【図8】 原稿高さ変化に起因する輝度分布、及び、そ
の平滑化データの一例を示す図。
FIG. 8 is a view showing an example of a luminance distribution caused by a change in the document height and smoothed data thereof.

【図9】 下地輝度の分布、及び、下地設定値BSの分
布の一例を示す図。
FIG. 9 is a diagram showing an example of a distribution of a background luminance and a distribution of a background setting value BS.

【図10】 読み取り動作のフローチャート。FIG. 10 is a flowchart of a reading operation.

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

1:ブックスキャナ 30:撮像ユニット 16:測距板 31:ラインセンサ BD:ブック原稿 BP1:1ライン分のヒストグラムの山の輝度値(高輝
度側) BP2:1ライン分のヒストグラムの山の輝度値(低輝
度側) BS:下地設定値 BPA:読取り領域全体のヒストグラムの度数最大輝度
値 S:BP1が最大値となる副走査位量 SBP1:BP1の最大値
1: book scanner 30: imaging unit 16: distance measuring plate 31: line sensor BD: book original BP1: luminance value of the peak of the histogram for one line (high luminance side) BP2: luminance value of the peak of the histogram for one line (Low luminance side) BS: Base setting value BPA: Frequency maximum luminance value of histogram of entire reading area S: Sub-scanning position amount at which BP1 becomes maximum value SBP1: Maximum value of BP1

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B047 AA01 BB02 CB05 CB09 CB22 CB23 5B057 AA11 CA08 CA12 CB08 CB12 CE11 CH08 DB02 DB09 5C077 LL04 LL19 MM03 PP15 PP25 PP43 PP58 PQ19 SS01  ────────────────────────────────────────────────── ─── Continued on the front page F term (reference) 5B047 AA01 BB02 CB05 CB09 CB22 CB23 5B057 AA11 CA08 CA12 CB08 CB12 CE11 CH08 DB02 DB09 5C077 LL04 LL19 MM03 PP15 PP25 PP43 PP58 PQ19 SS01

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 読み取り対象物の光学画像を画素単位に
電気信号に変換する撮像手段を有し、この撮像手段から
の信号を処理して画像データとして出力する読み取り装
置において、 前記撮像手段の出力から最大輝度を検出する最大輝度検
出手段と、 前記最大輝度検出手段によって検出された最大輝度の読
み取り位置を検出する最大輝度位置検出手段と、 前記対象物の高さ変化により発生する輝度分布を検出す
る輝度分布検出手段と、 前記最大輝度検出手段により検出された最大輝度と、前
記最大輝度位置検出手段により検出された最大輝度位置
と、前記輝度分布検出手段により検出された輝度分布と
に基づいて、前記撮像手段による読み取り位置毎に、前
記撮像手段から出力された撮像データに対する濃度補正
量を算出する濃度補正算出手段とを備えたことを特徴と
する読み取り装置。
1. A reading device, comprising: an imaging unit that converts an optical image of an object to be read into an electric signal on a pixel basis, processes a signal from the imaging unit and outputs the image signal as image data. A maximum luminance detecting means for detecting a maximum luminance from the object; a maximum luminance position detecting means for detecting a reading position of the maximum luminance detected by the maximum luminance detecting means; and detecting a luminance distribution generated by a change in height of the object. Luminance distribution detecting means, based on the maximum luminance detected by the maximum luminance detecting means, the maximum luminance position detected by the maximum luminance position detecting means, and the luminance distribution detected by the luminance distribution detecting means. A density correction calculating method for calculating a density correction amount for image data output from the image capturing means for each reading position by the image capturing means; Reading apparatus characterized by comprising and.
JP2000214953A 2000-07-14 2000-07-14 Reader Pending JP2002033919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000214953A JP2002033919A (en) 2000-07-14 2000-07-14 Reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000214953A JP2002033919A (en) 2000-07-14 2000-07-14 Reader

Publications (1)

Publication Number Publication Date
JP2002033919A true JP2002033919A (en) 2002-01-31

Family

ID=18710449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000214953A Pending JP2002033919A (en) 2000-07-14 2000-07-14 Reader

Country Status (1)

Country Link
JP (1) JP2002033919A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905678A (en) * 2012-12-25 2014-07-02 京瓷办公信息系统株式会社 Image processing device and image reading apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905678A (en) * 2012-12-25 2014-07-02 京瓷办公信息系统株式会社 Image processing device and image reading apparatus
EP2750366A1 (en) * 2012-12-25 2014-07-02 Kyocera Document Solutions Inc. Image processing device and image reading apparatus
CN103905678B (en) * 2012-12-25 2016-08-17 京瓷办公信息系统株式会社 Image processing apparatus and image read-out

Similar Documents

Publication Publication Date Title
JPH1013669A (en) Data processing method for image reader
JPH1093777A (en) Image reader
JPH09200455A (en) Method for correcting density of read image and image reader
JPH08307688A (en) Image reader
US8224083B2 (en) Extraction of illumination light image in an image processing apparatus, and image processing method and storage medium therefor
JPH07298007A (en) Image reader and image reading method and white level correction method and white level generating method
JPH09205544A (en) Image processor
JP4797959B2 (en) Image reading device
JP2001203900A (en) Image reader
JP2008172522A (en) Image reader, control method and program
JP3576809B2 (en) Image processing device
JP2002033919A (en) Reader
JP2580118B2 (en) Information reading device
JPH08237485A (en) Image reader
JP2004056416A (en) Automatic optimizing processing method for digital image data, and digital photographing apparatus attaining the same
JP2000354166A (en) Image reader
JPH09200440A (en) Image reader
JPH09200445A (en) Image reader
JP2003198777A (en) Image processor
JPH1093776A (en) Image reader
JPH10257323A (en) Image reader
JPH10327325A (en) Picture reader
JPH06205194A (en) Original reader
JP2001069332A (en) Picture reader
JP2001045289A (en) Image reader, its method and computer readable storage medium

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050614