JP3614541B2 - Digital printer and image data conversion method and image recording method therefor - Google Patents

Digital printer and image data conversion method and image recording method therefor Download PDF

Info

Publication number
JP3614541B2
JP3614541B2 JP32159995A JP32159995A JP3614541B2 JP 3614541 B2 JP3614541 B2 JP 3614541B2 JP 32159995 A JP32159995 A JP 32159995A JP 32159995 A JP32159995 A JP 32159995A JP 3614541 B2 JP3614541 B2 JP 3614541B2
Authority
JP
Japan
Prior art keywords
image data
image
gradation
balance
value
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.)
Expired - Fee Related
Application number
JP32159995A
Other languages
Japanese (ja)
Other versions
JPH09163143A (en
Inventor
隆章 寺下
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP32159995A priority Critical patent/JP3614541B2/en
Priority to US08/757,947 priority patent/US6081343A/en
Publication of JPH09163143A publication Critical patent/JPH09163143A/en
Application granted granted Critical
Publication of JP3614541B2 publication Critical patent/JP3614541B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、写真フイルムから得られた画像データをデジタル画像処理して画像を記録するデジタルプリンタ及びこれの画像データ変換方法,画像記録方法に関するものである。
【0002】
【従来の技術】
プリント写真などの反射原稿や写真フイルムを撮像して得られた画像信号に基づき画像信号制御量を求め、この画像信号制御量に基づきカラー感光材料やその他の記録媒体に再現画像を記録する従来のデジタルプリンタでは、例えば特開平2−157758号公報に開示されているように、原画中のハイライト濃度、シャドー濃度に基づき各色成分毎に基準濃度点を決定し、これらの濃度値が所定の信号レベルになるように階調変換曲線を設定している。
【0003】
また、特開平6−242521号公報には、画面を複数個の領域に分割し、各領域毎の各色の最大値と最小値とから、最大基準値、最小基準値を定め、各色の最大基準値を白、最小基準値を黒となるように再現することが開示されている。
【0004】
また、特開平6−178113号公報では、画像データからヒストグラムを作成し、記録媒体の種別に対応する記憶手段に累積して記憶するヒストグラム累積手段をもち、当該画像データと累積したヒストグラムデータから階調特性を求めて画像再現用の変換テーブルを作成することが開示されている。また、ヒストグラムは頻度の偏りを無くす方向に修正したり、一連の画像群の中から関連性のある画像を選択して再生変換特性の画像代表値として用いることが開示されている。
【0005】
また、特開平2−184837号公報では、ネガフイルムの単色露光の特性曲線を求めて記憶しておき、アンダー露光ネガフイルムやオーバー露光ネガフイルムなどの不適正露光画像では単色露光濃度に変換し、特性曲線の非線形性を補正して、画像を再現することが開示されている。
【0006】
デジタル画像の階調の設定に関し、基準階調特性を記憶して用いる方法が多く知られている。例えば、特開昭60−37878号公報、特開昭60−216350号公報、特開昭62−111569号公報、特開昭62−111571号公報、特開昭63−42575号公報などである。特開昭60−37878号公報は、複数の標準階調カーブを記憶しておき、原稿から作成した階調カーブに最も近似した標準階調カーブを選択する方法である。特開昭60−216350号公報、特開昭62−111569号公報、特開昭62−111571号公報は記憶している基準階調変換曲線を特定点のデータにより修正する方法である。特開昭63−42575号公報は標準階調変換曲線と原稿から決定した階調変換曲線との合成により求めた第3の階調変換曲線を用いる方法である。
【0007】
【発明が解決しようとする課題】
上記特開平2−157758号公報のように、従来のデジタル画像記録方法のほとんど全ては、原画像のハイライト部、シャドー部を再現画像のハイライト部、シャドー部になるように制御している。このため、ハイライト部、シャドー部がそれぞれ白や黒でない場合に不都合が生じる。また、上記特開平6−242521号公報のように、画面を複数個の領域に分割して各領域毎の各色の最大値と最小値とから、最大基準値、最小基準値を定める場合には、画面を複数個の領域に分割することで最大基準値、最小基準値を誤らせてしまう場合が発生する。また、特開平2−184837号公報のように、フイルム種毎に単色露光の特性曲線を求めることは実用的ではない。また、上記特開平6−178113号公報のように、画像データからヒストグラムを作成し、記録媒体の種別に対応する記憶手段にこのヒストグラムを累積する方法は、リバーサルフイルムのように撮影時の露出量がほぼ揃い、且つ適正露光である場合に意味がある。これに対し、ネガフイルムのように撮影露出量によって3色濃度バランス、階調等の特性が異なってしまう記録媒体では、同一被写体であっても露出量によってヒストグラムの形は異なることになり、単なるヒストグラムの累積からは必要とするフイルム特性を正確に得ることは困難である。
【0008】
図11(A)はネガフイルムに記録された原画像のR濃度について、アンダー露光の濃度ヒストグラム、同図(B)は(A)と同一被写体の適正露光の濃度ヒストグラム、(C)は(A),(B)と同一被写体のオーバー露光の濃度ヒストグラムを示している。これらの図から同一被写体を同一のネガフイルムを用いて撮影しても、撮影状況によってヒストグラムの形状は大きく変わることが分かる。したがって、ヒストグラムを累積しても、ネガフイルム原稿の場合には、平均的な被写体のヒストグラム形状が得られるものでもなく、しかも単なるヒストグラムの累積はヒストグラムの形状を平準化してフラットにしてしまう。
【0009】
また、ネガフイルムの3色濃度バランスは、撮影露光量、フイルム種、撮影光源、フイルム画像の変色,褪色によるフイルム特性の変動によって異なる。特に、フイルム種は対象とする記録材料と組み合わせることによって最適な3色濃度バランスが得られるように設計するため、この組み合わせが異なると、適正な3色濃度バランスが得られず、再現品質も不十分になる。しかも、上記従来の方法による3色濃度バランスの設定は1画像毎にその画像データを用いて再現条件を決定するため、記録画像間に色ばらつきが発生する。
【0010】
本発明は、上記課題を解決するためのものであり、アンダーからオーバー露光濃度にわたり、フイルム種が異なってもハイライト画像部からシャドー画像部まで色バランスのとれた適正な階調特性を持つ高品質の記録画像が得られるようにしたデジタルプリンタ及びこれの画像データ変換方法,画像記録方法を提供することを目的とする。
【0011】
【課題を解決するための手段】
上記目的を達成するために、本発明のデジタルプリンタの画像データ変換方法は、カラーフイルムに記録された記録対象原画像から得られた画像データに基づき記録材料に画像を記録するデジタルプリンタの画像データ変換方法において、前記カラーフイルムの階調特性を記憶しておき、前記カラーフイルムが属するフイルム種毎に、同じフイルム種における多数の原画像の画像データの代表値から階調バランス特性を求め、前記階調バランス特性から前記記録対象原画像の高濃度側基準値と低濃度側基準値とに相当する高濃度側基準バランス値と低濃度側基準バランス値とを求め、前記各基準バランス値に対応する出力画像データ基準値を予め記憶しておき、入力画像データとこれに対応する出力画像データとの関係を表す変換テーブルにおいて、前記高濃度側基準バランス値とこれに対応する出力画像データ基準値とで決定される座標点と、前記低濃度側基準バランス値とこれに対応する出力画像データ基準値とで決定される座標点とをつないで階調バランス変換テーブルを作成し、この階調バランス変換テーブルと前記階調特性とに基づき階調変換テーブルを作成し、この階調変換テーブルを用いて画像データ変換テーブルを作成し、この画像データ変換テーブルを用いて記録対象原画像の画像データを変換することを特徴とする。
【0012】
なお、記録対象原画像の画像特徴量から記録画像の主要部濃度を制御する記録基本量を求め、この記録基本量に基づき前記階調変換テーブルを修正して前記画像データ変換テーブルを作成することが好ましい。また、前記高濃度側基準バランス値及び前記高濃度側基準値からこれらの重み付け平均値を求め、前記低濃度側基準バランス値及び前記低濃度側基準値からこれらの重み付け平均値を求め、これら各重み付け平均値を基準バランス値として、前記画像データ変換テーブルを作成することが好ましい。また、前記重み付け平均値は、記録対象原画像の階調バランス特性が多数の原画像の画像データの代表値から求めた階調バランス特性に近づくほど基準バランス値側の重み付け係数を大きくし、記録対象の原画像が撮影光源の影響を受けるほど基準値側の重み付け係数を大きくすることが好ましい。
【0013】
また、本発明のデジタルプリンタの画像記録方法では、上記記載の画像データ変換方法を用いて画像データを変換し、この変換した画像データを用いて画像を記録することを特徴とする。また、本発明のデジタルプリンタは、カラーフイルムに記録された記録対象原画像から得られた画像データに基づき記録材料に画像を記録するデジタルプリンタにおいて、前記画像データを入力する画像データ入力手段と、前記記録対象原画像の画像データの代表値から階調バランス特性を求める階調バランス特性検出手段と、階調特性を記憶した階調特性記憶手段と、前記階調バランス特性から前記記録対象原画像の高濃度側基準値と低濃度側基準値とに相当する高濃度側基準バランス値と低濃度側基準バランス値とを求め、前記各基準バランス値に対応する出力画像データ基準値を予め記憶しておき、入力画像データとこれに対応する出力画像データとの関係を表す変換テーブルにおいて、前記高濃度側基準バランス値とこれに対応する出力画像データ基準値とで決定される座標点と、前記低濃度側基準バランス値とこれに対応する出力画像データ基準値とで決定される座標点とをつないで階調バランス変換テーブルを作成し、この階調バランス変換テーブルと前記階調特性とを用いて階調変換テーブルを作成する階調変換特性設定手段と、前記階調変換テーブルに基づき画像データ変換テーブルを作成する画像データ変換テーブル作成手段と、前記画像データ変換テーブルを用いて記録対象原画像の画像データを変換する画像データ変換手段と、この画像データ変換手段で変換した画像データにより記録材料に記録する画像記録手段とを備えたことを特徴とする。なお、記録対象原画像の画像特徴量から記録画像の主要部濃度を制御する記録基本量を求める手段を備え、この記録基本量に基づき前記画像データ変換テーブル作成手段は前記画像データ変換テーブルを修正することが好ましい。
【0014】
【発明の実施の形態】
図1は、本発明を実施したデジタルプリンタを示す機能ブロック図である。このデジタルプリンタは、大きく分けて、画像信号入力手段10と、階調バランス検出手段11と、階調変換特性設定手段12と、画像記録基本量演算手段13と、記録画像データ変換ルックアップテーブルメモリ(LUT)14と、画像記録手段15とを備えている。また、前記記録画像データ変換LUT14には記録画像データ変換テーブル作成手段16が接続されており、このLUT14に記録画像データ変換テーブルを書き込むようになっている。
【0015】
画像信号入力手段10は、周知のフイルムスキャナから構成されており、ネガフイルムの画像を読み取って画像信号に変換する。画像信号入力手段10は、本スキャンとプレスキャンとが行えるようになっており、プレスキャンでは、ネガフイルムの画像を数千点の画像データとして読みだす。なお、プレスキャンにおける画像データ数は数千点に限られることなく、例えば処理時間の短縮やプリント品質の向上などの要請に応じて、数百〜数万点の画像データが読みだせればよい。また、本スキャンでは、ネガフイルムの画像を数十万〜数百万点の画像データとして読みだす。
【0016】
図1において、本スキャンの画像データの流れは点線で表示されており、その他のプレスキャンの画像データ等の流れは実線で表示されている。画像信号入力手段10からの本スキャンによる画像データは記録画像データ変換LUT14に送られる。また、画像信号入力手段10からのプレスキャン画像データは、画像記録基本量演算手段13及び画像データ選択手段23に送られる。なお、このようにプレスキャンと本スキャンとを別々に行う他に、後に詳しく説明するように、本スキャンの画像データを結合して、数百画素から数万画素の画素数に減少させて、これをプレスキャン画像データとして用いてもよい。
【0017】
前記記録画像データ変換LUT14には、本スキャン画像データから記録画像データに変換する変換テーブル(図6〜図8参照)が階調変換特性設定手段12によって書き込まれる。この変換テーブルは、階調変換特性設定手段12により、階調変換特性と記録基本量とに基づき設定される。階調変換特性は、図4に示す階調バランス特性(各濃度における3色濃度バランス)と、図5に示す階調特性(ネガフイルムの特性曲線の勾配に相当するもので、各濃度における階調度)とから作成される。このように、階調バランス特性と階調特性とを分離することによって、多数の画像の階調バランスの平均値を利用することができるようになる。また、階調特性は必ずしも階調バランス特性ほど正確さを必要とせず、予め定めたデータを用いることができるようになる。この階調特性データは階調特性記憶手段20に記憶されており、フイルム種識別手段21からのフイルム判別信号により対応する階調特性データが読みだされ、これが階調変換特性設定手段12に送られる。また、記録基本量は、画像記録基本量演算手段13により求められる。なお、簡単には階調特性データはフイルム種別によらず、共通のデータを用いることもできる。
【0018】
前記階調バランス特性は階調バランス検出手段11により検出される。カラーネガフイルムの3色濃度バランスは、フイルム濃度に応じて異なる。これは、カラーネガフイルムのR,G,B特性曲線(フイルムへの露光量に対し得られる発色濃度の関係)がそれぞれ平行でないこと(この特性を階調バランスという)、すなわちR,G,B階調が異なることに起因する。この階調バランスはフイルムの種類によっても異なる。このため、フイルム種類毎に3色濃度バランスを予めメモリに記憶したり、1つの画像から3色濃度バランスを求める画像装置が知られている。しかし、その精度には限界がある。1つの画像の最大濃度値、またはそれに準じる濃度値(最大基準値)から求めた3色濃度バランス値は、前述した図11からも明らかなように、同一記録媒体の他の画像からも同じ3色濃度バランスが得られるとは限らない。また、1つの画像からのデータでしかないため、正確な階調バランスデータを得るには不十分である。このため、階調バランス検出手段11には、画像データ蓄積手段22が接続されている。更に、画像データ蓄積手段22には画像データ選択手段23が接続されている。画像データ選択手段23は、フイルム種識別手段21からのフイルム種別信号によりプレスキャン画像データを選択し、この選択した画像データを画像データ蓄積手段22に送る。
【0019】
フイルム種識別手段21は、カラーネガフイルムの種類を識別する。フイルム種別を判定するためのバーコードリーダや磁気情報を読み取る磁気読み取り装置がこれに該当し、ネガフイルムに記録されたこれらバーコードや磁気情報を読み取って、フイルム種別等を判別する。このフイルム種識別手段21には、これらフイルム種類の判別の他に、ネガフイルムとポジフイルムとの識別、その他の記憶媒体の識別のための手段を含んでもよい。写真フイルムのように原画が一連の多数画像に属しているとき、一連の原画は当然のことながら同一のフイルム種である。
【0020】
前記画像データ選択手段23は、予め定めた選択基準にしたがい画像データを選択し、この選択した画像データを画像データ蓄積手段22に送る。選択基準としては、フイルム種識別手段21からのフイルム種別信号により、画像データ蓄積手段22で蓄積した該当するフイルム種の画像データの平均値を用いる。そして、この平均値を基準として所定範囲内の画像データのみを選択する。また、平均値に代えて、最小二乗法などの統計的手法により決定した値を用いてもよい。このようにして選択した画像データはほぼグレー、またはグレーに近い一定範囲の被写体色の画像濃度となる。
【0021】
画像データ蓄積手段22は、フイルム種別信号に基づき対応する記憶エリアに、画像データのG濃度に対するR濃度,B濃度と、画像データ数を加算して蓄積する。本実施形態では、G濃度を画像データの分類基準として用いている。そして、画像データのG濃度値が、例えば0.01間隔や0.1間隔で分類したレベルのどのレベルに該当するかを判定し、該当するレベルにR濃度,B濃度を蓄積する。同時に蓄積データ数もカウントして記憶する。そして、多数の画像データについて、蓄積した蓄積画像データを蓄積データ数で割って平均値を求める。なお、画像データの蓄積方法は例えば特開平3−53235号公報に詳しく説明されている。また、多数の蓄積データの平均値は一定で、グレー又はグレーに近い色になる。グレーに近い色の場合にはグレーからのずれは一定の修正値を加えてグレーとすることができる。このように画像データをフイルム種別に応じて蓄積することにより、蓄積が進むにしたがってこのフイルム種における固有のデータが精度よく得られるようになる。
【0022】
階調バランス検出手段11は、画像データ蓄積手段22からの前記平均値に基づき階調バランス特性を求める。図2は検出した階調バランス特性の一例を示すもので、G濃度に対するR濃度の関係を各濃度レベルの蓄積データの平均値で示したものである。各濃度レベルの平均値で表す場合には、図2に示すように得られた多数の点からなる曲線となるが、これら各点に対して周知のスムージング処理を行って直線又は円滑な曲線に修正する。同様にして、G濃度に対するB濃度の関係を作成する。
【0023】
階調変換特性設定手段12は、階調特性データ記憶手段20からの階調特性データと、階調バランス検出手段11からの階調バランスデータとに基づき階調変換特性に関する階調変換テーブルを作成する。図3は、G濃度に対するR濃度の関係を示す階調バランス特性データの一例であり、図2に示すものをスムージング処理したものである。図3において、記録対象原画における各色の最大濃度値の3色平均濃度をG濃度の高濃度側基準値としてDXGとし、このDXGに基づき階調バランス特性からDXGに対するR濃度を求め、これをDXRとする。同様にして、G濃度に対するB濃度の関係からDXBを求める。DXG,DXR,DXBはDXGにおいてグレー濃度を得るためのR,G,B濃度である。同様にして、低濃度側基準値のG濃度DIGは、各色の最小濃度値の3色平均濃度を低濃度側基準値として、DIR,DIBを求める。このようにして求めたDXR,DXG,DXB、DIR,DIG,DIBは、原画中の高濃度のグレー被写体、及び低濃度のグレー被写体の色バランスを表し、これらを高濃度側基準バランス値、低濃度側基準バランス値とする。なお、本実施形態では、高濃度側基準値,低濃度側基準値として、3色平均濃度を用いたが、最大濃度,最小濃度の対応する各色を用いてもよい。
【0024】
この高濃度側基準バランス値DXi(iはR,G,Bのいずれか1つ)と低濃度側基準バランス値DIiを用いて、階調バランス変換テーブルを作成する。すなわち、基準バランス値DXR,DIRに対して予め定めた記録濃度をDhr、Dsrとし、これらDXRとDhr,DIRとDsrとで決定される座標点をつなぐことで、階調バランス変換テーブルを作成する。同様にして、他のB濃度,G濃度についても階調バランス変換テーブルを作成する。図4は、この階調バランス変換テーブルの一例を示すもので、横軸に入力値であるR濃度を、縦軸に出力値であるR濃度をとったものである。このように、記録濃度Dhi,Dsiを定めて、その間の全濃度に対し一律に割りつけているため、アンダー露光のネガ像に対しては必ずしも自然な画像として記録することができない。このため、以下に示す階調特性データを用いて、階調変換テーブルを作成する。
【0025】
階調特性データは、図1に示す階調特性データ記憶手段20に記憶されている。階調特性データはフイルム種別毎に記憶されており、フイルム種識別手段21からのフイルム種別識別信号により対応する階調特性データが階調変換特性設定手段12に送られるようになっている。図5は、この階調特性データの一例を示したものである。この階調特性データは、カラーネガフイルムの特性曲線に対応する変換テーブルであり、横軸にDout を、縦軸にDinの関係を表し、Dinの値からDout の値に変換するために用いる。この階調特性データからも分かるように、特性曲線の足部及び肩部は直線ではなく、画像濃度は圧縮されている。特性曲線の形は感光発色層やカラーフイルム種により異なるが、フイルムのラチチュードとカメラの露出技術との進歩により、肩部まで使用することはほとんどない。足部の特性は各フイルムで近似しているので記憶する特性曲線に相当する変換テーブルは平均的な変換テーブルであって、各色別にもたなくてもよい。正確な階調特性を得るにはフイルム種別毎にフイルム濃度を測定し、この測定値を用いる。または、試行錯誤的に階調変換テーブルを設定し、フイルム種別信号に基づき選択してもよい。また、特性曲線を変換テーブルの形で表す他に、関数式で表して用いてもよい。
【0026】
次に、階調変換特性設定手段12は、原画像の高濃度側基準バランス値DXi、低濃度側基準バランス値DIiから図5に示す上記階調特性データ(フイルム特性曲線に近似)の使用範囲を特定し、この範囲の階調特性と、図4に示す階調バランス変換テーブルとを合成して、図6に示すような階調変換テーブルを作成する。すなわち、前記階調バランス変換テーブルの横軸の値を、図5に示す階調特性データを用いて、対応する特性曲線の縦軸の値に置き換えることで、図6に示すような階調変換テーブルを作成する。図6の実線表示のものは、アンダー露光ネガ画像のものであり、破線で表示される適正な露光による画像の階調バランス特性に対して、コントラスト(DXiとDIiとの差)が小さくなり、シャドー部のしまりのない記録画像になるが、低濃度部画像の濃度が拡大して記録されることにより画像が改良されることを示している。他の方法として、DIRからDXRの各値をDinにセットしてDout に変換し、図4の階調バランステーブルの横軸としても同じ効果が得られる。この階調変換テーブルの修正は、画像毎に行っても、または修正済みの複数のテーブルを持ち、これを選択することを行ってもよい。また、別な方法として、上記階調特性データは高い精度を必要としないことから、公知な方法、例えば原画像のプレスキャン画像データから濃度ヒストグラムや濃度累積分布を自動的に求めて、これを用いてもよい。
【0027】
このように、本発明では、カラーネガフイルムの特性曲線の非線形部を含む3色濃度バランスを各フイルム種毎に見いだして制御する。フイルムの特性曲線の非線形部を含む3色濃度バランスは、画像データ選択手段23,画像データ蓄積手段22,階調バランス検出手段11により画像データから自動的に求めることができる。各フイルム種の特性曲線の足部の違いは記録画像の調子再現に影響し、色バランスへの影響は小さい。また、各色の特性曲線の足部の違いによる色バランスは補正され、記録画像の調子再現への影響は小さい。各フイルム種の特性曲線の形状は画像データからは自動的に求めることが困難であるが、一般にその精度は色バランスの精度ほど必要とせず、原画像から直接求めることなく予め記憶してある平均的なデータで代用することができる。
【0028】
記録画像データ変換テーブル作成手段16は、記録条件記憶手段25からの記録条件と画像記録基本量演算手段13からの画像記録基本量に基づき、階調変換特性設定手段12からの階調変換テーブルを修正する。この修正した階調変換テーブルの一例を図7に2点鎖線で示す。この修正した階調変換テーブルは記録画像データ変換テーブルとして記録画像データ変換LUT14に書き込まれる。このように、画像記録基本量に基づき階調変換テーブルを修正するのは次の理由による。再現すべき最大基準値、最小基準値、又はハイライト点、シャドー点が正確であれば、画像記録基本量による修正は必要がない。このようなシーンの典型例は写真スタジオにおけるポートレートである。ハイライト点は例えば服の白であり、シャドー点は例えば髪である。これに対して、自然界を背景としたポートレートは必ずしもそうではない。ハイライト点として空や雲、反射する白い壁や窓の外、更にストロボ撮影における前景の白など多数ある。それらを除いて、服の白を正確に抽出することは非常に困難であり、多くの場合には画像記録基本量に基づく修正が必要である。
【0029】
画像記録基本量演算手段13は、画像信号入力手段10からのプレスキャン画像データに基づき画像記録基本量を求める。画像記録基本量は、各記録対象原画毎に原画の画像濃度から求められる値である。例えば、プレスキャン画像データに基づき、全画面エリア、特定エリア、選択エリアなどの各エリアにおける単純平均値を算出して、これが選択的に用いられる。この他に、画像記録基本量としては、画素の位置に対する重み付き加算の平均値、選択した画素の平均値や重み付き加算の平均値などが用いられる。
【0030】
画像記録基本量は、特開昭55−26569号公報、特開昭61−223731号公報、特開平2−90140号公報、特開平3−53235号公報、特開平5−289207号公報等に記載されているような公知の方法を用いて求めることができる。更に、画像記録基本量は、最大値(またはハイライト部濃度)と最小値(またはシャドー部濃度)との重み付き平均値、各画素に重みを乗じた重み付き平均値(例えば、濃度ヒストグラムの各級に対し重みを乗じた重み付け平均値)、累積濃度ヒストグラムの特定頻度または選択した頻度に相当する値などの原画像の画像を特徴つける値、特に特開平5−100328号公報等に記載されている主要被写体濃度を特徴つける値、または主要被写体濃度と相関をもつ値などを画像記録基本量として用いることができる。また、濃度制御値を用いてもよく、この場合には、特開昭51−138435号公報、特開昭53−145621号公報、特開昭54−28131号公報、特開昭59−164547号公報等に記載されているような公知の方法から求めることができる。
【0031】
画像記録基本量に基づく階調変換テーブルの修正は、画像記録基本量に応じて階調変換テーブルの縦軸に沿って上記テーブルデータを上下にシフトして変更する。この他に、図7に示すように主要部濃度DpOによって修正する場合には、二点鎖線で示すように階調変換テーブルを修正する。この場合に、DpOは原画像の主要部濃度を、DpRは記録画像の適正な主要部濃度を得るのに必要なデータを表す。そして、原画像の主要部濃度DpOが記録画像の主要部濃度DpRに一致せず、記録画像の主要部濃度DpRの濃度が低い場合に、図7に二点鎖線で示すように変換テーブルを修正する。主要部濃度を求めるための主要部エリアの決定方法については、例えば特開昭52−156624号公報、特開平2−287531号公報、特開平4−346332号公報に記載されているように、フイルム画像から主要被写体(人の顔)を抽出する方法を用いることができる。また、記録画像の主要部濃度DpRは予め記録材料毎に求められており、これが記録条件記憶手段25(図1参照)に記録されている。そして、この記録画像の主要部濃度DpRが記録画像データ変換テーブル作成手段16に入力されるようになっている。なお、記録画像濃度Dsi,Dhiも記録条件記憶手段25に記憶させておき、好みや画像内容によって手動的にまたは自動的に書き換えるようにしてもよい。
【0032】
図7に二点鎖線で表示したものは主要部濃度付近のみを重点的に修正したものである。この他に図8に示すように、ハイライト部の濃度の変更を少なくし、シャドー部の画像再現は重要でないとして修正してもよい。階調修正方法として特開平4−285933号公報に記載の方法なども適用することができる。更に、実用的には上記主要部濃度を修正するための変換テーブルは滑らかな曲線になるように修正するとよい。なお、図7,図8は説明を簡単にする意味で図4に示される基本的な階調バランス変換テーブルに対する修正として説明しているが、実際には図6に示すような、階調変換テーブルに対して修正が行われる。このように、原画像の主要部濃度DpOが記録画像の主要部濃度DpRに一致しない場合に、図7,図8に実線で示す基準の記録画像データ変換テーブルを基に、必要により画像内容によって変換テーブルが修正される。画像内容の判別は公知の方法を用いて行う。例えば、予め統計的手法により多数のシーンを処理パターン毎に分類しておき、プレスキャン画像データを用いてどのパターンに属するかを判定することにより画像内容を判別する。その他に、特開平4−284442号公報のようにフイルム上の撮影情報に基づいて行ってもよい。
【0033】
図1に示すように、画像記録手段15では、記録画像データ変換LUT14からの記録画像データを画像記録制御量に変換し、画像記録する。なお、記録画像データ変換LUT14において、本スキャン画像データから直接に画像記録制御量を変換してもよい。画像記録手段15は、光ビームにより銀塩写真カラー感光材料(カラーペーパー)のイエロー、マゼンタ、シアンの各感光層を走査露光する周知のビデオプリンタが用いられる。
【0034】
図9は上記画像データの処理手順を示すフローチャートである。(A)はプレスキャン画像データを用いて記録画像データ変換テーブルを作成する手順を示し、(B)は記録画像データ変換テーブルを用いて本スキャン画像データに基づき画像を記録する手順を示している。
【0035】
なお、上記実施形態では、階調特性データと階調バランステーブルとにより階調変換テーブルを作成したが、この他に、階調特性データと画像記録基本量とにより記録画像データ変換テーブルを作成するようにしてもよい。このように、各補正要因によって種々の組み合わせの変換テーブルや、変換テーブルの分割、統合も可能であり、このような変形は本発明に含まれる。
【0036】
また、階調変換特性設定手段12を設ける代わりに、図10に示すように、階調特性変換LUT40を設けて、本スキャン画像データを変換し、これを記録画像データ変換LUT14で記録画像データに変換してもよい。この場合には、階調バランステーブルと画像記録基本量とに基づき記録画像データ変換テーブルを作成する。そして、本スキャン画像データを階調特性データを用いてフイルムの非線形特性を除くための変換をした後に、記録画像データ変換テーブルにより記録画像データに変換する。この階調特性データによる画像信号の変換は、特性曲線の非線形性を線形に修正するのみが好ましい。特性曲線の階調バランスを修正すると二重の修正になるからである。この階調特性データは代表データであって、本発明ではこのデータでカラーバランスを制御しない。
【0037】
上記実施形態では、最大基準点、最小基準点やハイライト点、シャドー点によって一律に階調が決められてしまう。しかし、例えば、全体に硬調であるといったように、記録材料の階調や原画像によっては階調特性が十分でない場合がある。このような場合に、階調バランステーブル作成において、最大基準点、最小基準点や、ハイライト点、シャドー点に対応する記録画像濃度である程度修正が可能であるが、不十分である。このために、記録画像データ変換テーブルの変換値(記録画像データ)側に係数を乗じてテーブルを修正し、全体の階調を変換可能にしておくのがよい。この係数の設定は外部から手動的に入力しても、画像毎に自動的に与えてもよい。
【0038】
また、記録画像データ変換テーブル作成手段16には、メディア変換を含んでもよい。このメディア変換により、フイルム画像からハードコピィを作成する際に発生する問題、例えば明度再現,色相,彩度再現の圧縮や、色,ハイライト画像の強調などを行う。更には、このメディア変換は、階調変換特性設定手段12に含ませてもよい。また、エッジ強調、疑似輪郭除去、ノイズ除去、機差や変動に対するキャリブレーションも画像処理ではよく使用されるが、これら公知の画像処理方法をテーブル作成手段16に付加してもよい。
【0039】
また、上記実施形態では、フイルム種別毎にプレスキャン画像データを蓄積してこれの平均値を求め、この平均値を代表値として用いて階調バランス特性を求めるようにしたが、この他に記録対象フイルムの一連のフイルム画像を先ず一括してプレスキャンし、このプレスキャン画像データを用いて階調バランス特性を求めるようにしてもよい。この場合の一連のフイルム画像はネガフイルム1本分の画像、または1本内の類似画像を示す。類似画像のみの抽出は、既に説明したように、予め統計的手法により多数のシーンをパターン毎に分類しておき、プレスキャン画像データを用いてどのパターンに属するかを判定することにより類似画像か否かを判別する。
【0040】
また、プレスキャンと本スキャンとは別の測光系を用いても、または同じ測光系を用いてもよい。同じ測光系を用いる場合には、プレスキャンの際に、本スキャンを行って画素密度変換を行い、画素結合を行うことによりプレスキャン画像データを得る。
【0041】
また、本スキャンの際に、同じようにしてプレスキャン画像データを同時に得るようにしてもよい。この場合には、本スキャン画像データの画素密度変換を行い、画素結合してプレスキャン画像データを得る。更に、本スキャン画像データは、図示しない画像メモリに複数画像分を記憶する。また、画素結合して得られたプレスキャン画像データを画像データ選択手段23で選択し、選択した画像データのみを画像データ蓄積手段22に送る。
【0042】
また、本発明における濃度は光学濃度だけではなく、色彩学上の明度に相当する変換値、原画像の測光出力値、網点面積率などを含む。また、濃度のアンチ対数値も適用することができる。また、上記実施形態では、ネガフイルムを例にとって説明したが、この他にネガフイルム程の効果は得られないものの、ポジフイルムや反射原稿に本発明を適用してもよい。
【0043】
画像記録部は、光ビームによるものの他に、液晶やCRT等のようにライン状やエリア状に広がる多数の画素を制御する露光手段によって構成したものでもよい。また、記録材料はカラー感光材料に限定されるものではなく、例えば感熱記録材料や昇華型や熱溶融型のインクリボンを用いたサーマルプリント方法、インクジェットプリント方法、トナー転写プリント方法などであってもよい。
【0044】
上記実施形態では、階調バランスデータを求めるに際して、G濃度を画像データの分類基準にしたが、これは他の色を分類基準にしてもよい。例えば、G濃度を基準とする代わりに、3色平均値(R+G+B)/3や、R,G,Bの重み付き平均値であってもよい。また、G濃度に対するR−G濃度、B−G濃度などのようにG濃度や3色平均濃度に対する色濃度の差や、比を用いてもよい。なお、分類基準が3色平均値の場合は、高濃度側基準値,低濃度側基準値は3色平均濃度を用いるように、分類基準にしたがって各基準値の求め方を変更する必要があることは当然である。
【0045】
また、上記実施形態では、原画像の高濃度側基準濃度と低濃度側基準濃度におけるグレー被写体に相当する高濃度側基準バランス値、低濃度側基準バランス値としてDXi,DIiを用いたが、以下の数式1,数式2で求めた重み付け平均値DNXi,DNIiを用いてもよい。
【0046】
【数1】
DNXi=KXi・DXi+Kxi・Dxi+αi
【数2】
DNIi=KIi・DIi+Kni・Dni+βi
KXi,Kxi,KIi,Kni:係数(KXi+Kxi=1.0 ,KIi+Kni=1.0 )
DXi:多数コマの蓄積画像データから求めた各色の高濃度側基準バランス値
DIi:多数コマの蓄積画像データから求めた各色の低濃度側基準バランス値
Dxi:記録対象原画像の各色の高濃度側基準値
Dni:記録対象原画像の各色の低濃度側基準値
αi:高濃度側基準濃度に対する記録画像濃度を制御しやすい適切な濃度に設定するための定数
βi:低濃度側基準濃度に対する記録画像濃度を制御しやすい適切な濃度に設定するための定数
【0047】
なお、同一のフイルム種類であっても、厳密には常に同じフイルム特性をもつとはいえない。この原因は、フイルムの製造、経時変化、フイルム現像、カメラや撮影光源の影響などがある。このため、記録対象画像のフイルム特性も考慮する必要がある。この場合には、KXiとKxi、KIiとKnの係数を原画像の特性によって定める。例えば、原画像の特性が多数画像の平均特性と一致するほど、KXi>Kxi、KIi>Knの傾向を強める。また、原画像が撮影光源の影響を受けるほど、KXi<Kxi、KIi<Knの傾向を強める。
【0048】
また、記録対象原画像の高濃度側基準値、低濃度側基準値としてハイライト点、シャドー点(例えば濃度累積ヒストグラムの5%、95%点)の濃度値などを用いてもよい。また、主要画像部を抽出し、主要画像濃度に基づき画像として再現すべきハイライト、シャドーの点の濃度値を定めて、高濃度側基準値,低濃度側基準値としてもよい。このように、高濃度側基準値,低濃度側基準値は再現すべき白と黒とを表す値である。実際には正確に求めることは難しく、いろいろな方法が考えられる。本発明では上記方法に限定されるものではない。
【0049】
また、上記実施形態では、多数の画像データについて蓄積した蓄積画像データを蓄積データ数で割って平均値を求めたが、これに代えて、個々のデータを記憶してもよい。また、この平均値を求める代わりにその他の例えば最小二乗近似値などの統計値を用いてもよい。更には、平均値等を求める代わりに、重回帰分析などにより1次元、または多次元関数式を求めるようにしてもよい。このように蓄積した画像データの形態や画像データからの階調バランスを求める方法はこれらに限定されるものではない。
【0050】
更にまた、2つの基準値に対し、2つの基準バランス値を求めたが、なんら2つに限定されるものでもない。例えば、画像の平均濃度値や、最大濃度値と最小濃度値との中間値を中間濃度基準値とし、これに基づき中濃度側基準バランス値を求めて、これを用いてもよい。この中濃度側基準バランス値は単体で用いても、高濃度側基準値,低濃度側基準値と選択的に組み合わせて用いてもよい。更に、これら3つの基準バランス値を用いてもよい。
【0051】
【発明の効果】
原画像から階調変換テーブルを正確に求めることは困難であるが、本発明では、正確さが必要な3色階調バランスとあまり正確でなくてもよい階調とに分離し、当該画像記録装置に合うように最適化した3色階調バランスデータと代表である基準階調特性データとにより階調変換テーブルを作成したから、写真フイルムに記録されているアンダー画像からオーバー画像に対し、階調と色バランスの優れた高品質の記録画像を得ることが可能となる。
【0052】
各濃度レベルに対し多数の画像データを蓄積することによって写真フイルム原画のアンダー画像からオーバー画像まで、その特性曲線の一部が非線形であっても正確に3色階調バランスデータを得ることができる。また、記録対象原画像の使用濃度域に対し多数の画像データに基づいて3色階調バランスを定めることによって、アンダー画像であってもオーバー画像であっても、更に画像中のハイライト部からシャドー部にわたって色バランスのよい記録画像が得られる。
【0053】
従来、1つの原画のハイライト点、シャドー点から画像記録条件を求めていたのに対し、一連の原画、又は同一原画種の多数の画像の3色濃度、又は3色濃度バランス値を記憶・蓄積することによって、画像処理装置、使用したフイルム種別に合うように最適化したより正確な3色階調バランスデータを得ることができる。これにより、色ばらつきのない高品質の記録画像が得られるようになる。
【図面の簡単な説明】
【図1】本発明のデジタルプリンタの要部を示す機能ブロック図である。
【図2】階調バランス特性の一例を示す線図である。
【図3】階調バランス特性から高濃度及び低濃度側基準バランス値を求めることを説明する線図である。
【図4】階調バランス変換テーブルの一例を示す線図である。
【図5】階調特性データの一例を示す線図である。
【図6】階調変換テーブルの一例を示す線図である。
【図7】記録画像データ変換テーブルの修正の一例を示す線図である。
【図8】記録画像データ変換テーブルの修正の一例を示す線図である。
【図9】(A)はプレスキャン画像データを用いて記録画像データ変換テーブルを作成する手順を示すフローチャート、(B)は本スキャン画像データに基づき画像を記録する手順を示すフローチャートである。
【図10】他の実施形態における要部を示す機能ブロック図である。
【図11】(A)はネガフイルムに記録された原画像について、アンダー露光のR濃度ヒストグラムを、(B)は(A)と同一被写体の適正露光のR濃度ヒストグラムを、(C)は(A)と同一被写体のオーバー露光のR濃度ヒストグラムを示している。
【符号の説明】
10 画像信号入力手段
11 階調バランス検出手段
12 階調変換特性設定手段
13 画像記録基本量演算手段
14 記録画像データ変換LUT
15 画像記録手段
16 記録画像データ変換テーブル作成手段
20 階調特性データ記憶手段
21 フイルム種識別手段
40 階調特性変換LUT
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a digital printer that records digital images by processing image data obtained from a photographic film, an image data conversion method therefor, and an image recording method.
[0002]
[Prior art]
Conventionally, an image signal control amount is obtained based on an image signal obtained by imaging a reflection original such as a printed photograph or a photographic film, and a reproduced image is recorded on a color photosensitive material or other recording medium based on the image signal control amount. In a digital printer, for example, as disclosed in Japanese Patent Application Laid-Open No. 2-157758, a reference density point is determined for each color component based on a highlight density and a shadow density in an original image, and these density values are determined as predetermined signals. The gradation conversion curve is set so as to be level.
[0003]
Japanese Patent Laid-Open No. 6-242521 discloses that a screen is divided into a plurality of areas, and a maximum reference value and a minimum reference value are determined from the maximum value and the minimum value of each color for each area, and the maximum reference for each color is determined. It is disclosed that the value is reproduced as white and the minimum reference value is reproduced as black.
[0004]
Japanese Patent Laid-Open No. 6-178113 has histogram accumulation means for creating a histogram from image data and accumulating it in a storage means corresponding to the type of the recording medium. The histogram is calculated from the image data and the accumulated histogram data. It is disclosed that a conversion table for image reproduction is created by obtaining tone characteristics. Further, it is disclosed that the histogram is corrected in a direction to eliminate frequency deviation, or a related image is selected from a series of image groups and used as the image representative value of the reproduction conversion characteristic.
[0005]
In JP-A-2-184837, a characteristic curve of negative exposure of a single film is obtained and stored, and an inappropriate exposure image such as an underexposure negative film or an overexposure negative film is converted into a single color exposure density. It is disclosed to reproduce the image by correcting the nonlinearity of the characteristic curve.
[0006]
There are many known methods for storing and using reference gradation characteristics for setting gradation of a digital image. For example, JP-A-60-37878, JP-A-60-216350, JP-A-62-111569, JP-A-62-111571, JP-A-63-42575, and the like. Japanese Patent Laid-Open No. 60-37878 is a method of storing a plurality of standard gradation curves and selecting a standard gradation curve that is most approximate to a gradation curve created from an original. JP-A-60-216350, JP-A-62-111569, and JP-A-62-211571 are methods for correcting a stored reference gradation conversion curve with specific point data. Japanese Patent Laid-Open No. 63-42575 uses a third gradation conversion curve obtained by combining a standard gradation conversion curve and a gradation conversion curve determined from an original.
[0007]
[Problems to be solved by the invention]
As described in Japanese Patent Application Laid-Open No. 2-157758, almost all of the conventional digital image recording methods control the highlight portion and shadow portion of the original image to become the highlight portion and shadow portion of the reproduced image. . For this reason, inconvenience occurs when the highlight portion and the shadow portion are not white or black, respectively. When the screen is divided into a plurality of areas and the maximum reference value and the minimum reference value are determined from the maximum value and the minimum value of each color for each area, as described in JP-A-6-242521. When the screen is divided into a plurality of areas, the maximum reference value and the minimum reference value may be mistaken. Further, as described in JP-A-2-184848, it is not practical to obtain a monochromatic exposure characteristic curve for each film type. Further, as disclosed in Japanese Patent Application Laid-Open No. 6-178113, a method of creating a histogram from image data and accumulating the histogram in a storage means corresponding to the type of recording medium is an exposure amount at the time of shooting like a reversal film. Are substantially aligned and appropriate exposure. On the other hand, on a recording medium such as a negative film in which characteristics such as three color density balance and gradation differ depending on the exposure amount, the shape of the histogram differs depending on the exposure amount even for the same subject. It is difficult to accurately obtain the required film characteristics from the accumulation of histograms.
[0008]
FIG. 11A shows an underexposure density histogram for the R density of an original image recorded on a negative film, FIG. 11B shows an appropriate exposure density histogram for the same subject as FIG. ) And (B) are histograms of overexposure of the same subject. From these figures, it can be seen that even if the same subject is photographed using the same negative film, the shape of the histogram varies greatly depending on the photographing situation. Therefore, even if histograms are accumulated, in the case of a negative film document, an average subject histogram shape cannot be obtained, and simple histogram accumulation equalizes the histogram shape and makes it flat.
[0009]
Further, the three-color density balance of the negative film varies depending on the exposure amount, film type, photographing light source, discoloration of the film image, and variations in film characteristics due to discoloration. In particular, the film type is designed so that an optimal three-color density balance can be obtained by combining it with the target recording material. If this combination is different, an appropriate three-color density balance cannot be obtained, and the reproduction quality is not good. It will be enough. In addition, since the three-color density balance setting by the above-described conventional method determines the reproduction conditions using the image data for each image, color variations occur between recorded images.
[0010]
The present invention has been made to solve the above-mentioned problems, and has high gradation characteristics with an appropriate gradation characteristic in which a color balance is maintained from a highlight image portion to a shadow image portion even under different film types from under to overexposure density. It is an object of the present invention to provide a digital printer, an image data conversion method thereof, and an image recording method capable of obtaining a quality recorded image.
[0011]
[Means for Solving the Problems]
To achieve the above objective,The image data conversion method of the digital printer of the present invention includes:From the original image to be recorded recorded on the color filmObtainedIn a digital printer image data conversion method for recording an image on a recording material based on image data,The gradation characteristics of the color film are stored, and for each film type to which the color film belongs, a gradation balance characteristic is obtained from representative values of image data of a large number of original images in the same film type, and the gradation balance characteristic is obtained. To obtain a high density side reference balance value and a low density side reference balance value corresponding to a high density side reference value and a low density side reference value of the original image to be recorded, and output image data corresponding to each of the reference balance values A reference value is stored in advance, and is determined by the high density side reference balance value and the corresponding output image data reference value in a conversion table representing the relationship between the input image data and the corresponding output image data. And a coordinate point determined by the low-density side reference balance value and the output image data reference value corresponding to the low-density side reference balance value. And creating a gradation conversion table based on the gradation balance conversion table and the gradation characteristics, creating an image data conversion table using the gradation conversion table, and recording using the image data conversion table. Convert image data of target original imageIt is characterized by that.
[0012]
A basic recording amount for controlling the main part density of the recorded image is obtained from the image feature amount of the original image to be recorded, and the gradation conversion table is corrected based on the basic recording amount to create the image data conversion table. Is preferred. Also,These weighted average values are obtained from the high density side reference balance value and the high density side reference value, and these weighted average values are obtained from the low density side reference balance value and the low density side reference value. It is preferable to create the image data conversion table using the value as a reference balance value. The weighted average value increases the weighting coefficient on the reference balance value side as the gradation balance characteristic of the original image to be recorded approaches the gradation balance characteristic obtained from the representative values of the image data of many original images. It is preferable to increase the weighting coefficient on the reference value side so that the target original image is affected by the photographing light source.
[0013]
The image recording method of the digital printer according to the present invention is characterized in that image data is converted using the image data conversion method described above, and an image is recorded using the converted image data. In addition, the digital printer of the present invention is a color film.In a digital printer for recording an image on a recording material based on image data obtained from an original image to be recorded recorded on the image data input means for inputting the image data;Image data of the original image to be recordedA gradation balance characteristic detecting means for obtaining a gradation balance characteristic from the representative value of the above, a gradation characteristic storage means for storing the gradation characteristic,A high density side reference balance value and a low density side reference balance value corresponding to a high density side reference value and a low density side reference value of the original image to be recorded are obtained from the gradation balance characteristics, and each of the reference balance values is obtained. Corresponding output image data reference values are stored in advance, and in the conversion table representing the relationship between the input image data and the corresponding output image data, the high density side reference balance value and the corresponding output image data reference A gradation balance conversion table is created by connecting the coordinate point determined by the value and the coordinate point determined by the low density side reference balance value and the output image data reference value corresponding to the low density side reference balance value. A gradation conversion characteristic setting means for creating a gradation conversion table using the balance conversion table and the gradation characteristics, and an image data conversion table based on the gradation conversion table Image data conversion table creation means, image data conversion means for converting the image data of the original image to be recorded using the image data conversion table, and image recording recorded on the recording material by the image data converted by the image data conversion means Means. The image data conversion table creating means corrects the image data conversion table based on the recording basic quantity based on the recording basic quantity for controlling the main part density of the recorded image from the image feature quantity of the original image to be recorded. It is preferable to do.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a functional block diagram showing a digital printer embodying the present invention. This digital printer is roughly divided into an image signal input means 10, a gradation balance detection means 11, a gradation conversion characteristic setting means 12, an image recording basic amount calculation means 13, and a recorded image data conversion lookup table memory. (LUT) 14 and image recording means 15 are provided. The recording image data conversion table creating means 16 is connected to the recording image data conversion LUT 14 and the recording image data conversion table is written to the LUT 14.
[0015]
The image signal input means 10 comprises a known film scanner, reads an image of a negative film and converts it into an image signal. The image signal input means 10 can perform a main scan and a pre-scan. In the pre-scan, a negative film image is read out as thousands of image data. Note that the number of image data in the pre-scan is not limited to several thousand points. For example, according to a request for shortening the processing time or improving the print quality, hundreds to tens of thousands of image data may be read. In this scan, negative film images are read out as hundreds of thousands to millions of image data.
[0016]
In FIG. 1, the flow of the image data of the main scan is displayed with a dotted line, and the flow of the other pre-scan image data is displayed with a solid line. Image data obtained by the main scan from the image signal input means 10 is sent to the recording image data conversion LUT 14. The prescan image data from the image signal input means 10 is sent to the image recording basic amount calculation means 13 and the image data selection means 23. In addition to separately performing the pre-scan and the main scan as described above, as will be described in detail later, the image data of the main scan is combined to reduce the number of pixels from several hundred pixels to several tens of thousands of pixels, This may be used as prescan image data.
[0017]
In the recording image data conversion LUT 14, a conversion table (see FIGS. 6 to 8) for converting the main scan image data into the recording image data is written by the gradation conversion characteristic setting unit 12. This conversion table is set by the gradation conversion characteristic setting means 12 based on the gradation conversion characteristic and the recording basic amount. The gradation conversion characteristic corresponds to the gradation balance characteristic (three-color density balance at each density) shown in FIG. 4 and the gradation characteristic (negative film characteristic curve slope) shown in FIG. Furniture). As described above, by separating the gradation balance characteristic and the gradation characteristic, the average value of the gradation balance of a large number of images can be used. In addition, the gradation characteristics do not necessarily need to be as accurate as the gradation balance characteristics, and predetermined data can be used. This gradation characteristic data is stored in the gradation characteristic storage means 20, and the corresponding gradation characteristic data is read by the film discrimination signal from the film type identification means 21, and this is sent to the gradation conversion characteristic setting means 12. It is done. The recording basic amount is obtained by the image recording basic amount calculation means 13. For simplicity, it is possible to use common data for the gradation characteristic data regardless of the film type.
[0018]
The gradation balance characteristic is detected by the gradation balance detection means 11. The three color density balance of the color negative film varies depending on the film density. This is because the color negative film R, G, B characteristic curves (the relationship of the color density obtained to the exposure amount to the film) are not parallel (this characteristic is called gradation balance), that is, the R, G, B floors. This is due to the difference in tone. This gradation balance varies depending on the type of film. For this reason, there is known an image apparatus in which a three-color density balance is previously stored in a memory for each film type, or a three-color density balance is obtained from one image. However, its accuracy is limited. The three-color density balance value obtained from the maximum density value of one image or a density value (maximum reference value) based on the maximum density value is the same 3 from other images on the same recording medium, as is apparent from FIG. A color density balance is not always obtained. Further, since it is only data from one image, it is insufficient to obtain accurate gradation balance data. For this reason, an image data storage unit 22 is connected to the gradation balance detection unit 11. Further, an image data selection unit 23 is connected to the image data storage unit 22. The image data selection means 23 selects pre-scan image data based on the film type signal from the film type identification means 21 and sends the selected image data to the image data storage means 22.
[0019]
The film type identifying means 21 identifies the type of color negative film. A bar code reader for determining the film type and a magnetic reading device for reading magnetic information correspond to this, and the bar code and magnetic information recorded on the negative film are read to determine the film type and the like. The film type identifying means 21 may include means for identifying a negative film and a positive film, and for identifying other storage media, in addition to identifying the film type. When an original picture belongs to a series of many images like a photographic film, the series of original pictures is of course the same film type.
[0020]
The image data selection means 23 selects image data according to a predetermined selection criterion, and sends the selected image data to the image data storage means 22. As a selection criterion, the average value of the image data of the corresponding film type stored in the image data storage unit 22 based on the film type signal from the film type identification unit 21 is used. Then, only image data within a predetermined range is selected based on this average value. Further, instead of the average value, a value determined by a statistical method such as a least square method may be used. The image data selected in this way has an image density of a subject color in a certain range that is substantially gray or close to gray.
[0021]
The image data storage means 22 adds and stores the R density and B density for the G density of the image data and the number of image data in the corresponding storage area based on the film type signal. In the present embodiment, the G density is used as a classification standard for image data. Then, it is determined which level of the G data density value of the image data corresponds to, for example, a level classified at 0.01 intervals or 0.1 intervals, and R density and B density are accumulated at the corresponding levels. At the same time, the accumulated data is counted and stored. Then, for many image data, the accumulated image data is divided by the number of accumulated data to obtain an average value. Note that the image data storage method is described in detail in, for example, Japanese Patent Laid-Open No. 3-53235. In addition, the average value of a large number of accumulated data is constant and becomes gray or a color close to gray. In the case of a color close to gray, the deviation from gray can be made gray by adding a fixed correction value. By accumulating the image data according to the film type in this way, unique data for this film type can be obtained with high accuracy as the accumulation proceeds.
[0022]
The gradation balance detection unit 11 obtains gradation balance characteristics based on the average value from the image data storage unit 22. FIG. 2 shows an example of the detected gradation balance characteristic, and shows the relationship between the R density and the G density as an average value of accumulated data at each density level. When expressed by the average value of each density level, a curve consisting of a number of points obtained as shown in FIG. 2 is obtained. Correct it. Similarly, a relationship between the B concentration and the G concentration is created.
[0023]
The gradation conversion characteristic setting unit 12 creates a gradation conversion table related to the gradation conversion characteristic based on the gradation characteristic data from the gradation characteristic data storage unit 20 and the gradation balance data from the gradation balance detection unit 11. To do. FIG. 3 is an example of gradation balance characteristic data indicating the relationship of R density to G density, and is obtained by smoothing the data shown in FIG. In FIG. 3, the three-color average density of the maximum density value of each color in the original image to be recorded is DXG as the high density side reference value of G density, and based on this DXG, the R density for DXG is obtained from the tone balance characteristics, and this is obtained as DXR And Similarly, DXB is obtained from the relationship between the B concentration and the G concentration. DXG, DXR, and DXB are R, G, and B densities for obtaining a gray density in DXG. Similarly, for the G density DIG of the low density side reference value, DIR and DIB are obtained using the average density of the three colors of the minimum density values of each color as the low density side reference value. DXR, DXG, DXB, DIR, DIG, and DIB thus obtained represent the color balance of the high-density gray subject and the low-density gray subject in the original image, and these represent the high-density side reference balance value and the low-density reference balance value. Use the density-side reference balance value. In this embodiment, the three-color average density is used as the high density side reference value and the low density side reference value, but each color corresponding to the maximum density and the minimum density may be used.
[0024]
Using this high density side reference balance value DXi (i is one of R, G, and B) and the low density side reference balance value DIi, a gradation balance conversion table is created. That is, a recording density predetermined for the reference balance values DXR and DIR is set to Dhr and Dsr, and a coordinate point determined by these DXR and Dhr, DIR and Dsr is connected to create a gradation balance conversion table. . Similarly, a gradation balance conversion table is created for other B densities and G densities. FIG. 4 shows an example of this gradation balance conversion table, in which the horizontal axis represents the R density that is the input value, and the vertical axis represents the R density that is the output value. As described above, since the recording densities Dhi and Dsi are determined and uniformly assigned to all the density therebetween, it is not always possible to record an underexposed negative image as a natural image. For this reason, a gradation conversion table is created using the gradation characteristic data shown below.
[0025]
The gradation characteristic data is stored in the gradation characteristic data storage means 20 shown in FIG. The gradation characteristic data is stored for each film type, and the corresponding gradation characteristic data is sent to the gradation conversion characteristic setting means 12 by the film type identification signal from the film type identification means 21. FIG. 5 shows an example of the gradation characteristic data. This gradation characteristic data is a conversion table corresponding to the characteristic curve of a color negative film, and the horizontal axis represents Dout and the vertical axis represents Din. The gradation characteristic data is used to convert the Din value to the Dout value. As can be seen from the gradation characteristic data, the feet and shoulders of the characteristic curve are not straight lines, and the image density is compressed. The shape of the characteristic curve varies depending on the light-sensitive color developing layer and the type of color film, but it is rarely used up to the shoulder due to advances in film latitude and camera exposure technology. Since the characteristics of the foot are approximated by each film, the conversion table corresponding to the characteristic curve to be stored is an average conversion table and may not be provided for each color. In order to obtain accurate gradation characteristics, the film density is measured for each film type, and this measured value is used. Alternatively, a gradation conversion table may be set on a trial and error basis and selected based on the film type signal. In addition to representing the characteristic curve in the form of a conversion table, the characteristic curve may be represented by a functional expression.
[0026]
Next, the gradation conversion characteristic setting unit 12 uses the gradation characteristic data (approximate to the film characteristic curve) shown in FIG. 5 from the high density side reference balance value DXi and the low density side reference balance value DIi of the original image. Is specified, and the gradation characteristics in this range and the gradation balance conversion table shown in FIG. 4 are combined to create a gradation conversion table as shown in FIG. That is, the gradation conversion as shown in FIG. 6 is performed by replacing the value of the horizontal axis of the gradation balance conversion table with the value of the vertical axis of the corresponding characteristic curve using the gradation characteristic data shown in FIG. Create a table. The solid-line display in FIG. 6 is an under-exposure negative image, and the contrast (difference between DXi and DIi) is small with respect to the tone balance characteristic of the image by proper exposure displayed by a broken line. This shows that the recorded image is free of shadow areas, but the image is improved by increasing the density of the low-density image. As another method, the same effect can be obtained by setting each value of DIR to DXR to Din and converting it to Dout and using the horizontal axis of the gradation balance table of FIG. The gradation conversion table may be corrected for each image or a plurality of corrected tables may be selected and selected. As another method, since the gradation characteristic data does not require high accuracy, a known method, for example, a density histogram or density cumulative distribution is automatically obtained from prescan image data of an original image, and this is used. It may be used.
[0027]
As described above, in the present invention, the three-color density balance including the nonlinear portion of the characteristic curve of the color negative film is found and controlled for each film type. The three-color density balance including the nonlinear portion of the characteristic curve of the film can be automatically obtained from the image data by the image data selection means 23, the image data storage means 22, and the gradation balance detection means 11. The difference in the foot part of the characteristic curve of each film type affects the tone reproduction of the recorded image, and the influence on the color balance is small. Further, the color balance due to the difference in the foot portion of the characteristic curve of each color is corrected, and the influence on the tone reproduction of the recorded image is small. The shape of the characteristic curve of each film type is difficult to obtain automatically from image data, but generally the accuracy is not as high as the accuracy of color balance, and the average stored in advance is not obtained directly from the original image. Data can be substituted.
[0028]
The recorded image data conversion table creating means 16 generates the gradation conversion table from the gradation conversion characteristic setting means 12 based on the recording conditions from the recording condition storage means 25 and the image recording basic quantity from the image recording basic quantity calculation means 13. Correct it. An example of the corrected gradation conversion table is shown by a two-dot chain line in FIG. The corrected gradation conversion table is written in the recording image data conversion LUT 14 as a recording image data conversion table. In this way, the gradation conversion table is corrected based on the basic image recording amount for the following reason. If the maximum reference value, the minimum reference value, the highlight point, and the shadow point to be reproduced are accurate, there is no need to correct the image recording basic amount. A typical example of such a scene is a portrait in a photo studio. The highlight point is, for example, white of clothes, and the shadow point is, for example, hair. In contrast, portraits with a natural background are not necessarily so. There are many highlight points such as the sky and clouds, the white walls and windows that reflect, and the foreground white in flash photography. Except for these, it is very difficult to accurately extract the white of clothes, and in many cases, correction based on the basic amount of image recording is necessary.
[0029]
The basic image recording amount calculation unit 13 obtains the basic image recording amount based on the prescan image data from the image signal input unit 10. The basic image recording amount is a value obtained from the image density of the original image for each original image to be recorded. For example, based on pre-scan image data, a simple average value in each area such as a full screen area, a specific area, and a selected area is calculated and used selectively. In addition, as the basic image recording amount, an average value of weighted addition with respect to the position of the pixel, an average value of selected pixels, an average value of weighted addition, or the like is used.
[0030]
The basic amount of image recording is described in JP-A-55-26569, JP-A-61-223731, JP-A-2-90140, JP-A-3-53235, JP-A-5-289207, and the like. It can be determined using known methods such as Further, the basic image recording amount is a weighted average value of the maximum value (or highlight portion density) and the minimum value (or shadow portion density), a weighted average value obtained by multiplying each pixel by a weight (for example, a density histogram). A weighted average value obtained by multiplying each class by a weight), a value that characterizes an image of an original image, such as a value corresponding to a specific frequency of a cumulative density histogram or a selected frequency, particularly described in Japanese Patent Laid-Open No. 5-100328. A value that characterizes the main subject density or a value that has a correlation with the main subject density can be used as the basic image recording amount. Further, a concentration control value may be used. In this case, JP-A Nos. 51-138435, 53-145621, 54-28131, and 59-164547 are disclosed. It can be obtained from a known method as described in the publication.
[0031]
The correction of the gradation conversion table based on the basic image recording amount is changed by shifting the table data up and down along the vertical axis of the gradation conversion table in accordance with the basic image recording amount. In addition to this, when the correction is made by the main portion concentration DpO as shown in FIG. 7, the gradation conversion table is corrected as shown by a two-dot chain line. In this case, DpO represents the density of the main part of the original image, and DpR represents data necessary to obtain an appropriate density of the main part of the recorded image. Then, when the main part density DpO of the original image does not match the main part density DpR of the recorded image and the density of the main part density DpR of the recorded image is low, the conversion table is corrected as shown by a two-dot chain line in FIG. To do. The method for determining the main area for determining the main area density is described in, for example, Japanese Patent Application Laid-Open Nos. 52-156624, 2-287531, and 4-346332. A method of extracting a main subject (human face) from an image can be used. Further, the main portion density DpR of the recorded image is obtained in advance for each recording material, and this is recorded in the recording condition storage means 25 (see FIG. 1). The main portion density DpR of the recorded image is input to the recorded image data conversion table creating means 16. The recording image densities Dsi and Dhi may also be stored in the recording condition storage means 25, and may be rewritten manually or automatically depending on preferences and image contents.
[0032]
In FIG. 7, what is indicated by a two-dot chain line is one in which only the vicinity of the main portion concentration has been corrected. In addition, as shown in FIG. 8, the change in the density of the highlight portion may be reduced and the image reproduction of the shadow portion may be corrected as not important. A method described in JP-A-4-285933 can be applied as a gradation correction method. Furthermore, practically, the conversion table for correcting the density of the main part may be corrected so as to be a smooth curve. 7 and 8 are described as modifications to the basic gradation balance conversion table shown in FIG. 4 for the purpose of simplifying the explanation, but in practice, gradation conversion as shown in FIG. Modifications are made to the table. As described above, when the main part density DpO of the original image does not match the main part density DpR of the recorded image, the image contents may be changed as necessary based on the reference recorded image data conversion table shown by the solid line in FIGS. The conversion table is modified. Discrimination of the image contents is performed using a known method. For example, a large number of scenes are classified in advance for each processing pattern by a statistical method, and the image content is determined by determining which pattern belongs to using pre-scanned image data. In addition, it may be performed on the basis of shooting information on a film as disclosed in JP-A-4-284442.
[0033]
As shown in FIG. 1, the image recording means 15 converts the recording image data from the recording image data conversion LUT 14 into an image recording control amount and records an image. Note that the recording image data conversion LUT 14 may convert the image recording control amount directly from the main scan image data. The image recording means 15 is a known video printer that scans and exposes the yellow, magenta, and cyan photosensitive layers of a silver salt photographic color photosensitive material (color paper) with a light beam.
[0034]
FIG. 9 is a flowchart showing the processing procedure of the image data. (A) shows a procedure for creating a recorded image data conversion table using pre-scanned image data, and (B) shows a procedure for recording an image based on main-scanned image data using the recorded image data conversion table. .
[0035]
In the above embodiment, the gradation conversion table is created from the gradation characteristic data and the gradation balance table. In addition, a recorded image data conversion table is created from the gradation characteristic data and the basic image recording amount. You may do it. As described above, various combinations of conversion tables and conversion table division and integration are possible depending on each correction factor, and such modifications are included in the present invention.
[0036]
Further, instead of providing the gradation conversion characteristic setting means 12, as shown in FIG. 10, a gradation characteristic conversion LUT 40 is provided to convert the main scan image data, and this is converted into the recording image data by the recording image data conversion LUT 14. It may be converted. In this case, a recorded image data conversion table is created based on the gradation balance table and the basic image recording amount. The main scan image data is converted to remove the nonlinear characteristic of the film by using the gradation characteristic data, and then converted to the recording image data by the recording image data conversion table. The conversion of the image signal based on the gradation characteristic data preferably only corrects the nonlinearity of the characteristic curve linearly. This is because correcting the gradation balance of the characteristic curve results in a double correction. This gradation characteristic data is representative data, and the color balance is not controlled by this data in the present invention.
[0037]
In the above embodiment, the gradation is uniformly determined by the maximum reference point, the minimum reference point, the highlight point, and the shadow point. However, for example, the gradation characteristics may not be sufficient depending on the gradation of the recording material and the original image, such as a high contrast as a whole. In such a case, the gradation balance table can be corrected to some extent with the recorded image density corresponding to the maximum reference point, minimum reference point, highlight point, and shadow point, but it is insufficient. For this purpose, it is preferable to modify the table by multiplying the conversion value (recording image data) side of the recording image data conversion table by a coefficient so that the entire gradation can be converted. The setting of the coefficient may be manually input from the outside or may be automatically given for each image.
[0038]
Further, the recording image data conversion table creating means 16 may include media conversion. By this media conversion, problems that occur when creating a hard copy from a film image, such as compression of lightness reproduction, hue and saturation reproduction, and enhancement of color and highlight images, are performed. Further, this media conversion may be included in the gradation conversion characteristic setting means 12. Also, edge enhancement, pseudo contour removal, noise removal, calibration for machine differences and fluctuations are often used in image processing, but these known image processing methods may be added to the table creation means 16.
[0039]
In the above embodiment, the pre-scan image data is accumulated for each film type, the average value thereof is obtained, and the gradation balance characteristic is obtained by using this average value as a representative value. A series of film images of the target film may be first pre-scanned at once, and the tone balance characteristics may be obtained using the pre-scan image data. A series of film images in this case shows an image for one negative film or a similar image in one film. As already described, the extraction of only similar images can be done by classifying a large number of scenes for each pattern in advance using a statistical method and determining which pattern belongs to using pre-scan image data. Determine whether or not.
[0040]
Further, the photometry system different from the pre-scan and the main scan may be used, or the same photometry system may be used. When the same photometry system is used, prescan image data is obtained by performing a main scan to perform pixel density conversion and performing pixel combination during prescan.
[0041]
Further, pre-scan image data may be simultaneously obtained in the same way during the main scan. In this case, pixel density conversion of the main scan image data is performed, and pixel combination is performed to obtain prescan image data. Further, the main scan image data is stored for a plurality of images in an image memory (not shown). Further, the pre-scan image data obtained by the pixel combination is selected by the image data selection unit 23, and only the selected image data is sent to the image data storage unit 22.
[0042]
Further, the density in the present invention includes not only the optical density but also a conversion value corresponding to chromaticity, a photometric output value of the original image, a dot area ratio, and the like. An anti-logarithm value of concentration can also be applied. In the above embodiment, the negative film has been described as an example. However, the present invention may be applied to a positive film or a reflective original, although the same effect as the negative film cannot be obtained.
[0043]
The image recording unit may be configured by an exposure unit that controls a large number of pixels extending in a line or area, such as a liquid crystal or a CRT, in addition to a light beam. In addition, the recording material is not limited to a color photosensitive material, and may be, for example, a thermal printing method using a thermal recording material or a sublimation type or heat melting type ink ribbon, an ink jet printing method, a toner transfer printing method, or the like. Good.
[0044]
In the above embodiment, when obtaining the gradation balance data, the G density is used as the classification standard of the image data. However, other colors may be used as the classification standard. For example, instead of using the G density as a reference, a three-color average value (R + G + B) / 3 or a weighted average value of R, G, and B may be used. Further, a difference or ratio of color density with respect to G density or three-color average density such as RG density or BG density with respect to G density may be used. When the classification standard is a three-color average value, it is necessary to change the method for obtaining each standard value according to the classification standard so that the high-density side reference value and the low-density side reference value use the three-color average density. Of course.
[0045]
In the above embodiment, DXi and DIi are used as the high density side reference balance value and the low density side reference balance value corresponding to the gray subject in the high density side reference density and the low density side reference density of the original image. The weighted average values DNXi and DNIi obtained by Equations 1 and 2 may be used.
[0046]
[Expression 1]
DNXi = KXi · DXi + Kxi · Dxi + αi
[Expression 2]
DNIi = KIi · DIi + Kni · Dni + βi
KXi, Kxi, KIi, Kni: coefficients (KXi + Kxi = 1.0, KIi + Kni = 1.0)
DXi: high density side reference balance value obtained from accumulated image data of many frames
DIi: Low density side reference balance value obtained from accumulated image data of many frames
Dxi: high density side reference value of each color of the original image to be recorded
Dni: low density side reference value of each color of the original image to be recorded
αi: Constant for setting the recording image density with respect to the high density side reference density to an appropriate density that is easy to control
βi: constant for setting the recording image density with respect to the low density side reference density to an appropriate density that is easy to control
[0047]
Strictly speaking, even the same film type does not always have the same film characteristics. Causes of this include film production, changes over time, film development, and the influence of cameras and photographing light sources. For this reason, it is necessary to consider the film characteristics of the image to be recorded. In this case, KXi and Kxi, KIi and KniAre determined by the characteristics of the original image. For example, KXi> Kxi, KIi> Kn as the characteristics of the original image match the average characteristics of many images.iStrengthen the tendency. Further, KXi <Kxi, KIi <Kn, so that the original image is affected by the photographing light source.iStrengthen the tendency.
[0048]
Further, as the high density side reference value and the low density side reference value of the original image to be recorded, the density values of highlight points and shadow points (for example, 5% and 95% points of the density cumulative histogram) may be used. Alternatively, the main image portion may be extracted, and the density values of highlight and shadow points to be reproduced as an image based on the main image density may be determined to be the high density side reference value and the low density side reference value. Thus, the high density side reference value and the low density side reference value are values representing white and black to be reproduced. Actually, it is difficult to obtain accurately, and various methods are conceivable. The present invention is not limited to the above method.
[0049]
Further, in the above embodiment, the average value is obtained by dividing the accumulated image data accumulated for a large number of image data by the number of accumulated data, but instead, individual data may be stored. Further, instead of obtaining the average value, other statistical values such as a least square approximation value may be used. Furthermore, instead of obtaining an average value or the like, a one-dimensional or multidimensional function expression may be obtained by multiple regression analysis or the like. The form of the image data accumulated in this way and the method for obtaining the tone balance from the image data are not limited to these.
[0050]
Furthermore, although two reference balance values are obtained for two reference values, the number is not limited to two. For example, an average density value of an image or an intermediate value between the maximum density value and the minimum density value may be used as an intermediate density reference value, and an intermediate density side reference balance value may be obtained based on the intermediate density reference value. The medium density side reference balance value may be used alone or may be selectively combined with the high density side reference value and the low density side reference value. Further, these three reference balance values may be used.
[0051]
【The invention's effect】
Although it is difficult to accurately obtain the gradation conversion table from the original image, in the present invention, the three-color gradation balance that requires accuracy and the gradation that does not need to be separated are separated and the image recording is performed. Since the gradation conversion table is created from the three-color gradation balance data optimized for the apparatus and the representative reference gradation characteristic data, the under image recorded on the photographic film is converted from the under image to the over image. It is possible to obtain a high-quality recorded image with excellent tone and color balance.
[0052]
By accumulating a large number of image data for each density level, it is possible to accurately obtain three-color gradation balance data from the under image to the over image of the original photographic film even if a part of its characteristic curve is non-linear. . In addition, by determining the three-color gradation balance based on a large number of image data for the used density range of the original image to be recorded, whether it is an under image or an over image, further from the highlight portion in the image A recorded image with good color balance can be obtained over the shadow portion.
[0053]
Previously, the image recording conditions were determined from the highlight and shadow points of one original image, but a series of original images or the three color densities or the three color density balance values of many images of the same original image type are stored. By accumulating, it is possible to obtain more accurate three-color gradation balance data optimized for the image processing apparatus and the type of film used. As a result, a high-quality recorded image without color variation can be obtained.
[Brief description of the drawings]
FIG. 1 is a functional block diagram showing a main part of a digital printer of the present invention.
FIG. 2 is a diagram showing an example of gradation balance characteristics.
FIG. 3 is a diagram illustrating obtaining high density and low density side reference balance values from gradation balance characteristics.
FIG. 4 is a diagram showing an example of a gradation balance conversion table.
FIG. 5 is a diagram showing an example of gradation characteristic data.
FIG. 6 is a diagram showing an example of a gradation conversion table.
FIG. 7 is a diagram showing an example of correction of a recorded image data conversion table.
FIG. 8 is a diagram showing an example of correction of a recorded image data conversion table.
9A is a flowchart showing a procedure for creating a recorded image data conversion table using pre-scanned image data, and FIG. 9B is a flowchart showing a procedure for recording an image based on main-scanned image data.
FIG. 10 is a functional block diagram showing a main part in another embodiment.
11A is an under-exposure R density histogram for an original image recorded on a negative film, FIG. 11B is an appropriate exposure R density histogram for the same subject as FIG. 6A shows an R density histogram of overexposure of the same subject as in FIG.
[Explanation of symbols]
10 Image signal input means
11 Gradation balance detection means
12 gradation conversion characteristic setting means
13 Image recording basic amount calculation means
14 Recorded image data conversion LUT
15 Image recording means
16 Recorded image data conversion table creation means
20 gradation characteristic data storage means
21 Film type identification means
40 Gradation characteristics conversion LUT

