JP2006014178A - Color image data correction method and correction system for implementing the method - Google Patents

Color image data correction method and correction system for implementing the method Download PDF

Info

Publication number
JP2006014178A
JP2006014178A JP2004191534A JP2004191534A JP2006014178A JP 2006014178 A JP2006014178 A JP 2006014178A JP 2004191534 A JP2004191534 A JP 2004191534A JP 2004191534 A JP2004191534 A JP 2004191534A JP 2006014178 A JP2006014178 A JP 2006014178A
Authority
JP
Japan
Prior art keywords
light source
value
image data
light
color image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004191534A
Other languages
Japanese (ja)
Other versions
JP4385292B2 (en
Inventor
Kenji Murakami
謙二 村上
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 JP2004191534A priority Critical patent/JP4385292B2/en
Publication of JP2006014178A publication Critical patent/JP2006014178A/en
Application granted granted Critical
Publication of JP4385292B2 publication Critical patent/JP4385292B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology for correcting an error, based on wavelength characteristics of a plurality of light sources and a plurality of photoelectric transducer sensors, existing in color image data acquired by a scanner comprised of the light sources and the photoelectric transducer sensors. <P>SOLUTION: The method of correcting color image data comprises the steps of: determining a relational expression for estimating light quantity values of respective light sources from measured light quantity values at the time of turning on all the light sources based on measured light quantity values acquired by respective photoelectric transducer sensors at the time of turning on a single light source; determining a correction expression for conversion into color image data wherein the error is suppressed, from color image data containing the error acquired by the photoelectric transducer sensors utilizing the relational expression; and correcting input color image data using the correction expression. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、少なくとも光の三原色のそれぞれに適応した複数の光源と複数の光電変換センサからなるスキャナによって取得されたカラー画像データに対して光源と光電変換センサの波長特性に基づく誤差を補正する技術に関する。   The present invention corrects an error based on wavelength characteristics of a light source and a photoelectric conversion sensor with respect to color image data acquired by a scanner including a plurality of light sources and a plurality of photoelectric conversion sensors adapted to at least three primary colors of light. About.

大量の熱を発生することで発光効率が悪いハロゲンランプに代えて、赤色、緑色、青色の複数のLED(発光ダイオード)を光源として採用したスキャナが登場している。各LEDの発光輝度や発光時間はその制御信号によって制御され、スキャニング対象に対して適切な光量が照射される。このようなLED光源タイプのフィルムスキャナとして、LED光源によってスキャニング対象を面状に照射してその透過光量をイメージエリアセンサ(光電変換センサ)で検出して画像データを取得するエリアスキャンスキャナ(例えば、特許文献1参照。)と、LED光源によってスキャニング対象を線状に照射してその主走査方向の透過光量をイメージラインセンサ(光電変換センサ)で検出しながらスキャニング対象を副走査方向に移動させることで画像データを取得するリニアスキャンスキャナ(例えば、特許文献2参照。)が存在する。   Scanners that employ a plurality of red, green, and blue LEDs (light emitting diodes) as light sources instead of halogen lamps that generate a large amount of heat and have low luminous efficiency have appeared. The light emission luminance and light emission time of each LED are controlled by the control signal, and an appropriate amount of light is irradiated to the scanning target. As such an LED light source type film scanner, an area scan scanner (for example, for obtaining image data by irradiating a scanning object with a surface by an LED light source and detecting the amount of transmitted light with an image area sensor (photoelectric conversion sensor)) And a scanning target is moved in the sub-scanning direction while detecting the amount of transmitted light in the main scanning direction with an image line sensor (photoelectric conversion sensor). There is a linear scan scanner (for example, see Patent Document 2) that acquires image data.

このような赤色成分(以下Rと略称する)と緑色成分(以下Gと略称する)と青色成分(以下Bと略称する)のそれぞれに対応するR・G・B光源とR・G・B光電変換センサからなるスキャナによって取得されたカラー画像データには、光源と光電変換センサの波長特性に基づく誤差が含まれることになる。理想的なスキャナを想定するならば、R光源から光ビームを照射されたR・G・B光電変換センサにおいてR光電変換センサのみ応答してR画像データの画素値として受光量に対応する値を作り出し、他のG光電変換センサとB光電変換センサは応答せずにG画像データとB画像データの画素値は0となるはずである(照明光ビームが照射されていない状態での画像データの値を0としている)。しかしながら、実際のスキャナでは、各光源の波長特性は該当する色成分を中心としてある程度広がった波長領域を有しているとともに、各光電変換センサの応答波長特性も該当する色成分を中心としてある程度広がった波長領域を有していることから、R光源から光ビームを照射された場合G光電変換センサとB光電変換センサもある程度応答し、その結果G画像データとB画像データの画素値にもある程度の数値が生じることになる。   R, G, B light sources and R, G, B photoelectrics corresponding to the red component (hereinafter abbreviated as R), green component (hereinafter abbreviated as G), and blue component (hereinafter abbreviated as B), respectively. The color image data acquired by the scanner including the conversion sensor includes an error based on the wavelength characteristics of the light source and the photoelectric conversion sensor. Assuming an ideal scanner, in the R, G, B photoelectric conversion sensor irradiated with the light beam from the R light source, only the R photoelectric conversion sensor responds and a value corresponding to the received light amount is obtained as the pixel value of the R image data. The other G photoelectric conversion sensors and B photoelectric conversion sensors do not respond, and the pixel values of the G image data and the B image data should be 0 (the image data in the state where the illumination light beam is not irradiated). The value is 0). However, in an actual scanner, the wavelength characteristics of each light source have a wavelength region that spreads to some extent around the corresponding color component, and the response wavelength characteristics of each photoelectric conversion sensor also spread to some extent around the corresponding color component. Therefore, the G photoelectric conversion sensor and the B photoelectric conversion sensor also respond to some extent when irradiated with a light beam from the R light source, and as a result, the pixel values of the G image data and the B image data also differ to some extent. Will result.

このような現象は、G光源又はB光源から光ビームを照射した際にも類似して生じる。しかも、実際のスキャニング時にはR・G・B光源を全て点灯させた状態(これを全光源点灯状態と呼び全灯状態と略称する)で行われるのでそのような誤差は倍加される。従って、実際上、上述したようなスキャナによって取得されたカラー画像データに、R・G・Bの混じり込みによる誤差が入り込むことは避けられない。さらに、上述したようなR・G・B光源とR・G・B光電変換センサに内在する波長特性はスキャナ毎に異なっているため、スキャナ毎に異なる誤差がそのカラー画像データに含まれることになる。なお、このような問題点は、R・G・B以外の色成分を用いたり、R・G・Bにさらなる色成分を加えたりした構成を採用したスキャナにも同様に生じる。   Such a phenomenon occurs similarly when a light beam is irradiated from a G light source or a B light source. In addition, during the actual scanning, since all the R, G, and B light sources are turned on (this is called the all light source lighting state and abbreviated as the all lamp state), such an error is doubled. Therefore, in practice, it is inevitable that an error due to mixing of R, G, and B enters color image data acquired by the scanner as described above. Further, since the wavelength characteristics inherent in the R, G, B light sources and the R, G, B photoelectric conversion sensors as described above are different for each scanner, an error that differs for each scanner is included in the color image data. Become. Such a problem also occurs in a scanner that employs a configuration in which color components other than R, G, and B are used or a further color component is added to R, G, and B.

特開平8−22081号公報(段落番号0020−0024、0036、図7)JP-A-8-22081 (paragraph numbers 0020-0024, 0036, FIG. 7) 特開平11−341223号公報(段落番号0010−0017、図3)Japanese Patent Laid-Open No. 11-341223 (paragraph number 0010-0017, FIG. 3)

上記実状に鑑み、本発明の課題は、少なくとも光の三原色のそれぞれに適応した複数の光源と複数の光電変換センサからなるスキャナによって取得されたカラー画像データに内在する、上述した光源と光電変換センサの波長特性に基づく誤差を補正する技術を提供することである。   In view of the above situation, an object of the present invention is to provide the above-described light source and photoelectric conversion sensor inherent in color image data acquired by a scanner including a plurality of light sources and a plurality of photoelectric conversion sensors adapted to each of the three primary colors of light. It is to provide a technique for correcting an error based on the wavelength characteristic of the.

少なくとも光の三原色のそれぞれに適応した複数の光源と複数の光電変換センサからなるスキャナによって取得されたカラー画像データに対して光源と光電変換センサの波長特性に基づく誤差を補正する本発明による方法は、各光源の単独点灯時に前記各光電変換センサによって取得された測定光量値に基づいて全光源点灯時の測定光量値から各光源の光量値を推定する関係式を求めるステップと、前記関係式を利用して前記光電変換センサによって取得された前記誤差を含むカラー画像データから前記誤差を抑制したカラー画像データに変換する補正式を求めるステップと、前記補正式を用いて入力カラー画像データを補正するステップとからなる。   The method according to the present invention for correcting an error based on wavelength characteristics of a light source and a photoelectric conversion sensor with respect to color image data acquired by a scanner including a plurality of light sources adapted to at least three primary colors of light and a plurality of photoelectric conversion sensors. Obtaining a relational expression for estimating the light quantity value of each light source from the measured light quantity value when all the light sources are turned on based on the measured light quantity value acquired by each photoelectric conversion sensor when each light source is lit alone; and A step of obtaining a correction formula for converting the color image data including the error acquired by the photoelectric conversion sensor into color image data suppressing the error, and correcting the input color image data using the correction formula It consists of steps.

この方法では、まず、使用するスキャナに対して、各光源を順次単独点灯しながら各光源毎に各光電変換センサによって取得されたそれぞれの測定光量値に基づいて、全ての光源を同時に点灯させた状態で各光電変換センサに取得された測定光量値から、各光源のための他の光源からは独立した光量値を推定する関係式を求める。上記関係式において、測定光量値とは光電変換センサに取得されたR・G・B画像データの画素値(輝度値)と考えられ、各光源の光量値とは光電変換センサに入射する光ビームの光量と考えられるので、この関係式を利用して前記光電変換センサによって取得された前記誤差を含むカラー画像データから前記誤差を抑制したカラー画像データに変換する補正式を求めることができる。このような補正式が作成されると、後はこの補正式を利用して入力カラー画像データを補正することで、対象となっているスキャンにおける光源と光電変換センサの波長特性に基づく誤差を簡単に抑制することができる。このような補正処理はスキャニング画像データを画像処理する際の前処理として行うと好都合である。   In this method, first, all the light sources were turned on simultaneously based on the measured light quantity values obtained by the photoelectric conversion sensors for each light source while sequentially turning on each light source individually for the scanner to be used. From the measured light quantity value acquired by each photoelectric conversion sensor in the state, a relational expression for estimating the light quantity value independent of other light sources for each light source is obtained. In the above relational expression, the measured light quantity value is considered to be the pixel value (luminance value) of the R, G, B image data acquired by the photoelectric conversion sensor, and the light quantity value of each light source is the light beam incident on the photoelectric conversion sensor. Therefore, a correction formula for converting the color image data including the error acquired by the photoelectric conversion sensor into color image data with the error suppressed can be obtained using this relational expression. Once such a correction formula is created, the input color image data is corrected using this correction formula, and errors based on the wavelength characteristics of the light source and photoelectric conversion sensor in the target scan can be simplified. Can be suppressed. Such a correction process is conveniently performed as a pre-process when scanning image data is image-processed.

