JP2002044442A - Shading correction method and image processor employing the same - Google Patents

Shading correction method and image processor employing the same

Info

Publication number
JP2002044442A
JP2002044442A JP2000227788A JP2000227788A JP2002044442A JP 2002044442 A JP2002044442 A JP 2002044442A JP 2000227788 A JP2000227788 A JP 2000227788A JP 2000227788 A JP2000227788 A JP 2000227788A JP 2002044442 A JP2002044442 A JP 2002044442A
Authority
JP
Japan
Prior art keywords
image
shading correction
input
correction coefficient
correction
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
JP2000227788A
Other languages
Japanese (ja)
Inventor
Noriyuki Nishi
規之 西
Shoichi Detachi
祥一 出立
Keiji Sakaimoto
啓嗣 堺本
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.)
Noritsu Koki Co Ltd
Original Assignee
Noritsu Koki 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 Noritsu Koki Co Ltd filed Critical Noritsu Koki Co Ltd
Priority to JP2000227788A priority Critical patent/JP2002044442A/en
Publication of JP2002044442A publication Critical patent/JP2002044442A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To obtain a shading correction method, in which the unevenness of output can be corrected accurately, regardless of the input level to an image input device. SOLUTION: A first correction coefficient for substantially equalizing the output values from all pixel parts is calculated at each specified pixel parts of an image input device; a second correction coefficient corresponding to the input value at each pixel part at the time of image input is calculated by interpolating the first correction coefficient; and the output value from each pixel part of the image input device is then corrected by the second correction coefficient.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタルフォトプ
リンタに用いられるラインセンサなどの画像入力デバイ
スで読み取った、デジタル画像の出力ムラを補正するシ
ェーディング補正方法、および、これを用いてシェーデ
ィング補正処理を行う画像処理装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a shading correction method for correcting output unevenness of a digital image read by an image input device such as a line sensor used in a digital photo printer, and a shading correction process using the method. The present invention relates to an image processing apparatus for performing the processing.

【0002】[0002]

【従来の技術】従来、例えば、CCD素子(Charge Cou
pled Device )等の固体撮像素子を備える画像読取装置
によって光電的に読み取られたデジタル画像を処理する
際に、光源の照度むらや、光学入力系におけるばらつき
等に起因する出力むら(シェーディング)を補正するた
めの方法が、種々知られている。
2. Description of the Related Art Conventionally, for example, a CCD device (Charge Cou
When processing a digital image photoelectrically read by an image reading device equipped with a solid-state imaging device such as a pled device, uneven output from the light source and uneven output (shading) due to variations in the optical input system are corrected. Various methods are known.

【0003】シェーディングの発生は、入力画像の画質
を低下させる重大な問題であり、とりわけ、ラインセン
サによる走査読み取りにおいては、シェーディングは、
読み取り画像の副走査方向に、人間の眼に感じやすい一
次元の帯状むらとして生じるため、画像品質を著しく劣
化させてしまう。
[0003] The occurrence of shading is a serious problem that degrades the quality of an input image.
In the sub-scanning direction of the read image, a one-dimensional band-like unevenness that is easily perceived by human eyes is generated, so that the image quality is significantly deteriorated.

【0004】一般的に用いられている出力むらの補正方
法としては、均一な光透過レベルを持ったフィルタやフ
ィルム等に所定の光量の光を照射して得られる透過画像
(または反射画像)を基準画像としてCCDで読み取
り、各読み取り画素部毎に一定の出力レベルとなるよう
に補正するシェーディング補正方法がある。具体的に
は、画像の全領域について一定の輝度レベルが得られる
ように、各画素部の出力値から得られる平均値や最大値
等の輝度レベルにまで補正するための補正係数(乗数)
を、各読み取り画素部毎に、または所定の小領域単位毎
にあらかじめもとめておき、入力した画像の各画素部の
出力値に対し、対応する補正係数を乗ずることにより補
正する方法等である。
As a method of correcting output unevenness, a transmission image (or reflection image) obtained by irradiating a predetermined amount of light to a filter or film having a uniform light transmission level is generally used. There is a shading correction method in which a CCD is read as a reference image and a correction is made so as to have a constant output level for each read pixel portion. Specifically, a correction coefficient (multiplier) for correcting to a luminance level such as an average value or a maximum value obtained from the output value of each pixel portion so that a constant luminance level is obtained for the entire region of the image.
Is determined in advance for each read pixel unit or for each predetermined small area, and the output value of each pixel unit of the input image is corrected by multiplying the output value by the corresponding correction coefficient.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、CCD
素子等の固体撮像素子を用いた画像入力デバイスでは、
入力−出力特性、すなわち、画像入力デバイスにおける
入力値(蓄積光量)と出力値との関係が完全な直線性を
示さない場合が一般的である。
However, CCDs
In an image input device using a solid-state imaging device such as a device,
Generally, the input-output characteristics, that is, the relationship between the input value (the amount of accumulated light) and the output value in the image input device does not show perfect linearity.

【0006】図5は、画素部をCCD素子により構成し
たラインセンサの感光面に、一定強度の光を入射し、各
画素部を構成するCCD素子の位置(主走査方向に沿っ
た各画素部の位置)に対応する出力値の分布を示す。同
図では、一定強度の光を入射した状態で、CCD素子に
おける電荷の蓄積時間を変化させることにより、CCD
素子の入力値を、基準値から8倍値まで変化させてい
る。CCD素子毎の出力値のばらつき状態は、CCD素
子の入力値によっても、変化していることがわかる。
FIG. 5 shows a case where light of a constant intensity is incident on a photosensitive surface of a line sensor in which a pixel portion is constituted by a CCD element, and the position of the CCD element constituting each pixel portion (each pixel portion along the main scanning direction). The position of the output value corresponding to () is shown. In the figure, the CCD is obtained by changing the charge accumulation time in the CCD element while light of a constant intensity is incident.
The input value of the element is changed from the reference value to an eight-fold value. It can be seen that the variation state of the output value for each CCD element changes depending on the input value of the CCD element.

【0007】また、図6は、従来用いられているシェー
ディング補正方法により補正処理を行った場合の、各画
素部位置における補正出力値、すなわち各画素部の出力
値に、対応する補正係数を乗じた値を各蓄積時間毎に示
したグラフである。このシェーディング補正方法では、
蓄積時間4倍で補正係数を作成し、該補正係数を他の異
なる蓄積時間で読み取った出力値の補正についても使用
している。同図に示されるように、基準値の4倍の蓄積
時間で読み取った出力値の補正結果については、各画素
部間での補正出力値のばらつきは解消しているのに対し
て、他の蓄積時間で読み取った出力値の補正結果につい
ては、補正出力値のばらつきは十分解消されないことが
わかる。
FIG. 6 is a diagram showing a case where a correction output value at each pixel portion position, that is, an output value of each pixel portion, is multiplied by a corresponding correction coefficient when a correction process is performed by a conventionally used shading correction method. 6 is a graph showing the calculated values for each accumulation time. In this shading correction method,
A correction coefficient is created at four times the accumulation time, and the correction coefficient is also used for correcting an output value read at another different accumulation time. As shown in the figure, with respect to the correction result of the output value read at the accumulation time four times the reference value, the variation of the corrected output value among the respective pixel portions is eliminated, As for the correction result of the output value read during the accumulation time, it can be seen that the variation in the corrected output value is not sufficiently eliminated.

【0008】このように、上記従来のシェーディング補
正方法では、補正係数取得時と異なる光量で読み取られ
た画像データについては、出力むらを精度よく補正する
ことができないという問題点を有している。
As described above, the above-described conventional shading correction method has a problem that output unevenness cannot be accurately corrected for image data read with a light amount different from that at the time of obtaining the correction coefficient.

【0009】本発明は、上記の問題点を解決するために
なされたもので、その目的は、画像読み取り時の入力レ
ベルにかかわらず出力むらを精度良く補正することがで
きるシェーディング補正方法および該シェーディング補
正方法を用いる画像処理装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide a shading correction method and a shading correction method capable of accurately correcting output unevenness regardless of an input level at the time of image reading. An object of the present invention is to provide an image processing apparatus using a correction method.

【0010】[0010]

【課題を解決するための手段】請求項1のシェーディン
グ補正方法は、上記の課題を解決するために、画像入力
デバイスの所定の画素部毎に、各設定入力値に対する全
画素部からの出力値を略等しくする第一の補正係数を算
出する段階と、上記第一の補正係数の補間計算により、
画像入力時における上記各画素部の入力値に応じた第二
の補正係数を算出する段階と、上記第二の補正係数によ
り、画像入力時における上記各画素部からの出力値を補
正する段階とを含むことを特徴としている。
According to a first aspect of the present invention, there is provided a shading correction method comprising the steps of: outputting, for each predetermined pixel portion of an image input device, output values from all pixel portions for each set input value; By calculating a first correction coefficient to make approximately the same, by interpolation calculation of the first correction coefficient,
Calculating a second correction coefficient corresponding to the input value of each pixel unit at the time of image input; and correcting the output value from each pixel unit at the time of image input by the second correction coefficient. It is characterized by including.

【0011】上記の構成によれば、画像入力デバイスの
所定の画素部毎に、複数の設定入力値に対応する上記第
一の補正係数が算出され、上記第一の補正係数の補間計
算により、実際の入力画像の入力値に応じた第二の補正
係数が算出される。該第二の補正係数により、上記各画
素部からの出力値が補正される。
According to the above configuration, the first correction coefficient corresponding to a plurality of set input values is calculated for each predetermined pixel portion of the image input device, and the first correction coefficient is calculated by interpolation. A second correction coefficient corresponding to the input value of the actual input image is calculated. The output value from each pixel unit is corrected by the second correction coefficient.

【0012】これにより、画素部が非線形な入力−出力
特性を有している画像入力デバイスにおいても、画像入
力時の各画素部への入力レベルにかかわらず、各画素部
から出力される画像のシェーディング補正を精度良く行
うことができる。
Thus, even in an image input device in which the pixel portion has a non-linear input-output characteristic, regardless of the input level to each pixel portion at the time of image input, the image output from each pixel portion is Shading correction can be performed with high accuracy.

【0013】請求項2のシェーディング補正方法は、上
記の課題を解決するために、請求項1の構成において、
上記画像入力デバイスは、画素部が主走査方向に延在す
るラインセンサであることを特徴としている。
According to a second aspect of the present invention, there is provided a shading correction method according to the first aspect.
The image input device is characterized in that the pixel portion is a line sensor extending in the main scanning direction.

【0014】上記の構成によれば、画像入力デバイスと
して、非線形な入力−出力特性を有する画素部から構成
されるラインセンサを用いて、走査方式による画像入力
を行う場合においても、入力画像のシェーディング補正
を効果的に行うことが可能となる。
According to the above arrangement, even when an image input by a scanning method is performed by using a line sensor including a pixel portion having a non-linear input-output characteristic as an image input device, shading of an input image is performed. Correction can be performed effectively.

【0015】これにより、請求項1の効果に加えて、ラ
インセンサの各画素部への入力レベルにかかわらず、出
力画像のシェーディング補正を精度良く行うことがで
き、画質を大きく劣化させる副走査方向のむらの発生を
抑制することができる。
According to this, in addition to the effect of the first aspect, the shading correction of the output image can be accurately performed regardless of the input level to each pixel portion of the line sensor, and the image quality in the sub-scanning direction is greatly deteriorated. Unevenness can be suppressed.

【0016】請求項3の画像処理装置は、上記の課題を
解決するために、請求項1または2に記載のシェーディ
ング補正方法により、画像のシェーディング補正を行う
シェーディング補正手段を備えることを特徴としてい
る。
According to a third aspect of the present invention, there is provided an image processing apparatus including a shading correction unit for performing shading correction of an image by the shading correction method according to the first or second aspect. .

【0017】上記の構成によれば、非線形な入力−出力
特性を有する画素部から構成される画像入力デバイスを
用いた場合でも、該画素部への入力レベルにかかわら
ず、出力画像のシェーディング補正を精度良く行うこと
ができる。
According to the above configuration, even when an image input device including a pixel unit having a non-linear input-output characteristic is used, shading correction of an output image is performed regardless of the input level to the pixel unit. It can be performed with high accuracy.

【0018】これにより、請求項1または2の効果に加
えて、精度良くシェーディング補正のなされた再現性の
高い画像データを用いて、各種の画像処理や露光処理な
どを行うことができる。
Thus, in addition to the effects of the first and second aspects, various image processing, exposure processing, and the like can be performed using highly reproducible image data on which shading correction has been performed with high accuracy.

【0019】[0019]

【発明の実施の形態】本発明の実施の一形態について図
1ないし図4に基づいて説明すれば、以下のとおりであ
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS.

【0020】図3は、本実施形態に係るシェーディング
補正方法を用いる画像処理部17(画像処理装置)を備
えたデジタル写真プリンタの全体構成を示す概略図であ
る。このデジタル写真プリンタは、原画像の画像データ
に基づいて、感光材料に対して焼き付け、現像および乾
燥処理を施すことにより、原画像を感光材料にプリント
するものである。
FIG. 3 is a schematic diagram showing the overall configuration of a digital photographic printer including an image processing unit 17 (image processing device) using the shading correction method according to the present embodiment. This digital photographic printer prints an original image on a photosensitive material by printing, developing and drying the photosensitive material based on the image data of the original image.

【0021】同図に示すように、上記デジタル写真プリ
ンタは、撮影済みフィルム等を撮像して画像データとし
て取り込むスキャナ11と、指示入力部材としてのマウ
ス15やキーボード16等からの指示に従い、取り込ん
だ画像データに対して各種処理を行う上記の画像処理部
17と、処理中の各種情報を画面上に表示するモニタ1
3と、処理結果に基づいてプリント出力を行うプリンタ
14とを備えている。
As shown in FIG. 1, the digital photographic printer captures images in accordance with instructions from a scanner 11 which captures an image of a photographed film or the like and captures it as image data, and a mouse 15 or a keyboard 16 as an instruction input member. The image processing unit 17 that performs various processes on image data, and the monitor 1 that displays various information being processed on a screen
3 and a printer 14 for performing print output based on the processing result.

【0022】スキャナ11は、フィルム100の上面か
ら光源101により光を照射して、フィルム100の下
面でその透過光をCCD102(画像入力デバイス)に
より撮像することによりフィルム100の画像を画像デ
ータとして取り込むものである。
The scanner 11 irradiates light from the upper surface of the film 100 with a light source 101 and captures the transmitted light from the lower surface of the film 100 with a CCD 102 (image input device), thereby capturing the image of the film 100 as image data. Things.

【0023】プリンタ14は、ペーパー141を搬送ロ
ーラ142で搬送し、露光部143で焼き付け処理を行
い、現像部144で現像処理を行い、乾燥部145で乾
燥処理を行った後に、外部に写真として排出するもので
ある。
The printer 14 transports the paper 141 by the transport roller 142, performs a baking process in the exposure unit 143, performs a developing process in the developing unit 144, and performs a drying process in the drying unit 145, and then outputs the photo as an external photograph. To discharge.

【0024】画像処理部17には、スキャナ11から取
り込んだ画像データ或いはフレキシブルディスク等の記
録媒体から取り込んだデジタル画像データを記憶するメ
インメモリ1と、メインメモリ1に記憶されている画像
データを読み出してモニタ13に表示し、表示画像につ
いて、必要に応じて補正するためのパラメータを設定す
るパラメータ入力部12と、上記パラメータを用いて画
像を補正する画像処理ブロック2(シェーディング補正
手段)と、画像処理ブロック2を経た画像データをプリ
ンタ14に出力する前に一旦記憶するバッファブロック
3のバッファメモリ3aと、バッファメモリ3aに記憶
された画像データを読み出してプリンタ14へ順次出力
すると共に、その出力状況に応じて新たな補正後の画像
データをバッファメモリ3aに書き込み制御する図示し
ない専用CPUとを備えている。
The image processing section 17 reads out the main memory 1 for storing image data taken in from the scanner 11 or digital image data taken in from a recording medium such as a flexible disk, and reads out image data stored in the main memory 1. A parameter input unit 12 for displaying parameters on a monitor 13 and setting parameters for correcting the displayed image as needed, an image processing block 2 (shading correcting means) for correcting the image using the parameters, The buffer memory 3a of the buffer block 3 for temporarily storing the image data that has passed through the processing block 2 before outputting it to the printer 14, and the image data stored in the buffer memory 3a are read out and sequentially output to the printer 14, and Buffer the new corrected image data according to And a dedicated CPU (not shown) to the write control to the memory 3a.

【0025】メインメモリ1は、上記画像データ(生デ
ータ)を複数画像分記憶する容量を有するメモリからな
り、写真フィルムで約1.5〜2本分の画像(約60〜
80コマの画像)の画像データを記憶することができ
る。このように大容量とすることで、スキャナ11から
の画像取り込み中に、上記画像処理等を行うことができ
る。
The main memory 1 is a memory having a capacity to store the image data (raw data) for a plurality of images.
Image data of 80 frames). With such a large capacity, the above-described image processing and the like can be performed during image capture from the scanner 11.