Claims (7)

カラーフイルムに記録された記録対象原画像から得られた画像データに基づき記録材料に画像を記録するデジタルプリンタの画像データ変換方法において、
前記カラーフイルムの階調特性を記憶しておき、
前記カラーフイルムが属するフイルム種毎に、同じフイルム種における多数の原画像の画像データの代表値から階調バランス特性を求め、
前記階調バランス特性から前記記録対象原画像の高濃度側基準値と低濃度側基準値とに相当する高濃度側基準バランス値と低濃度側基準バランス値とを求め、前記各基準バランス値に対応する出力画像データ基準値を予め記憶しておき、入力画像データとこれに対応する出力画像データとの関係を表す変換テーブルにおいて、前記高濃度側基準バランス値とこれに対応する出力画像データ基準値とで決定される座標点と、前記低濃度側基準バランス値とこれに対応する出力画像データ基準値とで決定される座標点とをつないで階調バランス変換テーブルを作成し、
この階調バランス変換テーブルと前記階調特性とに基づき階調変換テーブルを作成し、
この階調変換テーブルを用いて画像データ変換テーブルを作成し、
この画像データ変換テーブルを用いて記録対象原画像の画像データを変換することを特徴とするデジタルプリンタの画像データ変換方法。
In an image data conversion method for a digital printer that records an image on a recording material based on image data obtained from an original image to be recorded recorded on a color film,
Store the gradation characteristics of the color film,
For each film type to which the color film belongs, obtain gradation balance characteristics from representative values of image data of a large number of original images in the same film type,
A high density side reference balance value and a low density side reference balance value corresponding to a high density side reference value and a low density side reference value of the original image to be recorded are obtained from the gradation balance characteristics, and each of the reference balance values is obtained. Corresponding output image data reference values are stored in advance, and in the conversion table representing the relationship between the input image data and the corresponding output image data, the high density side reference balance value and the corresponding output image data reference A coordinate point determined by the value and a coordinate point determined by the low density side reference balance value and the output image data reference value corresponding to the low density side reference balance value to create a gradation balance conversion table,
Create a gradation conversion table based on the gradation balance conversion table and the gradation characteristics,
Create an image data conversion table using this gradation conversion table,
An image data conversion method for a digital printer, wherein the image data of a recording target original image is converted using the image data conversion table .
記録対象原画像の画像特徴量から記録画像の主要部濃度を制御する記録基本量を求め、この記録基本量に基づき前記階調変換テーブルを修正して前記画像データ変換テーブルを作成することを特徴とする請求項1記載のデジタルプリンタの画像データ変換方法。 A basic recording amount for controlling a density of a main part of a recorded image is obtained from an image feature amount of the original image to be recorded, and the image data conversion table is created by correcting the gradation conversion table based on the basic recording amount. The image data conversion method for a digital printer according to claim 1 . 前記高濃度側基準バランス値及び前記高濃度側基準値からこれらの重み付け平均値を求め、前記低濃度側基準バランス値及び前記低濃度側基準値からこれらの重み付け平均値を求め、これら各重み付け平均値を基準バランス値として、前記画像データ変換テーブルを作成することを特徴とする請求項1または2記載のデジタルプリンタの画像データ変換方法。These weighted average values are obtained from the high density side reference balance value and the high density side reference value, these weighted average values are obtained from the low density side reference balance value and the low density side reference value, and each of these weighted averages. 3. The image data conversion method for a digital printer according to claim 1 , wherein the image data conversion table is created using a value as a reference balance value. 前記重み付け平均値は、記録対象原画像の階調バランス特性が多数の原画像の画像データの代表値から求めた階調バランス特性に近づくほど基準バランス値側の重み付け係数を大きくし、記録対象の原画像が撮影光源の影響を受けるほど基準値側の重み付け係数を大きくすることを特徴とする請求項3記載のデジタルプリンタの画像データ変換方法。The weighted average value increases the weighting coefficient on the reference balance value side as the gradation balance characteristic of the original image to be recorded approaches the gradation balance characteristic obtained from the representative values of the image data of many original images. 4. The image data conversion method for a digital printer according to claim 3, wherein the weighting coefficient on the reference value side is increased as the original image is affected by the photographing light source. 請求項1ないし4いずれか一つ記載の画像データ変換方法を用いて画像データを変換し、この変換した画像データを用いて画像を記録することを特徴とするデジタルプリンタの画像記録方法。5. An image recording method for a digital printer, wherein image data is converted using the image data conversion method according to claim 1, and an image is recorded using the converted image data. カラーフイルムに記録された記録対象原画像から得られた画像データに基づき記録材料に画像を記録するデジタルプリンタにおいて、
前記画像データを入力する画像データ入力手段と、
前記記録対象原画像の画像データの代表値から階調バランス特性を求める階調バランス特性検出手段と、
階調特性を記憶した階調特性記憶手段と、
前記階調バランス特性から前記記録対象原画像の高濃度側基準値と低濃度側基準値とに相当する高濃度側基準バランス値と低濃度側基準バランス値とを求め、前記各基準バランス値に対応する出力画像データ基準値を予め記憶しておき、入力画像データとこれに対応する出力画像データとの関係を表す変換テーブルにおいて、前記高濃度側基準バランス値とこれに対応する出力画像データ基準値とで決定される座標点と、前記低濃度側基準バランス値とこれに対応する出力画像データ基準値とで決定される座標点とをつないで階調バランス変換テーブルを作成し、この階調バランス変換テーブルと前記階調特性とを用いて階調変換テーブルを作成する階調変換特性設定手段と、
前記階調変換テーブルに基づき画像データ変換テーブルを作成する画像データ変換テーブル作成手段と、
前記画像データ変換テーブルを用いて記録対象原画像の画像データを変換する画像データ変換手段と、
この画像データ変換手段で変換した画像データにより記録材料に記録する画像記録手段とを備えたことを特徴とするデジタルプリンタ。
In a digital printer for recording an image on a recording material based on image data obtained from an original image to be recorded recorded on a color film ,
Image data input means for inputting the image data;
Gradation balance characteristic detecting means for obtaining a gradation balance characteristic from a representative value of image data of the original image to be recorded ;
Gradation characteristic storage means for storing gradation characteristics;
A high density side reference balance value and a low density side reference balance value corresponding to a high density side reference value and a low density side reference value of the original image to be recorded are obtained from the gradation balance characteristics, and each of the reference balance values is obtained. Corresponding output image data reference values are stored in advance, and in the conversion table representing the relationship between the input image data and the corresponding output image data, the high density side reference balance value and the corresponding output image data reference A gradation balance conversion table is created by connecting the coordinate point determined by the value and the coordinate point determined by the low density side reference balance value and the output image data reference value corresponding to the low density side reference balance value. Gradation conversion characteristic setting means for creating a gradation conversion table using the balance conversion table and the gradation characteristics;
Image data conversion table creating means for creating an image data conversion table based on the gradation conversion table;
Image data conversion means for converting the image data of the original image to be recorded using the image data conversion table;
A digital printer comprising image recording means for recording on a recording material using image data converted by the image data conversion means .
記録対象原画像の画像特徴量から記録画像の主要部濃度を制御する記録基本量を求める手段を備え、この記録基本量に基づき前記画像データ変換テーブル作成手段は前記画像データ変換テーブルを修正することを特徴とする請求項6記載のデジタルプリンタ。 Means for obtaining a recording basic quantity for controlling the density of the main part of the recorded image from the image feature quantity of the original image to be recorded, and the image data conversion table creating means corrects the image data conversion table based on the recording basic quantity; The digital printer according to claim 6.
JP32159995A 1995-11-28 1995-12-11 Digital printer and image data conversion method and image recording method therefor Expired - Fee Related JP3614541B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP32159995A JP3614541B2 (en) 1995-12-11 1995-12-11 Digital printer and image data conversion method and image recording method therefor
US08/757,947 US6081343A (en) 1995-11-28 1996-11-27 Digital printer and image data conversion method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32159995A JP3614541B2 (en) 1995-12-11 1995-12-11 Digital printer and image data conversion method and image recording method therefor

Publications (2)

Publication Number Publication Date
JPH09163143A JPH09163143A (en) 1997-06-20
JP3614541B2 true JP3614541B2 (en) 2005-01-26

Family

ID=18134344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32159995A Expired - Fee Related JP3614541B2 (en) 1995-11-28 1995-12-11 Digital printer and image data conversion method and image recording method therefor

Country Status (1)

Country Link
JP (1) JP3614541B2 (en)

Also Published As

Publication number Publication date
JPH09163143A (en) 1997-06-20

Similar Documents

Publication Publication Date Title
US7133070B2 (en) System and method for deciding when to correct image-specific defects based on camera, scene, display and demographic data
US6097470A (en) Digital photofinishing system including scene balance, contrast normalization, and image sharpening digital image processing
US7076119B2 (en) Method, apparatus, and program for image processing
US5667944A (en) Digital process sensitivity correction
JP3011432B2 (en) Color image processing equipment
US5371615A (en) Image-dependent color correction using black point and white point in a natural scene pictorial image
JP3556859B2 (en) Image correction method, image correction device, and recording medium
JP3733165B2 (en) Image data conversion method for digital printer
US6701007B1 (en) Image processing device, image processing method, and recording medium for correcting color balance of output images
US6459500B1 (en) Image processing apparatus
US6160634A (en) Digital printer and image data conversion method
US6081343A (en) Digital printer and image data conversion method therefor
JP3408770B2 (en) Image processing device
US6801296B2 (en) Image processing method, image processing apparatus and image recording apparatus
JPH1075374A (en) Image processing unit and its method
JP3964796B2 (en) Red-eye detection and correction method
JP3614541B2 (en) Digital printer and image data conversion method and image recording method therefor
JPH11249241A (en) Image processing method and image processing device
JPH09181919A (en) Digital printer and image data conversion method therefor
JP3530640B2 (en) Digital image recording method and apparatus, and digital image processing apparatus
JP3926494B2 (en) Image processing method and image output apparatus
JP2001346043A (en) Image processor and image processing method
JP3342623B2 (en) Image data conversion method and apparatus
JPH09181918A (en) Image data conversion method for digital printer
JP2003264711A (en) Image processing method, image processor and image recorder

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040304

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040428

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: 20041013

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041027

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20071112

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20081112

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091112

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091112

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101112

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111112

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees