JP2000354166A - Image reader - Google Patents

Image reader

Info

Publication number
JP2000354166A
JP2000354166A JP11164650A JP16465099A JP2000354166A JP 2000354166 A JP2000354166 A JP 2000354166A JP 11164650 A JP11164650 A JP 11164650A JP 16465099 A JP16465099 A JP 16465099A JP 2000354166 A JP2000354166 A JP 2000354166A
Authority
JP
Japan
Prior art keywords
density
height
subject
image
data
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
JP11164650A
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 JP11164650A priority Critical patent/JP2000354166A/en
Publication of JP2000354166A publication Critical patent/JP2000354166A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To apply proper density correction to an image in the case that a density difference is in existence on an original face due to a curved face or the presence of a photograph. SOLUTION: A peak luminance value BP is detected on the basis of luminance distribution data DN for each line from a line sensor 31 and a valid underground density allowable to an object is set on the basis thereof. In the case that the peak luminance value BP exceeds this allowable range, a change in a density information quantity is referenced and when the density change is large, it is regarded to be a density increase detected around a joint of a book, a background setting value BS is decided without correcting the detected peak luminance value data to correct the density. Furthermore, when the density change is small, it is regarded to be a high density area such as a photographing area, the peak luminance value data are corrected, the corrected background setting value BS is set to correct the density.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ブック原稿等の被
写体の像を読み取る画像読み取り装置に係り、特に、原
稿面内に濃度差が存在する場合の濃度補正を行う技術に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus for reading an image of a subject such as a book original, and more particularly to a technique for performing density correction when there is a density difference in the original surface.

【0002】[0002]

【従来の技術】従来のこの種の画像読み取り装置として
は、予め複数のサンプル画像を読み取って輝度の度数分
布(輝度ヒストグラム)を求め、度数が最大となる輝度
をピーク輝度として検出し、補正のための輝度のしきい
値を度数分布に基づいて算出し、これらをサンプルデー
タとして記憶しておき、その後、不特定の画像を読み取
ったときに、輝度の度数分布を求めてピーク輝度を検出
し、サンプルデータのしきい値を用いて画像の濃度補正
を行う装置が知られている(例えば、特開平10−25
7323号公報参照)。
2. Description of the Related Art In a conventional image reading apparatus of this type, a plurality of sample images are read in advance, a frequency distribution (luminance histogram) of luminance is obtained, a luminance having a maximum frequency is detected as a peak luminance, and correction is performed. Calculated based on the frequency distribution, and stored these as sample data, and then, when reading an unspecified image, determine the frequency distribution of the luminance to detect the peak luminance. An apparatus that performs image density correction using a threshold value of sample data is known (for example, Japanese Patent Application Laid-Open No. 10-25 / 1998).
No. 7323).

【0003】また、画像の種類(文字、写真等)を判定
し、画像の種類に応じて文字画像のときは地肌濃度に基
づき、中間調画像のときは原稿の高さ情報に基づいて画
像データの濃度制御を行う装置、及び原稿面の形状を判
定し、原稿面が平坦なときは地肌濃度に基づき、原稿面
が湾曲したものであるときは原稿の高さ情報に基いて画
像の濃度制御を行う装置が知られている(例えば、特開
平8−237485号公報参照)。
[0003] Further, the type of image (text, photo, etc.) is determined, and the image data is determined based on the background density for a character image and the height information of the original for a halftone image according to the type of image. A device for controlling the density of an original, and determining the shape of the original surface, based on background density when the original surface is flat, and image density control based on height information of the original when the original surface is curved. (See, for example, JP-A-8-237485).

【0004】さらには、原稿の高さ情報と原稿面を撮像
して得た原稿の輝度分布双方のノイズレベルを検出し、
これらが許容範囲を越える場合には、そのデータを他方
のデータを用いて補間することでデータ補正を行い、こ
の補正された原稿の高さ情報又は下地輝度に応じて画像
の歪み又は濃度補正を行う装置が知られている(例え
ば、特開平8−307688号公報参照)。
Further, noise levels of both the height information of the original and the luminance distribution of the original obtained by imaging the original surface are detected.
If the values exceed the allowable range, the data is corrected by interpolating the data using the other data, and image distortion or density correction is performed according to the corrected height information of the original or the background luminance. An apparatus for performing this is known (for example, see Japanese Patent Application Laid-Open No. 8-307688).

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記第
1の公報に示されるような装置においては、写真領域
(高濃度領域)等の存在で輝度ヒストグラムのピーク輝
度から濃度補正のための輝度しきい値を決定しているの
で、原稿中に広域の写真領域(高濃度領域)等がある場
合、写真等の輝度をピーク輝度として検出してしまうた
め、適正な濃度補正が行えないという問題があった。ま
た、上記第2及び第3の公報に示されるような装置にお
いては、検出した原稿の下地濃度が低いときに、それが
高さ変化によるものなのか、写真領域等の高濃度領域な
のかを判別することはしていないので、上記と同様に濃
度補正を適正に行えない場合がある。
However, in the apparatus disclosed in the first publication, a luminance threshold for density correction is determined from the peak luminance of the luminance histogram in the presence of a photographic area (high density area) or the like. Since the value is determined, if there is a wide-area photograph area (high-density area) in the document, the luminance of the photograph or the like is detected as the peak luminance, so that there is a problem that appropriate density correction cannot be performed. Was. In the apparatus disclosed in the second and third publications, when the detected background density of a document is low, it is determined whether the detected background density is caused by a change in height or a high density area such as a photographic area. Since the determination is not made, the density correction may not be properly performed as described above.

【0006】本発明は、上記問題を解消するもので、原
稿中に広域の写真領域等のような高濃度領域がある原稿
面においても適正な濃度補正が行える画像読み取り装置
を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problem and to provide an image reading apparatus capable of performing appropriate density correction even on a document surface having a high density area such as a wide photographic area in the document. And

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の発明は、被写体を読み取る画像読み
取り装置において、被写体を読み取る撮像手段と、被写
体の下地濃度を検出する濃度検出手段と、被写体の高さ
を検出する高さ検出手段と、前記濃度検出手段により検
出された下地濃度が許容範囲を越える場合には、前記高
さ検出手段により検出された高さ情報の該当する部分の
高さ変化の大小に応じて、高さ変化による濃度変化か、
被写体中の高又は低濃度領域かを判別する判別手段と、
前記判別手段による判別結果が、被写体中の高又は低濃
度領域であった場合、その下地濃度データを補正するデ
ータ補正手段と、前記データ補正手段により補正された
被写体の下地濃度に応じて画像の濃度を補正する濃度制
御手段とを備えたものである。
According to a first aspect of the present invention, there is provided an image reading apparatus for reading a subject, comprising: an imaging means for reading the subject; and a density detecting means for detecting a background density of the subject. A height detecting means for detecting the height of the subject; and a corresponding portion of the height information detected by the height detecting means when the background density detected by the density detecting means exceeds an allowable range. Depending on the magnitude of the height change, the density change due to the height change,
Determining means for determining whether the area is a high or low density area in a subject,
When the result of the determination by the determination unit is a high or low density area in the subject, a data correction unit that corrects the background density data of the subject, and an image corresponding to the background density of the subject corrected by the data correction unit. And a density control means for correcting the density.

【0008】上記構成において、濃度検出手段で検出し
た被写体の下地濃度(ピーク輝度)が許容範囲を超える
場合には、判別手段は高さ検出手段により検出された高
さ情報の変化量を参照し、高さ変化量が大きい場合は、
例えば、本の綴じ部付近で検出される濃度上昇とみな
し、検出データをそのまま使用する。すなわち、検出し
た低輝度ピークを使用して濃度補正のための輝度しきい
値を決定し、濃度補正を行う。また、高さ変化量が小さ
い場合は、写真領域等の高濃度領域とみなし、データ補
正を行う。すなわち、補正したデータから濃度補正のた
めの輝度しきい値を決定し、濃度補正を行う。
In the above arrangement, if the background density (peak luminance) of the subject detected by the density detecting means exceeds an allowable range, the determining means refers to the amount of change in the height information detected by the height detecting means. , If the height change is large,
For example, it is regarded as a density increase detected near the binding portion of a book, and the detection data is used as it is. That is, a brightness threshold value for density correction is determined using the detected low brightness peak, and density correction is performed. When the height change amount is small, it is regarded as a high density area such as a photograph area, and data correction is performed. That is, a brightness threshold value for density correction is determined from the corrected data, and density correction is performed.

【0009】また、請求項2記載の発明は、被写体を読
み取る画像読み取り装置において、被写体を読み取る撮
像手段と、被写体の下地濃度を検出する濃度検出手段
と、被写体の高さを検出する検出手段と、前記濃度検出
手段により検出された下地濃度に応じて画像の濃度を補
正する濃度制御手段と、前記高さ検出手段により検出さ
れた高さ情報の変化量が小さい場合、前記濃度制御手段
による濃度補正を一定量とする制御手段とを備えたもの
である。
According to a second aspect of the present invention, there is provided an image reading apparatus for reading a subject, comprising: an imaging unit for reading the subject; a density detecting unit for detecting a background density of the subject; and a detecting unit for detecting the height of the subject. A density control unit for correcting the density of an image according to the background density detected by the density detection unit; and a density control unit configured to correct the density information when the amount of change in the height information detected by the height detection unit is small. Control means for making the correction a fixed amount.

【0010】上記構成において、画像読み取り対象の全
域において高さ情報の変化量が少ない場合は、高さ変化
による輝度変化も少ないので領域毎(副走査位置毎)の
濃度補正は行わず、検出された下地濃度に応じて、全域
を均一に濃度補正を行う。
In the above configuration, when the amount of change in height information is small in the entire area of the image reading target, the change in luminance due to the change in height is small, so that density correction for each area (each sub-scanning position) is not performed, and detection is performed. Density correction is performed uniformly over the entire area according to the background density.

【0011】[0011]

【発明の実施の形態】以下、本発明を具体化した実施の
形態について図面を参照して説明する。図1は本実施形
態によるブックスキャナの外観を示す斜視図、図2はブ
ックスキャナの使用状態の一例を示す図である。ブック
スキャナ1は電気回路などを収納する本体ハウジング1
0、原稿のセッテングを行うところの暗色の原稿台2
0、原稿画像を電気信号に変換する撮像ユニット30、
及び原稿の照明を担うランプユニット40を備えてい
る。原稿台20は本体ハウジング10の前面側に配置さ
れている。撮像ユニット30は原稿台20の上方に配置
され、かつ、本体ハウジング10の上面から上方に延び
た支柱12によって片持ち形式で支持されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments embodying the present invention will be described below with reference to the drawings. FIG. 1 is a perspective view showing the external appearance of the book scanner according to the present embodiment, and FIG. 2 is a diagram showing an example of the use state of the book scanner. The book scanner 1 is a main body housing 1 for housing electric circuits and the like.
0, dark platen 2 where document setting is performed
0, an imaging unit 30 that converts a document image into an electric signal,
And a lamp unit 40 for illuminating the original. The document table 20 is arranged on the front side of the main body housing 10. The imaging unit 30 is arranged above the document table 20 and is supported in a cantilever manner by a support column 12 extending upward from the upper surface of the main body housing 10.

【0012】ランプユニット40は撮像ユニット30の
下面側に配置され、かつ、支柱12に固定されている。
原稿台20と撮像ユニット30との間の空間80は装置
外の自由空間に対して開放されており、本の原稿(以下
ブック原稿という。)BDのセッティングに十分な広さ
を有している。原稿台20と撮像ユニット30との距離
は30cm以上である。
The lamp unit 40 is arranged on the lower surface side of the image pickup unit 30 and is fixed to the column 12.
A space 80 between the document table 20 and the imaging unit 30 is open to a free space outside the apparatus, and has a sufficient size for setting a book document (hereinafter referred to as a book document) BD. . The distance between the document table 20 and the imaging unit 30 is 30 cm or more.

【0013】本体ハウジング10の前面の上端側に操作
パネルOPが設けられており、下端側に原稿面の高さを
検出するための測距板16(高さ検出手段)が固定され
ている。測距板16の前面側の表面は光沢性の平面であ
り、原稿台20の上面に対する45°の傾斜面となって
いる。この測距板16の上端面はシェーディング補正の
ための白色板18として機能する。本体ハウジング10
における操作パネルOPに向かって右端の側面には、メ
インスイッチ51が設けられている。
An operation panel OP is provided on the upper end of the front surface of the main body housing 10, and a distance measuring plate 16 (height detecting means) for detecting the height of the document surface is fixed to the lower end. The front surface of the distance measuring plate 16 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 functions as a white plate 18 for shading correction. Body housing 10
A main switch 51 is provided on the right side of the operation panel OP.

【0014】原稿台20の左右方向の両側には、ユーザ
が読み取りの開始を指示するためのスタートキー52が
1個づつ設けられている。また、原稿台20の前面側に
はアームレスト25が設けられている。
A start key 52 is provided on each side of the document table 20 in the left-right direction for the user to instruct the start of reading. An armrest 25 is provided on the front side of the document table 20.

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

【0016】以上の構成のブックスキャナ1は、ブック
原稿や立体物等の被写体の読み取りに好適な画像入力手
段で、本発明のブックスキャナ1とデジタル複写機とを
組み合わせることにより、各種の原稿に適合する総合的
な複写システムを構成することができる。
The book scanner 1 having the above-described configuration is an image input means suitable for reading an object such as a book original or a three-dimensional object. By combining the book scanner 1 of the present invention with a digital copying machine, various types of originals can be read. A compatible overall copying system can be constructed.

【0017】ブックスキャナ1の使用に際して、ユーザ
は、図2のように原稿台20の上にブック原稿BDを見
開いた状態で上向きに置く。その時、測距板16の下端
にブック原稿BDを押し当てて位置決めを行う。つま
り、測距板16と原稿台20との境界がブック原稿BD
以外の原稿のセッティングの基準線となっている。その
基準線の中央が基準位置PO(図3(A)参照)であ
る。原稿台20は左右独立に上下移動可能に構成されて
いる。これにより、見開いたときの左右のページの高さ
をほぼ同一にすることができる。
When using the book scanner 1, the user places the book document BD upward on the document table 20 in an open state as shown in FIG. At this time, the book document BD is pressed against the lower end of the distance measuring plate 16 to perform positioning. That is, the boundary between the distance measuring plate 16 and the platen 20 is the book document BD.
It is the reference line for setting other manuscripts. The center of the reference line is the reference position PO (see FIG. 3A). The document table 20 is configured to be vertically movable independently of left and right. Thereby, the heights of the left and right pages when the pages are opened can be made substantially the same.

【0018】ブックスキャナ1でブック原稿BDを読み
込む際、ブックモードを図示しないモードセレクトスイ
ッチで選択する。選択したブックモードでは、同一の原
稿に対して2回の走査(原稿読み取り)が行われる。ブ
ック原稿BDでは、シート原稿と違って原稿面が湾曲し
ているので、湾曲状態に応じて撮像のピント調整を行う
必要がある。輝度の差異を補う処理も必要である。この
ため、1回目の走査(以下、予備スキャンという)で湾
曲状態や種々の条件での輝度度数分布等が検出され、そ
の検出結果に基づいて2回目の走査(以下、本スキャン
という)で必要な処理が行われる。図示しない外部装置
への画像出力は本スキャン時に行われる。
When reading a book document BD by the book scanner 1, a book mode is selected by a mode select switch (not shown). In the selected book mode, 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. For this reason, the curved state, the luminance frequency distribution under various conditions, and the like are detected in the first scan (hereinafter, referred to as a preliminary scan), and necessary in the second scan (hereinafter, referred to as a main scan) based on the detection results. Processing is performed. Image output to an external device (not shown) is performed during the main scan.

【0019】図3はブック原稿BDの読み取りの一例を
示す平面図で、ブック原稿BDが、図3(A)に図示さ
れているように、原稿台20上にブック原稿BDがセッ
ティングされた状態で、スキャン後の読み取り画像G0
は、図3(B)に図示されているように、ブック原稿B
Dの読み取り対象面の像G1、原稿台20の像G20、
及び測距板16に写った像G18から構成されている。
FIG. 3 is a plan view showing an example of reading the book document BD. The book document BD is set in a state where the book document BD is set on the document table 20 as shown in FIG. And the read image G0 after scanning
Is a book original B as shown in FIG.
D, an image G1 of the reading target surface, an image G20 of the document table 20,
And an image G18 reflected on the distance measuring plate 16.

【0020】像G18は、見開いた状態のブック原稿B
Dにおける端面(書籍における「天」と呼称される部
分)の形状を示している像G181,G182と測距板
16に写った背景像G183からなっている。像G18
と像G20との境界は上述の基準線に対応し既知である
ので、その境界と像G181,G182の輪郭線との距
離(画素数)から原稿面の高さを算定することができ
る。像G1と像G20との境界は、原稿面の下地色と原
稿台20の色との差異を利用して容易に判別することが
できる。
The image G18 is a book document B in an opened state.
The image G is composed of images G181 and G182 showing the shape of the end face (a part called “heaven” in the book) in D and a background image G183 shown on the distance measuring plate 16. Image G18
Since the boundary between the image and the image G20 corresponds to the above-mentioned reference line and is known, the height of the document surface can be calculated from the distance (the number of pixels) between the boundary and the outline of the images G181 and G182. 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.

【0021】なお、像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.

【0022】図4は信号処理系100の要部のブロック
図、図5は輝度度数分布の一例を示す図、図6は濃度補
正部103Cの入力特性を示す図である。信号処理系1
00は、後述の輝度検出部104から伝送される輝度度
数分布データDNからピーク輝度BPを検出するCPU
101、ラインセンサ31から出力された光電変換信号
を8ビット信号に変換するA/D変換器102、A/D
変換器102から変換された8ビット信号を受け、画質
改善のための処理を行う画像処理回路103、A/D変
換器102から変換された8ビット信号を受け、輝度度
数分布データDNを作成する輝度検出部104、CPU
101で算出されるピーク輝度BPを格納するRAM1
05及びCPU101で算出されるピーク輝度BPや下
地設定値BSを格納する不揮発性メモリ106からなっ
ている。
FIG. 4 is a block diagram of a main part of the signal processing system 100, FIG. 5 is a diagram showing an example of a luminance frequency distribution, and FIG. 6 is a diagram showing input characteristics of the density correction section 103C. Signal processing system 1
00 is a CPU that detects a peak luminance BP from the luminance frequency distribution data DN transmitted from the luminance detecting unit 104 described later.
101, an A / D converter 102 for converting a photoelectric conversion signal output from the line sensor 31 into an 8-bit signal,
An image processing circuit 103 that receives the converted 8-bit signal from the converter 102 and performs processing for improving image quality, receives the converted 8-bit signal from the A / D converter 102, and generates luminance frequency distribution data DN. Brightness detector 104, CPU
RAM 1 for storing peak luminance BP calculated in 101
The nonvolatile memory 106 stores the peak luminance BP calculated by the CPU 101 and the background setting value BS.

【0023】上記構成の信号処理系100において、予
備スキャン動作時に、ラインセンサ31から出力された
光電変換信号は、A/D変換器102によって例えば8
ビットの撮像データ(輝度データ)D10に変換され、
CCD素子の配列方向に沿った上方から下方への走査さ
れた画素配列順に輝度検出部104に入力される。輝度
検出部104は比較器とカウンタからなり、1ライン分
の撮像データD10を値の階調別に数えて読み取り画像
の輝度度数分布データDNを生成する。ここで代表的な
ブック原稿BDであって、文字が主体の書籍の場合に
は、輝度度数分布は、図5に示すように、文字範囲及び
下地範囲に極大値を持つ。
In the signal processing system 100 having the above configuration, the photoelectric conversion signal output from the line sensor 31 during the pre-scanning operation is output to the
Bit image data (luminance data) D10,
The pixels are input to the luminance detecting unit 104 in the order of pixel arrangement scanned from top to bottom along the arrangement direction of the CCD elements. The luminance detection unit 104 includes a comparator and a counter, and counts the imaging data D10 for one line for each gradation of value to generate luminance frequency distribution data DN of a read image. Here, in the case of a typical book original BD and a book mainly composed of characters, the luminance frequency distribution has local maximum values in the character range and the background range as shown in FIG.

【0024】CPU101は輝度度数分布データDNを
取り込み、度数が最も大きい階調のデータ値をピーク輝
度値BPとして検出し、メモリ106内のテーブルT1
を参照し、後述の要領で下地設定値BSを算定してRA
M105に格納する。この一連の動作はライン毎に行わ
れる。また、ライン毎の輝度度数分布データDNの各階
調の度数を累計し、読み取り範囲全体の輝度度数分布デ
ータを作成する。予備スキャン終了後、CPU101は
格納されたこれらのデータ及び前述の高さデータから後
述の要領で下地設定値BSを算出する。濃度補正部10
3Cは本スキャン時に、この下地設定値BSに基づいて
下地濃度の濃度補正を行う。
The CPU 101 fetches the luminance frequency distribution data DN, detects the data value of the gradation having the highest frequency as the peak luminance value BP, and stores the data value in the table T1 in the memory 106.
And calculate the ground setting value BS in the manner described below to calculate RA
It is stored in M105. This series of operations is performed for each line. Further, the frequency of each gradation 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. After the completion of the preliminary scan, the CPU 101 calculates a background setting value BS from the stored data and the above-described height data in a manner described later. Density correction unit 10
3C performs the density correction of the background density based on the background setting value BS during the main scan.

【0025】本スキャン動作時には、撮像データD10
は、画素配列順に画像処理回路103(CPU)に入力
される。画像処理回路103は画質改善のため、ライン
センサ31から得られた光電変換後の画像信号において
高域成分を強調して輪郭を強調する補正処理であるMT
F補正(鮮鋭化処理)、濃度補正、画像歪み補正等の処
理を行う。図示しない外部装置には画像処理回路103
を経た撮像データD20が出力される。
At the time of the main scan operation, the imaging data D10
Are input to the image processing circuit 103 (CPU) in the order of pixel arrangement. The image processing circuit 103 is a correction process that enhances a high-frequency component in the image signal after photoelectric conversion obtained from the line sensor 31 to enhance the contour to improve image quality.
Processing such as F correction (sharpening processing), density correction, and image distortion correction is performed. The image processing circuit 103 includes an external device (not shown).
Is output.

【0026】濃度補正は下記1式に則して輝度濃度変換
された撮像データを図6の実線のように修正するデータ
処理であり、濃度補正部103Cで行われ、濃度補正部
103Cを経ることにより、下地設定値BSより低濃度
の画素の撮像データ値は白地データ値に置き換えられ
る。濃度補正部103には、副走査の進行に合わせてラ
イン単位の下地設定値BSがCPU101から与えられ
る。
The density correction is a data processing for correcting the image data, which has been subjected to the brightness / density conversion in accordance with the following equation (1), as shown by the solid line in FIG. Accordingly, the imaging data value of a pixel having a density lower than the background setting value BS is replaced with a white background data value. The density correction unit 103 is provided with a base setting value BS in line units from the CPU 101 in accordance with the progress of sub-scanning.

【数1】D=log10(1/R)・・・(1) D:濃度値 R:輝度値D = log 10 (1 / R) (1) D: density value R: luminance value

【0027】ここで下地設定値BSの算出方法について
説明する。図7はブック原稿の高さデータを示す図であ
る。ブック原稿BDでは綴じ部が谷となり、その付近で
は原稿の高さの勾配が急になる。言い換えると、ライン
センサ31の走査面に対して原稿面との垂直な反射光に
対し大きな角度をなし、その他の部分では高さはなだら
かに変化し、ラインセンサ31の走査面に対して平行、
あるいは小さな角度をなしている。ランプユニット40
から照射された光は、原稿面で反射しラインセンサ31
に受光されるが、この時、原稿面とラインセンサ31の
走査面の角度差が大きい綴じ部付近では、他の部分より
も受光量が少なくなる。図8は文字が主体のブック原稿
を読み取った時のピーク輝度値BPの分布を示す図であ
る。上述のように綴じ部付近(=高さ変化の急な部分)
でピーク輝度値が大きく低下するのが分かる。
Here, a method of calculating the base setting value BS will be described. FIG. 7 is a diagram showing height data of a book document. In the book document BD, the binding portion becomes a valley, and the height gradient of the document becomes steep near the valley. In other words, the scanning surface of the line sensor 31 forms a large angle with respect to the reflected light perpendicular to the document surface, and the height changes gently in other portions, and is parallel to the scanning surface of the line sensor 31,
Or at a small angle. Lamp unit 40
Is reflected on the original surface and is reflected by the line sensor 31.
At this time, the light receiving amount is smaller near the binding portion where the angle difference between the document surface and the scanning surface of the line sensor 31 is large than in other portions. FIG. 8 is a diagram showing a distribution of peak luminance values BP when a book document mainly composed of characters is read. As described above, near the binding part (= steep height change)
, It can be seen that the peak luminance value is greatly reduced.

【0028】また、原稿中に写真領域等の高濃度(低輝
度)領域を含むブック原稿では、図9のような分布とな
る。すなわち、綴じ部以外でピーク輝度値が大きく低下
する部分があるが、その部分の高さデータ(図7参照)
を見ると高さ変化は小さいので、ブック形状に依存した
輝度低下ではなく、つまり原稿中の高濃度(低輝度)領
域であると推測できる。このように高さデータの変化量
とピーク輝度値を利用することで、ブック原稿の読み取
りに最適な濃度補正が可能となる。
FIG. 9 shows a distribution of a book document including a high-density (low-brightness) region such as a photographic region in the document. That is, there is a portion where the peak luminance value is greatly reduced other than the binding portion, and the height data of the portion (see FIG. 7)
Since the height change is small, it can be inferred that this is not a luminance decrease depending on the book shape, that is, a high density (low luminance) area in the document. By utilizing the amount of change in height data and the peak luminance value in this manner, it is possible to perform optimal density correction for reading a book document.

【0029】具体的にはまず、図10に示すように、前
述の読み取り範囲全体の輝度度数分布データから、度数
が最も大きい階級のデータ値を全体ピーク輝度値として
検出し、この全体ピーク輝度値±αを有効下地輝度範囲
とする。αはブック原稿のなだらかな高さ変化による輝
度変化を有効範囲とできる量が望ましく、例えば、輝度
度数分布データDNが8ビット256階調であるなら
ば、αは20程度が好ましい。
Specifically, first, as shown in FIG. 10, from the luminance frequency distribution data of the entire reading range, the data value of the class having the highest frequency is detected as the overall peak luminance value. ± α is the effective background luminance range. α is desirably an amount capable of setting a luminance change due to a gentle height change of the book document as an effective range. For example, if the luminance frequency distribution data DN has 8 bits and 256 gradations, α is preferably about 20.

【0030】ピーク輝度値のうち有効下地輝度範囲を超
えるデータは、その位置に対応する高さデータを参照
し、高さ変化量が大きい場合は、綴じ部による輝度低下
であるので、そのデータは正常とする。高さ変化量が小
さい場合は、原稿中の高濃度(低輝度)領域と判断して
異常データとする。
Data of the peak luminance value exceeding the effective background luminance range refers to the height data corresponding to the position. If the amount of change in the height is large, the luminance is decreased by the binding portion. Normal. If the height change amount is small, it is determined as a high-density (low-brightness) area in the document, and is determined as abnormal data.

【0031】異常データは前後の正常データを直線で結
び補間して(図11)、異常データの補間後、ピーク輝
度値を平滑化する(図12)。そして、この平滑化した
ピーク輝度値にあらかじめ対応づけられた輝度変化補正
のための下地設定値BSを得る(図13)。なお、異常
データの補間は、本実施の態様の方法に限らない。例え
ば特開平8−307688号に示されているような方法
でも構わない。
The abnormal data is interpolated by connecting the preceding and succeeding normal data with a straight line (FIG. 11), and after the interpolation of the abnormal data, the peak luminance value is smoothed (FIG. 12). Then, a background setting value BS for luminance change correction associated in advance with the smoothed peak luminance value is obtained (FIG. 13). Note that the interpolation of abnormal data is not limited to the method according to the present embodiment. For example, a method as disclosed in JP-A-8-307688 may be used.

【0032】高さ変化が少ない原稿では、原稿の形状に
依存した濃度変化は非常に少なくなる。よって、その場
合は、各副走査位置におけるピーク輝度値BPを全体ピ
ーク輝度値に置き換える。そうすることで、原稿画像に
影響されない自然な濃度補正が可能となる。
In a document having a small height change, the density change depending on the shape of the document is very small. Therefore, in that case, the peak luminance value BP at each sub-scanning position is replaced with the entire peak luminance value. By doing so, natural density correction not affected by the original image can be performed.

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

【0034】以上の説明から明らかなように本実施形態
において、CPU101は、濃度検出手段、高さ検出手
段で検出した信号に基づき下地濃度低下が高さ変化によ
るものなのか、被写体中の濃度領域によるものかを判別
する判別手段、及びデータ補正手段として機能する。
As is apparent from the above description, in the present embodiment, the CPU 101 determines whether the lowering of the background density is caused by a change in height based on the signals detected by the density detecting means and the height detecting means. And a data correction unit.

【0035】また、本発明は上記実施態様の構成に限ら
ず種々の変形が可能であり、例えば被写体としてブック
原稿の他に、各種立体物についての画像読み取り、具体
的には、自動車用部品等のばりの有無等の形状・寸法検
査、ウェハー・機械部品の異物・きず検査に適用するこ
とができる。
Further, the present invention is not limited to the configuration of the above-described embodiment, and various modifications are possible. For example, in addition to a book original as an object, image reading of various three-dimensional objects, specifically, parts for automobiles, etc. It can be applied to shape / dimension inspection such as presence or absence of burrs, and foreign matter / flaw inspection of wafers and machine parts.

【0036】[0036]

【発明の効果】以上説明したように請求項1の発明によ
れば、濃度検出手段で検出した被写体の下地濃度(ピー
ク輝度)が許容範囲を超える場合には、判別手段は高さ
検出手段により検出された高さ情報の変化量を参照し、
高さ変化量の大小によって濃度補正を行うので、被写体
がブック原稿等であって、原稿面内に写真領域等の高濃
度領域が存在するような場合においても最適な濃度補正
をすることができる。
As described above, according to the first aspect of the present invention, when the background density (peak luminance) of the subject detected by the density detecting means exceeds the allowable range, the discriminating means uses the height detecting means. Referring to the detected height information change amount,
Since the density correction is performed according to the magnitude of the height change amount, optimal density correction can be performed even when the subject is a book document or the like and a high density region such as a photographic region exists in the document surface. .

【0037】請求項2の発明によれば、画像読み取り対
象の全域において、検出された高さデータから高さ情報
の変化量が少ない場合は、高さ変化による輝度変化も少
ないので、領域毎の濃度補正は行わず、検出された下地
濃度に応じて全域を均一に濃度補正をし、これにより最
適な濃度補正をすることができる。
According to the second aspect of the present invention, when the amount of change in the height information from the detected height data is small in the entire area of the image to be read, the luminance change due to the height change is small. Density correction is not performed, and the entire area is uniformly corrected for density in accordance with the detected background density, thereby enabling optimum density correction.

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

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

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

【図3】ブック原稿の読み取りの一例で、(A)は原稿
台にブック原稿がセッティングされた状態の平面図、
(B)読み取り画像を示す図である。
3A is an example of reading a book document, and FIG. 3A is a plan view showing a state where the book document is set on a platen;
FIG. 3B is a diagram illustrating a read image.

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

【図5】輝度度数分布の一例を示す図である。FIG. 5 is a diagram illustrating an example of a luminance frequency distribution.

【図6】濃度補正部の入出力特性を示す図である。FIG. 6 is a diagram illustrating input / output characteristics of a density correction unit.

【図7】高さデータの一例を示す図である。FIG. 7 is a diagram illustrating an example of height data.

【図8】ピーク輝度値BPの分布の一例を示す図であ
る。
FIG. 8 is a diagram illustrating an example of a distribution of a peak luminance value BP.

【図9】ピーク輝度値BPの分布の一例を示す図であ
る。
FIG. 9 is a diagram illustrating an example of a distribution of a peak luminance value BP.

【図10】有効データ範囲を示す図である。FIG. 10 is a diagram showing a valid data range.

【図11】データ補間後のピーク輝度値BPの分布を示
す図である。
FIG. 11 is a diagram showing a distribution of peak luminance values BP after data interpolation.

【図12】平滑化後のピーク輝度値BPの分布を示す図
である。
FIG. 12 is a diagram showing a distribution of a peak luminance value BP after smoothing.

【図13】下地設定値BSの分布を示す図である。FIG. 13 is a diagram showing a distribution of a base setting value BS.

【図14】読み取り動作のフローチャートを示す図であ
る。
FIG. 14 is a diagram illustrating a flowchart of a reading operation.

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

1 ブックスキャナ 16 測距板(高さ検出手段) 18 白色板 20 原稿台 30 撮像ユニット 31 ラインセンサ(撮像手段) 101 CPU(濃度検出手段、判別手段、データ補正
手段) 103C 濃度補正部(濃度制御手段) 104 輝度検出部 BD ブック原稿
DESCRIPTION OF SYMBOLS 1 Book scanner 16 Distance measuring board (height detection means) 18 White plate 20 Original table 30 Imaging unit 31 Line sensor (Imaging means) 101 CPU (Density detection means, discrimination means, data correction means) 103C Density correction part (Density control) Means) 104 brightness detection unit BD book manuscript

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5B057 AA11 BA02 BA11 BA19 BA30 CA08 CA12 CA16 CB08 CB12 CB16 CC03 CE11 DA06 DC22 DC36 5C077 LL04 MM20 NN03 NP01 PP15 PP42 PP43 PP44 PP52 RR14 TT06 TT10  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5B057 AA11 BA02 BA11 BA19 BA30 CA08 CA12 CA16 CB08 CB12 CB16 CC03 CE11 DA06 DC22 DC36 5C077 LL04 MM20 NN03 NP01 PP15 PP42 PP43 PP44 PP52 RR14 TT06 TT10

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 被写体を読み取る画像読み取り装置にお
いて、 被写体を読み取る撮像手段と、 被写体の下地濃度を検出する濃度検出手段と、 被写体の高さを検出する高さ検出手段と、 前記濃度検出手段により検出された下地濃度が許容範囲
を越える場合には、前記高さ検出手段により検出された
高さ情報の該当する部分の高さ変化の大小に応じて、高
さ変化による濃度変化か、被写体中の高又は低濃度領域
かを判別する判別手段と、 前記判別手段による判別結果が、被写体中の高又は低濃
度領域であった場合、その被写体の下地濃度データを補
正するデータ補正手段と、 前記データ補正手段により補正された被写体の下地濃度
に応じて画像の濃度を補正する濃度制御手段と、 を備えたことを特徴とする画像読み取り装置。
1. An image reading apparatus for reading a subject, comprising: imaging means for reading the subject; density detecting means for detecting the background density of the subject; height detecting means for detecting the height of the subject; If the detected background density exceeds the allowable range, the density change due to the height change or the change in the subject according to the magnitude of the height change of the corresponding portion of the height information detected by the height detecting means is detected. Discriminating means for discriminating a high or low density area of the object, and when the result of the discrimination by the discriminating means is a high or low density area in the subject, data correcting means for correcting background density data of the subject; An image reading apparatus, comprising: density control means for correcting the density of an image according to the background density of a subject corrected by data correction means.
【請求項2】 被写体を読み取る画像読み取り装置にお
いて、 被写体を読み取る撮像手段と、 被写体の下地濃度を検出する濃度検出手段と被写体の高
さを検出する検出手段と、 前記濃度検出手段により検出された下地濃度に応じて画
像の濃度を補正する濃度制御手段と、 前記高さ検出手段により検出された高さ情報の変化量が
小さい場合、前記濃度制御手段による濃度補正を一定量
とする制御手段と、 を備えたことを特徴とする画像読み取り装置。
2. An image reading apparatus for reading a subject, comprising: an imaging unit for reading the subject; a density detecting unit for detecting a background density of the subject; a detecting unit for detecting the height of the subject; Density control means for correcting the density of the image according to the background density; and control means for setting the density correction by the density control means to a constant amount when the amount of change in the height information detected by the height detection means is small. An image reading device, comprising:
JP11164650A 1999-06-11 1999-06-11 Image reader Pending JP2000354166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11164650A JP2000354166A (en) 1999-06-11 1999-06-11 Image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11164650A JP2000354166A (en) 1999-06-11 1999-06-11 Image reader

Publications (1)

Publication Number Publication Date
JP2000354166A true JP2000354166A (en) 2000-12-19

Family

ID=15797220

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11164650A Pending JP2000354166A (en) 1999-06-11 1999-06-11 Image reader

Country Status (1)

Country Link
JP (1) JP2000354166A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007166430A (en) * 2005-12-15 2007-06-28 Ricoh Co Ltd Unit and method for processing image, program, and storage medium storing the same
JP2014127777A (en) * 2012-12-25 2014-07-07 Kyocera Document Solutions Inc Image processing system and image reading system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007166430A (en) * 2005-12-15 2007-06-28 Ricoh Co Ltd Unit and method for processing image, program, and storage medium storing the same
JP4577845B2 (en) * 2005-12-15 2010-11-10 株式会社リコー Image processing apparatus, image processing method, program, and storage medium storing program
JP2014127777A (en) * 2012-12-25 2014-07-07 Kyocera Document Solutions Inc Image processing system and image reading system
US9019577B2 (en) 2012-12-25 2015-04-28 Kyocera Document Solutions Inc. Image processing device and image reading apparatus

Similar Documents

Publication Publication Date Title
JP3618056B2 (en) Image processing device
JP3754870B2 (en) Image reading apparatus, shading correction method, and storage medium
US5214294A (en) Scan reading method including density measuring and edge detection
US6618171B1 (en) Black point adjustment based on image background
JPH1013669A (en) Data processing method for image reader
JPH09200455A (en) Method for correcting density of read image and image reader
JPH08307688A (en) Image reader
JP4150316B2 (en) Image reading apparatus and shading correction method for the same
JPH0670097A (en) Picture reader
JP2000354166A (en) Image reader
JP3404955B2 (en) Document size detector
JP4024737B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, and program
JPH06268866A (en) Picture contrast adjustment device
JP2000261653A (en) Image processing unit
JP2003198777A (en) Image processor
JPH09200445A (en) Image reader
JP3852247B2 (en) Image forming apparatus and transfer image distortion correction method
JP3468966B2 (en) Image processing device
JP2002247352A (en) Image processor
JPH06205194A (en) Original reader
JPH09233319A (en) Image processor
JP3163703B2 (en) Document reading device
JP2002033919A (en) Reader
JP3638708B2 (en) Image playback device
JP3430776B2 (en) Image reading device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050614