【0026】図2は、スキャナ11により画像が読み取
られ、読み取られた画像データが画像処理部17に送ら
れる様子を説明するための、スキャナ11および画像処
理部17の概略図である。同図に示されるように、スキ
ャナ11は、光源101と、ディフューザ111と、読
み取られる画像が撮影されているフィルムを搬送するた
めのフィルム搬送装置112と、該フィルムの撮影画像
を主走査方向に沿ってラインセンサであるCCD102
によって読み取るためのスリット113と、ズームレン
ズ114と、絞り115と、CCD102とが光軸上に
この順に配置されている。CCD102は、画素部とし
てのCCD素子が主走査方向に延在するラインセンサで
ある。
FIG. 2 is a schematic diagram of the scanner 11 and the image processing unit 17 for explaining how an image is read by the scanner 11 and the read image data is sent to the image processing unit 17. As shown in the figure, a scanner 11 includes a light source 101, a diffuser 111, a film transport device 112 for transporting a film on which an image to be read is captured, and a captured image of the film in a main scanning direction. CCD 102 which is a line sensor along
A slit 113, a zoom lens 114, a stop 115, and a CCD 102 for reading the image are arranged in this order on the optical axis. The CCD 102 is a line sensor in which a CCD element as a pixel unit extends in the main scanning direction.

【0027】また、CCD102には、CCD102に
より読み取られた画像データを増幅するためのアンプ1
16が連結されている。アンプ116により増幅された
画像データ信号は、A/D(アナログ/デジタル)変換
器117を経て、画像処理ブロック2、メインメモリ
1、およびバッファブロック3へ適宜送られるようにな
っている。
The CCD 102 has an amplifier 1 for amplifying image data read by the CCD 102.
16 are connected. The image data signal amplified by the amplifier 116 is sent to an image processing block 2, a main memory 1, and a buffer block 3 as appropriate via an A / D (analog / digital) converter 117.

【0028】次に、図2に示す構成による画像読み取り
の動作について説明する。光源101から出射した光
は、ディフューザ111により拡散された後、フィルム
搬送装置112により搬送されたフィルムの光入射面に
入射する。スリット113は、フィルムの光出射面側に
位置し、主走査方向に沿ったスリットを有している。こ
れにより、フィルム上に撮影されている画像は、主走査
方向に沿って延在する上記スリット113によって2次
元的にスリット走査される。すなわち、フィルム上の撮
影画像は、フィルム搬送装置112およびスリット11
3により、ラインセンサであるCCD102によって、
1ライン毎に読み取られる。フィルムを順次走査する構
成はこれに限られず、フィルム搬送装置112とスリッ
ト113との間に回転ミラーなどの可動光学手段を設
け、フィルムを固定した状態で、該可動光学手段によ
り、フィルム搬送装置112からの透過光のうち、スリ
ット113に入射する領域を変化させて、フィルムの順
次走査読み取りを行ってもよい。
Next, an image reading operation according to the configuration shown in FIG. 2 will be described. The light emitted from the light source 101 is diffused by the diffuser 111, and then enters the light incident surface of the film transported by the film transport device 112. The slit 113 is located on the light emission surface side of the film, and has a slit along the main scanning direction. Thereby, the image photographed on the film is two-dimensionally slit-scanned by the slit 113 extending along the main scanning direction. That is, the photographed image on the film is transferred to the film transport device 112 and the slit 11
3, by the CCD 102 which is a line sensor,
It is read line by line. The configuration for sequentially scanning the film is not limited to this. Moving optical means such as a rotating mirror is provided between the film transport device 112 and the slit 113, and the film transport device 112 is fixed by the movable optical device while the film is fixed. May be changed by changing the area of the light transmitted through the slit 113 incident on the slit 113 to sequentially scan and read the film.

【0029】フィルムを透過した光源からの光は、スリ
ット113を経由した後、ズームレンズ114および絞
り115によりCCD102の受光面に結像される。そ
してCCD102によりRGBの各色成分に分解されて
光電的に読み取られ、アンプ116で増幅され、A/D
変換器117でデジタル信号に変えられた後、画像処理
部17へと送られる。
The light from the light source transmitted through the film passes through the slit 113, and then forms an image on the light receiving surface of the CCD 102 by the zoom lens 114 and the stop 115. Then, the image is separated into each color component of RGB by the CCD 102, read photoelectrically, amplified by the amplifier 116, and
After being converted into a digital signal by the converter 117, it is sent to the image processing unit 17.

【0030】以下において、CCD102からデジタル
信号として送られた画像データについて、画像処理部1
7において行われるシェーディング補正処理(シェーデ
ィング補正方法)の内容について説明する。
In the following, image data sent from the CCD 102 as digital signals is processed by the image processing unit 1
The content of the shading correction process (shading correction method) performed in Step 7 will be described.

【0031】本実施の形態におけるシェーディング補正
処理は、あらかじめ作成されたシェーディング補正テー
ブルを用いて、スキャナ11から出力された画像データ
の画像信号値を補正することにより行われる。
The shading correction processing in the present embodiment is performed by correcting the image signal value of the image data output from the scanner 11 using a shading correction table created in advance.

【0032】図1(a)は、本実施の形態に係るシェー
ディング補正処理の第一の段階として、CCD102の
所定の画素部毎に、各設定入力値に対する全画素部から
の出力値を略等しくする第一の補正係数を算出して、シ
ェーディング補正テーブルを完成する手順を示したフロ
ーチャートである。
FIG. 1A shows, as a first stage of the shading correction processing according to the present embodiment, that the output values from all the pixel portions for each set input value are substantially equal for each predetermined pixel portion of the CCD 102. 9 is a flowchart showing a procedure for calculating a first correction coefficient to be performed and completing a shading correction table.

【0033】同図に示すように、まず、S1で、補正係
数の作成が開始されると、S2において、CCD取り込
みの蓄積時間が設定される。光源101からの光の強度
が時間的に一定の状態で、CCD102による画像取り
込みの蓄積時間を設定することにより、CCD102へ
入射する光量、すなわち、入力値を精度よく制御するこ
とができる。
As shown in the figure, first, in S1, the creation of a correction coefficient is started, and in S2, the accumulation time for capturing a CCD is set. By setting the accumulation time of image capture by the CCD 102 while the intensity of light from the light source 101 is temporally constant, the amount of light incident on the CCD 102, that is, the input value, can be accurately controlled.

【0034】S3では、光源101からの光の強度分布
を均一とするために、均一な光透過率をもつフィルタを
ディフューザ111内の光路中に設置する。この際、フ
ィルム搬送装置112のフィルムは光路から外してお
く。フィルタ透過光を、CCD102によりS2で設定
した蓄積時間だけ繰り返し蓄積する。
In S 3, a filter having a uniform light transmittance is installed in the optical path in the diffuser 111 in order to make the intensity distribution of the light from the light source 101 uniform. At this time, the film of the film transport device 112 is removed from the optical path. The light transmitted through the filter is repeatedly accumulated by the CCD 102 for the accumulation time set in S2.

【0035】均一な光透過率をもつフィルタとしては、
例えば、所定濃度の基準板を撮影したフィルムや、全波
長の範囲の可視光において透過率が一様であり、各色成
分について同一強度の透過光を得られるND(Neutral
Density )フィルタ等を用いることができる。
As a filter having a uniform light transmittance,
For example, a film obtained by photographing a reference plate having a predetermined density, or an ND (Neutral) which has uniform transmittance in visible light in all wavelength ranges and can obtain transmitted light of the same intensity for each color component.
Density) filter or the like can be used.

【0036】S4では、CCD102の各CCD素子毎
に、シェーディング補正係数を作成する。具体的には、
S3で蓄積した各CCD素子からの出力値を、全CCD
素子について略等しくするように、第一の補正係数を各
CCD素子毎に作成する。例えば、全CCD素子からの
出力値の平均を算出し、該平均を各CCD素子からの出
力値で割ることにより、各CCD素子毎に、第一の補正
係数を算出することができる。算出した第一の補正係数
は、順次、メインメモリ1に記憶される。
In S4, a shading correction coefficient is created for each CCD element of the CCD 102. In particular,
The output values from each CCD element accumulated in S3 are transferred to all CCDs.
A first correction coefficient is created for each CCD element so that the elements are substantially equal. For example, a first correction coefficient can be calculated for each CCD element by calculating an average of output values from all CCD elements and dividing the average by an output value from each CCD element. The calculated first correction coefficients are sequentially stored in the main memory 1.

【0037】S5では、CCD102によるフィルタ透
過光の取り込みが所望の設定回数に達したか否かが判断
され、達していない場合には、S2〜S4の手順を繰り
返す。例えば、8種類の設定入力値により測光を行う場
合には、S2での蓄積時間を変更しながら、S2〜S4
の手順を8回繰り返すことになる。S6で、上記補正係
数の作成が終了する。
In S5, it is determined whether or not the number of times the CCD 102 has captured the light transmitted through the filter has reached a desired number of times. If not, the procedure of S2 to S4 is repeated. For example, when photometry is performed using eight types of set input values, the storage time in S2 is changed while S2 to S4
Is repeated eight times. In S6, the creation of the correction coefficient ends.

【0038】以上のように、S1〜S6までのステップ
を実行することにより、各設定入力値に対する全画素部
からの出力値を略等しくする第一の補正係数を算出し
て、各設定入力値におけるシェーディング補正テーブル
が完成する。
As described above, by executing the steps from S1 to S6, the first correction coefficient for making the output values from all the pixel portions substantially equal to the respective set input values is calculated, and the respective set input values are calculated. Is completed.

【0039】なお、本実施の形態では、各画素部毎に第
一の補正係数をもとめたが、これに限らず、例えば、所
定画素部から構成される一定領域毎に第一の補正係数を
求める構成としてもよい。
In the present embodiment, the first correction coefficient is obtained for each pixel portion. However, the present invention is not limited to this. For example, the first correction coefficient may be obtained for each fixed region composed of a predetermined pixel portion. The required configuration may be adopted.

【0040】図1(b)は、本実施の形態に係るシェー
ディング補正処理の第二の段階として、CCD102か
らの出力値に補正処理を行う手順を説明するためのフロ
ーチャートである。CCD102により読み取られ、メ
インメモリ1に一旦記憶されている画像データについ
て、上記シェーディング補正テーブルを用いて画素部毎
または所定画素部から構成される一定領域毎に補正処理
を行う。
FIG. 1B is a flowchart for explaining a procedure for performing a correction process on an output value from the CCD 102 as a second stage of the shading correction process according to the present embodiment. The image data read by the CCD 102 and temporarily stored in the main memory 1 is subjected to a correction process for each pixel unit or for each fixed region including a predetermined pixel unit using the shading correction table.

【0041】まず、S7に示すように、補正処理が開始
されると、スキャナ11のCCD102によりフィルム
上に撮影された画像が読み取られる(S8)。次いで、
S9において、S8での画像入力時の入力レベル(入力
値)に対応した補正係数の補間計算が行われる。
First, as shown in S7, when the correction process is started, an image photographed on a film is read by the CCD 102 of the scanner 11 (S8). Then
In S9, interpolation calculation of a correction coefficient corresponding to the input level (input value) at the time of image input in S8 is performed.

【0042】上記補間計算では、まず、上記シェーディ
ング補正テーブル作成時に保存された複数の設定入力値
にそれぞれ対応する第一の補正係数のうち、着目画素部
への入力値に最も近い大小2つの設定入力値に対応する
第一の補正係数をメインメモリ1から読み出す。これら
2種類の第一の補正係数を用いて補間計算を行うことに
より、各画素部の入力値に対応した第二の補正係数を算
出することができる。着目画素部への入力値は、前記S
3で蓄積したデータに基づいて、着目画素部の出力値か
ら逆算して求めてもよい。
In the interpolation calculation, first, of the first correction coefficients respectively corresponding to the plurality of setting input values stored at the time of creating the shading correction table, two large and small setting values closest to the input value to the pixel of interest are set. The first correction coefficient corresponding to the input value is read from the main memory 1. By performing interpolation calculation using these two types of first correction coefficients, it is possible to calculate a second correction coefficient corresponding to the input value of each pixel unit. The input value to the pixel unit of interest is
Based on the data accumulated in step 3, the output value of the pixel unit of interest may be back calculated.

【0043】実際にシェーディング補正処理を行うべき
着目画素部の入力値をAi、シェーディング補正テーブ
ル上に第一の補正係数が保存されている設定入力値をA
1,A2,…、これらに対応する第一の補正係数をB
1,B2,…とすると、画素部の入力値Ai(A1<A
i<A2)に対応する第二の補正係数Ciは、Ci=
(B2−B1)(Ai−A1)/(A2−A1)+B1
であらわされる線形補間により算出することができる。
The input value of the pixel of interest to be actually subjected to the shading correction processing is Ai, and the set input value in which the first correction coefficient is stored in the shading correction table is A
, A2,..., The first correction coefficient corresponding to
1, B2,..., The input value Ai (A1 <A
i <A2), the second correction coefficient Ci is Ci =
(B2-B1) (Ai-A1) / (A2-A1) + B1
It can be calculated by linear interpolation represented by

【0044】例えば、シェーディング補正テーブルに
は、設定入力値として、蓄積時間が基準値の1倍,2
倍,4倍,8倍である場合について、各画素部毎の第一
の補正係数が書き込まれているとする。そして、実際に
シェーディング補正処理を行うべき着目画素部の入力値
は、蓄積時間が基準値の6倍のときの値に相当するもの
とする。この場合、ある画素部pについてのシェーディ
ング補正処理に用いられる第二の補正係数Cpは、設定
入力値として蓄積時間が基準値の4倍および8倍の場合
に対応する画素部pについての第一の補正係数B3,B
4を用いて、Cp=(B3+B4)/2の関係式により
算出することができる。
For example, in the shading correction table, as a set input value, the accumulation time is set to 1 time, 2 times as large as the reference value.
It is assumed that the first correction coefficient is written for each pixel portion in the case of double, quadruple, and eight times. Then, it is assumed that the input value of the pixel of interest to be actually subjected to the shading correction processing corresponds to the value when the accumulation time is six times the reference value. In this case, the second correction coefficient Cp used for the shading correction processing for a certain pixel unit p is the first correction value for the pixel unit p corresponding to the case where the accumulation time is four times and eight times the reference value as the set input value. Correction coefficients B3 and B
4 and Cp = (B3 + B4) / 2.

【0045】S10では、上記第二の補正係数により、
各画素部からの出力値補正処理が行われる。すなわち、
各画素部からの出力値に対して、対応する第二の補正係
数を乗ずることで補正出力値が算出され、シェーディン
グ補正処理が完了する。
In S10, the second correction coefficient is used to calculate
Output value correction processing from each pixel unit is performed. That is,
A correction output value is calculated by multiplying the output value from each pixel unit by the corresponding second correction coefficient, and the shading correction processing is completed.

【0046】図4(b)は、本実施の形態にシェーディ
ング補正処理を行った後における補正出力値のばらつき
の様子を示したグラフである。同図において、横(x)
軸は画素部位置を、縦(y)軸は上記補正出力値、すな
わち、各画素部毎の出力値に、対応する上記第二の補正
係数を乗じた値を示しており、補正出力値の標準偏差
は、1.116265であった。
FIG. 4B is a graph showing a variation in the correction output value after performing the shading correction processing in the present embodiment. In the figure, the horizontal (x)
The axis indicates the pixel unit position, and the vertical (y) axis indicates the corrected output value, that is, the value obtained by multiplying the output value of each pixel unit by the corresponding second correction coefficient. The standard deviation was 1.116265.

【0047】一方、図4(a)は、従来のシェーディン
グ補正処理、すなわち、基準値の4倍の蓄積時間で取得
したシェーディング補正係数により、基準値の6倍の蓄
積時間で読み取った入力画像のシェーディング補正処理
を行った結果を示すグラフである。同図(a)におい
て、補正出力値の標準偏差は、2.131285であっ
た。
On the other hand, FIG. 4A shows a conventional shading correction process, that is, an input image read at a storage time six times the reference value by a shading correction coefficient obtained at a storage time four times the reference value. 9 is a graph showing a result of performing a shading correction process. In FIG. 14A, the standard deviation of the corrected output value was 2.131285.

【0048】図4(a)(b)および両者の標準偏差を
比較すれば明らかなように、本実施の形態に係るシェー
ディング補正処理を用いた場合、より精度の良いシェー
ディング補正を行えることがわかる。すなわち、CCD
102による画像読み取り時の入力レベルにかかわら
ず、出力むらを精度良く補正することができる。
As is clear from the comparison between the standard deviations of FIGS. 4A and 4B and the standard deviation of the two, it is understood that the shading correction according to the present embodiment can perform more accurate shading correction. . That is, CCD
Irrespective of the input level at the time of image reading by 102, output unevenness can be accurately corrected.

【0049】なお、本実施の形態では、補間計算を線型
補間によって行ったが、これには限定されず、一般的に
採用されている他の補間計算を用いてもよい。
In this embodiment, the interpolation calculation is performed by linear interpolation. However, the present invention is not limited to this, and another interpolation calculation generally used may be used.

【0050】また、本実施の形態では、あらかじめシェ
ーディング補正テーブルを作成しておく構成としたが、
シェーディング補正テーブルは、必要に応じて適宜作成
する構成としてもよい。さらに、シェーディング補正テ
ーブル作成時の基準画像を得るために、透過型のフィル
ム等ではなく、一定光量の光を反射する反射部材等を用
いてもよい。
In this embodiment, the shading correction table is created in advance.
The shading correction table may be configured to be appropriately created as needed. Further, in order to obtain a reference image at the time of creating the shading correction table, a reflecting member or the like that reflects a certain amount of light may be used instead of a transmissive film or the like.

【0051】[0051]

【発明の効果】請求項1のシェーディング補正方法は、
以上のように、画像入力デバイスの所定の画素部毎に、
各設定入力値に対する全画素部からの出力値を略等しく
する第一の補正係数を算出する段階と、上記第一の補正
係数の補間計算により、画像入力時における上記各画素
部の入力値に応じた第二の補正係数を算出する段階と、
上記第二の補正係数により、画像入力時における上記各
画素部からの出力値を補正する段階とを含む構成であ
る。
According to the first aspect of the present invention, there is provided a shading correction method.
As described above, for each predetermined pixel portion of the image input device,
Calculating a first correction coefficient for making the output values from all the pixel portions substantially equal to each set input value, and performing an interpolation calculation of the first correction coefficient to obtain an input value of each of the pixel portions at the time of image input. Calculating a corresponding second correction coefficient;
Correcting the output value from each of the pixel units at the time of image input using the second correction coefficient.

【0052】それゆえ、画像入力デバイスの所定の画素
部毎に、複数の設定入力値に対応する上記第一の補正係
数が算出され、上記第一の補正係数の補間計算により、
実際の入力画像の入力値に応じた第二の補正係数が算出
される。該第二の補正係数により、上記各画素部からの
出力値が補正される。
Therefore, the first correction coefficient corresponding to a plurality of set input values is calculated for each predetermined pixel portion of the image input device, and the first correction coefficient is calculated by interpolation of the first correction coefficient.
A second correction coefficient corresponding to the input value of the actual input image is calculated. The output value from each pixel unit is corrected by the second correction coefficient.

【0053】これにより、画素部が非線形な入力−出力
特性を有している画像入力デバイスにおいても、画像入
力時の各画素部への入力レベルにかかわらず、各画素部
から出力される画像のシェーディング補正を精度良く行
うことができるという効果を奏する。
Thus, even in an image input device in which the pixel portion has a non-linear input-output characteristic, regardless of the input level to each pixel portion at the time of image input, the image output from each pixel portion is There is an effect that shading correction can be performed with high accuracy.

【0054】請求項2のシェーディング補正方法は、以
上のように、請求項1の構成において、上記画像入力デ
バイスを、画素部が主走査方向に延在するラインセンサ
とした構成である。
According to a second aspect of the invention, as described above, in the configuration of the first aspect, the image input device is a line sensor having a pixel portion extending in the main scanning direction.

【0055】それゆえ、画像入力デバイスとして、非線
形な入力−出力特性を有する画素部から構成されるライ
ンセンサを用いて、走査方式による画像入力を行う場合
においても、入力画像のシェーディング補正を効果的に
行うことが可能となる。
Therefore, the shading correction of the input image can be effectively performed even when the image input by the scanning method is performed by using the line sensor including the pixel unit having the non-linear input-output characteristics as the image input device. Can be performed.

【0056】これにより、請求項1の効果に加えて、ラ
インセンサの各画素部への入力レベルにかかわらず、出
力画像のシェーディング補正を精度良く行うことがで
き、画質を大きく劣化させる副走査方向のむらの発生を
抑制することができるという効果を奏する。
Thus, in addition to the effect of the first aspect, the shading correction of the output image can be accurately performed regardless of the input level to each pixel unit of the line sensor, and the image quality in the sub-scanning direction is greatly deteriorated. This has the effect of suppressing the occurrence of unevenness.

【0057】請求項3の画像処理装置は、以上のよう
に、請求項1または2に記載のシェーディング補正方法
により、画像のシェーディング補正を行うシェーディン
グ補正手段を備える構成である。
According to a third aspect of the present invention, as described above, the image processing apparatus is provided with the shading correction means for performing the shading correction of the image by the shading correction method according to the first or second aspect.

【0058】それゆえ、非線形な入力−出力特性を有す
る画素部から構成される画像入力デバイスを用いた場合
でも、該画素部への入力レベルにかかわらず、出力画像
のシェーディング補正を精度良く行うことができる。
Therefore, even when an image input device including a pixel unit having nonlinear input-output characteristics is used, shading correction of an output image can be accurately performed regardless of the input level to the pixel unit. Can be.

【0059】これにより、請求項1または2の効果に加
えて、精度良くシェーディング補正のなされた再現性の
高い画像データを用いて、各種の画像処理や露光処理な
どを行うことができるという効果を奏する。
Thus, in addition to the effects of the first and second aspects, various image processing, exposure processing, and the like can be performed using highly reproducible image data that has been subjected to accurate shading correction. Play.

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

【図1】(a)は、本実施の形態に係るシェーディング
補正処理の第一の段階として、露光量別にシェーディン
グ補正係数を作成してシェーディング補正テーブルを完
成する手順を示したフローチャートである。(b)は、
本実施の形態に係るシェーディング補正処理の第二の段
階として、CCDからの出力値に補正処理を行う手順を
説明するためのフローチャートである。
FIG. 1A is a flowchart showing a procedure for creating a shading correction coefficient for each exposure amount and completing a shading correction table as a first stage of the shading correction process according to the present embodiment. (B)
9 is a flowchart illustrating a procedure for performing a correction process on an output value from a CCD as a second stage of the shading correction process according to the present embodiment.

【図2】本実施の形態に係るスキャナおよび画像処理部
の概略図である。
FIG. 2 is a schematic diagram of a scanner and an image processing unit according to the embodiment.

【図3】本実施の形態に係るシェーディング補正処理を
行う画像処理部を備えた写真処理装置の全体構成を示す
概略図である。
FIG. 3 is a schematic diagram illustrating an overall configuration of a photographic processing apparatus including an image processing unit that performs shading correction processing according to the present embodiment.

【図4】(a)は、従来のシェーディング補正処理を用
いて、入力画像の補正処理を行った結果を示すグラフで
ある。(b)は、本実施の形態に係るシェーディング補
正処理を用いて、入力画像の補正処理を行った結果を示
すグラフである。
FIG. 4A is a graph showing a result of performing an input image correction process using a conventional shading correction process. (B) is a graph showing a result of performing an input image correction process using the shading correction process according to the present embodiment.

【図5】各画素部位置に対応した画像入力デバイスの出
力値の状態が、読み取り時の入力レベルによって変化す
る様子を示したグラフである。
FIG. 5 is a graph showing how an output value state of an image input device corresponding to each pixel portion position changes according to an input level at the time of reading.

【図6】従来用いられているシェーディング補正方法に
より画像処理を行った場合の各画素部位置における補正
出力値を各入力レベル毎に示したグラフである。
FIG. 6 is a graph showing a correction output value at each pixel portion position for each input level when image processing is performed by a conventionally used shading correction method.

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

2 画像処理ブロック(シェーディング補正手段) 17 画像処理部(画像処理装置) 102 CCD(画像入力デバイス) 2 Image processing block (shading correction means) 17 Image processing unit (image processing device) 102 CCD (image input device)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 堺本 啓嗣 和歌山県和歌山市梅原579−1 ノーリツ 鋼機株式会社内 Fターム(参考) 5B047 AA05 AB04 BA01 BB02 BC05 BC07 BC11 DA04 5C077 LL04 MM03 MM27 MP08 PP06 PP46 PQ08 PQ12 PQ20 PQ23 RR19 TT09  ────────────────────────────────────────────────── ─── Continued on the front page (72) Inventor Keiji Sakai 579-1 Umehara Umehara, Wakayama-shi, Wakayama Noritsu Koki Co., Ltd. F-term (reference) 5B047 AA05 AB04 BA01 BB02 BC05 BC07 BC11 DA04 5C077 LL04 MM03 MM27 MP08 PP06 PP46 PQ08 PQ12 PQ20 PQ23 RR19 TT09

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】画像入力デバイスの所定の画素部毎に、各
設定入力値に対する全画素部からの出力値を略等しくす
る第一の補正係数を算出する段階と、 上記第一の補正係数の補間計算により、画像入力時にお
ける上記各画素部の入力値に応じた第二の補正係数を算
出する段階と、 上記第二の補正係数により、画像入力時における上記各
画素部からの出力値を補正する段階とを含むことを特徴
とするシェーディング補正方法。
A step of calculating, for each predetermined pixel unit of the image input device, a first correction coefficient for making output values from all pixel units substantially equal to each set input value; Calculating the second correction coefficient according to the input value of each pixel unit at the time of image input by interpolation calculation, and calculating the output value from each pixel unit at the time of image input by the second correction coefficient. Correcting the shading.
【請求項2】上記画像入力デバイスは、画素部が主走査
方向に延在するラインセンサであることを特徴とする請
求項1に記載のシェーディング補正方法。
2. The shading correction method according to claim 1, wherein the image input device is a line sensor whose pixel section extends in the main scanning direction.
【請求項3】請求項1または2に記載のシェーディング
補正方法により、画像のシェーディング補正を行うシェ
ーディング補正手段を備えることを特徴とする画像処理
装置。
3. An image processing apparatus comprising a shading correction unit for performing shading correction of an image by the shading correction method according to claim 1.
JP2000227788A 2000-07-27 2000-07-27 Shading correction method and image processor employing the same Pending JP2002044442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000227788A JP2002044442A (en) 2000-07-27 2000-07-27 Shading correction method and image processor employing the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000227788A JP2002044442A (en) 2000-07-27 2000-07-27 Shading correction method and image processor employing the same

Publications (1)

Publication Number Publication Date
JP2002044442A true JP2002044442A (en) 2002-02-08

Family

ID=18721189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000227788A Pending JP2002044442A (en) 2000-07-27 2000-07-27 Shading correction method and image processor employing the same

Country Status (1)

Country Link
JP (1) JP2002044442A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013121069A (en) * 2011-12-07 2013-06-17 Olympus Corp Image processing device
JP2021111876A (en) * 2020-01-10 2021-08-02 アンリツ株式会社 Image reading device and image reading method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013121069A (en) * 2011-12-07 2013-06-17 Olympus Corp Image processing device
JP2021111876A (en) * 2020-01-10 2021-08-02 アンリツ株式会社 Image reading device and image reading method
JP7046994B2 (en) 2020-01-10 2022-04-04 アンリツ株式会社 Image reader and image reading method

Similar Documents

Publication Publication Date Title
US7433089B2 (en) Image processor
US6646760B1 (en) Image processing method and apparatus
JP3436688B2 (en) Image playback device
US6256424B1 (en) Image filter circuit
US6560374B1 (en) Image processing apparatus
JP3954139B2 (en) Digital photo printer
JP3783817B2 (en) Image processing method and image processing apparatus
US6806870B1 (en) Image display control apparatus including adjustment based on brightness
JP3667929B2 (en) Image reading device
JP3549413B2 (en) Image processing method and image processing apparatus
JP2000069277A (en) Image processing unit
JP2002044442A (en) Shading correction method and image processor employing the same
US6633418B1 (en) Image reading method and image reading apparatus
JP2001086332A (en) Image processor
JPH11249241A (en) Image processing method and image processing device
JP3559451B2 (en) Image processing method and image processing apparatus
JP2002044441A (en) Shading correction method and image processor employing the same
JPH1065923A (en) Image processing method and device
JP3625370B2 (en) Image processing method and image processing apparatus
JPH06311425A (en) Image correcting device
JP3576812B2 (en) Image processing apparatus and image processing method
JP3825177B2 (en) Image processing method
JP4204673B2 (en) Image processing method and image processing apparatus
JP2002044440A (en) Shading correction method and image processor employing the same
JP3667930B2 (en) Image reading device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070706

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080729

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081125