【0001】[0001]
【発明の属する技術分野】本発明は画像処理装置に関
し、詳細にはネガやポジのフイルム、プリント写真等の
原稿から画像を読み取って得られた画像データに基づい
て可視画像を再生するデジタル写真プリンタにおける画
像処理装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to a digital photographic printer for reproducing a visible image based on image data obtained by reading an image from an original such as a negative or positive film or a print photograph. In the image processing device.
【0002】[0002]
【従来の技術】ネガフイルムやポジフイルム(リバーサ
ルフイルム)などの写真フイルムに記録された透過画像
や、および印画紙に焼き付けられた写真プリント当の反
射画像等の原稿に光を照射してこれらの原稿から画像を
光電的に読み取り、得られた読取画像をデジタル画像デ
ータに変換し、この画像データに種々の信号処理により
所望の画像処理を施して観察、観賞に適した処理済画像
データを得、このデータに基づいて変調された光を印画
紙等の記録材料に走査露光して写真プリントを得るデジ
タル写真プリンタが開発されている。2. Description of the Related Art A transparent image recorded on a photographic film such as a negative film or a positive film (reversal film), or a reflection image of a photographic print printed on a photographic paper is irradiated with light to irradiate the original with these images. The image is photoelectrically read from the original, the read image is converted into digital image data, and the desired image processing is applied to this image data by various signal processing to obtain processed image data suitable for observation and viewing. A digital photographic printer has been developed which obtains a photographic print by scanning and exposing a recording material such as photographic paper with light modulated based on this data.
【0003】このようなデジタル写真プリンタの構成の
概略は、画像からアナログもしくはデジタルの画像デー
タを得る画像読取装置(若しくは画像入力装置という)
と、画像データに信号処理を施す画像処理装置と、処理
済画像データを可視画像として再生、出力する画像再生
装置(若しくは画像出力装置という)とからなってい
る。An outline of the structure of such a digital photographic printer is an image reading device (or an image input device) for obtaining analog or digital image data from an image.
And an image processing device that performs signal processing on the image data, and an image reproducing device (or an image output device) that reproduces and outputs the processed image data as a visible image.
【0004】[0004]
【発明が解決しようとする課題】ところで、上述のデジ
タル写真プリンタにおいては、画像読取装置として常に
1種類の装置が用いられるとは限らず、原稿に適した種
々のもの、例えば透過画像を読み取るフイルムスキャナ
や反射画像を読み取るプリントスキャナ等が用いられる
ことが想定される。By the way, in the above-described digital photographic printer, one type of image reading device is not always used, and various types suitable for a document, for example, a film for reading a transparent image. It is assumed that a scanner or a print scanner that reads a reflection image is used.
【0005】一方、画像再生装置についても走査プリン
タやCRTなど特性の異なる複数のものが用いられるこ
とが考えられる。On the other hand, it is conceivable that a plurality of image reproducing devices having different characteristics such as a scanning printer and a CRT may be used.
【0006】このようなことからデジタル写真プリンタ
における画像処理装置には、入出力の双方共に特性の異
なる装置が接続されることを想定する必要があり、また
それら入出力装置が入出力各1つずつではなく複数個ず
つ接続される可能性もある。For this reason, it is necessary to assume that the image processing device in the digital photographic printer is connected to devices having different characteristics for both input and output, and one input / output device for each input / output device. There is also the possibility that they will be connected one by one instead of one by one.
【0007】このことは、入力される画像データそのも
のの特性も種々のものが存在することを想定する必要が
あることを意味する。すなわち上述した透過画像に基づ
く画像データであるか、反射画像に基づく画像データで
あるかの相違、透過画像にあってはネガかポジかによる
相違がある。一方、出力についてもプリンタの特性の相
違によって出力データもそれに適合させるのが望まし
い。This means that it is necessary to assume that the input image data itself has various characteristics. That is, there is a difference between the image data based on the above-mentioned transmission image and the image data based on the reflection image, and there is a difference depending on whether the transmission image is negative or positive. On the other hand, regarding output, it is desirable that output data be adapted to it due to differences in printer characteristics.
【0008】また、処理の内容についても、原稿の種類
や好みなどによって種々のものに対応することが必要で
ある。Regarding the contents of processing, it is necessary to deal with various things depending on the type and preference of the original.
【0009】本発明は上記事情に鑑みなされたものであ
って、種々の入出力装置が接続されて、かつ種々の原稿
に対して種々の画像補正処理を行なうものであって、こ
の処理を容易にすることができる画像処理装置を提供す
ることを目的とするものである。The present invention has been made in view of the above circumstances, and various input / output devices are connected, and various image correction processes are performed on various originals. This process is easy. It is an object of the present invention to provide an image processing device capable of achieving the following.
【0010】[0010]
【課題を解決するための手段】本発明の画像処理装置
は、原画像を表す原画像データを受けて、該原画像デー
タに対して所定のデータ処理を施し、該データ処理が施
された処理済画像データを出力する画像処理装置におい
て、変更可能の所定のパラメータに応じて前記原画像の
色階調を補正するように、入力される前記原画像データ
に対する処理を施す1以上の色階調補正手段と、変更可
能の所定のパラメータに応じて前記原画像の鮮鋭度を補
正するように、入力される前記原画像データに対する処
理を施す鮮鋭度補正手段と、前記色階調および前記鮮鋭
度に影響を及ぼす複数の因子をそれぞれ各別に定める複
数のパラメータを、それぞれ各別に決定する互いに独立
した複数のパラメータ決定手段と、前記複数のパラメー
タを統合して統合パラメータを得るパラメータ統合手段
と、前記統合パラメータに基づいて、前記色階調補正手
段の所定のパラメータおよび前記鮮鋭度補正手段の所定
のパラメータを設定するパラメータ設定手段とを備えた
ことを特徴とするものである。An image processing apparatus according to the present invention receives original image data representing an original image, performs predetermined data processing on the original image data, and performs the data processing. In an image processing device for outputting processed image data, one or more color gradations for performing processing on the input original image data so as to correct the color gradation of the original image according to a changeable predetermined parameter. A correction unit, a sharpness correction unit for performing processing on the input original image data so as to correct the sharpness of the original image according to a changeable predetermined parameter, the color gradation and the sharpness. A plurality of independent parameter determining means for individually determining a plurality of parameters that individually determine a plurality of factors that affect the above, and a plurality of integrated parameters by integrating the plurality of parameters. And a parameter setting unit for setting a predetermined parameter of the color gradation correction unit and a predetermined parameter of the sharpness correction unit based on the integrated parameter. It is a thing.
【0011】ここで上記画像の色階調および前記鮮鋭度
に影響を及ぼす複数の因子とは、再生画像のプリントサ
イズやカラーバランス、彩度、濃度、ガンマ値等を意味
するものである。Here, the plurality of factors affecting the color gradation and the sharpness of the image mean the print size, color balance, saturation, density, gamma value, etc. of the reproduced image.
【0012】また本発明の画像処理装置において、画像
データの入力相手である外部入力装置および/または処
理済画像データの出力相手である外部出力装置の種類を
識別する入出力装置識別手段をさらに備え、この入出力
装置識別手段による識別結果に応じて、前記パラメータ
決定手段が前記パラメータを変更可能としてもよい。こ
のように入出力装置の種類に応じて処理のパラメータを
変えることにより、入出力装置ごとの特性に適した処理
を行うことができる。Further, the image processing apparatus of the present invention further comprises an input / output device identification means for identifying the type of the external input device which is the input partner of the image data and / or the external output device which is the output partner of the processed image data. The parameter determining means may be able to change the parameter according to the identification result of the input / output device identifying means. In this way, by changing the processing parameters according to the type of input / output device, it is possible to perform processing suitable for the characteristics of each input / output device.
【0013】ここで、複数のパラメータ決定手段のうち
1つが、原画像の色階調および鮮鋭度が最適となるよう
に、画像データに応じてパラメータを自動設定するオー
トセットアップアルゴリズムを有するものや、原画像の
色階調および/または鮮鋭度についての補正量を外部か
ら入力可能とするマニュアルセットアップ手段を有する
ものを用いることもできる。Here, one of the plurality of parameter determining means has an auto-setup algorithm for automatically setting parameters according to image data so that the color gradation and sharpness of the original image are optimized, It is also possible to use the one having a manual setup means capable of inputting the correction amount for the color gradation and / or the sharpness of the original image from the outside.
【0014】オートセットアップアルゴリズムとは、実
験的・経験的に蓄積されたノウハウ等に基づいて、目的
に応じて適当と考えられるプリント仕上げを得るための
処理を、入力された画像信号等に応じて自動的に設定す
るアルゴリズムをいう。このように入力された画像信号
等に応じて処理に必要なパラメータ等が自動的に設定さ
れて処理が進むため、操作者(例えばオペレータ)の技
量に左右されず、ばらつきのない適切な画像処理が施さ
れるという効果がある。The auto-setup algorithm is a process for obtaining a print finish which is considered to be appropriate for a purpose, based on the know-how accumulated experimentally and empirically, according to the input image signal and the like. An algorithm that is automatically set. In this way, parameters necessary for processing are automatically set according to the input image signal and the like, and the processing proceeds, so that appropriate image processing that does not depend on the skill of the operator (eg, operator) and does not vary Is effective.
【0015】一方、マニュアルセットアップとは、上述
のパラメータや処理のアルゴリズムを個々に調整するこ
とによって全体として1つの処理を構築するものであ
り、操作者間の経験や技量の差によって、得られる画像
の仕上げに大きな開きを生じる可能性がある反面、きめ
細かい微妙な調整ができるなどの利点がある。On the other hand, the manual setup is to construct one processing as a whole by individually adjusting the above-mentioned parameters and processing algorithms, and an image obtained by experience or skill difference between operators. While there is a possibility that a large gap will occur in the finish of, there is an advantage that fine adjustments can be made.
【0016】オートセットアップアルゴリズムを有する
パラメータ決定手段については、画像データを担持する
原稿の種類、すなわちネガフイルムであるかポジフイル
ムであるか写真プリントであるか、に応じてオートセッ
トアップアルゴリズムを複数種類有し、この原稿の種類
に応じて適用するオートセットアップアルゴリズムを切
り替えるものであってもよい。The parameter determining means having the auto-setup algorithm has a plurality of types of auto-setup algorithms depending on the type of the original carrying the image data, that is, whether it is a negative film, a positive film or a photographic print. However, the applied auto setup algorithm may be switched according to the type of the original.
【0017】またオートセットアップアルゴリズムは原
稿の種類ごとに限らず、処理済み画像信号が表す処理済
み画像の色階調仕上げの種類に応じて複数種類有するも
のであってもよく、この場合のオートセットアップアル
ゴリズムの切替えはこの色階調仕上げに応じて行えばよ
い。The auto setup algorithm is not limited to each type of original, and may have a plurality of types depending on the type of color gradation finishing of the processed image represented by the processed image signal. The algorithm may be switched according to the finishing of the color gradation.
【0018】さらに、パラメータ決定手段のうち1つ
を、原画像の色階調および/または前記鮮鋭度について
の補正量を外部から入力可能とするマニュアルセットア
ップ手段を有するものとしてもよく、例えばキーボード
等からその補正量に対応した所定のkey を入力すること
によって行えばよい。このようにマニュアルセットアッ
プを行うことにより、オートセットアップだけでは所望
のプリント仕上げが得られない場合にも、例えばオペレ
ータがキーボードから補正量等を入力することにより、
きめ細かく仕上げの程度を調整することができる。Further, one of the parameter determining means may have a manual setup means capable of inputting the correction amount for the color gradation of the original image and / or the sharpness from the outside, for example, a keyboard or the like. Then, it can be performed by inputting a predetermined key corresponding to the correction amount. By performing the manual setup in this way, even if the desired print finish cannot be obtained only by the automatic setup, for example, by the operator inputting the correction amount or the like from the keyboard,
The degree of finishing can be finely adjusted.
【0019】また、パラメータ決定手段のうち1つを、
複数のパラメータのうち少なくとも1つを予め所望の値
に設定し得る初期設定手段を含むものとしてもよい。例
えばプリントを行うラボ(processing laboratory ;現
像所)においては、ラボごとに仕上げの好み等があり、
あるラボでは彩色の鮮やかさがより強調されたプリント
を好みそれに適した処理を行い、また他のあるラボでは
ソフトなトーン(階調)を好みそれに適した処理がなさ
れている。本発明の画像処理装置において上述のように
初期設定手段を備え、これにより上記好みに対応するパ
ラメータの幾つかを予め設定しておくことによって、ラ
ボがプリントの都度、好みに合わせた調整を個々に行う
必要がなく、作業を軽減することができる。Further, one of the parameter determining means is
It is also possible to include initial setting means capable of setting at least one of the plurality of parameters to a desired value in advance. For example, in a processing laboratory (printing laboratory), there are finishing preferences for each laboratory,
Some laboratories prefer prints that emphasize the vividness of colors and perform processing that suits them, while other laboratories prefer soft tones (gradation) and perform processing that is suitable for them. The image processing apparatus of the present invention is provided with the initial setting means as described above, and by setting some of the parameters corresponding to the preferences in advance by this, the laboratory makes adjustments according to the preferences each time printing is performed. It is not necessary to do so, and the work can be reduced.
【0020】本発明の画像処理装置においては、複数の
パラメータ決定手段のうち1つを、外部から入力される
画像の拡大縮小率に基づいてパラメータを設定するもの
としてもよい。すなわちプリントサイズの大小は、画像
の鮮鋭度等の因子に肉眼上(視覚特性上)多大な影響を
与え、単にプリントサイズの大小を調整しただけでは他
の因子がそれにもなって変動して所望とする仕上げの画
像を得ることができない。このため、特に他の因子との
関連度が高いプリントの拡大縮小率に基づいてパラメー
タを設定するものである。In the image processing apparatus of the present invention, one of the plurality of parameter determining means may set the parameter based on the enlargement / reduction ratio of the image input from the outside. That is, the size of the print size greatly affects factors such as the sharpness of the image with the naked eye (in terms of visual characteristics), and simply adjusting the size of the print size causes other factors to fluctuate accordingly. I can't get the finished image. For this reason, the parameter is set based on the enlargement / reduction ratio of the print having a high degree of association with other factors.
【0021】なお、色階調補正手段はルックアップテー
ブルを含み、パラメータがルックアップテーブルまたは
ルックアップテーブルの0次関数(オフセット処理)も
しくは1次関数であり、パラメータ統合手段記ルックア
ップテーブルのカスケード(縦属)およびこの関数によ
るルックアップテーブルの関数変換であってもよい。The color gradation correction means includes a look-up table, and the parameter is a look-up table or a 0th-order function (offset processing) or a 1st-order function of the look-up table. (Longitudinal) and function conversion of the lookup table by this function may be used.
【0022】また同様に、色階調手段は線形マトリクス
を含み、パラメータが線形マトリクスであり、パラメー
タ統合手段が線形マトリクスの積または和であってもよ
い。Similarly, the color gradation means may include a linear matrix, the parameter may be a linear matrix, and the parameter integrating means may be a product or a sum of the linear matrix.
【0023】さらに上記パラメータは、1次項の和が1
または0である線形マトリクスであるのが望ましい。他
の補正との干渉が避けられるからである。Further, in the above parameter, the sum of the first-order terms is 1.
Or it is preferably a linear matrix that is zero. This is because interference with other corrections can be avoided.
【0024】また、色階調手段は2次マトリクスを含
み、パラメータが2次マトリクスであり、前記パラメー
タ統合手段が2次マトリクスの和であってもよい。この
場合、2次項の和および1次項の和がいずれも0である
2次マトリクスであることが望ましい。他の補正との干
渉が避けられ、R=G=Bのときにグレーの再現が保証
できるからである。The color gradation means may include a quadratic matrix, the parameter may be a quadratic matrix, and the parameter integrating means may be the sum of the quadratic matrix. In this case, a quadratic matrix in which the sum of the quadratic terms and the sum of the first-order terms are both 0 is desirable. This is because interference with other corrections can be avoided, and reproduction of gray can be guaranteed when R = G = B.
【0025】なお本発明の画像処理装置に画像データを
入力する外部入力装置として、フイルムスキャナまたは
プリントスキャナなどを用いることができ、処理済画像
信号を出力する外部出力装置として、銀塩感光材料に焼
付けを行うプリンタなど用いることができる。A film scanner or a print scanner can be used as an external input device for inputting image data to the image processing device of the present invention, and a silver salt photosensitive material can be used as an external output device for outputting a processed image signal. A printer or the like that prints can be used.
【0026】また本発明の画像処理装置には処理済画像
信号を出力する前に処理済画像信号が表す可視画像を試
行的に再生するCRT等の検定モニタを付加するのが望
ましい。Further, it is desirable to add a verification monitor such as a CRT for trially reproducing the visible image represented by the processed image signal before outputting the processed image signal to the image processing apparatus of the present invention.
【0027】[0027]
【発明の効果】本発明の画像処理装置によれば、色階調
補正手段が原画像の色階調を補正する補正量やどのよう
な補正をするかを、所定のパラメータに応じたものと
し、また鮮鋭度補正手段が原画像の鮮鋭度を補正する補
正量やどのような補正をするかを、所定のパラメータに
応じたものとしたことによって、色階調および鮮鋭度の
補正量等を、それらのパラメータを変更するだけで簡単
に行なうことができる。According to the image processing apparatus of the present invention, the correction amount by which the color gradation correction means corrects the color gradation of the original image and what kind of correction is to be performed are determined according to predetermined parameters. Further, the correction amount for correcting the sharpness of the original image by the sharpness correction unit and what kind of correction is made according to a predetermined parameter, the correction amount of the color gradation and the sharpness can be calculated. , It can be done simply by changing those parameters.
【0028】またこの鮮鋭度や色階調は画像の種々の因
子、例えば画像の大きさや色彩の濃淡、彩度等の影響に
より、視覚特性上の見た目、感じ方が変動する。このた
め、画像の種々の因子ごとのパラメータを複数のパラメ
ータ決定手段によりそれぞれ各別に決定し、この互いに
異なる複数のパラメータ決定手段により各別に決定され
た因子ごとのパラメータをパラメータ統合手段により統
合して統合パラメータを得、この統合パラメータをパラ
メータ設定手段により、色階調補正手段、鮮鋭度補正手
段における所定のパラメータとして設定することによっ
て、例えば画像の大きさを変えた場合にも、見た目にお
ける画像の鮮鋭度は、最初にパラメータ決定手段により
各別に決定した所望の鮮鋭度に合致したものとされる。The sharpness and color gradation vary in appearance and appearance in terms of visual characteristics due to various factors of the image, such as the size of the image, the shade of the color, and the saturation. Therefore, the parameters for each of the various factors of the image are individually determined by the plurality of parameter determination means, and the parameters for each factor individually determined by the plurality of mutually different parameter determination means are integrated by the parameter integration means. An integrated parameter is obtained, and the integrated parameter is set by the parameter setting means as a predetermined parameter in the color gradation correction means and the sharpness correction means. For example, even when the size of the image is changed, The sharpness is set to match the desired sharpness initially determined by the parameter determining means.
【0029】このように本発明の画像処理装置によれ
ば、画像の色階調や鮮鋭度に影響を及ぼす色階調補正手
段、鮮鋭度補正手段に複数の因子が影響を与える場合に
おいても、画像の色階調や鮮鋭度に影響を及ぼす独立し
た複数の因子を存在させ、それらにより決定された色階
調補正手段のパラメータと鮮鋭度補正手段のパラメータ
とを統合することにより、各因子が狙った所望の特性を
出力される画像に具備させることができる。As described above, according to the image processing apparatus of the present invention, even when a plurality of factors affect the color gradation correction means and the sharpness correction means that affect the color gradation and sharpness of the image, A plurality of independent factors that influence the color gradation and sharpness of the image are present, and by integrating the parameters of the color gradation correction means and the parameters of the sharpness correction means determined by them, each factor is A desired desired characteristic can be provided in the output image.
【0030】また各因子を独立とすることにより、各因
子に対応したそれぞれのパラメータ決定手段を他の因子
から受ける影響を考慮することなく変更することが可能
となり、装置の拡張や保守が容易になるという効果をも
発揮する。Further, by making each factor independent, it becomes possible to change each parameter determining means corresponding to each factor without considering the influence of other factors, and the expansion and maintenance of the device can be facilitated. It also has the effect of becoming.
【0031】[0031]
【発明の実施の形態】以下、本発明の画像処理装置の具
体的な実施の形態について図面を用いて説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Specific embodiments of an image processing apparatus of the present invention will be described below with reference to the drawings.
【0032】図1は本発明の画像処理装置の一実施形態
の概略構成を示すブロック図、図2は図1に示した画像
処理装置による画像処理をLUT(ルックアップテーブ
ル),MTX(マトリクス)等により処理することを示
す図である。図示の画像処理装置1は、例えば図3に示
す、いわゆるデジタル写真プリンタシステムにおける画
像処理装置155 として用いられるものである。FIG. 1 is a block diagram showing a schematic configuration of an embodiment of an image processing apparatus of the present invention, and FIG. 2 shows image processing by the image processing apparatus shown in FIG. 1 as LUT (lookup table) and MTX (matrix). It is a figure which shows processing by etc. The illustrated image processing apparatus 1 is used as an image processing apparatus 155 in a so-called digital photographic printer system shown in FIG. 3, for example.
【0033】すなわち図3に示すデジタル写真プリンタ
100 は、写真フイルム120 のバーコード122 を読み取る
バーコードリーダ142 、フイルム120 のチェックテープ
124に記載されたフイルム番号(数字、記号)を読み取
るスキャナ141 、フイルム120 のパーフォレーション12
3 と噛合しフイルム120 を搬送するスプロケット144、
スプロケット144 を駆動するモータ143 、バーコードリ
ーダ142 により読み取られたフイルム番号およびスキャ
ナ141 により読み取られたコマ番号をデータバスに送信
するとともにモータ143 を制御する信号をモータ143 に
送信するフイルムスキャナー制御インターフェース(I
/F)140 、フイルム120 の撮影コマ121 に光を照射す
る光源131 と調光ユニット132 と色分解ユニット133 と
拡散ボックス134 とからなる光源ユニット130 、光源ユ
ニット130 からの光を照射された撮影コマ121 に記録さ
れた画像の透過画像をレンズ151 を介して光電的に読み
取るCCD115 、CCD115 により光電変換された前記
透過画像に対応する画像信号をデジタル画像データに変
換するA/D変換器153 、A/D変換器153 から出力さ
れたデジタル画像データに対して、所望のプリント品質
を得るための画像処理を施して変調機ドライバ157 に出
力する画像処理装置155 、画像処理装置155により画像
処理を施されたデジタル画像データに基づいた変調信号
を出力する変調機ドライバ157 、変調機ドライバ157 に
より変調された信号に基づいた可視画像を再生するプリ
ンタ160 およびプリンタ制御I/F158 、画像処理の施
されたデジタル画像データをデータバスを介して記憶す
るハードディスク175 、必要に応じてデジタル画像デー
タに基づいた可視画像を再生し、あるいは画像処理条件
等を表示するCRTモニタ171 および表示I/F170 、
画像処理条件、画像処理条件の補正値、画像検索用情報
等を入力するキーボード173 およびキーボードI/F17
2 、データバスを介してバーコードリーダ142 およびス
キャナ141 により読み取られたフイルム番号およびコマ
番号からなる画像検索用情報と画像処理装置155 から入
力された画像処理条件とデジタル画像データとを対応付
けしてハードディスク175 に記憶せしめ、またキーボー
ド173 から入力された画像検索用情報に対応付けされた
1つのデジタル画像データをハードディスク175 から検
索制御し、その他データバスに接続された各機器を制御
するCPU174 、他のデジタル写真プリンタシステムと
通信回線を介して接続する通信ポート176 、プリンタ16
0 により再生された写真プリントを検査する検品場所に
配置されて必要に応じて焼直し指示を入力するキーボー
ド178 およびキーボードI/F177 を備えた構成であ
る。That is, the digital photographic printer shown in FIG.
100 is a bar code reader 142 that reads the bar code 122 of the photo film 120, and a check tape of the film 120
Scanner 141 that reads the film number (number, symbol) written on 124, perforation 12 of film 120
Sprocket 144 that meshes with 3 and carries the film 120,
A film scanner control interface that sends a motor 143 that drives the sprocket 144, a film number read by the bar code reader 142, and a frame number read by the scanner 141 to the data bus and a signal that controls the motor 143 to the motor 143. (I
/ F) 140, the light source unit 130 including the light source 131 for irradiating the shooting frame 121 of the film 120, the light control unit 132, the color separation unit 133, and the diffusion box 134, and the shooting with the light emitted from the light source unit 130. A CCD 115 for photoelectrically reading a transmission image of an image recorded on the frame 121 via a lens 151; an A / D converter 153 for converting an image signal corresponding to the transmission image photoelectrically converted by the CCD 115 into digital image data; The digital image data output from the A / D converter 153 is subjected to image processing for obtaining desired print quality and output to the modulator driver 157. A modulator driver 157 that outputs a modulation signal based on the applied digital image data, and reproduces a visible image based on the signal modulated by the modulator driver 157. A printer 160 and a printer control I / F 158, a hard disk 175 that stores image-processed digital image data via a data bus, reproduces a visible image based on the digital image data as necessary, or an image processing condition CRT monitor 171 and display I / F 170 for displaying etc.
A keyboard 173 and a keyboard I / F 17 for inputting image processing conditions, correction values of the image processing conditions, image search information, etc.
2.The image search information consisting of the film number and frame number read by the bar code reader 142 and the scanner 141 via the data bus is associated with the image processing condition input from the image processing device 155 and the digital image data. A CPU 174 for controlling the digital image data stored in the hard disk 175, and controlling the digital image data associated with the image search information input from the keyboard 173 from the hard disk 175, and controlling the other devices connected to the data bus. Communication port 176 for connecting to other digital photo printer systems via communication line, printer 16
This is a configuration provided with a keyboard 178 and a keyboard I / F 177 which are arranged at an inspection place for inspecting the photographic print reproduced by 0 and input a reprint instruction as necessary.
【0034】図1に示す画像処理装置1は、例えば図3
に示したデジタル写真プリンタ100のバーコードリーダ1
42 等のID情報読取系、光源ユニット130 、およびレ
ンズ151 からA/D変換器153 に亘る画像読取系からな
る画像読取装置(以下、フイルムスキャナという)等の
外部入力装置から入力された、原画像を表す原画像デー
タSを受けて、この原画像データSに対して所定のデー
タ処理を施し、データ処理が施された処理済画像データ
S′をプリンタ等の外部出力装置に出力する画像処理装
置であって、変更可能の所定のパラメータに応じて原画
像の色階調を補正するように、入力される原画像データ
Sに対して処理を施す色階調補正手段10と、変更可能の
所定のパラメータに応じて原画像の鮮鋭度を補正するよ
うに、入力される原画像データSに対して処理を施す鮮
鋭度補正手段20と、色階調および鮮鋭度に影響を及ぼす
画像の複数の因子、例えばプリントサイズやカラーバラ
ンス、彩度、濃度、ガンマ値などをそれぞれ各別に定め
る複数のパラメータを、それぞれ各別に決定する互いに
独立した複数のパラメータ決定手段31,32,33,34と、
これら複数のパラメータを統合して統合パラメータを得
るパラメータ統合手段40と、統合パラメータに基づい
て、色階調補正手段10の所定のパラメータおよび鮮鋭度
補正手段20の所定のパラメータを設定するパラメータ設
定手段50とを備えた構成である。The image processing apparatus 1 shown in FIG.
Bar code reader for the digital photo printer 100 shown in 1
An image input device including an ID information reading system such as 42, a light source unit 130, and an image reading system extending from the lens 151 to the A / D converter 153 (hereinafter referred to as a film scanner) and the like Image processing for receiving original image data S representing an image, subjecting the original image data S to predetermined data processing, and outputting the processed image data S ′ subjected to the data processing to an external output device such as a printer. The apparatus is a color gradation correction unit 10 that processes input original image data S so as to correct the color gradation of an original image according to a changeable predetermined parameter, and a changeable color gradation correction unit 10. A sharpness correction means 20 for processing the input original image data S so as to correct the sharpness of the original image according to a predetermined parameter, and a plurality of images that affect color gradation and sharpness. Factors of, for example A plurality of independent parameter determining means 31, 32, 33, 34 for individually determining a plurality of parameters for individually determining print size, color balance, saturation, density, gamma value, etc., respectively,
Parameter integrating means 40 for integrating these plural parameters to obtain an integrated parameter, and parameter setting means for setting a predetermined parameter of the color gradation correcting means 10 and a predetermined parameter of the sharpness correcting means 20 based on the integrated parameter. It is a structure with 50 and.
【0035】また図1において破線で示すように、画像
データSの入力相手である例えばフイルムスキャナ等の
外部入力装置の種類や入力信号の種類、例えばネガフイ
ルムから得られた画像信号であるか、ポジフイルムから
得られた画像信号であるか、反射画像から得られた画像
信号であるかを識別する入力装置識別手段61、および処
理済画像データS′の出力相手である外部出力装置の種
類を識別する出力装置識別手段62と、これら入力装置識
別手段61および出力装置識別手段62(これらを総称して
入出力装置識別手段という)による識別結果に応じて、
上記色階調および鮮鋭度に影響を及ぼす画像の因子のパ
ラメータを決定するパラメータ決定手段35,36をさらに
備えた構成を採用することもできる。Further, as indicated by a broken line in FIG. 1, the type of an external input device such as a film scanner or the type of an input signal, which is an input partner of the image data S, for example, an image signal obtained from a negative film, The input device identification means 61 for identifying whether it is an image signal obtained from a positive film or an image signal obtained from a reflection image, and the type of an external output device that is an output partner of the processed image data S ′ are set. According to the output device identifying means 62 for identifying, and the identification result by the input device identifying means 61 and the output device identifying means 62 (collectively referred to as input / output device identifying means),
It is also possible to employ a configuration further including parameter determining means 35 and 36 for determining the parameters of the image factors that affect the color gradation and sharpness.
【0036】なお、パラメータ設定手段50およびパラメ
ータ統合手段40の機能を、CPU等の演算処理装置で行
なうことも勿論可能である。Of course, the functions of the parameter setting means 50 and the parameter integration means 40 can be performed by an arithmetic processing unit such as a CPU.
【0037】また、濃度データは外部入力装置(フイル
ムスキャナ)から10bit で出力される。通常、各社のポ
ジの最高濃度は 3.0〜3.8 ぐらい、ネガの最高濃度もベ
ース濃度の違い、オーバーネガを考慮しても 3.2ぐらい
であるので、濃度の 256倍の値(4.0 の時1023)で定義
する。The density data is output in 10 bits from an external input device (film scanner). Normally, the maximum positive density of each company is around 3.0 to 3.8, and the maximum negative density is around 3.2 even when taking into consideration the difference in base density and over negative, so it is 256 times the density (1023 at 4.0). Define.
【0038】次に図2について説明する。Next, FIG. 2 will be described.
【0039】図2におけるLUT(ルックアップテーブ
ル)1、MTX(マトリクス)1、LUT2-1,-2,-3,-
4 、MTX1-1,-2,-3,-4,-5はいずれも、個々のパラメ
ータ決定手段31,32,33,34が決定したパラメータを変
換処理するものであり、シャープネス処理-1,-2,-3はい
ずれも鮮鋭度に関するパラメータを変換処理するもので
ある。LUT (look-up table) 1, MTX (matrix) 1, LUT 2-1, -2, -3,-in FIG.
4, MTX1-1, -2, -3, -4, -5 are all for converting the parameters determined by the individual parameter determining means 31, 32, 33, 34, and sharpness processing-1, -2 and -3 are for converting parameters related to sharpness.
【0040】一方、LUT-C1-1,-C1-2,-C1-3,MTX-C
1-1,-C1-2,-C1-3,-C1-4,LUT-C2は検定モニタのLU
T、MTXである。検定モニタは、色階調補正手段10お
よび鮮鋭度補正手段20により補正された結果の処理済み
画像信号に対応する画像を表示することにより、プリン
トとして出力する前にその表示画像を観て、仕上げの状
態の可否を判定するために用いられる。したがって、本
来検定モニタには色階調補正手段10のLUT1、MTX
1、LUT2-1,-2,-3,-4 、MTX1-1,-2,-3,-4,-5に
よる処理を経、鮮鋭度補正手段20のシャープネス処理-
1,-2,-3を経た画像信号に基づく画像を表示すべきであ
るが、処理の高速化を図るためには不利となる。On the other hand, LUT-C1-1, -C1-2, -C1-3, MTX-C
1-1, -C1-2, -C1-3, -C1-4, LUT-C2 is the LU of the certification monitor
T and MTX. The certification monitor displays an image corresponding to the processed image signal as a result of the correction by the color gradation correction means 10 and the sharpness correction means 20, so that the display image is viewed and finished before being output as a print. It is used to determine whether or not the state of. Therefore, the LUT1 and MTX of the color gradation correction means 10 should originally be used for the verification monitor.
1, LUT2-1, -2, -3, -4, MTX1-1, -2, -3, -4, -5, through the sharpness processing of the sharpness correction means 20-
An image based on the image signal passing through 1, -2, -3 should be displayed, but this is disadvantageous for speeding up the processing.
【0041】そこで、これらのLUT1、MTX1、L
UT2-1,-2,-3,-4 、MTX1-1,-2,-3,-4,-5と同様の
処理内容の処理であるLUT-C1-1,-C1-2,-C1-3,MTX
-C1-1,-C1-2,-C1-3,-C1-4,LUT-C2 を検定モニタ専用
の処理として、LUT1、MTX1、LUT2-1,-2,-
3,-4 、MTX1-1,-2,-3,-4,-5と並列的に設定してい
る。Therefore, these LUT1, MTX1, L
LUT-C1-1, -C1-2, -C1 which is the processing of the same processing contents as UT2-1, -2, -3, -4, MTX1-1, -2, -3, -4, -5 -3, MTX
-C1-1, -C1-2, -C1-3, -C1-4, LUT-C2 is used as a processing dedicated to the verification monitor, and LUT1, MTX1, LUT2-1, -2,-
3, -4 and MTX1-1, -2, -3, -4, -5 are set in parallel.
【0042】なお、図1においてはこの検定モニタおよ
びLUT-C1-1,-C1-2,-C1-3,MTX-C1-1,-C1-2,-C1-3,
-C1-4,LUT-C2 の図示を省略している。In FIG. 1, this test monitor and LUT-C1-1, -C1-2, -C1-3, MTX-C1-1, -C1-2, -C1-3,
Illustration of -C1-4 and LUT-C2 is omitted.
【0043】(1)セットアップアルゴリズム 図2におけるセットアップアルゴリズムとは、複数のパ
ラメータ決定手段のうちの1つ、例えばパラメータ決定
手段31に予め記憶されているアルゴリズムであって、画
像データが入力されると、以下のセットアップアルゴリ
ズムにしたがって、画像の撮影時の露光量差、読取にお
ける光源種差を吸収し好ましい処理済み画像データを得
るためのパラメータを決定するものである。(1) Setup Algorithm The setup algorithm in FIG. 2 is an algorithm stored in advance in one of the plurality of parameter determining means, for example, the parameter determining means 31, and when image data is input. According to the following setup algorithm, the parameters for obtaining the preferable processed image data by absorbing the exposure amount difference at the time of image capturing and the light source type difference at the time of reading are determined.
【0044】従来は図4に示すように、セットアップア
ルゴリズムを実行する以前の段階において、スキャナの
種類による差やネガ/ポジの差を吸収することとしてい
た。この結果、これらの差があっても一つのアルゴリズ
ムで対応していた。Conventionally, as shown in FIG. 4, in the stage before executing the setup algorithm, the difference due to the type of scanner and the difference between negative and positive are absorbed. As a result, even if there were these differences, one algorithm was sufficient.
【0045】しかし例えばスキャナについては、その性
能の相違によりノイズや濃度直線性に差があるため、一
般に読取り条件の悪いフィルムシャドー部の情報量が
「0」になる場合がある。このような情報量「0」のデ
ータは補正が不可能である。またネガとポジの差は、ネ
ガが「実景(反転したプリント)」の好ましい再現を目
的とするのに対し、ポジはフィルム自体が観察対象であ
り、実景ではなくフイルムの好ましい再現が要求され
る。However, for scanners, for example, noise and density linearity are different due to the difference in performance, so that the information amount in the film shadow portion, which is generally in poor reading conditions, may be "0". It is impossible to correct such data having the information amount “0”. Further, the difference between the negative and the positive is intended to reproduce the "real scene (inverted print)" in a preferable manner, whereas the positive is an object to be observed by the film itself, and thus the film is desired to be reproduced rather than the actual scene. .
【0046】以上の点から、セットアップにおいては、
スキャナやフイルムのタイプごとにアルゴリズム自体を
それぞれに適応したものとして複数準備し、これらを対
応するスキャナやフイルムのタイプごとに入れ替えるの
が望ましい。From the above points, in the setup,
It is desirable to prepare a plurality of algorithms for each type of scanner or film as adapted to each, and replace them for each corresponding scanner or film type.
【0047】本実施形態のパラメータ決定手段31に記憶
されているセットアップアルゴリズムには、具体的には
下記のごときアルゴリズムが設定されている。Specifically, the following algorithms are set as the setup algorithms stored in the parameter determining means 31 of the present embodiment.
【0048】入力画像データがポジフイルムについて
の画像データである場合 ポジはフイルム自体の好ましい再現をめざすので白色順
応的な考えと色再現の圧縮を考慮してセットアップす
る。When the input image data is the image data for the positive film: Since the positive image aims at the preferable reproduction of the film itself, the positive image is set up in consideration of the white adaptation and the color reproduction compression.
【0049】まず、スキャナとポジフイルムの分光特性
の関係による補正が実施される。この関係は、装置の出
荷時において予め求められる。具体的な処理としては、
まずポジのグレーの傾きが所望の値になるようにLUT
(ルックアップテーブル)1により各色(R,G,Bと
する)の傾きが補正される。次にMTX(マトリクス)
1によりポジの各色材の概解析濃度に線形な領域に変換
する。MTX1では1次項の和=1の制限を与える。First, correction is carried out based on the relationship between the spectral characteristics of the scanner and the positive film. This relationship is obtained in advance when the device is shipped. As specific processing,
First, the LUT is set so that the positive gray slope has a desired value.
The inclination of each color (R, G, B) is corrected by the (lookup table) 1. Next, MTX (matrix)
The value is converted into a linear region in the approximate analysis density of each positive color material by 1. In MTX1, the limit of the sum of the first-order terms = 1 is given.
【0050】スキャナ出力(R,G,B)に対し、LU
T1、MTX1が施された後の出力をRi ,Gi ,Bi
とする。LU for scanner output (R, G, B)
The outputs after T1 and MTX1 are applied are Ri, Gi and Bi.
And
【0051】次に、白色順応の考え方でフイルム上の白
をプリント上の白に対応させる。まず、フイルム上の白
のデータ値Rw 1,Gw 1,Bw 1を求める。具体的に
は各色の濃度の累積ヒストグラムの1%に対応する濃度
の点をRw 1,Gw 1,Bw1とする。実際にはポジに
完全順応しているわけではないので、先のRw 1,Gw
1,Bw 1を白色とするのではく、光源色(R=G=
B)とバランスさせればよい。具体的には下記式により
求める。Next, the white on the film is made to correspond to the white on the print by the concept of white adaptation. First, the white data values Rw 1, Gw 1, Bw 1 on the film are obtained. Specifically, the density points corresponding to 1% of the cumulative histogram of the density of each color are defined as Rw1, Gw1, and Bw1. Actually, it is not completely adapted to positive, so the above Rw 1, Gw
1, Bw 1 is not white, but the light source color (R = G =
It should be balanced with B). Specifically, it is calculated by the following formula.
【0052】なお、下記式および、本明細書中の各式に
おいて出現する濃度値を表す「D」の記号は、上記光源
色R,G,Bのそれぞれについて適用するものである。The symbols "D" representing the density values appearing in the following equations and equations in this specification are applied to each of the light source colors R, G, B.
【0053】Dw =α×Dw 1+(1−α)×Y Y=(Rw 1+Gw 1+Bw 1)/3 0≦α≦1 ただし、Dw はRw ,Gw ,Bw を、Dw 1はRw 1,
Gw 1,Bw 1をそれぞれ表すものである。Dw = α × Dw 1+ (1-α) × Y Y = (Rw 1 + Gw 1 + Bw 1) / 3 0 ≦ α ≦ 1 where Dw is Rw, Gw, Bw and Dw 1 is Rw 1,
Gw 1 and Bw 1 are respectively represented.
【0054】システムが定義している白色の値をRsw,
Gsw,Bswとすると、 Ro =Ri +Rsw−Rw Go =Gi +Gsw−Gw Bo =Bi +Bsw−Bw で変換する。本来、順応(von Kries の係数則)に基づ
けば、基本三刺激値のゲイン調整で変換が実施されなけ
ればならないが、あらかじめ色材の発色量を表す概解析
濃度に変換されており、かつ銀塩写真プリンタのように
プリント色材が原稿ポジフイルム色材と同じような分光
特性を持つ場合は、上式のように濃度領域での加減算で
変換を実施しても誤差は小さい。The white value defined by the system is Rsw,
Assuming Gsw and Bsw, conversion is performed by Ro = Ri + Rsw-Rw Go = Gi + Gsw-Gw Bo = Bi + Bsw-Bw. Originally, based on the adaptation (von Kries's coefficient rule), conversion should be performed by adjusting the gain of the basic tristimulus values, but it has already been converted to the approximate analysis density that expresses the coloring amount of the coloring material, and When the print color material has the same spectral characteristic as the original positive film color material as in a salt photograph printer, the error is small even if conversion is performed by addition and subtraction in the density region as in the above formula.
【0055】さらにDo に対し、ポジの色再現域はプリ
ントの色再現域に比べて広いので色再現域の圧縮を実施
する。スキャナの濃度直線性が良好の場合は、原稿ポジ
から白と同様の手法で黒Do bkを検出し、シーンごとに
ダイナミックに色再現域を圧縮すれば良い。スキャナの
ノイズ特性や濃度直線性が好ましくない場合は、光量が
少ない高濃度すなわち黒付近のデータ信頼性が劣るので
固定のダイナミックレンジ、すなわち固定のDo bkで圧
縮を実施する。固定のDo bkとしては濃度値略2.0〜2.5
を用いると比較的良好な結果が得られる。Furthermore, since the positive color gamut is wider than Do as compared with the print color gamut, the color gamut is compressed. When the density linearity of the scanner is good, black Dobk may be detected from the positive document in the same manner as white, and the color gamut may be dynamically compressed for each scene. When the noise characteristics and the density linearity of the scanner are not preferable, the data reliability in the high density with a small amount of light, that is, in the vicinity of black, is inferior. As a fixed Do bk, the density value is approximately 2.0 to 2.5
Gives relatively good results.
【0056】この圧縮は視覚の特性を考慮してL*(輝
度の1/3乗)空間で線形に実施する。システムが定義
している黒色の値(輝度の1/3乗)をDs bk*、Dを
濃度の 256倍、(輝度の1/3乗)を10bit としたと
き、D*は下記式で表すことができる。This compression is linearly performed in the L* (luminance 1/3) space in consideration of the visual characteristics. When the system-defined black value (luminance 1/3 power) is Ds bk* , D is 256 times the density, and (luminance 1/3 power) is 10 bits, D* is expressed by the following formula. be able to.
【0057】なお、「*」の記号は、色度を表すL*a
*b*と同様に1/3乗を表すものである。The symbol "* " indicates L* a which represents chromaticity.
Similar to* b*, it represents the 1/3 power.
【0058】D*=(Dsw*−Ds bk*)/(Dw*−
Dbk)(LUT2(Do )−Dw*)十Dsw* D=R,G,B Dsw*:LUT2(Dsw) Dw*:Di =Dw のときのLUT1(Do )でDsw*
に等しい。D* = (Dsw* -Dsbk* ) / (Dw* -
Dbk) (LUT2 (Do) -Dw* ) tens Dsw* D = R, G, B Dsw* : LUT2 (Dsw) Dw* : Di = Dw LUT1 (Do) Dsw*
be equivalent to.
【0059】Dbk*:LUT1(Do bk) Ds bk*:システムが定義している黒色の値(輝度の1
/3乗) LUT2(D)=1024×pow (10,−D/256 /3)−
1 最後に、D*に対しLUTを用いてシステムの中間表現
に変換する。Dbk* : LUT1 (Do bk) Ds bk* : Black value defined by the system (luminance 1
/ 3 power) LUT2 (D) = 1024 × pow (10, −D / 256/3) −
1 Finally, transform the D* into an intermediate representation of the system using a LUT.
【0060】Ri ,Gi ,Bi からシステムの中間表現
までの変換を統合してLUT2-1とする。The conversion from Ri, Gi, Bi to the intermediate representation of the system is integrated to form LUT2-1.
【0061】さらに、固定のシャープネスゲイン値をシ
ャープネス処理-1とする。ポジの場合、ノイズ特性が優
れるので 200〜300 %のゲイン値を与える。スキャナの
ノイズ特性が不良の場合は小さめのゲイン値とする。Further, a fixed sharpness gain value is defined as sharpness processing-1. In the case of positive, the noise characteristic is excellent, so a gain value of 200 to 300% is given. If the noise characteristic of the scanner is poor, use a smaller gain value.
【0062】入力画像データがネガフイルムについて
の画像データである場合 ネガは実景の好ましい再現をめざす。When the input image data is image data for a negative film: The negative aims at a preferable reproduction of the real scene.
【0063】まず、スキャナとネガフイルムの分光特性
の関係による補正が実施される。この関係は、装置の出
荷時において予め求められる。具体的な処理としては、
まずネガのグレーの傾きが所望の値になるようにLUT
1で各色(R,G,B)の傾きが補正される。次にMT
X1でネガの各色材の概解析濃度に線形な領域に変換す
る。MTX1では1次項の和=1の制限を与える。First, correction is carried out based on the relationship between the spectral characteristics of the scanner and the negative film. This relationship is obtained in advance when the device is shipped. As specific processing,
First, the LUT is set so that the negative gray slope has a desired value.
At 1, the inclination of each color (R, G, B) is corrected. Next MT
At X1, it is converted into a linear region to the approximate analysis density of each negative color material. In MTX1, the limit of the sum of the first-order terms = 1 is given.
【0064】上記に合わせて、ネガの好ましからざる特
性を補正する。ネガは図5に示すような形状の特性曲線
を有しており、アンダー/オーバー露光では非線形な階
調の歪みを有するので、この非線形性を修正する。この
機能は前記のLUT1にカスケードして実施する。In accordance with the above, the negative unfavorable characteristics are corrected. The negative has a characteristic curve having a shape as shown in FIG. 5, and has a non-linear gradation distortion in under / overexposure, so this non-linearity is corrected. This function is implemented by cascading to the LUT1.
【0065】なお、スキャナのノイズ特性や濃度直線性
が好ましくない場合は、光量が少ないオーバー側の補正
は実施しない方が好ましい。スキャナ出力(R,G,
B)に対し、LUT1,MTX1が施された出力をRi
,Gi ,Bi とする。If the noise characteristics and the density linearity of the scanner are not preferable, it is preferable not to perform the correction on the over side where the light amount is small. Scanner output (R, G,
The output obtained by applying LUT1, MTX1 to B) is Ri.
, Gi, Bi.
【0066】次に統計的手法によりカラーバランスと濃
度・階調補正を実施する。Next, color balance and density / gradation correction are carried out by a statistical method.
【0067】まず、所定の方法(例えば、特願平6−27
1393号で開示した方法)により統計的処理を妨害する画
素を取り除く。妨害画素が取り除かれて残存する画素に
基づいて、各色の平均濃度Rave ,Gave ,Bave 、最
高濃度Rmax ,Gmax ,Bmax 、最低濃度Rmin ,Gmi
n ,Bmin を求める。統計的処理妨害要因が取り除かれ
ているので各色の平均濃度を一定濃度に変換する手法を
用いる。First, a predetermined method (for example, Japanese Patent Application No. 6-27).
Pixels that interfere with statistical processing are removed by the method disclosed in 1393). The average densities Rave, Gave, Bave, the maximum densities Rmax, Gmax, Bmax, and the minimum densities Rmin, Gmi of each color are based on the pixels remaining after the disturbing pixels are removed.
Find n and Bmin. Since the factors that interfere with the statistical processing have been removed, a method of converting the average density of each color into a constant density is used.
【0068】Ro =Ri +Ds −Rave Go =Gi +Ds −Gave Bo =Bi +Bs −Bave Ds :目標一定濃度 階調補正は画像データのダイナミックレンジに基づいて
補正する。Ro = Ri + Ds-Rave Go = Gi + Ds-Gave Bo = Bi + Bs-Bave Ds: Target constant density gradation correction is performed based on the dynamic range of image data.
【0069】 Do 2=f(DY)×(Do −Dave )+Dave DY=(Rmax +Gmax +Bmax )/3−(Rmin +G
min +Bmin )/3 Dave =Ro ,Go ,Bo f(DY);図6に基づいて決定 なお、従来の面露光プリンタと同様の再現を望む場合
は、この階調補正を行わなければよい。具体的には、記
載されないオペレータによる切替手段を用いて、階調補
正を行うモードと行わないモードを選択可能とするモー
ド指定(MODE指定)を行えばよい。Do 2 = f (DY) × (Do −Dave) + Dave DY = (Rmax + Gmax + Bmax) / 3− (Rmin + G
min + Bmin) / 3 Dave = Ro, Go, Bof (DY); determined based on FIG. 6. If reproduction similar to that of the conventional surface exposure printer is desired, this gradation correction need not be performed. Specifically, a mode designation (MODE designation) that allows selection between a mode in which gradation correction is performed and a mode in which gradation correction is not performed may be performed using a switching unit by an operator not described.
【0070】最後にDo 2に対し、所望のプリント階調
に基づいて求められるLUTを用いて、システムの中間
表現に変換する。Finally, the Do 2 is converted into the intermediate representation of the system by using the LUT obtained based on the desired print gradation.
【0071】Ri ,Gi ,Bi からシステムの中間表現
までの変換を統合してLUT2-1とする。The conversion from Ri, Gi, Bi to the intermediate representation of the system is integrated to form LUT2-1.
【0072】さらに、固定のシャープネスゲイン値をシ
ャープネス処理-1とする。ネガの場合ノイズ特性が劣る
ので 150〜200 %のゲイン値を与える。スキャナのノイ
ズ特性が不良の場合は小さめのゲイン値とする。また、
ネガの場合Rの飽和度が非常に大きいので、より好まし
い色再現を求める場合はMTX2-1の2次項を使って微
調する。係数の例を以下に示す。Further, a fixed sharpness gain value is defined as sharpness processing-1. In the case of a negative, the noise characteristic is inferior, so a gain value of 150 to 200% is given. If the noise characteristic of the scanner is poor, use a smaller gain value. Also,
In the case of a negative, the saturation of R is very large, so in order to obtain a more preferable color reproduction, fine adjustment is performed using the quadratic term of MTX2-1. Examples of coefficients are shown below.
【0073】[0073]
【数1】(Equation 1)
【0074】上記係数は、列ごとにR2,G2,B2,
RG,GB,BR,R,G,B,定数の順、行ごとにR
用,G用,B用である。The above coefficients are R2 , G2 , B2 , and
RG, GB, BR, R, G, B, constant order, R for each row
For G, for G, for B.
【0075】入力画像データが補正済みの画像データ
である場合 入力画像データが補正済みの画像データである場合は、
補正が完成されたデータを受け取るため自動補正は不要
であり、システムの中間表現とマッチングを取るための
固定の修整をLUT1,MTX1,LUT2-1により実
施する。また、シャープネスゲイン値0%をシャープネ
ス処理-1とする。When the input image data is corrected image data When the input image data is corrected image data,
Since the corrected data is received, automatic correction is unnecessary, and fixed corrections for matching with the intermediate representation of the system are performed by LUT1, MTX1, and LUT2-1. A sharpness gain value of 0% is defined as sharpness processing-1.
【0076】(2)プリファレンス補正 図2におけるプリファレンス補正とは、複数のパラメー
タ決定手段のうちの1つ、例えばパラメータ決定手段32
が有する初期設定手段に記憶されたアルゴリズムであっ
て、濃度、カラーバランス、ガンマ値、彩度をラボごと
の仕上げの好みに合わせてパラメータの初期値を設定す
るものである。予めこれらの仕上げの好みに関する因子
のパラメータを設定しておくことにより、画像データが
入力されると以下のアルゴリズムにしたがって、処理済
み画像データを得るためのパラメータを決定する。(2) Preference correction The preference correction in FIG. 2 means one of a plurality of parameter determining means, for example, the parameter determining means 32.
Is an algorithm stored in the initial setting means included in, which sets the initial values of parameters in accordance with the finishing preference of each laboratory for density, color balance, gamma value, and saturation. By setting the parameters of the factors relating to the finishing preference in advance, when the image data is input, the parameters for obtaining the processed image data are determined according to the following algorithm.
【0077】濃度、カラーバランス、ガンマ値、彩度を
それぞれ±のステップ値Sで指定する。ただし、±0を
基準とし、ステップ値Sが好みの程度を示す指標値とな
る。なお、R(Red ),G(Green ),B(Blue)とC
(Cyan),M(Magenta ),Y(Yellow)とは互いに補
色の関係にある。The density, color balance, gamma value, and saturation are designated by the step values S of ±. However, with ± 0 as a reference, the step value S becomes an index value indicating the degree of preference. In addition, R (Red), G (Green), B (Blue) and C
(Cyan), M (Magenta), and Y (Yellow) are complementary colors to each other.
【0078】 濃度 Rm ′=Rm −6×S Gm ′=Gm −6×S Bm ′=Bm −6×S カラーバランス(C) Rm ′=Rm −3×S カラーバランス(M) Gm ′=Gm −3×S カラーバランス(Y) Bm ′=Bm −3×S ガンマ Rm ′=(1+0.05×S)(Rm −Ds
p)+Dsp (G,Bについても同じ) プリントのL*値が略50となるDspを固定とする。Density Rm ′ = Rm−6 × S Gm ′ = Gm−6 × S Bm ′ = Bm−6 × S Color balance (C) Rm ′ = Rm −3 × S Color balance (M) Gm ′ = Gm -3 * S color balance (Y) Bm '= Bm -3 * S gamma Rm' = (1 + 0.05 * S) (Rm-Ds
p) + Dsp (same for G and B) Fix the Dsp at which the print L* value is approximately 50.
【0079】彩度(2次マトリクスMTX2-1の係数)Saturation (coefficient of secondary matrix MTX2-1)
【0080】[0080]
【数2】(Equation 2)
【0081】上記係数は、列ごとにR2,G2,B2,
RG,GB,BR,R,G,B,定数の順、行ごとにR
用,G用,B用である。Sはステップ値である。The above coefficients are R2 , G2 , B2 , and
RG, GB, BR, R, G, B, constant order, R for each row
For G, for G, for B. S is a step value.
【0082】濃度、カラーバランスはオフセット(0次
関数)、ガンマは1次関数で統合して1次関数またはL
UTにてLUT2-2に相当する。The density and color balance are offset (0th order function), and gamma is a 1st order function.
Equivalent to LUT2-2 in UT.
【0083】(3)Key補正 図2におけるKey 補正とは、複数のパラメータ決定手段
のうちの1つ、例えばパラメータ決定手段33が有する、
セットアップだけでは所望の仕上げが得られない場合に
オペレータがマニュアルで修正を加えるためのKey 補正
手段(マニュアルセットアップ手段)が備えるマニュア
ルセットアップのアルゴリズムである。(3) Key correction The key correction in FIG. 2 is one of a plurality of parameter determining means, for example, the parameter determining means 33 has.
This is a manual setup algorithm provided by the Key correction means (manual setup means) for the operator to manually make corrections when the desired finish cannot be obtained only by setup.
【0084】このKey 補正手段により修正可能な項目
は、濃度、カラーバランス、彩度、シャープネス等があ
り、これらの修正項目にそれぞれ対応するKey が備えら
れている。Items that can be corrected by this Key correction means include density, color balance, saturation, sharpness, etc., and Keys corresponding to these correction items are provided.
【0085】このKey は、補正量に対応した±のKey 値
Kを指定できるものである。This Key can specify a ± Key value K corresponding to the correction amount.
【0086】オペレータは、検定モニタに表示された処
理済み画像を見ながら、各修正項目に対応したKey (濃
度Key 、カラーバランスKey 、彩度Key 、シャープネス
Key、カーブ選択Key )を操作することによりマニュア
ルで修正が可能である。While looking at the processed image displayed on the test monitor, the operator selects the key (density key, color balance key, saturation key, sharpness) corresponding to each correction item.
It can be manually corrected by operating the Key and curve selection Key).
【0087】ここでカーブ選択Key とは、例えば、シャ
ドー調子だし、ハイライト調子だし、ネガアンダー修
正、ネガオーバー修正、肌軟調等の画像の中間表現の修
正を行うために予め設定された複数の修正曲線(図7参
照)に対応したLUTの番号を選択可能にしたKey であ
り、Key 補正手段により設定可能のKey の1つである。Here, the curve selection keys are, for example, shadow tone, highlight tone, negative under-correction, negative over-correction, skin tone, etc. It is a key that allows selection of the LUT number corresponding to the correction curve (see FIG. 7), and is one of the keys that can be set by the key correction means.
【0088】 濃度 Rm ′=Rm −6×K Gm ′=Gm −6×K Bm ′=Bm −6×K 力ラーバランス(Cyan) Rm ′=Rm −3×K カラーバランス(Magenta ) Gm ′=Gm −3×K カラーバランス(Yellow) Bm ′=Bm −3×K カーブ選択 Rm ′=LUTcv[K](Rm) (G,Bについても同様) 彩度(2次マトリクスMTX2-1の係数)Density Rm ′ = Rm −6 × K Gm ′ = Gm −6 × K Bm ′ = Bm −6 × K Color balance (Cyan) Rm ′ = Rm −3 × K Color balance (Magenta) Gm ′ = Gm -3 × K color balance (Yellow) Bm '= Bm -3 × K curve selection Rm' = LUTcv [K] (Rm) (same for G and B) Saturation (coefficient of secondary matrix MTX2-1)
【0089】[0089]
【数3】(Equation 3)
【0090】上記係数は、列ごとにR2,G2,B2,
RG,GB,BR,R,G,B,定数の順、行ごとにR
用,G用,B用である。Kは補正量に対応したKey 値。The above coefficients are R2 , G2 , B2 , and
RG, GB, BR, R, G, B, constant order, R for each row
For G, for G, for B. K is the Key value corresponding to the correction amount.
【0091】シャープネス シャープネス処理-2のゲイン値=30×K(%) 濃度、カラーバランスはオフセット(0次関数)、カー
ブ選択はLUTで統合してLUTにてLUT2-3に相
当。Sharpness Sharpness processing-2 gain value = 30 × K (%) Density, color balance is offset (0th order function), curve selection is integrated by LUT, and LUT is equivalent to LUT 2-3.
【0092】ここで中間表現とは、スキャナ補正を含む
セットアップアルゴリズムによりLUT1,MTX1,
LUT2-1の順で補正された結果である。視覚特性にリ
ニアな領域が各種補正に都合がよい(線形に補正でき
る)のでプリントの輝度の1/3乗の領域で10bit で扱
っている。ただし、高明度側はカラーバランスの崩れに
敏感であるのでやや軟調とする。R=G=Bの時、プリ
ントがグレーになることを保証している。Here, the intermediate representation means LUT1, MTX1, and LUT1, MTX1, by a setup algorithm including scanner correction.
The results are corrected in the order of LUT2-1. Since the area that is linear to the visual characteristics is convenient for various corrections (can be corrected linearly), it is treated as 10 bits in the area of the 1/3 power of the print brightness. However, the high-lightness side is sensitive to the loss of color balance, so it is slightly softer. When R = G = B, the print is guaranteed to be gray.
【0093】中間表現は、入力種に拘らずデータが同じ
場合は同じ色再現を保証しており、ここで実施されるプ
リファレンス補正、Key 補正、サイズ補正も入力種に拘
らず同じ働きをする。The intermediate representation guarantees the same color reproduction when the data is the same regardless of the input type, and the preference correction, the key correction, and the size correction performed here also have the same function regardless of the input type. .
【0094】なお、セットアップアルゴリズムが中間表
現後のMTX2-1の2次項を利用して非線形修正を行う
場合があるが、中間表現で行われる各種補正は任意では
なく目標に近づけるためのものであり、かつ、微調のレ
ベルであるので色再現上不都合とはならない。Although the setup algorithm may perform nonlinear correction by using the quadratic term of MTX2-1 after the intermediate expression, various corrections performed by the intermediate expression are not arbitrary, but are for approaching the target. Moreover, since it is a fine adjustment level, there is no inconvenience in color reproduction.
【0095】(4)サイズ補正 図2におけるサイズ補正とは、プリントサイズ及びフイ
ルムからの拡大率による影響を補正するアルゴリズムで
あり、パラメータ決定手段のうちの1つに記憶されてい
る。具体的には、プリントサイズが大きくなると視覚特
性上、コントラストが低い画像(いわゆる眠い絵)と感
じてしまう。このため、Lサイズプリント等に比べて六
切り等のサイズではコントラスト、濃度を上げる必要が
ある。そこで、この拡大縮小率に基づいてコントラス
ト、濃度の修正のためのパラメータを決定する。(4) Size Correction The size correction in FIG. 2 is an algorithm for correcting the influence of the print size and the enlargement ratio from the film, and is stored in one of the parameter determining means. Specifically, when the print size is increased, the image is perceived as an image with low contrast (so-called sleepy picture). For this reason, it is necessary to increase the contrast and the density in sizes such as hexadecimal as compared with L size prints and the like. Therefore, the parameters for correcting the contrast and the density are determined based on the enlargement / reduction ratio.
【0096】2次マトリクスMTX2-4の係数Coefficients of quadratic matrix MTX2-4
【0097】[0097]
【数4】(Equation 4)
【0098】 if (プリントの短辺≦10cm) {Sz =0;Szo=0} else if (プリントの短辺≦15cm) {Sz =0.01;Szo=−7} else {Sz =0.02;Szo=−14) シャープネス処理-3のゲイン値は拡大率で制御する。If (short side of print ≦ 10 cm) {Sz = 0; Szo = 0} else if (short side of print ≦ 15 cm) {Sz = 0.01; Szo = −7} else {Sz = 0.02; Szo = − 14) The gain value of sharpness processing-3 is controlled by the enlargement ratio.
【0099】 if (拡大率≦5倍) {ゲイン値=0%} else if (拡大率≦6倍) {ゲイン値=20%} else {ゲイン値=40%} (5)出力補正 図2における出力補正(標準出力補正または外部出力補
正)は、システムの中間表現から外部出力装置、出力媒
体に応じた色再現の補正を行うためのアルゴリズムであ
って、パラメータ決定手段のうちの1つに記憶されて、
外部出力装置の種類に基づいて補正のためのパラメータ
を決定する。If (enlargement ratio ≦ 5 times) {gain value = 0%} else if (enlargement ratio ≦ 6 times) {gain value = 20%} else {gain value = 40%} (5) Output correction In FIG. The output correction (standard output correction or external output correction) is an algorithm for correcting the color reproduction according to the external output device and the output medium from the intermediate representation of the system, and is stored in one of the parameter determining means. Has been
The parameters for correction are determined based on the type of external output device.
【0100】中間表現から標準出力、外部出力補正によ
り出力に合わせたデータとなっている。補正が完成した
後のデータなので、8bit で扱う。10bit から8bit へ
の変換はMTX2の全ての係数を1/4倍することによ
り実施する。[0100] The data is adjusted to the standard output from the intermediate representation and the output by the external output correction. Since it is the data after the correction is completed, it is handled in 8 bits. Conversion from 10 bits to 8 bits is performed by multiplying all the coefficients of MTX2 by 1/4.
【0101】外部出力装置(プリンタ)、検定用モニタ
で観賞を主目的とするような外部記憶装置との色再現I
/F(インターフェース)は、できるだけ装置に依存し
ないで定義される色再現データで扱われるのが望まし
い。しかし、そのためには各装置内に非線形な補正を実
施する高価なハードウェアを準備する必要があり、補正
機能が搭載されない場合もあるので、この補正を実施す
る。Color reproduction with an external output device (printer) and an external storage device whose primary purpose is viewing with an inspection monitor I
/ F (interface) is preferably handled as color reproduction data that is defined as device-independent as possible. However, for that purpose, it is necessary to prepare expensive hardware for performing non-linear correction in each device, and the correction function may not be installed in some cases. Therefore, this correction is performed.
【0102】階調の補正はLUT2-4により行う。専用
の標準出力プリンタの場合は中間表現に合わせた色再現
をI/Fとするので無補正(LUTの入力と出力が等し
い)とする。The gradation correction is performed by the LUT 2-4. In the case of a dedicated standard output printer, the color reproduction matching the intermediate representation is used as I / F, so no correction is performed (the input and output of the LUT are equal).
【0103】例えば、TVのCRTモニタ向けの場合は
γ=0.45にする必要があるので、中間表現のγ=0.33と
の差を補正する。さらに中間表現のγは実景ではなくプ
リントに対するものなので、その観察条件の差を考慮し
て小さめにγを設定する。具体的にはLUT2-4には概
下式の演算結果が与えられる。For example, in the case of a TV CRT monitor, it is necessary to set γ = 0.45, so the difference between the intermediate representation γ = 0.33 is corrected. Further, since the intermediate representation γ is not for the actual scene but for the print, γ is set small considering the difference in the observation conditions. Specifically, the LUT 2-4 is given the calculation result of the approximate expression.
【0104】DTV=(Dw ′−Dbk′){(Dw ′−D
bk′)/(Dw ′−Dbk′)}0.45/0.33×0.8 D=R,G,B (0.8 倍で小さめのγにしている) 2次マトリクスMTX2-5の決定方法は記述しないが、
複数色の入力と目標色の組を実験的に求め公知の最適化
演算を用いて求めることができる。DTV = (Dw'-Dbk ') {(Dw'-D
bk ′) / (Dw′−Dbk ′)}0.45 / 0.33 × 0.8 D = R, G, B (0.8 times smaller γ) The method of determining the secondary matrix MTX2-5 is not described,
It is possible to experimentally obtain a set of a plurality of color inputs and a target color and obtain the set using a known optimization calculation.
【0105】(6)モニタ補正 外部出力装置によりプリントされる処理済み画像信号に
対応した処理済み画像のプリントの仕上がりを予測する
ための検定モニタに、色再現をマッチングさせるための
アルゴリズムであって、パラメータ決定手段のうちの1
つに記憶されて、色再現をマッチングさせる補正のため
のパラメータを決定する。(6) Monitor Correction An algorithm for matching color reproduction with a verification monitor for predicting print finish of a processed image corresponding to a processed image signal printed by an external output device, 1 of parameter determination means
Stored in the memory and determines parameters for correction that match the color reproduction.
【0106】この補正は固定のMTX C1-4 とLUT-C
2 で行う。MTXL C1-4 とLUT-C2 の決定方法は出
力補正(TVのCRTモニタ)と同様の手法で決めれば
よい。This correction is a fixed MTX C1-4 and LUT-C
Perform in 2. MTXL C1-4 and LUT-C2 may be determined by the same method as the output correction (TV CRT monitor).
【0107】LUTについても実験的に求めればより精
度の高いものとなる。カラーについては、1次マトリク
ス補正後LUTで補正しているので近似度は落ちるが、
プリントと検定用モニタの色の相対関係が保持されてい
れば、専任のオペレータに対しては十分な機能を果たし
ている。If the LUT is also obtained experimentally, the accuracy will be higher. As for color, since it is corrected by the LUT after the primary matrix correction, the degree of approximation decreases, but
As long as the relative color relationship between the print and the proof monitor is maintained, it works well for a dedicated operator.
【0108】なお、以上の説明の中で用いたLUTやM
TX等の具体的な使い方を以下に示す。The LUT and M used in the above description
The concrete usage of TX etc. is shown below.
【0109】(MTX2の使い方)MTX2は、セット
アップアルゴリズムにおいては調整として利用する。不
要な場合は全ての項を0とする。また、他の補正との干
渉を避けるため2次項の和=0、1次項の和=0、0次
項=0の制限を与える。(How to use MTX2) MTX2 is used as an adjustment in the setup algorithm. All terms are set to 0 when unnecessary. Further, in order to avoid interference with other corrections, the restrictions of the sum of secondary terms = 0, the sum of primary terms = 0, and the zero-order term = 0 are given.
【0110】プリフアレンス(彩度)補正においては、
調整として利用する。デフォルトでは全ての項を0とす
る。また、他の補正との干渉を避けるため2次項の和=
0、1次項の和=0、0次項=0の制限を与える。In the pre-reference (saturation) correction,
Use as an adjustment. By default, all terms are 0. Also, in order to avoid interference with other corrections, the sum of quadratic terms =
A restriction of 0, the sum of the first-order terms = 0, and the 0th-order term = 0 is given.
【0111】Key (彩度)補正においては、調整として
利用する。デフォルトでは全ての項を0とする。また、
他の補正との干渉を避けるため2次項の和=0、1次項
の和=0、0次項=0の制限を与える。It is used as an adjustment in the key (saturation) correction. By default, all terms are 0. Also,
In order to avoid interference with other corrections, the restrictions of the sum of the quadratic terms = 0, the sum of the first-order terms = 0, and the zero-order term = 0 are given.
【0112】サイズ補正においては、調整として利用す
る。デフォルトでは全ての項を0とする。また、他の補
正との干渉を避けるため2次項の和=0、各色の1次項
の和が等しいという制限および各色の0次項の和が等し
いという制限を与える。In size correction, it is used as adjustment. By default, all terms are 0. Further, in order to avoid interference with other corrections, the sum of quadratic terms = 0, the restriction that the sum of the first-order terms of each color is equal, and the restriction that the sum of the zero-order terms of each color are equal are given.
【0113】標準出力、外部出力補正においては、カラ
ーマッチングとして利用する。マッチングが不要であれ
ば、1次の対角項=1、その他すべてを0とする。ま
た、他の補正との干渉を避けるため2次項の和=0、1
次項の和=1、0次項=0の制限を与える。It is used as color matching in standard output and external output correction. If no matching is required, the first-order diagonal term = 1 and all the others are set to 0. Also, in order to avoid interference with other corrections, the sum of quadratic terms = 0, 1
The limit of the sum of the next terms = 1 and the 0th term = 0 is given.
【0114】以上のように、標準出力、外部出力補正が
主(変換目的)、その他が副(調整目的)としてMTX
2を利用している。2次項は標準出力、外部出力補正を
除いて微調程度にしか使用しない。実施例ではプリファ
レンス、Key 、サイズは2次項を使用していない。As described above, the standard output and external output correction are the main (conversion purpose), and the others are the sub (adjustment purpose) MTX.
I am using 2. The secondary term is used only for fine adjustment except standard output and external output correction. In the embodiment, the preference, Key, and size do not use quadratic terms.
【0115】(検定モニタ用のLUT、MTXとプリン
ト用LUT、MTXとの関係)検定モニタ用のLUT、
MTXとプリント用LUT、MTXとは、下記の「;」
で結んだ要素同士が対応関係にあり、同一の作用効果を
与える。(Relationship Between LUT and MTX for Verification Monitor and LUT and MTX for Printing) LUT for Verification Monitor,
MTX and print LUT, MTX are as follows;
The elements connected by have a correspondence relationship and give the same effect.
【0116】 LUT-C1-1 ; LUT2-1(LUT1) LUT-C1-2 ; LUT2-2 LUT-C1-3 ; LUT2-3 MTX-C1-1 ; MTX1 MTX-C1-2 ; MTX2-2の1次項 MTX-C1-3 ; MTX2-3の1次項 MTX-C1-3 ; MTX2-3の1次項 MTX1とLUT2に相当する処理の順序関係が検定モ
ニタ用では異なっているが、グレーに関しては保存され
ており、MTX1の補正係数は単位行列から大きく異な
ることはないので影響は小さい。LUT-C1-1; LUT2-1 (LUT1) LUT-C1-2; LUT2-2 LUT-C1-3; LUT2-3 MTX-C1-1; MTX1 MTX-C1-2; MTX2-2 First-order term MTX-C1-3; First-order term of MTX2-3 MTX-C1-3; First-order term of MTX2-3 The order relation of processing corresponding to MTX1 and LUT2 is different for the test monitor, but it is saved for gray. However, since the correction coefficient of MTX1 does not differ greatly from the unit matrix, the influence is small.
【0117】検定モニタ用処理が別系統の簡易な処理で
行われるのは、前述したように表示の高速化を図るため
である。The reason that the verification monitoring process is performed by a simple process of another system is to speed up the display as described above.
【0118】(LUTとMTXとの統合)LUTはカス
ケードされる。機能的には変換の縦続処理となる(関数
で与えられる場合も同じ)。(Integration of LUT and MTX) LUTs are cascaded. Functionally it becomes a cascade process of conversion (same as when given by a function).
【0119】MTXは二つのタイプに分かれる。色再現
の変換を目的とするもの同士は積をとる。調整目的で使
用されるものはその係数は補正目的であるので前者に対
して和算を行う。MTX is divided into two types. Those for the purpose of color reproduction conversion are multiplied. Since the coefficient used for adjustment is for correction, the former is summed.
【0120】実施形態においては、MTX2は標準出力
外部出力補正が変換目的その他が調整目的であるので全
て和となる。In the embodiment, the MTX2 is a sum because the standard output / external output correction is for conversion purposes and other adjustment purposes.
【0121】MTX-C1 ではMTX-C1-1 とMTX-C1-
4 とは変換目的、MTX-C1-2 とMTX-C1-3 とは調整
目的であるので、MTX-C1 =0.25×(MTX-C1-1 +
MTX-C1-2 +MTX-C1-3 )・MTX-C1-4 となる
(0.25は10bit から8bit への変換のための係数)。In MTX-C1, MTX-C1-1 and MTX-C1-
Since 4 is a conversion purpose and MTX-C1-2 and MTX-C1-3 are adjustment purposes, MTX-C1 = 0.25 x (MTX-C1-1 +
MTX-C1-2 + MTX-C1-3) and MTX-C1-4 (0.25 is a coefficient for conversion from 10 bits to 8 bits).
【0122】(シャープネス処理)シャープネス処理は
既知のボケマスク処理で行う。このゲイン値について各
補正が算出する値を和算する。(Sharpness processing) The sharpness processing is performed by a known blur mask processing. The values calculated by the respective corrections are summed with respect to this gain value.
【0123】(拡縮処理)シャープネス処理の前に実施
する。拡縮前のデータは拡縮後のデータと同一またはよ
り多くの画素であることが画質上好ましいので、この関
係を満たすようにスキャナのズームレンズを調整する。
しかし、ズームの限界を超えた場合は拡大処理により画
素数を増加させる。(Enlargement / Reduction Processing) This is performed before the sharpness processing. Since it is preferable in terms of image quality that the data before scaling is the same as or more pixels than the data after scaling, the zoom lens of the scanner is adjusted to satisfy this relationship.
However, when the zoom limit is exceeded, the number of pixels is increased by the enlargement process.
【0124】次に本実施形態の画像処理装置の処理の流
れについて概説する。Next, the flow of processing of the image processing apparatus of this embodiment will be outlined.
【0125】フイルムスキャナ等の外部入力手段から原
画像データSが入力されると、フイルムスキャナから入
力される情報により、セットアップアルゴリズムを記憶
したパラメータ決定手段31が、入力された画像データが
ネガフイルムから得られたものであるか、ポジフイルム
から得られたものであるかを判別し、必要なアルゴリズ
ムが選択される。When the original image data S is input from an external input means such as a film scanner, the parameter determining means 31 storing a setup algorithm stores the input image data from the negative film according to the information input from the film scanner. The required algorithm is selected by discriminating whether it is obtained or obtained from a positive film.
【0126】次いで出力先(標準または外部)が選択さ
れ(例えば標準)、外部出力補正のLUT、MTXが選
択される。Then, the output destination (standard or external) is selected (for example, standard), and the LUT and MTX for external output correction are selected.
【0127】出力先が標準の場合は、オペレータがプリ
ントサイズを指定し、この指定されたサイズからプリン
トサイズがわかる。When the output destination is standard, the operator specifies the print size, and the print size can be known from the specified size.
【0128】必要に応じてプリファレンス補正の値をユ
ーザが指定する。これはバックアップされているので変
更がなければ不要である。これによりプリファレンス補
正のLUT、MTXが算出される。The user specifies the value of the preference correction as needed. It is backed up and is not needed unless you change it. As a result, the LUT and MTX of the preference correction are calculated.
【0129】フイルムは全出力領域のフイルムスキャナ
に挿入され、セットアップのために少ない画素数で高速
にプレスキャンを実施し、プレスキャン用メモリに蓄え
る。この画像データを解析し、セットアップアルゴリズ
ムがLUT、MTX、シャープネス係数を決定する。必
要な画素数は1万画素程度でよい。The film is inserted into the film scanner of the entire output area, prescan is performed at high speed with a small number of pixels for setup, and is stored in the prescan memory. This image data is analyzed and the setup algorithm determines the LUT, MTX and sharpness coefficient. The necessary number of pixels may be about 10,000.
【0130】セットアップアルゴリズムが算出した検定
モニタ用LUT、MTX、プリファレンス補正及び現在
のKey 値に相当する検定モニタ用LUT、MTX、検定
モニタ補正用LUT、MTXが統合されLUT-C1 、M
TX-C1 、LUT-C2 にセットされる。プレスキャンデ
ータに対しこの処理が実施され検定モニタに表示され
る。The verification monitor LUT calculated by the setup algorithm, the MTX, the preference correction and the verification monitor LUT corresponding to the current Key value, MTX, the verification monitor correction LUT, MTX are integrated into LUT-C1, M.
It is set in TX-C1 and LUT-C2. This process is performed on the prescan data and displayed on the certification monitor.
【0131】プレスキャン実施後バックグランドでファ
インスキャンが実施されファインスキャン用メモリ等に
蓄えられる。After the prescan is performed, the fine scan is performed in the background and stored in the fine scan memory or the like.
【0132】オペレータが検定モニタを見て仕上げが好
ましくない場合はKey により修正を加える。Key はLU
T、MTXに反映される。所望の再現になればオペレー
タはプリントを指示する。If the operator looks at the verification monitor and the finish is not preferable, correction is made by Key. Key is LU
It is reflected in T and MTX. When the desired reproduction is achieved, the operator instructs printing.
【0133】プリント指示が出されるとプリント用LU
T、MTX、シャープネス係数を統合しセットする。フ
ァインスキャンが既に終了していれば即座に、実行中の
場合は終了を待って、プリント用画像処理を施し、指定
された出力先にデータが転送される。並行して、次の画
像のプレスキャンが実施される。LU for printing when a print instruction is issued
T, MTX and sharpness coefficient are integrated and set. If the fine scan has already been completed, immediately if it is being executed, the completion of the fine scan is performed, image processing for printing is performed, and the data is transferred to the designated output destination. In parallel, a prescan for the next image is performed.
【図1】本発明の画像処理装置の一実施形態の概略構成
を示すブロック図FIG. 1 is a block diagram showing a schematic configuration of an embodiment of an image processing apparatus of the present invention.
【図2】図1に示した画像処理装置をより具体化した図FIG. 2 is a more specific diagram of the image processing apparatus shown in FIG.
【図3】デジタル写真プリンタを示す図FIG. 3 is a diagram showing a digital photo printer.
【図4】従来の処理の流れを示す図FIG. 4 is a diagram showing a flow of conventional processing.
【図5】ネガの特性を示すグラフFIG. 5 is a graph showing negative characteristics.
【図6】階調補正の係数を求めるグラフFIG. 6 is a graph for obtaining a coefficient for gradation correction.
【図7】シャドー調子だし、ハイライト調子だし、ネガ
アンダー修正、ネガオーバー修正、肌軟調等の画像の中
間表現の修正を行うために予め設定された複数の修正曲
線[Fig. 7] A plurality of preset correction curves for correcting intermediate representation of an image such as shadow tone, highlight tone, negative under correction, negative over correction, and skin softening
10 色階調補正手段 20 鮮鋭度補正手段 31〜36 パラメータ決定手段 40 パラメータ統合手段 50 パラメータ設定手段 61 外部入力装置 62 外部出力装置 10 color gradation correction means 20 sharpness correction means 31 to 36 parameter determination means 40 parameter integration means 50 parameter setting means 61 external input device 62 external output device
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/46 H04N 1/46 Z──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl.6 Identification code Agency reference number FI Technical display location H04N 1/46 H04N 1/46 Z
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25835095AJP3678372B2 (en) | 1995-10-05 | 1995-10-05 | Image processing device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25835095AJP3678372B2 (en) | 1995-10-05 | 1995-10-05 | Image processing device |
| Publication Number | Publication Date |
|---|---|
| JPH09102874Atrue JPH09102874A (en) | 1997-04-15 |
| JP3678372B2 JP3678372B2 (en) | 2005-08-03 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP25835095AExpired - Fee RelatedJP3678372B2 (en) | 1995-10-05 | 1995-10-05 | Image processing device |
| Country | Link |
|---|---|
| JP (1) | JP3678372B2 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000215306A (en)* | 1998-11-16 | 2000-08-04 | Seiko Epson Corp | Medium recording image retouching program, image retouching device and image retouching method |
| JP2008104891A (en)* | 2008-01-11 | 2008-05-08 | Canon Inc | Image processing apparatus, image processing method, and storage medium |
| JP2008178008A (en)* | 2007-01-22 | 2008-07-31 | Fuji Xerox Co Ltd | Profile generating apparatus and program, and color converting apparatus and program |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000215306A (en)* | 1998-11-16 | 2000-08-04 | Seiko Epson Corp | Medium recording image retouching program, image retouching device and image retouching method |
| JP2010161798A (en)* | 1998-11-16 | 2010-07-22 | Seiko Epson Corp | Image processor, image processing method, and compute readable recording medium which records image processing program |
| JP2011018354A (en)* | 1998-11-16 | 2011-01-27 | Seiko Epson Corp | Medium recording image modifying program, image modifying apparatus and method |
| JP2008178008A (en)* | 2007-01-22 | 2008-07-31 | Fuji Xerox Co Ltd | Profile generating apparatus and program, and color converting apparatus and program |
| JP2008104891A (en)* | 2008-01-11 | 2008-05-08 | Canon Inc | Image processing apparatus, image processing method, and storage medium |
| Publication number | Publication date |
|---|---|
| JP3678372B2 (en) | 2005-08-03 |
| Publication | Publication Date | Title |
|---|---|---|
| US4812902A (en) | Method and apparatus for adjusting color saturation in electronic image processing | |
| US6975437B2 (en) | Method, apparatus and recording medium for color correction | |
| US6987586B2 (en) | Method of digital processing for digital cinema projection of tone scale and color | |
| US7081918B2 (en) | Image processing method, image processing apparatus and recording medium storing program therefor | |
| US6873729B2 (en) | Method, apparatus and computer program product for processing image data | |
| US4831434A (en) | Method of correcting color saturation in electronic image processing | |
| US7333136B2 (en) | Image processing apparatus for carrying out tone conversion processing and color correction processing using a three-dimensional look-up table | |
| US7379096B2 (en) | Image processing method for processing image data based on conditions customized for each user | |
| US6744920B1 (en) | Method, apparatus, and recording medium for processing image data to obtain color-balance adjusted image data based on white-balance adjusted image data | |
| JPS6368863A (en) | Method and apparatus for reproducing original | |
| JP2004312748A (en) | Method of generating balanced digital color image having minimum color error | |
| Giorgianni et al. | Color management for digital imaging systems | |
| US7034959B1 (en) | Method, apparatus and recording medium for image processing | |
| US6459500B1 (en) | Image processing apparatus | |
| US5406394A (en) | Color reproducing method used in an image data processing system comprising independent input and output devices | |
| JPH11191871A (en) | Image processor | |
| JP4145888B2 (en) | Display device and display method | |
| JP3678372B2 (en) | Image processing device | |
| US20020012126A1 (en) | Image processing method and apparatus | |
| JPH1013680A (en) | Image processing method and image processor | |
| JPH08289143A (en) | Color image quality adjustment device | |
| JPH0946529A (en) | Image processing apparatus and method | |
| JPH10198793A (en) | Image processor | |
| JP2001245153A (en) | Image processing method and apparatus | |
| JPH0738757A (en) | Image processor for correcting density by areas |
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval | Free format text:JAPANESE INTERMEDIATE CODE: A971007 Effective date:20040723 | |
| A131 | Notification of reasons for refusal | Free format text:JAPANESE INTERMEDIATE CODE: A131 Effective date:20041005 | |
| A521 | Request for written amendment filed | Free format text:JAPANESE INTERMEDIATE CODE: A523 Effective date:20041202 | |
| 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:20050506 | |
| A61 | First payment of annual fees (during grant procedure) | Free format text:JAPANESE INTERMEDIATE CODE: A61 Effective date:20050509 | |
| R150 | Certificate of patent or registration of utility model | Free format text:JAPANESE INTERMEDIATE CODE: R150 | |
| 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: 20080520 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: 20090520 Year of fee payment:4 | |
| FPAY | Renewal fee payment (event date is renewal date of database) | Free format text:PAYMENT UNTIL: 20090520 Year of fee payment:4 | |
| FPAY | Renewal fee payment (event date is renewal date of database) | Free format text:PAYMENT UNTIL: 20100520 Year of fee payment:5 | |
| FPAY | Renewal fee payment (event date is renewal date of database) | Free format text:PAYMENT UNTIL: 20110520 Year of fee payment:6 | |
| FPAY | Renewal fee payment (event date is renewal date of database) | Free format text:PAYMENT UNTIL: 20110520 Year of fee payment:6 | |
| FPAY | Renewal fee payment (event date is renewal date of database) | Free format text:PAYMENT UNTIL: 20120520 Year of fee payment:7 | |
| FPAY | Renewal fee payment (event date is renewal date of database) | Free format text:PAYMENT UNTIL: 20130520 Year of fee payment:8 | |
| FPAY | Renewal fee payment (event date is renewal date of database) | Free format text:PAYMENT UNTIL: 20140520 Year of fee payment:9 | |
| R250 | Receipt of annual fees | Free format text:JAPANESE INTERMEDIATE CODE: R250 | |
| LAPS | Cancellation because of no payment of annual fees |