JP4091220B2 - Image processing method and apparatus, and recording medium - Google Patents
Image processing method and apparatus, and recording medium Download PDFInfo
- Publication number
- JP4091220B2 JP4091220B2 JP22929799A JP22929799A JP4091220B2 JP 4091220 B2 JP4091220 B2 JP 4091220B2 JP 22929799 A JP22929799 A JP 22929799A JP 22929799 A JP22929799 A JP 22929799A JP 4091220 B2 JP4091220 B2 JP 4091220B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- data
- information
- detailed
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Landscapes
- Control Of Exposure In Printing And Copying (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、写真焼付装置や画像記録装置等に利用される、原画像データに対していわゆる覆い焼き処理を施す画像処理方法および装置並びに画像処理方法をコンピュータに実行させるためのプログラムを記録したコンピュータ読取り可能な記録媒体に関するものである。
【0002】
【従来の技術】
現在、ネガフイルム、リバーサルフイルム等の写真フイルム(以下、フイルムとする)に撮影された画像の感光材料への焼き付けは、フイルムの画像を感光材料に投影して感光材料を面露光する、いわゆる直接露光によって行われている。これに対して、近年デジタル露光を利用する焼付装置、すなわち、フイルムに記録された画像を光電的に読み取って画像データを得、この画像データに対して種々の画像処理を施して記録用のデジタル画像データとし、この画像データに応じて変調した記録光によって感光材料を走査露光して画像(潜像)を記録し、現像処理してプリントとするデジタルプリンタの開発が進んでいる。
【0003】
デジタルプリンタでは、フイルムを光電的に読み取り、信号処理によって色濃度補正が行われて露光条件が決定されるため、1画像当たりの露光にかかる時間は短時間であり、また、露光時間も画像サイズに応じて一定であるため、従来の面露光に比して迅速な焼き付けを行うことができる。しかも、画像合成や画像分割等の編集や、色/濃度調整等の画像処理も自由に行うことができ、用途に応じて自由に編集、画像処理を施した仕上りプリントを出力できる。また、仕上りプリント画像を画像情報としてフロッピーディスク等の記録媒体に保存できるので、焼増し等の際に原稿となるフイルムを用意する必要がなく、かつ再度露光条件を決定する必要がないので迅速かつ簡易に作業を行うことができる。さらに、従来の直接露光によるプリントでは、分解能、色/濃度再現性等の点で、フイルム等に記録されている画像をすべて再生することはできないが、デジタルフォトプリンタによればフイルムに記録されている画像(濃度情報)をほぼ100%再生したプリントが出力可能である。
【0004】
ところで、フイルムに撮影された画像の撮影条件は一定ではなく、ストロボ撮影や逆光シーン等、明暗の差が大きい場合も多々ある。このようなフイルム画像を通常の方法で露光して仕上りプリントを作成すると、明部もしくは暗部のいずれかの画像がつぶれてしまう場合がある。例えば、人物を逆光で撮影した場合、人物が好適な画像となるように露光を行うと、空のような明るい部分は白く飛んでしまい、逆に、空が好適な画像となるように露光を行うと、人物が黒くつぶれてしまう。このため、明暗の大きなフイルム画像を原画として感光材料の露光を行う場合には、いわゆる覆い焼きが行われている。
【0005】
ここで、覆い焼きとは、中間濃度の部分には通常の露光を行い、画像が飛びそうな部分(明部)は露光量を増加し、また、画像がつぶれそうな部分(暗部)の露光量を低減することにより、フイルムに撮影された画像の大きな明暗を補正し、画面全体に亘って適正な画像が再生された仕上りプリントを得る技術である。従来の面露光による装置では、露光光路中に遮光板やNDフィルタ等を挿入して露光を行う方法、露光光源の光量を部分的に変更する方法、フイルムに撮影された画像をぼかしながら明暗を反転したモノクロフイルムを作成して、これを重ねて露光を行う方法等により、フイルムに撮影された画像に応じて露光量を部分的に変更して覆い焼きが行われている。
【0006】
これに対して、デジタルプリンタで覆い焼きを行う場合には、光ビームの光路中に覆い焼きのためのフィルタ等を挿入して露光を行うのは極めて困難であるため、画像処理によって、画像の詳細なコントラストを変更することなく、画像の飛びが生じる暗部の露光量を向上し、また、画像がつぶれそうな明部の露光量を低減することにより、覆い焼きと同等の効果を得ている。例えば画像の低周波情報を表すボケ画像を作成し、このボケ画像の明部および暗部のダイナミックレンジを、所定の圧縮率を有するダイナミックレンジ圧縮テーブルにより圧縮して覆い焼き情報を得、この覆い焼き情報を原画像に付加することにより、覆い焼きを行った場合と同様に、明部および暗部の飛び、つぶれのない処理済み画像を得ることができる。
【0007】
ここで、デジタルフォトプリンタにおいては、オペレータがフィルタ等を選択して覆い焼きを行うわけではないため、その効果を予測することが困難であり、仕上りプリントで覆い焼きの効果を確認するしかなく、デジタルフォトプリンタに覆い焼き機能を付与すると、場合によっては覆い焼きが不適性な仕上りプリントを形成する原因にもなりかねない。このため、覆い焼き処理の最中に処理済み画像をモニタに表示して、覆い焼きの程度を確認できるようにした画像処理装置が提案されている(特開平9−331437号)。
【0008】
【発明が解決しようとする課題】
しかしながら、処理済み画像を常にモニタに表示していたのでは、その確認作業が非常に煩雑であり、プリントの生産性が低下しプリントコストが増大するおそれがある。この場合、全ての画像に対して一律に汎用的な覆い焼き処理を施すことにより、処理済み画像の確認作業を行わなくても、ある程度適正な仕上がりプリントを形成することができる。しかしながら、すべての画像に対して一律の覆い焼き処理を施したのでは、例えば元々画像の明るい部分に詳細な情報が存在せず、画像が飛んでいるわけでない場合でも、覆い焼き処理が施される場合と同一の濃度であれば、その部分にはダイナミックレンジ圧縮処理が施されてしまうため、その結果単にその明るい部分の濃度を低下させたのみの画像が得られてしまう。したがって、画像によっては画像の細部のコントラストは維持していても、画像全体から受けるコントラスト感が低下してしまい、意図していたものとは異なる不適正な処理済み画像となるおそれがある。
【0009】
本発明は上記事情に鑑みなされたものであり、適切に覆い焼き処理を施すことができる画像処理方法および装置並びに画像処理方法をコンピュータに実行させるためのプログラムを記録したコンピュータ読取り可能な記録媒体を提供することを目的とするものである。
【0010】
【課題を解決するための手段】
本発明による画像処理方法は、原画像データにより表される原画像の低周波情報を表すボケ画像データを生成し、該ボケ画像データに対してダイナミックレンジを圧縮する変換処理を施して覆い焼きデータを生成し、該覆い焼きデータを前記原画像データに付加することにより処理済み画像データを得る画像処理方法において、
前記原画像中の高輝度領域および/または低輝度領域における詳細情報の情報量を算出し、
該詳細情報の情報量に応じて前記ダイナミックレンジの圧縮の程度を変更することを特徴とするものである。
【0011】
ここで、「覆い焼きデータを画像データに付加する」とは、覆い焼きデータが高輝度側で正、低輝度側で負の値となる場合には、画像データから覆い焼きデータを減算して処理済み画像データを得ることをいい、逆に、覆い焼きデータが高輝度側で負、低輝度側で正の値となる場合には、画像データに覆い焼きデータを加算して処理済み画像データを得ることをいう。
【0012】
また、「詳細情報の情報量に応じてダイナミックレンジの圧縮の程度を変更する」とは、詳細情報の情報量が大きいほど大きくダイナミックレンジ圧縮の程度が大きくなり、情報量が小さいほどダイナミックレンジ圧縮の程度が小さくなる、あるいはダイナミックレンジ圧縮を行わないようにダイナミックレンジ圧縮の程度を変更することをいう。具体的には、複数のダイナミックレンジ圧縮テーブルを用意して、詳細情報の情報量に応じてテーブルを選択する、詳細情報の情報量に応じてテーブルの傾きを変更する等の方法を用いればよい。
【0013】
なお、本発明による画像処理方法においては、前記原画像の高周波情報を表す詳細画像データを生成し、
該詳細画像データに基づいて前記詳細情報の情報量を算出することが好ましい。
【0014】
ここで、「詳細画像データに基づいて詳細情報を算出する」とは、例えば詳細画像データの高輝度領域および/または低輝度領域における信号値のパワーを算出することをいうが、これに限定されるものではない。
【0015】
また、本発明による画像処理方法においては、前記詳細画像データを、前記原画像データと前記ボケ画像データとの差分により生成することが好ましい。
【0016】
さらに、本発明による画像処理方法においては、前記詳細画像データを、前記ボケ画像データにより表されるボケ画像における高輝度領域および/または低輝度領域においてのみ生成することが好ましい。
【0017】
さらにまた、本発明による画像処理方法においては、前記原画像がカラー画像である場合、前記原画像データを構成する複数のカラー信号に基づいて該原画像の輝度情報を表す輝度データを生成し、
該輝度データに基づいて前記詳細情報の情報量を算出し、
前記輝度データに基づいて前記ボケ画像データおよび前記覆い焼きデータを生成し、
該覆い焼きデータを前記カラー信号毎に付加することにより前記処理済み画像データを得ることが好ましい。
【0018】
本発明による画像処理装置は、原画像データにより表される原画像の低周波情報を表すボケ画像データを生成する低周波情報生成手段と、該ボケ画像データに対してダイナミックレンジを圧縮する変換処理を施して覆い焼きデータを生成する変換手段と、該覆い焼きデータを前記原画像データに付加することにより処理済み画像データを得る付加手段とを備えた画像処理装置において、
前記原画像中の高輝度領域および/または低輝度領域における詳細情報の情報量を算出する詳細情報算出手段と、
該詳細情報の情報量に応じて前記ダイナミックレンジの圧縮の程度を変更する変更手段をさらに備えたことを特徴とするものである。
【0019】
なお、本発明による画像処理装置においては、前記原画像の高周波情報を表す詳細画像データを生成する高周波情報生成手段をさらに備え、
前記詳細情報算出手段は、該詳細画像データに基づいて前記詳細情報の情報量を算出する手段であることが好ましい。
【0020】
また、本発明による画像処理装置においては、前記高周波情報生成手段は、前記詳細画像データを、前記原画像データと前記ボケ画像データとの差分により生成する手段であることが好ましい。
【0021】
さらに、本発明による画像処理装置においては、前記高周波情報生成手段は、前記詳細画像データを、前記ボケ画像データにより表されるボケ画像における高輝度領域および/または低輝度領域においてのみ生成する手段であることが好ましい。
【0022】
さらに、本発明による画像処理装置においては、前記原画像がカラー画像である場合、前記原画像データを構成する複数のカラー信号に基づいて該原画像の輝度情報を表す輝度データを生成する輝度情報生成手段をさらに備え、
前記詳細情報算出手段は、前記輝度データに基づいて前記詳細情報の情報量を算出する手段であり、
前記低周波情報生成手段および前記変換手段は、該輝度データに基づいて前記ボケ画像データおよび前記覆い焼きデータを生成する手段であり、
前記付加手段は、前記覆い焼きデータを前記カラー信号毎に付加することにより前記処理済み画像データを得る手段であることが好ましい。
【0023】
なお、本発明による画像処理方法をコンピュータに実行させるためのプログラムとして、コンピュータ読取り可能な記録媒体に記録して提供してもよい。
【0024】
【発明の効果】
本発明によれば、原画像中の高輝度領域および/または低輝度領域における詳細情報を算出し、この詳細情報の情報量に応じてダイナミックレンジの圧縮の程度を変更するようにしたため、詳細情報の情報量が多いいほど圧縮の程度が大きくなり、詳細情報の情報量が少ないほど圧縮の程度を小さくしてダイナミックレンジを圧縮することができる。したがって、原画像中の詳細情報が少なく覆い焼きの効果が得られないような領域については、ダイナミックレンジ圧縮がなされないように覆い焼き処理を行うことができるため、処理済み画像を表示して確認作業を行わなくても、画像全体のコントラスト感が低下することによる画質の劣化を防止した処理済み画像を得ることができる。
【0025】
また、詳細画像データを原画像データとボケ画像データとの差分によって生成することにより、原画像データから直接詳細画像データを生成する場合と比較して、演算時間を短縮することができ、これにより処理を高速に行うことができる。
【0026】
さらに、詳細画像データをボケ画像データにより表されるボケ画像の高輝度領域および/または低輝度領域においてのみ生成することにより、詳細画像データから詳細情報を算出するための演算時間を短縮することができ、これにより処理を高速に行うことができる。
【0027】
また、原画像がカラー画像である場合には、原画像データを構成する複数のカラー信号に基づいて輝度データを生成し、この輝度データに基づいてボケ画像データ、詳細画像データおよび覆い焼き画像データを生成することにより、各色のみの信号値が高いおよび/または低い領域について、ダイナミックレンジが圧縮されることがなくなり、処理済み画像データにより表される画像が、特定の色についてのみ覆い焼き処理がなされたような画像となることを防止することができる。
【0028】
【発明の実施の形態】
以下図面を参照して本発明の実施形態について説明する。
【0029】
図1は本発明の実施形態による画像処理装置の構成を示す概略ブロック図である。図1に示すように、本実施形態による画像処理装置は、フイルムに記録された原画像、あるいはデジタルカメラにより撮影を行うことにより取得された原画像を表す画像データS0に対して覆い焼き処理を施すものであり、画像データS0により表される原画像の低周波情報を表すボケ画像データSLを生成する低周波情報生成手段1と、画像データS0の高周波情報を表す詳細画像データSHを生成する高周波情報生成手段2と、ボケ画像データSLを覆い焼き情報を表す覆い焼きデータS1に変換する変換手段3と、覆い焼きデータS1を画像データS0に付加して処理済み画像データS2を得る付加手段4と、ボケ画像データSLを覆い焼きデータS1に変換する際のパラメータを詳細画像データSHに基づいて制御するパラメータ制御手段5とを備える。
【0030】
低周波情報生成手段1は、画像データS0に対してローパスフィルタによるフィルタリング処理を施すことによりボケ画像データSLを生成するものである。ここで、ローパスフィルタとしては、FIR(Finite Impulse Respones) 型のローパスフィルタを用いてもよいが、小型の回路で大きく画像をぼかしたボケ画像情報を生成できる点でIIR(Infinite Impulse Respones) 型のローパスフィルタを用いるのが好ましい。またメディアンフィルタなど画像データS0から低周波情報を抽出することができるものであれば、いかなるフィルタをも使用することができる。
【0031】
高周波情報生成手段2は、画像データS0に対してハイパスフィルタによるフィルタリング処理を施すことにより詳細画像データSHを生成するものである。ここで、ハイパスフィルタとしては、FIR型あるいはIIR型のハイパスフィルタを用いることができるが、画像データS0から高周波情報を抽出することができるものであれば、いかなるフィルタをも使用することができる。なお、高周波情報生成手段2を、図2に示すように画像データS0とボケ画像データSLとの差分値を求めてこれを詳細画像データSHとする構成とすることができ、これにより、画像データS0に対してハイパスフィルタによるフィルタリング処理を施して詳細画像データSHを生成する場合と比較して、演算時間を短縮して処理を高速に行うことができる。
【0032】
なお、後述するパラメータ制御手段5において必要なのは、ボケ画像データSLの低輝度領域および/または高輝度領域における詳細情報であるため、ボケ画像データSLにより表されるボケ画像の高輝度領域および/または低輝度領域を求め、このボケ画像の高輝度領域および/または低輝度領域に基づいて、原画像における高輝度領域および/または低輝度領域に相当する領域についてのみの高周波情報を有する詳細画像データSHを生成してもよい。例えば、原画像の高輝度領域に相当する領域のみの詳細画像データSHHは、ボケ画像データSLに対してデータ値が所定の閾値Th1以上となる領域を1、所定の閾値Th1未満となる領域を0とする2値化処理を施してマスク画像を生成し、これを詳細画像データSHに乗算することにより得ることができる。逆に原画像において低輝度領域に相当する領域についてのみの詳細画像データSHLは、ボケ画像データSLに対してデータ値が所定の閾値Th2未満となる領域を1、所定の閾値Th2以上となる領域を0とする2値化処理を施してマスク画像を生成し、これを詳細画像データSHに乗算することにより得ることができる。
【0033】
ここで、Th1≧Th2とした場合、ボケ画像データに対してデータ値がTh1≧Th2となる領域を0、それ以外の領域を1とする2値化処理を施してマスク画像を得、これを詳細画像データSHに乗算することにより、原画像における高輝度領域および低輝度領域にのみ相当する領域の詳細画像データSHHLを得ることができる。
【0034】
なお、2値化処理のみではなく、ボケ画像データSLに対して図3に示すように変化するLUTを乗算することによりマスク画像を得、このマスク画像を詳細画像データSHに乗算することにより、原画像の高輝度領域および低輝度領域にのみ相当する領域の詳細画像データSHHLを得ることができる。このように、詳細画像データSHHLを得ることにより、閾値の境界付近で値が急激に変化することがなくなり、詳細画像データSHHLにおいてアーチファクトの発生を防止することができる。
【0035】
変換手段3は、ボケ画像データSLに対してダイナミックレンジ圧縮処理を施すものである。このダイナミックレンジ圧縮処理は、図4(a)、(b)に示すようにボケ画像データSLを覆い焼きデータS1に変換するダイナミックレンジ圧縮用ルックアップテーブル(以下LUTとする)を用いて行われるが、このLUTが後述するようにパラメータ制御手段5において選択される。なお、ダイナミックレンジ圧縮処理はLUTを用いて行うものに限定されるものではなく、例えばS1=a×SLのような傾きを有する関数を使用して行うものであってもよい。この場合はaの値すなわち関数の傾きがパラメータ制御手段5において設定される。
【0036】
なお、画像データS0が高輝度領域で値が高く低輝度領域で値が低くなるように表現されており、LUTが図4に示すように単調増加関数であるとすると、覆い焼きデータS1は高輝度領域で正、低輝度領域で負の値となる。逆に、画像データS0が高輝度領域で値が低く低輝度領域で値が高くなるように表現されており、LUTが単調増加関数であるとすると、覆い焼きデータS1は高輝度領域で負、低輝度領域で正の値となる。
【0037】
付加手段4においては、得られる処理済み画像データS2により表される画像の高輝度領域の濃度を高くし、低輝度領域の濃度を低くするために、覆い焼きデータS1が高輝度領域で正、低輝度領域で負の値となる場合には、画像データS0から覆い焼きデータS1を減算して処理済み画像データS2を得る。逆に、覆い焼きデータS1が高輝度領域で負、低輝度領域で正の値となる場合には、画像データS0に覆い焼きデータS1を加算して処理済み画像データS2を得る。
【0038】
ここで、処理済み画像データS2により表される処理済み画像において覆い焼きの効果が現れるのは、覆い焼き処理を行った結果、つぶれたり飛んだりしていた情報が処理済み画像中に現れる場合である。パラメータ制御手段5は、高輝度領域および/または低輝度領域に詳細な情報が存在する場合には覆い焼きの効果が現れ、詳細な情報が存在しない場合には覆い焼きの効果が現れないように、詳細画像データSHにより表される詳細情報に基づいて、変換手段3において使用されるLUTをパラメータとしてこれを選択するものである。以下このLUTの選択について説明する。なお、ここでは詳細画像データSHに対して上記マスク処理を施して、原画像の高輝度領域および低輝度領域に対応する領域の高周波情報を表す詳細画像データSHHLが得られているものとする。
【0039】
まず、詳細画像データSHHLについて、高輝度領域および低輝度領域の双方について、下記の式(1)、(2)によりパワーH,Lを算出する。
【0040】
H=Σ(h(x,y))2) (1)
L=Σ(l(x,y))2) (2)
但し、h(x,y):高輝度領域の詳細画像データSHHLの信号値
l(x,y):低輝度領域の詳細画像データSHHLの信号値
ここで、詳細画像データSHHLにおいては、詳細な情報が含まれるほど信号値の振幅が大きくなるため、パワーが大きくなるものである。したがって、式(1)、(2)により算出されたパワーH,Lを所定の閾値α、βと比較し、この比較結果に応じて変換手段3において使用するLUTを変更する。
【0041】
具体的にはH≧αかつL≧βの場合には、原画像の高輝度領域および低輝度領域の双方に詳細な情報が含まれているものとして、図5(a)に示すLUTを選択する。H≧αかつL<βの場合には高輝度領域については詳細な情報が含まれるが低輝度領域には詳細な情報は含まれないものとして図5(b)に示すLUTを選択する。H<αかつL≧βの場合には低輝度領域については詳細な情報が含まれるが高輝度領域には詳細な情報は含まれないものとして図5(c)に示すLUTを選択する。H<αかつL<βの場合には高輝度領域および低輝度領域の双方に詳細な情報が含まれないものとして図5(d)に示すLUTすなわち全く処理を行わないようなLUTを選択する。
【0042】
このように、パワーH,Lの値に応じてLUTを選択することにより、原画像の高輝度領域および/または低輝度領域において、詳細情報が含まれている場合には覆い焼きの効果が現れるような覆い焼きデータS1が生成され、詳細情報が含まれていない場合には覆い焼きの効果が現れないような覆い焼きデータS1が生成されることとなる。
【0043】
次いで、本実施形態の動作について説明する。図6は本実施形態の動作を示すフローチャートである。まず、低周波情報生成手段1において原画像の低周波情報を表すボケ画像データSLを生成する(ステップS1)とともに、高周波情報生成手段2において原画像の高周波情報を表す詳細画像データSHを生成する(ステップS2)。詳細画像データSHはパラメータ制御手段5に入力され、ここで変換手段3においてボケ画像データSLを覆い焼きデータS1に変換するためのLUTが選択される(ステップS3)。そして、変換手段3においては、パラメータ制御手段5において選択されたLUTにより、ボケ画像データSLを変換して覆い焼きデータS1が得られる(ステップS4)。そして、付加手段4において覆い焼きデータS1を画像データS0に付加して処理済み画像データS2を得(ステップS5)、処理を終了する。
【0044】
このように、本実施形態においては、原画像において詳細な情報が含まれる領域についてのみ覆い焼きの効果が得られるようにしたため、詳細な情報が少ない領域については覆い焼きの効果は得られないこととなる。したがって、画像中の高輝度領域および低輝度領域に詳細な情報が含まれない場合には、処理済み画像データS2により表される処理済み画像においては、ダイナミックレンジが圧縮されないように覆い焼き処理がなされるため、処理済み画像データS2を表示して確認作業を行わなくとも、画像全体のコントラスト感が低下することによる画質の劣化を防止した処理済み画像データS2を得ることができる。
【0045】
なお、画像データS0が例えばRGBのカラー信号により構成される場合は、RGBの各カラー信号を用いて、下記の式(3)により輝度信号Yを生成し、この輝度信号Yに基づいて、ボケ画像データSL、詳細画像データSHおよび覆い焼きデータS1を生成すればよい。
【0046】
Y=0.3R+0.5G+0.2B (3)
ここで、カラー信号をR0,G0,B0、処理済み画像データS2を構成するカラー信号をR2,G2,B2とした場合、下記の式(4)によりカラー信号R2,G2,B2を生成すればよい。
【0047】
R2=R0−S1
G2=G0−S1 (4)
B2=B0−S1
これにより、画像全体から見て輝度が高い領域および/または低い領域のみ覆い焼きの効果が得られ、各色のみの輝度値が高い領域および/または低い領域については覆い焼きの効果は得られないため、処理済み画像データS2により表される画像が、特定の色についてのみ覆い焼き処理がなされたような画像となることを防止することができる。
【0048】
なお、特定の色についてのみ覆い焼き処理がなされたような画像となってしまうが、各カラー信号毎に1つの画像と見なし、各カラー信号毎にボケ画像データSL、詳細画像データSHおよび覆い焼きデータS1を生成して、処理済み画像データS2を求めるようにしてもよい。
【0049】
なお、上記実施形態においては、上記式(1)、(2)によりパワーH,Lを算出しているが、画素数に応じてパワーH,Lが変動することを防止するために、式(1)、(2)により算出したパワーH,Lを算出に使用した領域内の画素数により除算し、この除算したパワーにより詳細情報を求めるようにしてもよい。
【0050】
また、上記実施形態においては、パワーH,Lを閾値α,βと比較し、その比較結果に応じて図5(a)〜(d)に示すLUTを選択しているが、閾値を複数設定し、LUTの傾きを閾値に応じて段階的に変更するようにしてもよい。さらに、パワーH,Lの値に応じて傾きが変化する関数を設定し、この関数によりパワーH,Lの値に応じて連続的にLUTの傾きを変更してもよい。
【図面の簡単な説明】
【図1】本発明の実施形態による画像処理装置の構成を示す概略ブロック図
【図2】本発明の実施形態による画像処理装置の他の構成を部分的に示す概略ブロック図
【図3】詳細画像データの生成に使用するLUTを示す図
【図4】ダイナミックレンジ圧縮テーブルを示す図
【図5】パラメータ制御手段により選択されるLUTを示す図
【図6】本実施形態の動作を示すフローチャート
【符号の説明】
1 低周波情報生成手段
2 高周波情報生成手段
3 変換手段
4 付加手段
5 パラメータ制御手段[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing method and apparatus for performing so-called dodging processing on original image data, and a computer recording a program for causing a computer to execute the image processing method, which are used in a photographic printing apparatus and an image recording apparatus. The present invention relates to a readable recording medium.
[0002]
[Prior art]
At present, printing of an image taken on a photographic film such as a negative film or a reversal film (hereinafter referred to as a film) onto a photosensitive material is so-called direct exposure of the photosensitive material by projecting the image of the film onto the photosensitive material. It is done by exposure. On the other hand, in recent years, a printing apparatus using digital exposure, that is, an image recorded on a film is photoelectrically read to obtain image data, and the image data is subjected to various image processing to perform digital recording. Development of digital printers that use image data, scan and expose a photosensitive material with recording light modulated in accordance with the image data, record an image (latent image), and develop and print the image is progressing.
[0003]
In digital printers, the exposure condition is determined by photoelectrically reading a film and performing color density correction by signal processing, so the exposure time per image is short, and the exposure time is also the image size. Therefore, it is possible to perform printing more quickly than conventional surface exposure. In addition, editing such as image composition and image division and image processing such as color / density adjustment can be freely performed, and a finished print subjected to editing and image processing can be output according to the application. In addition, since the finished print image can be stored as image information on a recording medium such as a floppy disk, it is not necessary to prepare a film as a document at the time of reprinting or the like, and it is not necessary to determine exposure conditions again. Can work on. In addition, conventional direct exposure printing cannot reproduce all images recorded on a film or the like in terms of resolution, color / density reproducibility, etc., but is recorded on a film according to a digital photo printer. A print that reproduces almost 100% of the existing image (density information) can be output.
[0004]
By the way, the shooting conditions of the image shot on the film are not constant, and there are many cases where there is a large difference between light and dark, such as flash photography and backlight scene. When such a film image is exposed by a normal method to create a finished print, either the bright part or the dark part may be crushed. For example, when a person is photographed with backlighting, if exposure is performed so that the person becomes a suitable image, bright portions such as the sky will fly white, and conversely, exposure will be performed so that the sky becomes a suitable image. If you do, the person will be black. For this reason, so-called dodging is performed when exposing a photosensitive material using a film image having a large brightness and darkness as an original image.
[0005]
Here, dodging means that normal exposure is applied to the intermediate density portion, the exposure amount is increased in the portion where the image is likely to fly (bright portion), and the portion where the image is likely to be collapsed (dark portion) is exposed. This is a technique for correcting a large brightness and darkness of an image photographed on a film by reducing the amount and obtaining a finished print in which an appropriate image is reproduced over the entire screen. In a conventional surface exposure apparatus, exposure is performed by inserting a light-shielding plate or ND filter in the exposure light path, a method of partially changing the amount of light from the exposure light source, and brightness and darkness while blurring an image photographed on a film. Dodging is performed by partially changing the exposure amount according to an image photographed on the film by a method of creating an inverted monochrome film and performing exposure by superimposing the films.
[0006]
On the other hand, when dodging is performed with a digital printer, it is extremely difficult to perform exposure by inserting a filter for dodging in the optical path of the light beam. The same effect as dodging is achieved by improving the exposure of dark areas where image skipping occurs without changing the detailed contrast, and by reducing the exposure of bright areas where the image is likely to collapse. . For example, a blurred image representing low-frequency information of an image is created, and the dynamic range of the bright and dark portions of the blurred image is compressed by a dynamic range compression table having a predetermined compression ratio to obtain dodging information. By adding information to the original image, it is possible to obtain a processed image with no bright and dark portions skipped and crushed, as in the case of dodging.
[0007]
Here, in the digital photo printer, since the operator does not select a filter or the like to perform dodging, it is difficult to predict the effect, and it is only necessary to confirm the effect of dodging with the finished print, When a dodging function is added to a digital photo printer, in some cases, dodging may cause an unsuitable finished print. For this reason, an image processing apparatus has been proposed in which a processed image is displayed on a monitor during the dodging process so that the degree of dodging can be confirmed (Japanese Patent Laid-Open No. 9-331437).
[0008]
[Problems to be solved by the invention]
However, if the processed image is always displayed on the monitor, the confirmation work is very complicated, and the print productivity may be reduced and the print cost may be increased. In this case, by applying a general-purpose dodging process to all the images uniformly, it is possible to form a finish print that is appropriate to some extent without performing a check operation on the processed image. However, if the uniform dodging process is applied to all images, the dodging process is performed even when, for example, detailed information does not exist in the original bright part of the image and the image is not skipped. If the density is the same as that in the case of the case, the dynamic range compression process is performed on the portion, and as a result, an image in which the density of the bright portion is simply reduced is obtained. Therefore, depending on the image, even if the contrast of the details of the image is maintained, the feeling of contrast received from the entire image is lowered, and there is a possibility that the image may be an improperly processed image different from the intended one.
[0009]
The present invention has been made in view of the above circumstances, and an image processing method and apparatus capable of appropriately performing dodging processing, and a computer-readable recording medium on which a program for causing a computer to execute the image processing method is recorded. It is intended to provide.
[0010]
[Means for Solving the Problems]
An image processing method according to the present invention generates blurred image data representing low-frequency information of an original image represented by the original image data, performs a conversion process for compressing the dynamic range on the blurred image data, and performs dodging data In the image processing method for obtaining processed image data by adding the dodging data to the original image data,
Calculating the amount of detailed information in the high-luminance region and / or low-luminance region in the original image;
The degree of compression of the dynamic range is changed according to the information amount of the detailed information.
[0011]
Here, “add the dodging data to the image data” means that the dodging data is subtracted from the image data when the dodging data is positive on the high luminance side and negative on the low luminance side. This means obtaining processed image data. Conversely, if the dodging data is negative on the high-brightness side and positive on the low-brightness side, the dodging data is added to the image data and processed image data. It means getting.
[0012]
“Change the degree of dynamic range compression according to the amount of detailed information” means that the larger the amount of detailed information, the larger the degree of dynamic range compression, and the smaller the amount of information, the dynamic range compression. This means that the degree of dynamic range compression is changed so that the dynamic range compression is not performed. Specifically, a method of preparing a plurality of dynamic range compression tables and selecting the table according to the information amount of the detailed information, or changing the inclination of the table according to the information amount of the detailed information may be used. .
[0013]
In the image processing method according to the present invention, detailed image data representing high-frequency information of the original image is generated,
It is preferable to calculate the information amount of the detailed information based on the detailed image data.
[0014]
Here, “calculating detailed information based on detailed image data” refers to, for example, calculating the power of a signal value in a high luminance region and / or a low luminance region of the detailed image data, but is not limited thereto. It is not something.
[0015]
In the image processing method according to the present invention, it is preferable that the detailed image data is generated by a difference between the original image data and the blurred image data.
[0016]
Further, in the image processing method according to the present invention, it is preferable that the detailed image data is generated only in a high luminance region and / or a low luminance region in a blurred image represented by the blurred image data.
[0017]
Furthermore, in the image processing method according to the present invention, when the original image is a color image, luminance data representing luminance information of the original image is generated based on a plurality of color signals constituting the original image data,
Calculating an amount of the detailed information based on the luminance data;
Generating the blurred image data and the dodging data based on the luminance data;
It is preferable to obtain the processed image data by adding the dodging data for each color signal.
[0018]
An image processing apparatus according to the present invention includes low frequency information generation means for generating blurred image data representing low frequency information of an original image represented by original image data, and conversion processing for compressing a dynamic range for the blurred image data. In an image processing apparatus comprising: conversion means for generating dodging data and adding means for obtaining processed image data by adding the dodging data to the original image data;
Detailed information calculating means for calculating the amount of detailed information in the high luminance region and / or the low luminance region in the original image;
The apparatus further comprises changing means for changing the degree of compression of the dynamic range in accordance with the information amount of the detailed information.
[0019]
The image processing apparatus according to the present invention further includes high frequency information generation means for generating detailed image data representing high frequency information of the original image,
The detailed information calculation means is preferably means for calculating the amount of the detailed information based on the detailed image data.
[0020]
In the image processing apparatus according to the present invention, it is preferable that the high-frequency information generating unit is a unit that generates the detailed image data based on a difference between the original image data and the blurred image data.
[0021]
Further, in the image processing apparatus according to the present invention, the high-frequency information generating means is means for generating the detailed image data only in a high-luminance area and / or a low-luminance area in a blurred image represented by the blurred image data. Preferably there is.
[0022]
Further, in the image processing apparatus according to the present invention, when the original image is a color image, luminance information for generating luminance data representing luminance information of the original image based on a plurality of color signals constituting the original image data. Further comprising generating means,
The detailed information calculating means is a means for calculating the amount of the detailed information based on the luminance data,
The low frequency information generating means and the converting means are means for generating the blurred image data and the dodging data based on the luminance data,
The adding means is preferably means for obtaining the processed image data by adding the dodging data for each color signal.
[0023]
The image processing method according to the present invention may be provided by being recorded on a computer-readable recording medium as a program for causing a computer to execute the image processing method.
[0024]
【The invention's effect】
According to the present invention, the detailed information in the high luminance region and / or the low luminance region in the original image is calculated, and the degree of compression of the dynamic range is changed according to the information amount of the detailed information. As the amount of information increases, the degree of compression increases, and as the amount of detailed information decreases, the degree of compression decreases and the dynamic range can be compressed. Therefore, dodging processing can be performed so that dynamic range compression is not performed for areas where there is little detailed information in the original image and the effect of dodging cannot be obtained. Even if the work is not performed, it is possible to obtain a processed image that prevents deterioration in image quality due to a decrease in the contrast of the entire image.
[0025]
Also, by generating detailed image data based on the difference between the original image data and the blurred image data, the calculation time can be shortened compared to the case of generating detailed image data directly from the original image data. Processing can be performed at high speed.
[0026]
Furthermore, the calculation time for calculating detailed information from the detailed image data can be shortened by generating the detailed image data only in the high luminance region and / or the low luminance region of the blurred image represented by the blurred image data. Thus, processing can be performed at high speed.
[0027]
When the original image is a color image, luminance data is generated based on a plurality of color signals constituting the original image data, and blurred image data, detailed image data, and dodging image data are generated based on the luminance data. , The dynamic range is not compressed for regions where the signal value of only each color is high and / or low, and the image represented by the processed image data is subjected to dodging processing only for a specific color. It is possible to prevent the image from being made.
[0028]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
[0029]
FIG. 1 is a schematic block diagram showing the configuration of an image processing apparatus according to an embodiment of the present invention. As shown in FIG. 1, the image processing apparatus according to the present embodiment performs a dodging process on image data S0 representing an original image recorded on a film or an original image acquired by photographing with a digital camera. The low frequency information generating means 1 for generating the blurred image data SL representing the low frequency information of the original image represented by the image data S0, and the detailed image data SH representing the high frequency information of the image data S0 are generated. High-frequency information generating means 2, conversion means 3 for converting blurred image data SL into dodging data S1 representing dodging information, and adding means for adding processed dodging data S1 to image data S0 to obtain processed
[0030]
The low frequency information generating means 1 generates blurred image data SL by performing filtering processing with a low pass filter on the image data S0. Here, as the low-pass filter, a FIR (Finite Impulse Response) type low-pass filter may be used. However, an IIR (Infinite Impulse Response) type low-pass filter is capable of generating blurred image information in which the image is largely blurred by a small circuit. It is preferable to use a low-pass filter. Any filter can be used as long as it can extract low frequency information from the image data S0, such as a median filter.
[0031]
The high-frequency information generating means 2 generates detailed image data SH by subjecting the image data S0 to a filtering process using a high-pass filter. Here, as the high-pass filter, an FIR type or IIR type high-pass filter can be used, but any filter can be used as long as it can extract high-frequency information from the image data S0. Note that the high-frequency information generation means 2 can be configured to obtain a difference value between the image data S0 and the blurred image data SL as detailed image data SH as shown in FIG. Compared with the case where the detailed image data SH is generated by performing filtering processing with a high-pass filter on S0, the calculation time can be shortened and the processing can be performed at high speed.
[0032]
The parameter control means 5 to be described later requires detailed information in the low-luminance area and / or high-luminance area of the blurred image data SL, and thus the high-luminance area of the blurred image represented by the blurred image data SL and / or Detailed image data SH having a high luminance information only for a high luminance region and / or a region corresponding to the low luminance region in the original image based on the high luminance region and / or the low luminance region of the blurred image. May be generated. For example, the detailed image data SHH of only the region corresponding to the high-luminance region of the original image has a region where the data value is equal to or greater than a predetermined threshold value Th1 and a region where the data value is less than the predetermined threshold value Th1 with respect to the blurred image data SL. A mask image is generated by performing binarization processing of 0, and this can be obtained by multiplying the detailed image data SH. Conversely, the detailed image data SHL only for the region corresponding to the low luminance region in the original image is a region where the data value is less than the predetermined threshold value Th2 with respect to the blurred image data SL, and the region where the detailed image data SHL is equal to or greater than the predetermined threshold value Th2. It is possible to obtain a mask image by performing binarization processing with 0 and multiplying the detailed image data SH by this.
[0033]
Here, when Th1 ≧ Th2, a mask image is obtained by performing binarization processing on the blurred image data by setting the region where the data value is Th1 ≧ Th2 to 0 and the other region to 1. By multiplying the detailed image data SH, it is possible to obtain detailed image data SHHL of an area corresponding to only the high-luminance area and the low-luminance area in the original image.
[0034]
In addition to the binarization process, a mask image is obtained by multiplying the blurred image data SL by a LUT that changes as shown in FIG. 3, and the detailed image data SH is multiplied by this mask image to obtain a mask image. It is possible to obtain detailed image data SHHL of an area corresponding to only the high luminance area and the low luminance area of the original image. Thus, by obtaining the detailed image data SHHL, the value does not change abruptly near the boundary of the threshold value, and the occurrence of artifacts in the detailed image data SHHL can be prevented.
[0035]
The conversion unit 3 performs dynamic range compression processing on the blurred image data SL. This dynamic range compression processing is performed using a dynamic range compression lookup table (hereinafter referred to as LUT) that converts the blurred image data SL into dodging data S1, as shown in FIGS. 4 (a) and 4 (b). Is selected by the parameter control means 5 as will be described later. Note that the dynamic range compression processing is not limited to that performed using the LUT, and may be performed using a function having a slope such as S1 = a × SL. In this case, the parameter control means 5 sets the value of a, that is, the slope of the function.
[0036]
If the image data S0 is expressed so that the value is high in the high luminance region and the value is low in the low luminance region, and the LUT is a monotonically increasing function as shown in FIG. 4, the dodging data S1 is high. Positive in the luminance region and negative in the low luminance region. Conversely, if the image data S0 is expressed so that the value is low in the high luminance region and the value is high in the low luminance region, and the LUT is a monotonically increasing function, the dodging data S1 is negative in the high luminance region, It becomes a positive value in the low luminance region.
[0037]
In the adding means 4, in order to increase the density of the high brightness area of the image represented by the obtained processed image data S2 and decrease the density of the low brightness area, the dodging data S1 is positive in the high brightness area. When a negative value is obtained in the low luminance area, the dodging data S1 is subtracted from the image data S0 to obtain processed image data S2. Conversely, when the dodging data S1 is negative in the high luminance area and positive in the low luminance area, the dodging data S1 is added to the image data S0 to obtain processed image data S2.
[0038]
Here, the dodging effect appears in the processed image represented by the processed image data S <b> 2 when the information that has been crushed or blown out as a result of the dodging process appears in the processed image. is there. The parameter control means 5 makes the dodging effect appear when detailed information is present in the high luminance region and / or the low luminance region, and prevents the dodging effect from appearing when no detailed information is present. Based on the detailed information represented by the detailed image data SH, the LUT used in the conversion means 3 is selected as a parameter. Hereinafter, selection of the LUT will be described. Here, it is assumed that the detailed image data SHHL representing the high-frequency information of the regions corresponding to the high-luminance region and the low-luminance region of the original image is obtained by performing the mask process on the detailed image data SH.
[0039]
First, for the detailed image data SHHL, the powers H and L are calculated by the following equations (1) and (2) for both the high luminance region and the low luminance region.
[0040]
H = Σ (h (x, y)) 2 (1)
L = Σ (l (x, y)) 2 (2)
Where h (x, y): signal value of the detailed image data SHHL in the high luminance region
l (x, y): signal value of the detailed image data SHHL in the low luminance region
Here, in the detailed image data SHHL, as the detailed information is included, the amplitude of the signal value increases, and thus the power increases. Therefore, the powers H and L calculated by the equations (1) and (2) are compared with predetermined threshold values α and β, and the LUT used in the conversion unit 3 is changed according to the comparison result.
[0041]
Specifically, when H ≧ α and L ≧ β, the LUT shown in FIG. 5A is selected on the assumption that detailed information is included in both the high luminance region and the low luminance region of the original image. To do. When H ≧ α and L <β, the LUT shown in FIG. 5B is selected on the assumption that detailed information is included in the high luminance region but detailed information is not included in the low luminance region. When H <α and L ≧ β, the LUT shown in FIG. 5C is selected on the assumption that detailed information is included in the low luminance region but detailed information is not included in the high luminance region. In the case of H <α and L <β, the LUT shown in FIG. 5D, that is, the LUT that does not perform any processing is selected, assuming that detailed information is not included in both the high luminance region and the low luminance region. .
[0042]
As described above, by selecting the LUT according to the values of the powers H and L, the dodging effect appears when the detailed information is included in the high luminance region and / or the low luminance region of the original image. When such dodging data S1 is generated and detailed information is not included, the dodging data S1 is generated so that the effect of dodging does not appear.
[0043]
Next, the operation of this embodiment will be described. FIG. 6 is a flowchart showing the operation of this embodiment. First, the low frequency information generating means 1 generates blurred image data SL representing the low frequency information of the original image (step S1), and the high frequency information generating means 2 generates detailed image data SH representing the high frequency information of the original image. (Step S2). The detailed image data SH is input to the parameter control means 5, where the conversion means 3 selects an LUT for converting the blurred image data SL into the dodging data S1 (step S3). Then, the conversion unit 3 converts the blurred image data SL using the LUT selected by the parameter control unit 5 to obtain dodging data S1 (step S4). Then, the
[0044]
As described above, in this embodiment, since the dodging effect is obtained only for the area where the detailed information is included in the original image, the dodging effect cannot be obtained for the area where the detailed information is small. It becomes. Therefore, when detailed information is not included in the high luminance region and the low luminance region in the image, dodging processing is performed on the processed image represented by the processed image data S2 so that the dynamic range is not compressed. Therefore, processed image data S2 in which deterioration of image quality due to a decrease in contrast of the entire image is prevented can be obtained without displaying processed image data S2 and performing confirmation.
[0045]
When the image data S0 is composed of, for example, RGB color signals, a luminance signal Y is generated by the following equation (3) using the RGB color signals, and the blur signal is generated based on the luminance signal Y. The image data SL, the detailed image data SH, and the dodging data S1 may be generated.
[0046]
Y = 0.3R + 0.5G + 0.2B (3)
Here, if the color signals are R0, G0, B0 and the color signals constituting the processed image data S2 are R2, G2, B2, the color signals R2, G2, B2 can be generated by the following equation (4). Good.
[0047]
R2 = R0-S1
G2 = G0-S1 (4)
B2 = B0-S1
As a result, the dodging effect can be obtained only in areas where the luminance is high and / or low as viewed from the entire image, and the dodging effect cannot be obtained in areas where the luminance value of only each color is high and / or low. It is possible to prevent the image represented by the processed image data S2 from becoming an image that has been subjected to dodging processing only for a specific color.
[0048]
Note that an image appears to have been subjected to dodging processing only for a specific color, but it is regarded as one image for each color signal, and blurred image data SL, detailed image data SH, and dodging for each color signal. Data S1 may be generated to obtain processed image data S2.
[0049]
In the above embodiment, the powers H and L are calculated by the above formulas (1) and (2), but in order to prevent the powers H and L from fluctuating according to the number of pixels, the formula ( The powers H and L calculated in 1) and (2) may be divided by the number of pixels in the area used for the calculation, and detailed information may be obtained from the divided power.
[0050]
In the above embodiment, the powers H and L are compared with the threshold values α and β, and the LUT shown in FIGS. 5A to 5D is selected according to the comparison result. However, a plurality of threshold values are set. Then, the slope of the LUT may be changed stepwise according to the threshold value. Furthermore, a function that changes the slope according to the values of the powers H and L may be set, and the slope of the LUT may be continuously changed according to the values of the powers H and L using this function.
[Brief description of the drawings]
FIG. 1 is a schematic block diagram showing the configuration of an image processing apparatus according to an embodiment of the present invention.
FIG. 2 is a schematic block diagram partially showing another configuration of the image processing apparatus according to the embodiment of the present invention;
FIG. 3 is a diagram showing an LUT used for generating detailed image data.
FIG. 4 is a diagram showing a dynamic range compression table.
FIG. 5 is a diagram showing an LUT selected by parameter control means
FIG. 6 is a flowchart showing the operation of this embodiment.
[Explanation of symbols]
1 Low frequency information generation means
2 High frequency information generation means
3 Conversion means
4 Additional means
5 Parameter control means
Claims (18)
前記原画像中の高輝度領域および/または低輝度領域における、前記原画像の高周波情報である詳細情報の情報量を算出し、
該詳細情報の情報量に応じて前記ダイナミックレンジの圧縮の程度を変更することを特徴とする画像処理方法。Generating blurred image data representing low-frequency information of the original image represented by the original image data, performing conversion processing for compressing the dynamic range on the blurred image data, generating dodging data, and generating the dodging data; In the image processing method of obtaining processed image data by adding to the original image data,
Calculating the amount of detailed information that is high-frequency information of the original image in a high-luminance region and / or a low-luminance region in the original image ;
An image processing method, wherein the degree of compression of the dynamic range is changed according to the amount of detailed information.
該詳細画像データに基づいて前記詳細情報の情報量を算出することを特徴とする請求項1記載の画像処理方法。Generating detailed image data representing high-frequency information of the original image;
The image processing method according to claim 1, wherein the information amount of the detailed information is calculated based on the detailed image data.
該輝度データに基づいて前記詳細情報の情報量を算出し、
前記輝度データに基づいて前記ボケ画像データおよび前記覆い焼きデータを生成し、
該覆い焼きデータを前記カラー信号毎に付加することにより前記処理済み画像データを得ることを特徴とする請求項1から4のいずれか1項記載の画像処理方法。If the original image is a color image, generating luminance data representing luminance information of the original image based on a plurality of color signals constituting the original image data,
Calculating an amount of the detailed information based on the luminance data;
Generating the blurred image data and the dodging data based on the luminance data;
5. The image processing method according to claim 1, wherein the processed image data is obtained by adding the dodging data for each color signal.
前記原画像中の高輝度領域および/または低輝度領域における、前記原画像の高周波情報である詳細情報の情報量を算出する詳細情報算出手段と、
該詳細情報の情報量に応じて前記ダイナミックレンジの圧縮の程度を変更する変更手段とをさらに備えたことを特徴とする画像処理装置。Low frequency information generation means for generating blurred image data representing low frequency information of the original image represented by the original image data, and conversion processing for compressing the dynamic range is performed on the blurred image data to generate dodging data An image processing apparatus comprising: a converting unit that performs processing; and an adding unit that obtains processed image data by adding the dodging data to the original image data.
Detailed information calculation means for calculating an amount of detailed information that is high-frequency information of the original image in a high luminance region and / or a low luminance region in the original image ;
The image processing apparatus characterized by further comprising changing means for changing the degree of compression of the dynamic range in accordance with the information amount of the details.
前記詳細情報算出手段は、該詳細画像データに基づいて前記詳細情報の情報量を算出する手段であることを特徴とする請求項6記載の画像処理装置。A high frequency information generating means for generating detailed image data representing the high frequency information of the original image;
The image processing apparatus according to claim 6, wherein the detailed information calculation unit is a unit that calculates an information amount of the detailed information based on the detailed image data.
前記詳細情報算出手段は、前記輝度データに基づいて前記詳細情報の情報量を算出する手段であり、
前記低周波情報生成手段および前記変換手段は、該輝度データに基づいて前記ボケ画像データおよび前記覆い焼きデータを生成する手段であり、
前記付加手段は、前記覆い焼きデータを前記カラー信号毎に付加することにより前記処理済み画像データを得る手段であることを特徴とする請求項6から9のいずれか1項記載の画像処理装置。When the original image is a color image, the information processing apparatus further includes luminance information generation means for generating luminance data representing luminance information of the original image based on a plurality of color signals constituting the original image data.
The detailed information calculating means is a means for calculating the amount of the detailed information based on the luminance data,
The low frequency information generating means and the converting means are means for generating the blurred image data and the dodging data based on the luminance data,
The image processing apparatus according to claim 6, wherein the adding unit is a unit that obtains the processed image data by adding the dodging data for each color signal.
前記プログラムは、前記原画像中の高輝度領域および/または低輝度領域における、前記原画像の高周波情報である詳細情報を算出する手順と、
該詳細情報の情報量に応じて前記ダイナミックレンジの圧縮の程度を変更する手順とを有することを特徴とするコンピュータ読取り可能な記録媒体。A procedure for generating blurred image data representing low-frequency information of the original image represented by the original image data, a procedure for generating dodging data by performing a conversion process for compressing the dynamic range of the blurred image data, and the covering In a computer-readable recording medium recording a program for causing a computer to execute an image processing method having a procedure of obtaining processed image data by adding burned data to the original image data,
The program calculates detailed information that is high-frequency information of the original image in a high-luminance region and / or a low-luminance region in the original image ;
A computer-readable recording medium comprising: a procedure for changing a degree of compression of the dynamic range in accordance with an amount of the detailed information.
該詳細画像データに基づいて前記詳細情報を算出する手順であることを特徴とする請求項11記載のコンピュータ読取り可能な記録媒体。The procedure for calculating the detailed information includes a procedure for generating detailed image data representing high-frequency information of the original image,
12. The computer-readable recording medium according to claim 11, wherein the detailed information is calculated based on the detailed image data.
前記詳細情報の情報量を算出する手順は、前記輝度データに基づいて前記詳細情報の情報量を算出する手順であり、
前記ボケ画像データを生成する手順および前記覆い焼きデータを得る手順は、該輝度データに基づいて前記ボケ画像データおよび前記覆い焼きデータを生成する手順であり、
前記処理済み画像データを得る手順は、該覆い焼きデータを前記カラー信号毎に付加することにより前記処理済み画像データを得る手順とであることを特徴とする請求項11から14のいずれか1項記載のコンピュータ読取り可能な記録媒体。When the original image is a color image, the method includes generating luminance data representing luminance information of the original image based on a plurality of color signals constituting the original image data,
The procedure for calculating the information amount of the detailed information is a procedure for calculating the information amount of the detailed information based on the luminance data.
The procedure for generating the blur image data and the procedure for obtaining the dodging data are procedures for generating the blur image data and the dodging data based on the luminance data.
15. The procedure for obtaining the processed image data is a procedure for obtaining the processed image data by adding the dodging data for each of the color signals. The computer-readable recording medium as described.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22929799A JP4091220B2 (en) | 1999-08-13 | 1999-08-13 | Image processing method and apparatus, and recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22929799A JP4091220B2 (en) | 1999-08-13 | 1999-08-13 | Image processing method and apparatus, and recording medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2001051365A JP2001051365A (en) | 2001-02-23 |
| JP4091220B2 true JP4091220B2 (en) | 2008-05-28 |
Family
ID=16889937
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22929799A Expired - Lifetime JP4091220B2 (en) | 1999-08-13 | 1999-08-13 | Image processing method and apparatus, and recording medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4091220B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4549723B2 (en) * | 2004-04-19 | 2010-09-22 | 株式会社メガチップス | Image signal enhancement device |
| JP4775289B2 (en) * | 2007-03-13 | 2011-09-21 | Nkワークス株式会社 | Image processing apparatus and image processing method |
-
1999
- 1999-08-13 JP JP22929799A patent/JP4091220B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2001051365A (en) | 2001-02-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4081219B2 (en) | Image processing method and image processing apparatus | |
| JP3584389B2 (en) | Image processing method and image processing apparatus | |
| JP2002262094A (en) | Image processing method and image processor | |
| JP4217041B2 (en) | Filtering | |
| JP2007096509A (en) | Image processing apparatus and image processing method | |
| JP2002300402A (en) | Image processor, processing method and recording medium | |
| JP2003203231A (en) | Image processing method for keeping black level | |
| JP3913356B2 (en) | Image processing method | |
| JP3696345B2 (en) | Image processing method and apparatus | |
| JP4739256B2 (en) | Image processing apparatus and method, and program | |
| JP2002125130A (en) | Image processing apparatus, image processing method, and recording medium recording image processing program | |
| JP2004236251A (en) | Image processing apparatus, image processing method, image processing program, and recording medium storing image processing program | |
| JP2000156785A (en) | Image processing method and image processor | |
| JP2004030370A (en) | Image processing method, image processing program, and recording medium storing image processing program | |
| JP3408770B2 (en) | Image processing device | |
| JPH09331479A (en) | Image filter circuit | |
| JPH11191871A (en) | Image processor | |
| JP3823865B2 (en) | Image processing method, image processing program, and recording medium on which image processing program is recorded | |
| JP4258735B2 (en) | Image processing method, apparatus, program, and printer | |
| JP4091220B2 (en) | Image processing method and apparatus, and recording medium | |
| JP3939428B2 (en) | Image processing method and apparatus | |
| JP2001222710A (en) | Device and method for image processing | |
| JPH11353477A (en) | Image processor, image processing method and recording medium recorded with software to execute the method | |
| JP3823883B2 (en) | Image processing apparatus, image processing method, image processing program, recording medium recording image processing program, and photo printing apparatus | |
| JPH1153535A (en) | Method and device for image reproduction |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040823 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050729 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060110 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060313 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060418 |
|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20061130 |
|
| 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: 20080226 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080228 |
|
| 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: 20110307 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110307 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120307 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120307 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130307 Year of fee payment: 5 |