全ての光源を同時に点灯させた状態で各光電変換センサに取得された測定光量値から、各光源のための他の光源からは独立した光量値を推定する関係式の具体例の1つとして、各光源からの照射光が同一色成分の光電変換センサによって取得される同色測定光量値と異なる色成分の光電変換センサによって取得される異色測定光量値とから求められる、光源光量から測定光量値への変換行列の逆行列を用いて定義されるものが提案される。例えば、R・G・B毎の光源とR・G・B毎の光電変換センサを備えたスキャナの場合、R光源単独点灯時の各R・G・B光電変換センサによって取得された輝度値(画像データの画素値)をR光電変換センサによる輝度値で正規化する工程を、GとBに対しても行い、その結果得られるR・G・B光源の光量をR・G・B光電変換センサによって取得される光量値(光電変換によって得られた測定光量値)に変換する変換行列(3×3)の逆行列を、R・G・B光電変換センサによって取得される光量値から実際のR・G・B光源の光量を求めるための変換行列とすることができる。従ってこの最終的に得られた変換行列を用いた変換式がスキャニング画像データのための補正式となる。なお、このような補正式は、コンピュータ上で扱われる場合、通常予めテーブル化されて用いられることから、本願明細書での補正式なる用語は、数学的な数式及びその関係式の値をテーブル化したもの等を含む広義な用語として用いられている。   As one of the specific examples of the relational expression for estimating the light quantity value independent of other light sources for each light source from the measured light quantity value acquired by each photoelectric conversion sensor with all the light sources turned on simultaneously, From the light source light amount to the measured light amount value obtained from the same color measured light amount value acquired by the photoelectric conversion sensor of the same color component and the different color measured light amount value acquired by the different color component photoelectric conversion sensor. What is defined using the inverse of the transformation matrix is proposed. For example, in the case of a scanner having a light source for each of R, G, and B and a photoelectric conversion sensor for each of R, G, and B, the brightness value (obtained by each R, G, and B photoelectric conversion sensor when the R light source is lit alone ( The process of normalizing the pixel value of the image data) with the luminance value by the R photoelectric conversion sensor is also performed for G and B, and the resulting light quantity of the R, G, B light source is R, G, B photoelectric conversion The inverse matrix of the conversion matrix (3 × 3) for converting the light quantity value acquired by the sensor (measured light quantity value obtained by photoelectric conversion) from the light quantity value acquired by the R, G, B photoelectric conversion sensor It can be set as a conversion matrix for obtaining the light amounts of the R, G, and B light sources. Therefore, the conversion equation using the finally obtained conversion matrix is a correction equation for the scanning image data. In addition, when such a correction formula is handled on a computer, it is usually used as a table in advance. Therefore, the term “correction formula” in the present specification is a table of mathematical formulas and values of related formulas. It is used as a broad term including those that have been made into a variety.

使用されるスキャナのための前記補正式の中核となる変換行列の行列要素を求める非常に簡単な方法が本発明で提案されている。すなわち、その変換行列が、(βrr,βrg,βrb)を第1行目の行列要素とし、(βgr,βgg,βgb)を第2行目の行列要素とし、(βbr,βbg,βbb)を第3行目の行列要素とする3行3列行列であるとして、各行列要素が以下のように求められる;
βrr=R光源単独点灯時のR値/R光源単独点灯時のR値、
βgr=R光源単独点灯時のG値/R光源単独点灯時のR値、
βbr=R光源単独点灯時のB値/R光源単独点灯時のR値、
βrg=G光源単独点灯時のR値/G光源単独点灯時のG値、
βgg=G光源単独点灯時のG値/G光源単独点灯時のG値、
βbg=G光源単独点灯時のB値/G光源単独点灯時のG値、
βrb=B光源単独点灯時のR値/B光源単独点灯時のB値、
βgb=B光源単独点灯時のG値/B光源単独点灯時のB値、
βbb=B光源単独点灯時のB値/B光源単独点灯時のB値。
A very simple method for determining the matrix elements of the transformation matrix that is the core of the correction formula for the scanner used is proposed in the present invention. That is, the transformation matrix has (βrr, βrg, βrb) as the first row matrix element, (βgr, βgg, βgb) as the second row matrix element, and (βbr, βbg, βbb) as the first row. Assuming that the matrix element is the third row and the third column, the matrix elements are obtained as follows:
βrr = R value when the R light source is lit alone / R value when the R light source is lit alone,
βgr = G value when the R light source is lit alone / R value when the R light source is lit alone,
βbr = B value when R light source is lit alone / R value when R light source is lit alone,
βrg = R value when G light source is lit alone / G value when G light source is lit alone,
βgg = G value when G light source is lit alone / G value when G light source is lit alone,
βbg = B value when G light source is lit alone / G value when G light source is lit alone,
βrb = R value when the B light source is lit alone / B value when the B light source is lit alone,
βgb = G value when the B light source is lit alone / B value when the B light source is lit alone,
βbb = B value when the B light source is lit alone / B value when the B light source is lit alone.

なお、光電変換センサによって取得されるカラー画像データを構成する画素値である輝度データにはどうしてもノイズが含まれるが、そのようなノイズの影響をできるだけ低減するため、本発明の好適な実施形態の1つでは、測定光量値として、光源からの光を光電変換センサが複数ライン分ラインスキャニングして得られた輝度データに対して平均化フィルタをかけた後平均演算した得られた値が用いられる。   In addition, although noise is inevitably included in the luminance data that is the pixel value constituting the color image data acquired by the photoelectric conversion sensor, in order to reduce the influence of such noise as much as possible, the preferred embodiment of the present invention. In one, a value obtained by averaging the luminance data obtained by scanning the light from the light source for a plurality of lines by applying an averaging filter is used as the measured light quantity value. .

本発明では、さらに、上述したスキャニング画像データの補正方法を実施する補正システムも権利の対象としており、そのような補正システムは、各光源の単独点灯時に各光電変換センサによって取得された測定光量値に基づいて全光源点灯時の測定光量値から各光源の光量値を推定する関係式を利用して求められるところの、前記光電変換センサによって取得された前記誤差を含むカラー画像データを前記誤差が抑制されたカラー画像データに変換する補正式を格納する補正式格納部と、前記補正式格納部から引き出された補正式を用いて入力カラー画像データを補正する補正実行部とを備えている。当然ながら、このような補正システムも上述した補正方法で述べたすべての実施態様を備えるとともに、上述した全ての作用効果を得ることができる。
本発明によるその他の特徴及び利点は、以下図面を用いた実施形態の説明により明らかになるだろう。
In the present invention, a correction system that implements the above-described scanning image data correction method is also subject to rights, and such a correction system is a measured light quantity value acquired by each photoelectric conversion sensor when each light source is lit alone. The color image data including the error acquired by the photoelectric conversion sensor is obtained using a relational expression for estimating the light amount value of each light source from the measured light amount value when all the light sources are turned on. A correction formula storage unit that stores a correction formula for conversion to suppressed color image data, and a correction execution unit that corrects input color image data using the correction formula drawn from the correction formula storage unit. Naturally, such a correction system also includes all the embodiments described in the above-described correction method, and can obtain all the above-described effects.
Other features and advantages of the present invention will become apparent from the following description of embodiments using the drawings.

図1に、本発明による、少なくとも光の三原色のそれぞれに適応した複数の光源と複数の光電変換センサからなるスキャナによって取得されたカラー画像データに内在する、光源と光電変換センサの波長特性に基づく誤差を補正する技術を採用した写真プリントシステムの一例が模式的に示されている。このシステムは、R・G・B光源とR・G・B光電変換センサとを備えたフィルムスキャナ1として構成されているスキャナと、このフィルムスキャナ1によって取得されたカラー画像データ(以後単に画像データと称する)を処理するコントローラ60と、このコントローラ60によって処理された画像データに基づいて写真プリントを出力する写真プリント装置70から構成されている。   FIG. 1 is based on wavelength characteristics of a light source and a photoelectric conversion sensor inherent in color image data acquired by a scanner composed of a plurality of light sources and a plurality of photoelectric conversion sensors adapted to at least three primary colors of light according to the present invention. An example of a photographic print system that employs a technique for correcting an error is schematically shown. This system includes a scanner configured as a film scanner 1 having an R / G / B light source and an R / G / B photoelectric conversion sensor, and color image data (hereinafter simply referred to as image data) acquired by the film scanner 1. And a photo print device 70 that outputs a photo print based on the image data processed by the controller 60.

フィルムスキャナ1は、主な構成要素として、照明光学系20、撮像光学系30、ラインCCDセンサを用いた光電変換部40、写真フィルム(以後単にフィルムと称する)2に対する光の照射範囲を決定するとともにフィルム2を光電変換部40によるスキャニングのために副走査方向に搬送するフィルムキャリヤユニット50を備えている。このフィルムキャリヤユニット50は、135フィルムやIX240フィルム(APSフィルム)やブローニフィルムなどのフィルムの種類毎に用意されており、この実施形態では135フィルム用のフィルムキャリヤユニット50が装着されているとする。   The film scanner 1 determines, as main components, an illumination optical system 20, an imaging optical system 30, a photoelectric conversion unit 40 using a line CCD sensor, and a light irradiation range for a photographic film (hereinafter simply referred to as a film) 2. In addition, a film carrier unit 50 that transports the film 2 in the sub-scanning direction for scanning by the photoelectric conversion unit 40 is provided. The film carrier unit 50 is prepared for each type of film such as 135 film, IX240 film (APS film), or Broni film. In this embodiment, the film carrier unit 50 for 135 film is mounted. .

照明光学系20は、光源部21と光源部21からの光ビームを調整する平行化レンズ22、ミラー23、NDフィルタ24、ディフューザ25などから構成されている。光源部21は、主に赤色成分(以下単にRと略称する)の光ビームを放射するLED素子列からなるR光源21aと、主に緑色成分(以下単にGと略称する)の光ビームを放射するLED素子列からなるG光源21bと、主に青色成分(以下単にBと略称する)の光ビームを放射するLED素子列からなるB光源21cを備えている。フィルム2からの透過光ビームを処理する撮像光学系30は、ズームレンズユニット31から構成されているが、必要に応じて投射光の方向を変える方向変換光学系が追加される。   The illumination optical system 20 includes a light source unit 21, a parallelizing lens 22 that adjusts a light beam from the light source unit 21, a mirror 23, an ND filter 24, a diffuser 25, and the like. The light source unit 21 mainly emits an R light source 21a including an LED element array that emits a light beam of a red component (hereinafter simply referred to as R), and a light beam of a green component (hereinafter simply referred to as G). A G light source 21b composed of an LED element array and a B light source 21c composed of an LED element array that mainly emits a light beam of a blue component (hereinafter simply referred to as B). The imaging optical system 30 that processes the transmitted light beam from the film 2 includes a zoom lens unit 31, but a direction conversion optical system that changes the direction of the projection light is added if necessary.

撮像光学系30によって導かれた光ビームを光電変換する光電変換部40は、R・G・Bの各色を検出するために割り当てられた、R光電変換センサ41a、G光電変換センサ41b、B光電変換センサ41cを備えており(色成分別に特に区別する必要がない場合には単に光電変換センサ41と呼ぶ)、この実施形態では各光電変換センサ41は多数(例えば5000個)のCCD素子が主走査方向、つまりフィルム2の幅方向に配列されるラインアレイ型のCCDセンサであり、センサ駆動回路42により主走査時に電荷蓄積動作や電荷蓄積時間の制御が行われる。このため、以後光電変換センサはCCDセンサと言い換えることにする。   The photoelectric conversion unit 40 that photoelectrically converts the light beam guided by the imaging optical system 30 is assigned to detect the R, G, and B colors. The R photoelectric conversion sensor 41 a, the G photoelectric conversion sensor 41 b, and the B photoelectric conversion are assigned. A conversion sensor 41c is provided (referred to simply as photoelectric conversion sensor 41 when it is not necessary to distinguish between color components). In this embodiment, each photoelectric conversion sensor 41 is mainly composed of a large number (for example, 5000) of CCD elements. This is a line array type CCD sensor arranged in the scanning direction, that is, the width direction of the film 2, and the charge accumulation operation and the charge accumulation time are controlled by the sensor driving circuit 42 during the main scanning. For this reason, the photoelectric conversion sensor is hereinafter referred to as a CCD sensor.

R・CCDセンサ41aの撮像面にはフィルム2を透過した光の主に赤色成分のみを通過させるカラーフィルタが、G・CCDセンサ41bの撮像面にはフィルム2を透過した光の主に緑色成分のみを通過させるカラーフィルタが、B・CCDセンサ41cの撮像面にはフィルム2を透過した光の主に青色成分のみを通過させるカラーフィルタが設けられており、それぞれ、透過光のうちの青色成分、赤色成分、緑色成分のみを光電変換する。それぞれのCCDセンサ41から出力される各画素信号はサンプルホールドされ各画素信号が連続した画像信号となり、この各画素信号は所定のビット数(例えば12ビット)のデジタル信号に変換される。このようにデジタル信号化された画像信号はカラー画像データ(R・G・B輝度データ)としてコントローラ60に送り込まれる。   A color filter that allows only the red component of the light transmitted through the film 2 to pass through the imaging surface of the R • CCD sensor 41a, and a green component of the light transmitted through the film 2 as the imaging surface of the G • CCD sensor 41b. A color filter that passes only the blue component of the light transmitted through the film 2 is provided on the imaging surface of the B / CCD sensor 41c. Only the red component and the green component are photoelectrically converted. Each pixel signal output from each CCD sensor 41 is sampled and held, and each pixel signal becomes a continuous image signal, and each pixel signal is converted into a digital signal having a predetermined number of bits (for example, 12 bits). The digital image signal is sent to the controller 60 as color image data (R / G / B luminance data).

このコントローラ60には写真プリント装置70が接続されており、コントローラ60内で処理されたカラー画像データに基づいて生成されたプリントデータを用いて、写真プリント装置70に内蔵されているレーザ露光プリントエンジンやインクジェットプリントエンジンが駆動されることでフィルム2の撮影画像コマに対応する写真プリントが出力される。   A photographic print device 70 is connected to the controller 60, and a laser exposure print engine built in the photographic print device 70 using print data generated based on the color image data processed in the controller 60. When the inkjet print engine is driven, a photographic print corresponding to the shot image frame of the film 2 is output.

次に、フィルムスキャナ1の具体的な構造を図2〜4を用いて説明する。
図2に示すように、照明光学系20を下部に内蔵するとともに撮像光学系30と光電変換部40を上部に内蔵する筐体10によりフィルムスキャナ1の外観が構築されており、筐体10の中央部に形成されている凹部の下面にフィルムキャリヤユニット50が装着されるベース面10aが形成されている。
Next, a specific structure of the film scanner 1 will be described with reference to FIGS.
As shown in FIG. 2, the exterior of the film scanner 1 is constructed by a housing 10 that incorporates the illumination optical system 20 in the lower portion and incorporates the imaging optical system 30 and the photoelectric conversion unit 40 in the upper portion. A base surface 10a on which the film carrier unit 50 is mounted is formed on the lower surface of the recess formed in the central portion.

フィルムキャリアユニット50は、フィルム搬送方向を横断する方向(主走査方向)に延びているスリット状のスキャンゲート52が形成されたケース51を備えるとともに、そのケース51内に、写真フィルム2をフィルム搬送方向(副走査方向)に往復搬送するための複数の圧着型の搬送ローラ53と、ベース面10aに対向している集光レンズ54とを備えている。 The film carrier unit 50 includes a case 51 in which a slit-like scan gate 52 extending in a direction (main scanning direction) crossing the film conveyance direction is formed, and the photographic film 2 is conveyed in the case 51. A plurality of pressure-bonding type conveyance rollers 53 for reciprocating conveyance in the direction (sub-scanning direction) and a condenser lens 54 facing the base surface 10a are provided.

照明光学系20は、樹脂成形品で成る上壁部11と、アルミニウム合金で成る側壁部12と、同じくアルミニウム合金で成る底壁部13とでケース状に形成されている。前記上壁部11の内部には、基板にチップ状の多数の赤色の発光ダイオードを主走査方向に直線状に配列して構成されたR光源21aと、基板にチップ状の多数の緑色の発光ダイオードを主走査方向に直線状に配列して構成されたG光源21bと、基板にチップ状の多数の青色の発光ダイオードを主走査方向に直線状に配列して構成されたB光源21cとが取り付けられている。各光源21に対応する位置に各光源21からの光線を平行光線化するように各光源21に焦点位置を設定した平行化レンズ22を取り付けられ、これらの平行化レンズ22を介して送り出された光ビームを合流させるダイクロイック型のミラー23として第1ミラー23aと第2ミラーbが用意されている。   The illumination optical system 20 is formed in a case shape by an upper wall portion 11 made of a resin molded product, a side wall portion 12 made of an aluminum alloy, and a bottom wall portion 13 also made of an aluminum alloy. Inside the upper wall portion 11, an R light source 21a configured by arranging a large number of chip-shaped red light emitting diodes on the substrate in a straight line in the main scanning direction, and a large number of chip-shaped green light emission on the substrate. A G light source 21b configured by linearly arranging diodes in the main scanning direction, and a B light source 21c configured by arranging a large number of chip-like blue light emitting diodes linearly in the main scanning direction on the substrate. It is attached. A collimating lens 22 having a focal position set to each light source 21 is attached to each light source 21 at a position corresponding to each light source 21 and sent through these collimating lenses 22. A first mirror 23a and a second mirror b are prepared as dichroic mirrors 23 for merging light beams.

G光源21bからの光ビームを上方に送る縦向き姿勢の第1光軸L1上に平行化レンズ22と第1ミラー23aとが配置され、B光源21cからの光ビームを上方に送る縦向き姿勢の第2光軸L2上に平行化レンズ22と第2ミラー23bとが配置され、R光源21aからの光ビームを水平方向に送る横向き姿勢の第3光軸L3上に平行化レンズ22と前記第1・第2ミラー23a、23bとが位置するようになっている。また、第1光軸L1の延長上で上壁11部の壁面の近傍位置には光線を拡散させて光量の分布を平均化させるディフューザ25が配置されている。つまり、第1、第2、第3光軸L1、L2、L3は、各色の光源21の形成方向(主走査方向)での中央位置で、かつ、基板に垂直となる仮想直線として設定されたものであり、第1光軸L1の延長上方にフィルムキャリヤユニット50の集光レンズ54とスキャンゲート52が位置し、第2光軸L2は第1ミラー23aにおいて第3光軸L3と合流する位置となっている。   A vertical orientation in which the collimating lens 22 and the first mirror 23a are arranged on the first optical axis L1 in the vertical orientation for sending the light beam from the G light source 21b upward, and the light beam from the B light source 21c is sent up. The collimating lens 22 and the second mirror 23b are disposed on the second optical axis L2, and the collimating lens 22 is disposed on the third optical axis L3 in the lateral orientation for sending the light beam from the R light source 21a in the horizontal direction. The first and second mirrors 23a and 23b are positioned. In addition, a diffuser 25 is disposed in the vicinity of the wall surface of the upper wall 11 portion on the extension of the first optical axis L1 to diffuse the light rays and average the light amount distribution. That is, the first, second, and third optical axes L1, L2, and L3 are set as virtual straight lines that are central positions in the formation direction (main scanning direction) of the light sources 21 of the respective colors and that are perpendicular to the substrate. The condensing lens 54 and the scan gate 52 of the film carrier unit 50 are located above the extension of the first optical axis L1, and the second optical axis L2 is a position where the second optical axis L2 joins the third optical axis L3 in the first mirror 23a. It has become.

図3に示すように、第1光軸L1に沿って上方に送り出される光線の光量を低減する減光フィルタとしてのNDフィルタ24がフィルムキャリヤユニット50の集光レンズ54と向き合うように第1光軸L1上に選択的に位置決め可能に設けられている。このため、NDフィルタ24を支持する作動プレート14と、この作動プレート14に往復作動力を揺動アーム15を介して伝える駆動部としての電気モータ16が配置されている。このNDフィルタ24を図3に示す如く照明光学系20の光路中(第1光軸L1中)の減光位置にセットすることにより、照明光学系20から送り出される光線の光量を大きく減じ、このNDフィルタ24を光路外の待避位置に待避させることにより、照明光学系20からの光ビーム全てを送り出せる。   As shown in FIG. 3, the first light is set so that the ND filter 24 as a neutral density filter for reducing the amount of light transmitted upward along the first optical axis L1 faces the condenser lens 54 of the film carrier unit 50. It is provided so as to be selectively positionable on the axis L1. For this purpose, an operation plate 14 that supports the ND filter 24 and an electric motor 16 as a drive unit that transmits a reciprocating operation force to the operation plate 14 via the swing arm 15 are arranged. By setting the ND filter 24 at a light-reducing position in the optical path of the illumination optical system 20 (in the first optical axis L1) as shown in FIG. 3, the amount of light emitted from the illumination optical system 20 is greatly reduced. By retracting the ND filter 24 to a retracted position outside the optical path, all the light beams from the illumination optical system 20 can be sent out.

なお、図3では、フィルム2がスキャンゲート52の近傍位置に存在する状態を示しており、この状態ではNDフィルタ24が待避位置に設定されるべきものであるが、NDフィルタ24よって光量を制限する状態を理解しやすくするため、同図では、NDフィルタ24を制限位置にセットした状態を示している。   FIG. 3 shows a state in which the film 2 exists in the vicinity of the scan gate 52. In this state, the ND filter 24 should be set at the retracted position, but the ND filter 24 limits the light amount. In order to facilitate understanding of the state to be performed, the figure shows a state in which the ND filter 24 is set at the restriction position.

前記第1ミラー23aはG光源21bに用いられている緑色の発光ダイオードからの波長(520〜560nm)の光線を透過し、これ以外の光線を反射する性能のものであり、前記第2ミラー23bはR光源21aに用いられている赤色の発光ダイオードからの波長(620〜750nm)の光線を透過し、B光源21cに用いられている青色の発光ダイオードからの波長(400〜480nm)の光線を反射する特性のものを使用している。   The first mirror 23a transmits light of a wavelength (520 to 560 nm) from a green light emitting diode used for the G light source 21b and reflects other light, and the second mirror 23b. Transmits a light beam having a wavelength (620 to 750 nm) from the red light emitting diode used in the R light source 21a and a light beam having a wavelength (400 to 480 nm) from the blue light emitting diode used in the B light source 21c. Uses reflective characteristics.

このような照明光学系20のレイアウトから、G光源21bから第1光軸L1に沿って送り出される光線は、平行化レンズ22で平行光線化した後に、第1ミラー23aを透過して第1光軸L1に沿って上方に送られ、B光源21cから第2光軸L1に沿って送り出される光線は、平行化レンズ22で平行光線化した後に、第2ミラー23bで反射して第3光軸L3と合流し、R光源21aから第3光軸L3に沿って送り出される光線は、平行化レンズ22で平行光線化した後に第2ミラー23bを透過するものとなり、このように第3光軸L3に沿って送られる青色成分の光ビームと、赤色成分の光ビームとは第1ミラー21aで反射され、第1光軸L1に沿って上方に送られる結果、この第1光軸L1ではR・G・Bの各光ビームが合流した白色の光ビームが送られ、ディフューザ25で拡散され、スキャンゲート52に導かれる。   From such a layout of the illumination optical system 20, the light beam sent from the G light source 21b along the first optical axis L1 is collimated by the collimating lens 22 and then transmitted through the first mirror 23a to transmit the first light. The light beam sent upward along the axis L1 and sent out from the B light source 21c along the second optical axis L1 is collimated by the collimating lens 22 and then reflected by the second mirror 23b to be reflected by the third optical axis. The light beam that merges with L3 and is sent from the R light source 21a along the third optical axis L3 is converted into a parallel light beam by the collimating lens 22, and then passes through the second mirror 23b. Thus, the third optical axis L3 The blue component light beam and the red component light beam transmitted along the first optical axis L1 are reflected by the first mirror 21a and sent upward along the first optical axis L1. As a result, in the first optical axis L1, R · G and B light beams merge White light beam is transmitted with being spread in the diffuser 25, is guided to the scan gate 52.

このフィルムスキャナ1でスキャニングを行う際には、取り込む画像の画素数に基づいてズームレンズ31による拡大率(主走査方向での画素数)を設定し、取り込む画像の画素数に基づいて搬送速度(副走査方向での画素数)を設定した後に、フィルムキャリアユニット50にフィルム2をセットし、フィルム2に対して照明光学系20からの光ビームを照射する状態で、搬送ローラ53の駆動でフィルム2を設定された速度で搬送し、この搬送速度と同期したタイミングで光電変換部40の各CCDセンサ41において主走査方向に沿うライン状に画像を取り込み、画像データ(輝度データ)として取得され、コントローラ60に送り込まれる。送り込まれた画像データ、つまりR画像データとG画像データとB画像データに対しては、前処理を経て種々の画像処理が施される。   When scanning with the film scanner 1, an enlargement ratio (number of pixels in the main scanning direction) by the zoom lens 31 is set based on the number of pixels of the image to be captured, and the conveyance speed (number of pixels of the image to be captured is determined). After setting the number of pixels in the sub-scanning direction), the film 2 is set on the film carrier unit 50, and the film 2 is driven by the transport roller 53 while the film 2 is irradiated with the light beam from the illumination optical system 20. 2 is transported at a set speed, and each CCD sensor 41 of the photoelectric conversion unit 40 captures an image in a line shape along the main scanning direction at a timing synchronized with the transport speed, and is acquired as image data (luminance data). It is sent to the controller 60. The sent image data, that is, the R image data, the G image data, and the B image data are subjected to various image processes through preprocessing.

コントローラ60は、CPUを中核部材として、種々の動作を行うための機能部をハードウエア又はソフトウエアあるいはその両方で構築しているが、本発明に特に関するものとして、フィルムスキャナ1から送られてくる画像データをメモリ61に展開する画像入力部62と、フィルムキャリアユニット50の搬送ローラ53を含むフィルムスキャナ1のスキャニング動作を制御するスキャナ制御部63と、メモリ61に展開された入力画像データに対し画像入力デバイスに依存しない色再現を実現するための変換などを行う前処理手段80と、この前処理手段80によって前処理された画像データに対して種々の画像処理を施す画像処理部64と、最終的に得られた撮影画像のための画像データを写真プリント装置70に対するプリントデータに変換生成するプリントデータ生成部65などが挙げられる。   The controller 60 has a CPU as a core member and a functional unit for performing various operations constructed by hardware and / or software. However, the controller 60 is sent from the film scanner 1 as being particularly relevant to the present invention. An image input unit 62 that develops the coming image data in the memory 61, a scanner control unit 63 that controls the scanning operation of the film scanner 1 including the transport roller 53 of the film carrier unit 50, and the input image data developed in the memory 61 On the other hand, a preprocessing unit 80 that performs conversion for realizing color reproduction independent of the image input device, and an image processing unit 64 that performs various image processing on the image data preprocessed by the preprocessing unit 80. The image data for the finally obtained photographed image is printed on the photo print device 70. Such as a print data generating unit 65 for converting generated over data and the like.

前処理手段80の代表的な機能の1つは、前述したR・G・Bの光源21とR・G・BのCCDセンサ41を備えたフィルムスキャナ1によって取得された画像データに内在する、光源21とCCDセンサ41の波長特性に基づく誤差を補正することであり、その目的のために、各光源の単独点灯時に各光電変換センサによって取得された測定光量値に基づいて全光源点灯時の測定光量値から各光源の光量値を推定する関係式を利用して求められるところの、前記光電変換センサによって取得された前記誤差を含むカラー画像データを前記誤差が抑制されたカラー画像データに変換する補正式を格納する補正式格納部81と、前記補正式格納部から引き出された補正式を用いて入力カラー画像データを補正する補正実行部82を備えている。前処理手段80には、その他に、画像入力機器プロファイルなどを利用して色変換を行う機能も用意されているが、それ自体は公知であるので、ここでの説明は省略する。   One of the typical functions of the pre-processing means 80 is inherent in the image data acquired by the film scanner 1 including the R, G, B light source 21 and the R, G, B CCD sensor 41 described above. For this purpose, the error based on the wavelength characteristics of the light source 21 and the CCD sensor 41 is corrected. For that purpose, the light source is turned on based on the measured light quantity value acquired by each photoelectric conversion sensor when each light source is turned on alone. The color image data including the error acquired by the photoelectric conversion sensor is converted into color image data in which the error is suppressed, which is obtained using a relational expression for estimating the light amount value of each light source from the measured light amount value. A correction formula storage unit 81 that stores a correction formula to be corrected, and a correction execution unit 82 that corrects input color image data using the correction formula drawn from the correction formula storage unit. In addition, the preprocessing unit 80 is also provided with a function of performing color conversion using an image input device profile or the like, but since it is known per se, description thereof is omitted here.

補正式格納部81に格納される補正式とは、R・G・B光源21a、21b、21c全てを同時に点灯させた状態で各CCDセンサ41(R・CCDセンサ41a、G・CCDセンサ41b、B・CCDセンサ41c)で取得された測定光量値から、R・G・B光源21a、21b、21cそれぞれの光量値、つまりR・G・B光源21a、21b、21cを個別に点灯させた際に取得されるであろう光量値を推定する関係式を利用して、つまりその変換方法を利用して画像データを補正するものであり、色変換の一種である。   The correction formulas stored in the correction formula storage unit 81 are the CCD sensors 41 (R / CCD sensors 41a, G / CCD sensors 41b, From the measured light quantity values acquired by the B / CCD sensor 41c), the respective light quantity values of the R / G / B light sources 21a, 21b, 21c, that is, when the R / G / B light sources 21a, 21b, 21c are individually turned on. The image data is corrected by using a relational expression for estimating the light quantity value that will be acquired in the above, that is, by using the conversion method, and is a kind of color conversion.

この補正式の一例を求める方法を、図6のフローチャートを参照しながら説明する。この補正式を求める原理は次の通りである。
まず、R・G・B光源21a、21b、21cのそれぞれの照射光量値をR_led、G_led、B_ledとし、R・CCDセンサ41a、G・CCDセンサ41b、B・CCDセンサ41cそれぞれの受光光量値をR_ccd、G_ccd、B_ccdとして、R光源21aの照射光ビームに含まれているR成分の割合をβrr、G光源21bの照射光ビームに含まれているR成分の割合をβrg、B光源21cの照射光ビームに含まれているR成分の割合をβrbとすると、
R_ccd=βrr・R_led+βrg・G_led+βrb・B_led
が成立する。この式は、R・CCDセンサ41aで取得される光量値にはG光源21bやB光源21cの照射光に含まれているR成分も付加されることを意味している。同様に、R光源21aの照射光ビームに含まれているG成分の割合をβgr、G光源21bの照射光ビームに含まれているG成分の割合をβgg、B光源21cの照射光ビームに含まれているG成分の割合をβgbとし、R光源21aの照射光ビームに含まれているB成分の割合をβbr、G光源21bの照射光ビームに含まれているB成分の割合をβbg、B光源21cの照射光ビームに含まれているB成分の割合をβbbとすると、
G_ccd=βgr・R_led+βgg・G_led+βgb・B_led、
B_ccd=βbr・R_led+βbg・G_led+βbb・B_led
も成立する。
これらの式を行列を用いてまとめると次の第1式が得られる。

Figure 2006014178

ここで、βに関する行列をβ変換行列と名付ける。
第1式を、β変換行列の逆行列を用いてR・G・B光源21a、21b、21cのそれぞれの照射光量値を表すR_led、G_led、B_ledで解くと、次の第2式が得られる。
Figure 2006014178

この第2式は、全光源点灯時のR・CCDセンサ41a、G・CCDセンサ41b、B・CCDセンサ41cそれぞれの受光光量値を表すR_ccd、G_ccd、B_ccdによってR・G・B光源21a、21b、21cのそれぞれの照射光量値(つまり単独点灯時の照射光量値)を求めることができる式となっているので、この式のβ変換行列の逆行列をα変換行列と置き換えると、CCDセンサ41の受光光量値から各光源21の照射光量値を求めることができる。さらに、CCDセンサ41の受光光量値は、CCDセンサ41によって取得された上述した誤差を内在する画像データの画素値に対応させることができ、かつ各光源21の照射光量値は、上述した誤差を抑制した画像データの画素値に対応させることができるので、α変換行列の各要素の値(β変換行列の逆行列の値)を予め求めておくことで、フィルムスキャナ1によって取得された上述した誤差を内在する画像データをそのような誤差を抑制した画像データに変換することが可能となる。つまり、上述した第2式は、以下のように、フィルムスキャナ1によって取得された上述した誤差を内在する画像データをそのような誤差を抑制した画像データに変換する変換式に置き換えることができる。なお、R_corとG_corとB_corはそれぞれ各色成分の画像データの補正された画素値であり、R_errとG_errとB_errはそれぞれ各色成分の画像データの修正された画素値である。
Figure 2006014178
A method for obtaining an example of the correction formula will be described with reference to the flowchart of FIG. The principle for obtaining this correction equation is as follows.
First, the irradiation light amount values of the R / G / B light sources 21a, 21b, and 21c are R_led, G_led, and B_led, and the received light amount values of the R / CCD sensor 41a, the G / CCD sensor 41b, and the B / CCD sensor 41c are set. As R_ccd, G_ccd, and B_ccd, the ratio of the R component included in the irradiation light beam of the R light source 21a is βrr, the ratio of the R component included in the irradiation light beam of the G light source 21b is βrg, and the irradiation of the B light source 21c When the ratio of the R component contained in the light beam is βrb,
R_ccd = βrr ・ R_led + βrg ・ G_led + βrb ・ B_led
Is established. This equation means that the R component included in the irradiation light of the G light source 21b and the B light source 21c is also added to the light amount value acquired by the R / CCD sensor 41a. Similarly, the ratio of the G component included in the irradiation light beam of the R light source 21a is βgr, the ratio of the G component included in the irradiation light beam of the G light source 21b is included in βgg, and the irradiation light beam of the B light source 21c is included. The ratio of the G component included is βgb, the ratio of the B component included in the irradiation light beam of the R light source 21a is βbr, and the ratio of the B component included in the irradiation light beam of the G light source 21b is βbg, B When the ratio of the B component contained in the irradiation light beam of the light source 21c is βbb,
G_ccd = βgr ・ R_led + βgg ・ G_led + βgb ・ B_led,
B_ccd = βbr ・ R_led + βbg ・ G_led + βbb ・ B_led
Also holds.
When these equations are combined using a matrix, the following first equation is obtained.
Figure 2006014178

Here, a matrix related to β is named a β conversion matrix.
Solving the first equation with R_led, G_led, and B_led representing the irradiation light amount values of the R, G, and B light sources 21a, 21b, and 21c using the inverse matrix of the β conversion matrix, the following second equation is obtained. .
Figure 2006014178

This second equation is obtained by R_ccd, G_ccd, B_ccd representing the received light amount values of the R / CCD sensor 41a, G / CCD sensor 41b, and B / CCD sensor 41c when all the light sources are turned on. , 21c is an equation that can determine the irradiation light amount value (that is, the irradiation light amount value at the time of single lighting), and the CCD sensor 41 is obtained by replacing the inverse matrix of the β conversion matrix of this equation with the α conversion matrix. It is possible to obtain the irradiation light amount value of each light source 21 from the received light amount value. Further, the received light amount value of the CCD sensor 41 can correspond to the above-described error acquired by the CCD sensor 41 with the pixel value of the inherent image data, and the irradiation light amount value of each light source 21 has the above-described error. Since it can be made to correspond to the pixel value of the suppressed image data, the value of each element of the α conversion matrix (the value of the inverse matrix of the β conversion matrix) is obtained in advance, so that the above-described image acquired by the film scanner 1 is obtained. It is possible to convert image data having an error into image data in which such an error is suppressed. That is, the above-described second equation can be replaced with a conversion equation for converting the above-described error data acquired by the film scanner 1 into image data that suppresses such an error, as described below. R_cor, G_cor, and B_cor are corrected pixel values of the image data of each color component, and R_err, G_err, and B_err are corrected pixel values of the image data of each color component.
Figure 2006014178

このα変換行列の各要素の値を求めるために、まずR・G・B光源21a、21b、21cのそれぞれに対する初期駆動電流量(ここでは初期制御量とも呼んでいる)をROMから読み出して設定する(#01)。R・G・B光源21a、21b、21cの内の1つの光源(例えばR光源21a)を選択して単独点灯する(#02)。点灯された光源21からの光ビームを各CCDセンサ41で100ライン分スキャニングし(#03)、取得した画像データをメモリ61に展開する(#04)。突出したノイズを抑制するため、メモリ61に展開された画像データ(R・G・B輝度データ)に対して平均値フィルタを用いて平滑化処理を施す(#05)。全画像データの値から暗データの値を差し引いて画素値を光源21による照射光に対応させる(#06)。なお、暗データはスキャナ技術においてよく知られているように、光源非点灯時におけるCCDセンサ41の読取信号値(画像データの画素値)である。この暗データは予め取得しておくが、よく知られているプロセスなのでここでの説明は省略する。そこで得られたR・G・B各画像データに含まれる全画素の値を平均して得られたR値とG値とB値を単独点灯された光源に対する各CCDセンサ41の受光光量値の基準として記憶する(#07)。単独点灯された光源に対する各CCDセンサ41の受光光量値の基準を記憶するルーチンをR・G・B光源21a、21b、21cのそれぞれに対して実行する(#08)。   In order to obtain the value of each element of the α conversion matrix, first, initial drive current amounts (also referred to as initial control amounts) for the R, G, and B light sources 21a, 21b, and 21c are read from the ROM and set. (# 01). One of the R, G, and B light sources 21a, 21b, and 21c (for example, the R light source 21a) is selected and lit alone (# 02). The light beam from the lit light source 21 is scanned for 100 lines by each CCD sensor 41 (# 03), and the acquired image data is developed in the memory 61 (# 04). In order to suppress the protruding noise, the image data (R, G, B luminance data) developed in the memory 61 is smoothed using an average value filter (# 05). The pixel value is made to correspond to the irradiation light from the light source 21 by subtracting the value of the dark data from the value of all the image data (# 06). The dark data is a read signal value (pixel value of image data) of the CCD sensor 41 when the light source is not turned on, as is well known in the scanner technology. This dark data is acquired in advance, but since it is a well-known process, description thereof is omitted here. The R, G, and B values obtained by averaging the values of all the pixels included in the R, G, and B image data obtained therefor are the received light amount values of the CCD sensors 41 with respect to the light source that is lit alone. Store as a reference (# 07). A routine for storing the reference of the received light amount value of each CCD sensor 41 for the light source that is lit alone is executed for each of the R, G, B light sources 21a, 21b, and 21c (# 08).

記憶されている値群を各光源21の単独点灯時における各CCDセンサ41の受光光量値群として、正規化のための以下の式を用いてβ変換行列の要素を演算する。
βrr=R光源単独点灯時のR値/R光源単独点灯時のR値、
βgr=R光源単独点灯時のG値/R光源単独点灯時のR値、
βbr=R光源単独点灯時のB値/R光源単独点灯時のR値、
βrg=G光源単独点灯時のR値/G光源単独点灯時のG値、
βgg=G光源単独点灯時のG値/G光源単独点灯時のG値、
βbg=G光源単独点灯時のB値/G光源単独点灯時のG値、
βrb=B光源単独点灯時のR値/B光源単独点灯時のB値、
βgb=B光源単独点灯時のG値/B光源単独点灯時のB値、
βbb=B光源単独点灯時のB値/B光源単独点灯時のB値。
例えば、R・G・B光源21a、21b、21cのそれぞれの単独点灯において得られたR値とG値とB値が、

Figure 2006014178

とすると、
そのβ変換行列は、
Figure 2006014178

となる(#09)。
その逆行列であるα変換行列は、
Figure 2006014178

となる(#10)。
上述したように、α変換行列が得られるとその要素をテーブル化して補正式格納部81に格納する(#11)。 Using the stored value group as the received light quantity value group of each CCD sensor 41 when each light source 21 is lit alone, the elements of the β conversion matrix are calculated using the following formula for normalization.
βrr = R value when the R light source is lit alone / R value when the R light source is lit alone,
βgr = G value when the R light source is lit alone / R value when the R light source is lit alone,
βbr = B value when R light source is lit alone / R value when R light source is lit alone,
βrg = R value when G light source is lit alone / G value when G light source is lit alone,
βgg = G value when G light source is lit alone / G value when G light source is lit alone,
βbg = B value when G light source is lit alone / G value when G light source is lit alone,
βrb = R value when the B light source is lit alone / B value when the B light source is lit alone,
βgb = G value when the B light source is lit alone / B value when the B light source is lit alone,
βbb = B value when the B light source is lit alone / B value when the B light source is lit alone.
For example, the R value, the G value, and the B value obtained in the individual lighting of each of the R, G, and B light sources 21a, 21b, and 21c are
Figure 2006014178

Then,
The β transformation matrix is
Figure 2006014178

(# 09).
The inverse matrix, the α transformation matrix, is
Figure 2006014178

(# 10).
As described above, when the α conversion matrix is obtained, the elements are tabulated and stored in the correction formula storage unit 81 (# 11).

上述したようにして予めα変換行列の要素がテーブル化されていると、入力された上述した誤差を内在する画像データをそのような誤差を抑制した光画像データに変換する演算が以下の式で表現される簡単な線形演算ですむ。

Figure 2006014178
As described above, when the elements of the α conversion matrix are tabulated in advance, the calculation for converting the input image data including the above-described error into optical image data suppressing such an error is represented by the following expression. It can be a simple linear operation that can be expressed.
Figure 2006014178

上述した実施形態の説明では、スキャナとしてR・G・Bタイプのフィルムスキャナを採用していたが、少なくとも光の三原色のそれぞれに適応した複数の光源と複数の光電変換センサからなる全てのスキャナに本発明は適用可能である。   In the above description of the embodiment, the R, G, B type film scanner is used as the scanner. However, for all scanners composed of a plurality of light sources and a plurality of photoelectric conversion sensors adapted to each of the three primary colors of light. The present invention is applicable.

本発明による画像データ補正技術を採用した写真プリントシステムの一例を模式的に示す模式図Schematic diagram schematically showing an example of a photographic print system employing an image data correction technique according to the present invention. 図1による写真プリントシステムに用いられたフィルムスキャナの外観を示す斜視図The perspective view which shows the external appearance of the film scanner used for the photograph printing system by FIG. フィルムスキャナの照明光学系を示す断面図Sectional view showing illumination optical system of film scanner フィルムスキャナの内部要素を説明するための説明図Explanatory diagram for explaining the internal elements of the film scanner 写真プリントシステムに用いられたコントローラ内に構築された本発明に関係する機能要素を説明する機能ブロック図Functional block diagram for explaining functional elements related to the present invention built in a controller used in a photo print system 全灯状態での各CCDセンサ41の受光光量値から各R・G・B光源の照射光量値を求める関係式を通じて画像データ補正式を作成するためのフローチャートを示す図The figure which shows the flowchart for producing an image data correction formula through the relational expression which calculates | requires the irradiation light quantity value of each R * G * B light source from the light-receiving light quantity value of each CCD sensor 41 in all the lighting conditions

符号の説明Explanation of symbols

1:フィルムスキャナ(スキャナ)
60:コントローラ
61:メモリ
80:画像データ前処理手段
81:補正式格納部
82:補正実行部
1: Film scanner (scanner)
60: Controller 61: Memory 80: Image data preprocessing means 81: Correction formula storage unit 82: Correction execution unit

Claims (5)

少なくとも光の三原色のそれぞれに適応した複数の光源と複数の光電変換センサからなるスキャナによって取得されたカラー画像データに対して光源と光電変換センサの波長特性に基づく誤差を補正する方法において、
各光源の単独点灯時に前記各光電変換センサによって取得された測定光量値に基づいて全光源点灯時の測定光量値から各光源の光量値を推定する関係式を求めるステップと、
前記関係式を利用して前記光電変換センサによって取得された前記誤差を含むカラー画像データから前記誤差を抑制したカラー画像データに変換する補正式を求めるステップと、
前記補正式を用いて入力カラー画像データを補正するステップと、
からなることを特徴とするカラー画像データ補正方法。
In a method for correcting an error based on wavelength characteristics of a light source and a photoelectric conversion sensor with respect to color image data acquired by a scanner including a plurality of light sources and a plurality of photoelectric conversion sensors adapted to at least three primary colors of light,
Obtaining a relational expression for estimating the light quantity value of each light source from the measured light quantity value when all the light sources are turned on based on the measured light quantity value acquired by each photoelectric conversion sensor when each light source is lit alone;
Obtaining a correction formula for converting the color image data including the error acquired by the photoelectric conversion sensor using the relational expression into color image data suppressing the error;
Correcting the input color image data using the correction formula;
A color image data correction method comprising:
前記関係式は、各光源からの照射光が同一色成分の光電変換センサによって取得される同色測定光量値と異なる色成分の光電変換センサによって取得される異色測定光量値とから求められる、光源光量から測定光量値への変換行列の逆行列を用いて定義されていることを特徴とする請求項1に記載のカラー画像データ補正方法。   The relational expression is obtained from the same-color measurement light amount value obtained by the photoelectric conversion sensor having the same color component as the irradiation light from each light source and the different-color measurement light amount value obtained by the photoelectric conversion sensor having a different color component. The color image data correction method according to claim 1, wherein the color image data correction method is defined by using an inverse matrix of a conversion matrix from A to a measured light quantity value. 前記変換行列が、(βrr,βrg,βrb)を第1行目の行列要素とし、(βgr,βgg,βgb)を第2行目の行列要素とし、(βbr,βbg,βbb)を第3行目の行列要素とする3行3列行列であり、各行列要素が以下のように、
βrr=R光源単独点灯時のR値/R光源単独点灯時のR値、
βgr=R光源単独点灯時のG値/R光源単独点灯時のR値、
βbr=R光源単独点灯時のB値/R光源単独点灯時のR値、
βrg=G光源単独点灯時のR値/G光源単独点灯時のG値、
βgg=G光源単独点灯時のG値/G光源単独点灯時のG値、
βbg=G光源単独点灯時のB値/G光源単独点灯時のG値、
βrb=B光源単独点灯時のR値/B光源単独点灯時のB値、
βgb=B光源単独点灯時のG値/B光源単独点灯時のB値、
βbb=B光源単独点灯時のB値/B光源単独点灯時のB値、
で求められることを特徴とする請求項1又は2に記載のカラー画像データ補正方法。
The transformation matrix has (βrr, βrg, βrb) as the first row matrix element, (βgr, βgg, βgb) as the second row matrix element, and (βbr, βbg, βbb) as the third row. It is a 3-by-3 matrix as the matrix element of the eye, and each matrix element is as follows:
βrr = R value when the R light source is lit alone / R value when the R light source is lit alone,
βgr = G value when the R light source is lit alone / R value when the R light source is lit alone,
βbr = B value when R light source is lit alone / R value when R light source is lit alone,
βrg = R value when G light source is lit alone / G value when G light source is lit alone,
βgg = G value when G light source is lit alone / G value when G light source is lit alone,
βbg = B value when G light source is lit alone / G value when G light source is lit alone,
βrb = R value when the B light source is lit alone / B value when the B light source is lit alone,
βgb = G value when the B light source is lit alone / B value when the B light source is lit alone,
βbb = B value when the B light source is lit alone / B value when the B light source is lit alone,
The color image data correction method according to claim 1, wherein the color image data correction method is obtained by:
前記測定光量値は、前記光源からの光を前記光電変換センサが複数ライン分ラインスキャニングして得られた輝度データに対して平均化フィルタをかけた後平均演算して得られた値であることを特徴とする請求項1〜3のいずれか1項に記載のカラー画像データ補正方法。   The measured light amount value is a value obtained by performing an average calculation after applying an averaging filter to luminance data obtained by scanning the light from the light source for a plurality of lines by the photoelectric conversion sensor. The color image data correction method according to claim 1, wherein: 少なくとも光の三原色のそれぞれに適応した複数の光源と複数の光電変換センサからなるスキャナによって取得されたカラー画像データに対して光源と光電変換センサの波長特性に基づく誤差を補正するカラー画像データ補正システムにおいて、
各光源の単独点灯時に前記各光電変換センサによって取得された測定光量値に基づいて全光源点灯時の測定光量値から各光源の光量値を推定する関係式を利用して求められるところの、前記光電変換センサによって取得された前記誤差を含むカラー画像データを前記誤差が抑制されたカラー画像データに変換する補正式を格納する補正式格納部と、前記補正式格納部から引き出された補正式を用いて入力カラー画像データを補正する補正実行部とを備えたカラー画像データ補正システム。
Color image data correction system for correcting an error based on wavelength characteristics of a light source and a photoelectric conversion sensor for color image data acquired by a scanner including a plurality of light sources adapted to at least three primary colors of light and a plurality of photoelectric conversion sensors In
It is obtained using a relational expression that estimates the light amount value of each light source from the measured light amount value when all the light sources are turned on based on the measured light amount value acquired by each photoelectric conversion sensor when each light source is lit alone, A correction formula storage unit that stores a correction formula for converting the color image data including the error acquired by the photoelectric conversion sensor into color image data in which the error is suppressed, and a correction formula drawn from the correction formula storage unit. A color image data correction system including a correction execution unit that corrects input color image data.
JP2004191534A 2004-06-29 2004-06-29 Color image data correction method and correction system for implementing the method Expired - Fee Related JP4385292B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004191534A JP4385292B2 (en) 2004-06-29 2004-06-29 Color image data correction method and correction system for implementing the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004191534A JP4385292B2 (en) 2004-06-29 2004-06-29 Color image data correction method and correction system for implementing the method

Publications (2)

Publication Number Publication Date
JP2006014178A true JP2006014178A (en) 2006-01-12
JP4385292B2 JP4385292B2 (en) 2009-12-16

Family

ID=35780823

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004191534A Expired - Fee Related JP4385292B2 (en) 2004-06-29 2004-06-29 Color image data correction method and correction system for implementing the method

Country Status (1)

Country Link
JP (1) JP4385292B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013176653A1 (en) * 2012-05-22 2013-11-28 Hewlett-Packard Development Company, L.P. Capturing a scan line with two colors

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013176653A1 (en) * 2012-05-22 2013-11-28 Hewlett-Packard Development Company, L.P. Capturing a scan line with two colors
CN104335566A (en) * 2012-05-22 2015-02-04 惠普发展公司,有限责任合伙企业 Capturing a scan line with two colors
GB2517602A (en) * 2012-05-22 2015-02-25 Hewlett Packard Development Co Capturing a scan line with two colors
US9479679B2 (en) 2012-05-22 2016-10-25 Hewlett-Packard Development Company, L.P. Capturing a scan line with two colors
GB2517602B (en) * 2012-05-22 2019-07-10 Hewlett Packard Development Co Capturing a scan line with two colors

Also Published As

Publication number Publication date
JP4385292B2 (en) 2009-12-16

Similar Documents

Publication Publication Date Title
US6751349B2 (en) Image processing system
US7022960B2 (en) Photographic film image reading apparatus with film density detection
JP4596239B2 (en) Light source light amount adjustment method, light source light amount adjustment program and light source light amount adjustment system for scanner
US6972877B1 (en) Image reading apparatus
US6891645B1 (en) Image reading apparatus and image reading method
JP4385292B2 (en) Color image data correction method and correction system for implementing the method
US7218421B2 (en) Image reading device
US7202461B2 (en) Image-reading apparatus
JP2001111795A (en) Image reader
JP2007006354A (en) Image reading apparatus and image reading apparatus control program
JP4399722B2 (en) Light source adjustment method for a scanner with a neutral density filter
US20030142208A1 (en) Image reading apparatus
JP2007036964A (en) Adjustment method for image reading apparatus, and adjustment module
US7034450B2 (en) Light source device and light source device for image reading device
JP2007006114A (en) Light source luminous energy adjustment method and light source luminous energy adjustment module
JP2008263510A (en) Image reader
JP2001045225A (en) Image reader
JP2007036431A (en) Film scanner
US6906833B1 (en) Constant speed image reading device and method
US20050117181A1 (en) Film image scanning system and light source unit for scanning a film
JP3757911B2 (en) Film scanner
JP2007036444A (en) Scanner for photo film and photographed image reading method
JP2005252651A (en) Image reader
JP3759854B2 (en) Image reading device
JP2005236530A (en) Image reader

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070606

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090326

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090507

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090617

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090903

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090916

R150 Certificate of patent or registration of utility model

Ref document number: 4385292

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121009

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20121009

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20121009

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131009

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees